688949598b8c0e298569449365ec4024fea57667
[portal.git] / ecomp-portal-BE-common / src / main / java / org / onap / portalapp / portal / transport / CentralV2User.java
1 /*-
2  * ============LICENSE_START==========================================
3  * ONAP Portal
4  * ===================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ===================================================================
7  *
8  * Unless otherwise specified, all software contained herein is licensed
9  * under the Apache License, Version 2.0 (the "License");
10  * you may not use this software except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *             http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  * Unless otherwise specified, all documentation contained herein is licensed
22  * under the Creative Commons License, Attribution 4.0 Intl. (the "License");
23  * you may not use this documentation except in compliance with the License.
24  * You may obtain a copy of the License at
25  *
26  *             https://creativecommons.org/licenses/by/4.0/
27  *
28  * Unless required by applicable law or agreed to in writing, documentation
29  * distributed under the License is distributed on an "AS IS" BASIS,
30  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31  * See the License for the specific language governing permissions and
32  * limitations under the License.
33  *
34  * ============LICENSE_END============================================
35  *
36  * 
37  */
38 package org.onap.portalapp.portal.transport;
39
40 import java.io.Serializable;
41 import java.util.Date;
42 import java.util.Set;
43
44 public class CentralV2User implements Serializable {
45
46
47         /**
48          * 
49          */
50         private static final long serialVersionUID = -2673289523184880563L;
51         private Long id;
52         private Date created;
53         private Date modified;
54         private Long createdId;
55         private Long modifiedId;
56         private Long rowNum;
57         
58         private Long   orgId;
59     private Long   managerId;
60     private String firstName;
61     private String middleInitial;
62     private String lastName;
63     private String phone;
64     private String fax;
65     private String cellular;
66     private String email;
67     private Long   addressId;
68     private String alertMethodCd;
69     private String hrid;
70     private String orgUserId;
71     private String orgCode;
72     private String address1;
73     private String address2;
74     private String city;
75     private String state;
76     private String zipCode;
77     private String country;
78     private String orgManagerUserId;
79     private String locationClli;
80     private String businessCountryCode;
81     private String businessCountryName;
82     private String businessUnit;
83     private String businessUnitName;
84     private String department;
85     private String departmentName;
86     private String companyCode;
87     private String company;
88     private String zipCodeSuffix;
89     private String jobTitle;
90     private String commandChain;
91     private String siloStatus;
92     private String costCenter;
93     private String financialLocCode;
94
95     private String loginId;
96     private String loginPwd;
97     private Date   lastLoginDate;
98     private boolean active;
99     private boolean internal;
100     private Long    selectedProfileId;
101     private Long timeZoneId;
102     private boolean online;
103     private String chatId;
104     
105     private Set<CentralV2UserApp> userApps = null;
106         private Set<CentralV2Role> pseudoRoles = null;
107         
108         public CentralV2User(){
109                 
110         }
111         
112         public CentralV2User(Long id, Date created, Date modified, Long createdId, Long modifiedId, Long rowNum, Long orgId,
113                         Long managerId, String firstName, String middleInitial, String lastName, String phone, String fax,
114                         String cellular, String email, Long addressId, String alertMethodCd, String hrid, String orgUserId,
115                         String orgCode, String address1, String address2, String city, String state, String zipCode, String country,
116                         String orgManagerUserId, String locationClli, String businessCountryCode, String businessCountryName,
117                         String businessUnit, String businessUnitName, String department, String departmentName, String companyCode,
118                         String company, String zipCodeSuffix, String jobTitle, String commandChain, String siloStatus,
119                         String costCenter, String financialLocCode, String loginId, String loginPwd, Date lastLoginDate,
120                         boolean active, boolean internal, Long selectedProfileId, Long timeZoneId, boolean online, String chatId,
121                         Set<CentralV2UserApp> userApps, Set<CentralV2Role> pseudoRoles) {
122                 super();
123                 this.id = id;
124                 this.created = created;
125                 this.modified = modified;
126                 this.createdId = createdId;
127                 this.modifiedId = modifiedId;
128                 this.rowNum = rowNum;
129                 this.orgId = orgId;
130                 this.managerId = managerId;
131                 this.firstName = firstName;
132                 this.middleInitial = middleInitial;
133                 this.lastName = lastName;
134                 this.phone = phone;
135                 this.fax = fax;
136                 this.cellular = cellular;
137                 this.email = email;
138                 this.addressId = addressId;
139                 this.alertMethodCd = alertMethodCd;
140                 this.hrid = hrid;
141                 this.orgUserId = orgUserId;
142                 this.orgCode = orgCode;
143                 this.address1 = address1;
144                 this.address2 = address2;
145                 this.city = city;
146                 this.state = state;
147                 this.zipCode = zipCode;
148                 this.country = country;
149                 this.orgManagerUserId = orgManagerUserId;
150                 this.locationClli = locationClli;
151                 this.businessCountryCode = businessCountryCode;
152                 this.businessCountryName = businessCountryName;
153                 this.businessUnit = businessUnit;
154                 this.businessUnitName = businessUnitName;
155                 this.department = department;
156                 this.departmentName = departmentName;
157                 this.companyCode = companyCode;
158                 this.company = company;
159                 this.zipCodeSuffix = zipCodeSuffix;
160                 this.jobTitle = jobTitle;
161                 this.commandChain = commandChain;
162                 this.siloStatus = siloStatus;
163                 this.costCenter = costCenter;
164                 this.financialLocCode = financialLocCode;
165                 this.loginId = loginId;
166                 this.loginPwd = loginPwd;
167                 this.lastLoginDate = lastLoginDate;
168                 this.active = active;
169                 this.internal = internal;
170                 this.selectedProfileId = selectedProfileId;
171                 this.timeZoneId = timeZoneId;
172                 this.online = online;
173                 this.chatId = chatId;
174                 this.userApps = userApps;
175                 this.pseudoRoles = pseudoRoles;
176         }
177
178         /**
179          * @return the id
180          */
181         public Long getId() {
182                 return id;
183         }
184
185         /**
186          * @param id the id to set
187          */
188         public void setId(Long id) {
189                 this.id = id;
190         }
191
192         /**
193          * @return the created
194          */
195         public Date getCreated() {
196                 return created;
197         }
198
199         /**
200          * @param created the created to set
201          */
202         public void setCreated(Date created) {
203                 this.created = created;
204         }
205
206         /**
207          * @return the modified
208          */
209         public Date getModified() {
210                 return modified;
211         }
212
213         /**
214          * @param modified the modified to set
215          */
216         public void setModified(Date modified) {
217                 this.modified = modified;
218         }
219
220         /**
221          * @return the createdId
222          */
223         public Long getCreatedId() {
224                 return createdId;
225         }
226
227         /**
228          * @param createdId the createdId to set
229          */
230         public void setCreatedId(Long createdId) {
231                 this.createdId = createdId;
232         }
233
234         /**
235          * @return the modifiedId
236          */
237         public Long getModifiedId() {
238                 return modifiedId;
239         }
240
241         /**
242          * @param modifiedId the modifiedId to set
243          */
244         public void setModifiedId(Long modifiedId) {
245                 this.modifiedId = modifiedId;
246         }
247
248         /**
249          * @return the rowNum
250          */
251         public Long getRowNum() {
252                 return rowNum;
253         }
254
255         /**
256          * @param rowNum the rowNum to set
257          */
258         public void setRowNum(Long rowNum) {
259                 this.rowNum = rowNum;
260         }
261
262         /**
263          * @return the orgId
264          */
265         public Long getOrgId() {
266                 return orgId;
267         }
268
269         /**
270          * @param orgId the orgId to set
271          */
272         public void setOrgId(Long orgId) {
273                 this.orgId = orgId;
274         }
275
276         /**
277          * @return the managerId
278          */
279         public Long getManagerId() {
280                 return managerId;
281         }
282
283         /**
284          * @param managerId the managerId to set
285          */
286         public void setManagerId(Long managerId) {
287                 this.managerId = managerId;
288         }
289
290         /**
291          * @return the firstName
292          */
293         public String getFirstName() {
294                 return firstName;
295         }
296
297         /**
298          * @param firstName the firstName to set
299          */
300         public void setFirstName(String firstName) {
301                 this.firstName = firstName;
302         }
303
304         /**
305          * @return the middleInitial
306          */
307         public String getMiddleInitial() {
308                 return middleInitial;
309         }
310
311         /**
312          * @param middleInitial the middleInitial to set
313          */
314         public void setMiddleInitial(String middleInitial) {
315                 this.middleInitial = middleInitial;
316         }
317
318         /**
319          * @return the lastName
320          */
321         public String getLastName() {
322                 return lastName;
323         }
324
325         /**
326          * @param lastName the lastName to set
327          */
328         public void setLastName(String lastName) {
329                 this.lastName = lastName;
330         }
331
332         /**
333          * @return the phone
334          */
335         public String getPhone() {
336                 return phone;
337         }
338
339         /**
340          * @param phone the phone to set
341          */
342         public void setPhone(String phone) {
343                 this.phone = phone;
344         }
345
346         /**
347          * @return the fax
348          */
349         public String getFax() {
350                 return fax;
351         }
352
353         /**
354          * @param fax the fax to set
355          */
356         public void setFax(String fax) {
357                 this.fax = fax;
358         }
359
360         /**
361          * @return the cellular
362          */
363         public String getCellular() {
364                 return cellular;
365         }
366
367         /**
368          * @param cellular the cellular to set
369          */
370         public void setCellular(String cellular) {
371                 this.cellular = cellular;
372         }
373
374         /**
375          * @return the email
376          */
377         public String getEmail() {
378                 return email;
379         }
380
381         /**
382          * @param email the email to set
383          */
384         public void setEmail(String email) {
385                 this.email = email;
386         }
387
388         /**
389          * @return the addressId
390          */
391         public Long getAddressId() {
392                 return addressId;
393         }
394
395         /**
396          * @param addressId the addressId to set
397          */
398         public void setAddressId(Long addressId) {
399                 this.addressId = addressId;
400         }
401
402         /**
403          * @return the alertMethodCd
404          */
405         public String getAlertMethodCd() {
406                 return alertMethodCd;
407         }
408
409         /**
410          * @param alertMethodCd the alertMethodCd to set
411          */
412         public void setAlertMethodCd(String alertMethodCd) {
413                 this.alertMethodCd = alertMethodCd;
414         }
415
416         /**
417          * @return the hrid
418          */
419         public String getHrid() {
420                 return hrid;
421         }
422
423         /**
424          * @param hrid the hrid to set
425          */
426         public void setHrid(String hrid) {
427                 this.hrid = hrid;
428         }
429
430         /**
431          * @return the orgUserId
432          */
433         public String getOrgUserId() {
434                 return orgUserId;
435         }
436
437         /**
438          * @param orgUserId the orgUserId to set
439          */
440         public void setOrgUserId(String orgUserId) {
441                 this.orgUserId = orgUserId;
442         }
443
444         /**
445          * @return the orgCode
446          */
447         public String getOrgCode() {
448                 return orgCode;
449         }
450
451         /**
452          * @param orgCode the orgCode to set
453          */
454         public void setOrgCode(String orgCode) {
455                 this.orgCode = orgCode;
456         }
457
458         /**
459          * @return the address1
460          */
461         public String getAddress1() {
462                 return address1;
463         }
464
465         /**
466          * @param address1 the address1 to set
467          */
468         public void setAddress1(String address1) {
469                 this.address1 = address1;
470         }
471
472         /**
473          * @return the address2
474          */
475         public String getAddress2() {
476                 return address2;
477         }
478
479         /**
480          * @param address2 the address2 to set
481          */
482         public void setAddress2(String address2) {
483                 this.address2 = address2;
484         }
485
486         /**
487          * @return the city
488          */
489         public String getCity() {
490                 return city;
491         }
492
493         /**
494          * @param city the city to set
495          */
496         public void setCity(String city) {
497                 this.city = city;
498         }
499
500         /**
501          * @return the state
502          */
503         public String getState() {
504                 return state;
505         }
506
507         /**
508          * @param state the state to set
509          */
510         public void setState(String state) {
511                 this.state = state;
512         }
513
514         /**
515          * @return the zipCode
516          */
517         public String getZipCode() {
518                 return zipCode;
519         }
520
521         /**
522          * @param zipCode the zipCode to set
523          */
524         public void setZipCode(String zipCode) {
525                 this.zipCode = zipCode;
526         }
527
528         /**
529          * @return the country
530          */
531         public String getCountry() {
532                 return country;
533         }
534
535         /**
536          * @param country the country to set
537          */
538         public void setCountry(String country) {
539                 this.country = country;
540         }
541
542         /**
543          * @return the orgManagerUserId
544          */
545         public String getOrgManagerUserId() {
546                 return orgManagerUserId;
547         }
548
549         /**
550          * @param orgManagerUserId the orgManagerUserId to set
551          */
552         public void setOrgManagerUserId(String orgManagerUserId) {
553                 this.orgManagerUserId = orgManagerUserId;
554         }
555
556         /**
557          * @return the locationClli
558          */
559         public String getLocationClli() {
560                 return locationClli;
561         }
562
563         /**
564          * @param locationClli the locationClli to set
565          */
566         public void setLocationClli(String locationClli) {
567                 this.locationClli = locationClli;
568         }
569
570         /**
571          * @return the businessCountryCode
572          */
573         public String getBusinessCountryCode() {
574                 return businessCountryCode;
575         }
576
577         /**
578          * @param businessCountryCode the businessCountryCode to set
579          */
580         public void setBusinessCountryCode(String businessCountryCode) {
581                 this.businessCountryCode = businessCountryCode;
582         }
583
584         /**
585          * @return the businessCountryName
586          */
587         public String getBusinessCountryName() {
588                 return businessCountryName;
589         }
590
591         /**
592          * @param businessCountryName the businessCountryName to set
593          */
594         public void setBusinessCountryName(String businessCountryName) {
595                 this.businessCountryName = businessCountryName;
596         }
597
598         /**
599          * @return the businessUnit
600          */
601         public String getBusinessUnit() {
602                 return businessUnit;
603         }
604
605         /**
606          * @param businessUnit the businessUnit to set
607          */
608         public void setBusinessUnit(String businessUnit) {
609                 this.businessUnit = businessUnit;
610         }
611
612         /**
613          * @return the businessUnitName
614          */
615         public String getBusinessUnitName() {
616                 return businessUnitName;
617         }
618
619         /**
620          * @param businessUnitName the businessUnitName to set
621          */
622         public void setBusinessUnitName(String businessUnitName) {
623                 this.businessUnitName = businessUnitName;
624         }
625
626         /**
627          * @return the department
628          */
629         public String getDepartment() {
630                 return department;
631         }
632
633         /**
634          * @param department the department to set
635          */
636         public void setDepartment(String department) {
637                 this.department = department;
638         }
639
640         /**
641          * @return the departmentName
642          */
643         public String getDepartmentName() {
644                 return departmentName;
645         }
646
647         /**
648          * @param departmentName the departmentName to set
649          */
650         public void setDepartmentName(String departmentName) {
651                 this.departmentName = departmentName;
652         }
653
654         /**
655          * @return the companyCode
656          */
657         public String getCompanyCode() {
658                 return companyCode;
659         }
660
661         /**
662          * @param companyCode the companyCode to set
663          */
664         public void setCompanyCode(String companyCode) {
665                 this.companyCode = companyCode;
666         }
667
668         /**
669          * @return the company
670          */
671         public String getCompany() {
672                 return company;
673         }
674
675         /**
676          * @param company the company to set
677          */
678         public void setCompany(String company) {
679                 this.company = company;
680         }
681
682         /**
683          * @return the zipCodeSuffix
684          */
685         public String getZipCodeSuffix() {
686                 return zipCodeSuffix;
687         }
688
689         /**
690          * @param zipCodeSuffix the zipCodeSuffix to set
691          */
692         public void setZipCodeSuffix(String zipCodeSuffix) {
693                 this.zipCodeSuffix = zipCodeSuffix;
694         }
695
696         /**
697          * @return the jobTitle
698          */
699         public String getJobTitle() {
700                 return jobTitle;
701         }
702
703         /**
704          * @param jobTitle the jobTitle to set
705          */
706         public void setJobTitle(String jobTitle) {
707                 this.jobTitle = jobTitle;
708         }
709
710         /**
711          * @return the commandChain
712          */
713         public String getCommandChain() {
714                 return commandChain;
715         }
716
717         /**
718          * @param commandChain the commandChain to set
719          */
720         public void setCommandChain(String commandChain) {
721                 this.commandChain = commandChain;
722         }
723
724         /**
725          * @return the siloStatus
726          */
727         public String getSiloStatus() {
728                 return siloStatus;
729         }
730
731         /**
732          * @param siloStatus the siloStatus to set
733          */
734         public void setSiloStatus(String siloStatus) {
735                 this.siloStatus = siloStatus;
736         }
737
738         /**
739          * @return the costCenter
740          */
741         public String getCostCenter() {
742                 return costCenter;
743         }
744
745         /**
746          * @param costCenter the costCenter to set
747          */
748         public void setCostCenter(String costCenter) {
749                 this.costCenter = costCenter;
750         }
751
752         /**
753          * @return the financialLocCode
754          */
755         public String getFinancialLocCode() {
756                 return financialLocCode;
757         }
758
759         /**
760          * @param financialLocCode the financialLocCode to set
761          */
762         public void setFinancialLocCode(String financialLocCode) {
763                 this.financialLocCode = financialLocCode;
764         }
765
766         /**
767          * @return the loginId
768          */
769         public String getLoginId() {
770                 return loginId;
771         }
772
773         /**
774          * @param loginId the loginId to set
775          */
776         public void setLoginId(String loginId) {
777                 this.loginId = loginId;
778         }
779
780         /**
781          * @return the loginPwd
782          */
783         public String getLoginPwd() {
784                 return loginPwd;
785         }
786
787         /**
788          * @param loginPwd the loginPwd to set
789          */
790         public void setLoginPwd(String loginPwd) {
791                 this.loginPwd = loginPwd;
792         }
793
794         /**
795          * @return the lastLoginDate
796          */
797         public Date getLastLoginDate() {
798                 return lastLoginDate;
799         }
800
801         /**
802          * @param lastLoginDate the lastLoginDate to set
803          */
804         public void setLastLoginDate(Date lastLoginDate) {
805                 this.lastLoginDate = lastLoginDate;
806         }
807
808         /**
809          * @return the active
810          */
811         public boolean isActive() {
812                 return active;
813         }
814
815         /**
816          * @param active the active to set
817          */
818         public void setActive(boolean active) {
819                 this.active = active;
820         }
821
822         /**
823          * @return the internal
824          */
825         public boolean isInternal() {
826                 return internal;
827         }
828
829         /**
830          * @param internal the internal to set
831          */
832         public void setInternal(boolean internal) {
833                 this.internal = internal;
834         }
835
836         /**
837          * @return the selectedProfileId
838          */
839         public Long getSelectedProfileId() {
840                 return selectedProfileId;
841         }
842
843         /**
844          * @param selectedProfileId the selectedProfileId to set
845          */
846         public void setSelectedProfileId(Long selectedProfileId) {
847                 this.selectedProfileId = selectedProfileId;
848         }
849
850         /**
851          * @return the timeZoneId
852          */
853         public Long getTimeZoneId() {
854                 return timeZoneId;
855         }
856
857         /**
858          * @param timeZoneId the timeZoneId to set
859          */
860         public void setTimeZoneId(Long timeZoneId) {
861                 this.timeZoneId = timeZoneId;
862         }
863
864         /**
865          * @return the online
866          */
867         public boolean isOnline() {
868                 return online;
869         }
870
871         /**
872          * @param online the online to set
873          */
874         public void setOnline(boolean online) {
875                 this.online = online;
876         }
877
878         /**
879          * @return the chatId
880          */
881         public String getChatId() {
882                 return chatId;
883         }
884
885         /**
886          * @param chatId the chatId to set
887          */
888         public void setChatId(String chatId) {
889                 this.chatId = chatId;
890         }
891
892         /**
893          * @return the userApps
894          */
895         public Set<CentralV2UserApp> getUserApps() {
896                 return userApps;
897         }
898
899         /**
900          * @param userApps the userApps to set
901          */
902         public void setUserApps(Set<CentralV2UserApp> userApps) {
903                 this.userApps = userApps;
904         }
905
906         /**
907          * @return the pseudoRoles
908          */
909         public Set<CentralV2Role> getPseudoRoles() {
910                 return pseudoRoles;
911         }
912
913         /**
914          * @param pseudoRoles the pseudoRoles to set
915          */
916         public void setPseudoRoles(Set<CentralV2Role> pseudoRoles) {
917                 this.pseudoRoles = pseudoRoles;
918         }
919
920         @Override
921         public int hashCode() {
922                 final int prime = 31;
923                 int result = 1;
924                 result = prime * result + (active ? 1231 : 1237);
925                 result = prime * result + ((address1 == null) ? 0 : address1.hashCode());
926                 result = prime * result + ((address2 == null) ? 0 : address2.hashCode());
927                 result = prime * result + ((addressId == null) ? 0 : addressId.hashCode());
928                 result = prime * result + ((alertMethodCd == null) ? 0 : alertMethodCd.hashCode());
929                 result = prime * result + ((businessCountryCode == null) ? 0 : businessCountryCode.hashCode());
930                 result = prime * result + ((businessCountryName == null) ? 0 : businessCountryName.hashCode());
931                 result = prime * result + ((businessUnit == null) ? 0 : businessUnit.hashCode());
932                 result = prime * result + ((businessUnitName == null) ? 0 : businessUnitName.hashCode());
933                 result = prime * result + ((cellular == null) ? 0 : cellular.hashCode());
934                 result = prime * result + ((chatId == null) ? 0 : chatId.hashCode());
935                 result = prime * result + ((city == null) ? 0 : city.hashCode());
936                 result = prime * result + ((commandChain == null) ? 0 : commandChain.hashCode());
937                 result = prime * result + ((company == null) ? 0 : company.hashCode());
938                 result = prime * result + ((companyCode == null) ? 0 : companyCode.hashCode());
939                 result = prime * result + ((costCenter == null) ? 0 : costCenter.hashCode());
940                 result = prime * result + ((country == null) ? 0 : country.hashCode());
941                 result = prime * result + ((created == null) ? 0 : created.hashCode());
942                 result = prime * result + ((createdId == null) ? 0 : createdId.hashCode());
943                 result = prime * result + ((department == null) ? 0 : department.hashCode());
944                 result = prime * result + ((departmentName == null) ? 0 : departmentName.hashCode());
945                 result = prime * result + ((email == null) ? 0 : email.hashCode());
946                 result = prime * result + ((fax == null) ? 0 : fax.hashCode());
947                 result = prime * result + ((financialLocCode == null) ? 0 : financialLocCode.hashCode());
948                 result = prime * result + ((firstName == null) ? 0 : firstName.hashCode());
949                 result = prime * result + ((hrid == null) ? 0 : hrid.hashCode());
950                 result = prime * result + ((id == null) ? 0 : id.hashCode());
951                 result = prime * result + (internal ? 1231 : 1237);
952                 result = prime * result + ((jobTitle == null) ? 0 : jobTitle.hashCode());
953                 result = prime * result + ((lastLoginDate == null) ? 0 : lastLoginDate.hashCode());
954                 result = prime * result + ((lastName == null) ? 0 : lastName.hashCode());
955                 result = prime * result + ((locationClli == null) ? 0 : locationClli.hashCode());
956                 result = prime * result + ((loginId == null) ? 0 : loginId.hashCode());
957                 result = prime * result + ((loginPwd == null) ? 0 : loginPwd.hashCode());
958                 result = prime * result + ((managerId == null) ? 0 : managerId.hashCode());
959                 result = prime * result + ((middleInitial == null) ? 0 : middleInitial.hashCode());
960                 result = prime * result + ((modified == null) ? 0 : modified.hashCode());
961                 result = prime * result + ((modifiedId == null) ? 0 : modifiedId.hashCode());
962                 result = prime * result + (online ? 1231 : 1237);
963                 result = prime * result + ((orgCode == null) ? 0 : orgCode.hashCode());
964                 result = prime * result + ((orgId == null) ? 0 : orgId.hashCode());
965                 result = prime * result + ((orgManagerUserId == null) ? 0 : orgManagerUserId.hashCode());
966                 result = prime * result + ((orgUserId == null) ? 0 : orgUserId.hashCode());
967                 result = prime * result + ((phone == null) ? 0 : phone.hashCode());
968                 result = prime * result + ((pseudoRoles == null) ? 0 : pseudoRoles.hashCode());
969                 result = prime * result + ((rowNum == null) ? 0 : rowNum.hashCode());
970                 result = prime * result + ((selectedProfileId == null) ? 0 : selectedProfileId.hashCode());
971                 result = prime * result + ((siloStatus == null) ? 0 : siloStatus.hashCode());
972                 result = prime * result + ((state == null) ? 0 : state.hashCode());
973                 result = prime * result + ((timeZoneId == null) ? 0 : timeZoneId.hashCode());
974                 result = prime * result + ((userApps == null) ? 0 : userApps.hashCode());
975                 result = prime * result + ((zipCode == null) ? 0 : zipCode.hashCode());
976                 result = prime * result + ((zipCodeSuffix == null) ? 0 : zipCodeSuffix.hashCode());
977                 return result;
978         }
979
980         @Override
981         public boolean equals(Object obj) {
982                 if (this == obj)
983                         return true;
984                 if (obj == null)
985                         return false;
986                 if (getClass() != obj.getClass())
987                         return false;
988                 CentralV2User other = (CentralV2User) obj;
989                 if (active != other.active)
990                         return false;
991                 if (address1 == null) {
992                         if (other.address1 != null)
993                                 return false;
994                 } else if (!address1.equals(other.address1))
995                         return false;
996                 if (address2 == null) {
997                         if (other.address2 != null)
998                                 return false;
999                 } else if (!address2.equals(other.address2))
1000                         return false;
1001                 if (addressId == null) {
1002                         if (other.addressId != null)
1003                                 return false;
1004                 } else if (!addressId.equals(other.addressId))
1005                         return false;
1006                 if (alertMethodCd == null) {
1007                         if (other.alertMethodCd != null)
1008                                 return false;
1009                 } else if (!alertMethodCd.equals(other.alertMethodCd))
1010                         return false;
1011                 if (businessCountryCode == null) {
1012                         if (other.businessCountryCode != null)
1013                                 return false;
1014                 } else if (!businessCountryCode.equals(other.businessCountryCode))
1015                         return false;
1016                 if (businessCountryName == null) {
1017                         if (other.businessCountryName != null)
1018                                 return false;
1019                 } else if (!businessCountryName.equals(other.businessCountryName))
1020                         return false;
1021                 if (businessUnit == null) {
1022                         if (other.businessUnit != null)
1023                                 return false;
1024                 } else if (!businessUnit.equals(other.businessUnit))
1025                         return false;
1026                 if (businessUnitName == null) {
1027                         if (other.businessUnitName != null)
1028                                 return false;
1029                 } else if (!businessUnitName.equals(other.businessUnitName))
1030                         return false;
1031                 if (cellular == null) {
1032                         if (other.cellular != null)
1033                                 return false;
1034                 } else if (!cellular.equals(other.cellular))
1035                         return false;
1036                 if (chatId == null) {
1037                         if (other.chatId != null)
1038                                 return false;
1039                 } else if (!chatId.equals(other.chatId))
1040                         return false;
1041                 if (city == null) {
1042                         if (other.city != null)
1043                                 return false;
1044                 } else if (!city.equals(other.city))
1045                         return false;
1046                 if (commandChain == null) {
1047                         if (other.commandChain != null)
1048                                 return false;
1049                 } else if (!commandChain.equals(other.commandChain))
1050                         return false;
1051                 if (company == null) {
1052                         if (other.company != null)
1053                                 return false;
1054                 } else if (!company.equals(other.company))
1055                         return false;
1056                 if (companyCode == null) {
1057                         if (other.companyCode != null)
1058                                 return false;
1059                 } else if (!companyCode.equals(other.companyCode))
1060                         return false;
1061                 if (costCenter == null) {
1062                         if (other.costCenter != null)
1063                                 return false;
1064                 } else if (!costCenter.equals(other.costCenter))
1065                         return false;
1066                 if (country == null) {
1067                         if (other.country != null)
1068                                 return false;
1069                 } else if (!country.equals(other.country))
1070                         return false;
1071                 if (created == null) {
1072                         if (other.created != null)
1073                                 return false;
1074                 } else if (!created.equals(other.created))
1075                         return false;
1076                 if (createdId == null) {
1077                         if (other.createdId != null)
1078                                 return false;
1079                 } else if (!createdId.equals(other.createdId))
1080                         return false;
1081                 if (department == null) {
1082                         if (other.department != null)
1083                                 return false;
1084                 } else if (!department.equals(other.department))
1085                         return false;
1086                 if (departmentName == null) {
1087                         if (other.departmentName != null)
1088                                 return false;
1089                 } else if (!departmentName.equals(other.departmentName))
1090                         return false;
1091                 if (email == null) {
1092                         if (other.email != null)
1093                                 return false;
1094                 } else if (!email.equals(other.email))
1095                         return false;
1096                 if (fax == null) {
1097                         if (other.fax != null)
1098                                 return false;
1099                 } else if (!fax.equals(other.fax))
1100                         return false;
1101                 if (financialLocCode == null) {
1102                         if (other.financialLocCode != null)
1103                                 return false;
1104                 } else if (!financialLocCode.equals(other.financialLocCode))
1105                         return false;
1106                 if (firstName == null) {
1107                         if (other.firstName != null)
1108                                 return false;
1109                 } else if (!firstName.equals(other.firstName))
1110                         return false;
1111                 if (hrid == null) {
1112                         if (other.hrid != null)
1113                                 return false;
1114                 } else if (!hrid.equals(other.hrid))
1115                         return false;
1116                 if (id == null) {
1117                         if (other.id != null)
1118                                 return false;
1119                 } else if (!id.equals(other.id))
1120                         return false;
1121                 if (internal != other.internal)
1122                         return false;
1123                 if (jobTitle == null) {
1124                         if (other.jobTitle != null)
1125                                 return false;
1126                 } else if (!jobTitle.equals(other.jobTitle))
1127                         return false;
1128                 if (lastLoginDate == null) {
1129                         if (other.lastLoginDate != null)
1130                                 return false;
1131                 } else if (!lastLoginDate.equals(other.lastLoginDate))
1132                         return false;
1133                 if (lastName == null) {
1134                         if (other.lastName != null)
1135                                 return false;
1136                 } else if (!lastName.equals(other.lastName))
1137                         return false;
1138                 if (locationClli == null) {
1139                         if (other.locationClli != null)
1140                                 return false;
1141                 } else if (!locationClli.equals(other.locationClli))
1142                         return false;
1143                 if (loginId == null) {
1144                         if (other.loginId != null)
1145                                 return false;
1146                 } else if (!loginId.equals(other.loginId))
1147                         return false;
1148                 if (loginPwd == null) {
1149                         if (other.loginPwd != null)
1150                                 return false;
1151                 } else if (!loginPwd.equals(other.loginPwd))
1152                         return false;
1153                 if (managerId == null) {
1154                         if (other.managerId != null)
1155                                 return false;
1156                 } else if (!managerId.equals(other.managerId))
1157                         return false;
1158                 if (middleInitial == null) {
1159                         if (other.middleInitial != null)
1160                                 return false;
1161                 } else if (!middleInitial.equals(other.middleInitial))
1162                         return false;
1163                 if (modified == null) {
1164                         if (other.modified != null)
1165                                 return false;
1166                 } else if (!modified.equals(other.modified))
1167                         return false;
1168                 if (modifiedId == null) {
1169                         if (other.modifiedId != null)
1170                                 return false;
1171                 } else if (!modifiedId.equals(other.modifiedId))
1172                         return false;
1173                 if (online != other.online)
1174                         return false;
1175                 if (orgCode == null) {
1176                         if (other.orgCode != null)
1177                                 return false;
1178                 } else if (!orgCode.equals(other.orgCode))
1179                         return false;
1180                 if (orgId == null) {
1181                         if (other.orgId != null)
1182                                 return false;
1183                 } else if (!orgId.equals(other.orgId))
1184                         return false;
1185                 if (orgManagerUserId == null) {
1186                         if (other.orgManagerUserId != null)
1187                                 return false;
1188                 } else if (!orgManagerUserId.equals(other.orgManagerUserId))
1189                         return false;
1190                 if (orgUserId == null) {
1191                         if (other.orgUserId != null)
1192                                 return false;
1193                 } else if (!orgUserId.equals(other.orgUserId))
1194                         return false;
1195                 if (phone == null) {
1196                         if (other.phone != null)
1197                                 return false;
1198                 } else if (!phone.equals(other.phone))
1199                         return false;
1200                 if (pseudoRoles == null) {
1201                         if (other.pseudoRoles != null)
1202                                 return false;
1203                 } else if (!pseudoRoles.equals(other.pseudoRoles))
1204                         return false;
1205                 if (rowNum == null) {
1206                         if (other.rowNum != null)
1207                                 return false;
1208                 } else if (!rowNum.equals(other.rowNum))
1209                         return false;
1210                 if (selectedProfileId == null) {
1211                         if (other.selectedProfileId != null)
1212                                 return false;
1213                 } else if (!selectedProfileId.equals(other.selectedProfileId))
1214                         return false;
1215                 if (siloStatus == null) {
1216                         if (other.siloStatus != null)
1217                                 return false;
1218                 } else if (!siloStatus.equals(other.siloStatus))
1219                         return false;
1220                 if (state == null) {
1221                         if (other.state != null)
1222                                 return false;
1223                 } else if (!state.equals(other.state))
1224                         return false;
1225                 if (timeZoneId == null) {
1226                         if (other.timeZoneId != null)
1227                                 return false;
1228                 } else if (!timeZoneId.equals(other.timeZoneId))
1229                         return false;
1230                 if (userApps == null) {
1231                         if (other.userApps != null)
1232                                 return false;
1233                 } else if (!userApps.equals(other.userApps))
1234                         return false;
1235                 if (zipCode == null) {
1236                         if (other.zipCode != null)
1237                                 return false;
1238                 } else if (!zipCode.equals(other.zipCode))
1239                         return false;
1240                 if (zipCodeSuffix == null) {
1241                         if (other.zipCodeSuffix != null)
1242                                 return false;
1243                 } else if (!zipCodeSuffix.equals(other.zipCodeSuffix))
1244                         return false;
1245                 return true;
1246         }
1247
1248         
1249         
1250 }