@Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Workstation)) {
            return false;
        }
        Workstation other = (Workstation) object;
        if ((this.idWorkstation == null && other.idWorkstation != null) || (this.idWorkstation != null && !this.idWorkstation.equals(other.idWorkstation))) {
            return false;
        }
        return true;
    }