2 * ============LICENSE_START==========================================
4 * ===================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ===================================================================
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
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
26 * https://creativecommons.org/licenses/by/4.0/
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.
34 * ============LICENSE_END============================================
38 package org.onap.portalapp.portal.transport;
40 import java.io.Serializable;
41 import java.util.Date;
44 public class CentralV2User implements Serializable {
50 private static final long serialVersionUID = -2673289523184880563L;
53 private Date modified;
54 private Long createdId;
55 private Long modifiedId;
59 private Long managerId;
60 private String firstName;
61 private String middleInitial;
62 private String lastName;
65 private String cellular;
67 private Long addressId;
68 private String alertMethodCd;
70 private String orgUserId;
71 private String orgCode;
72 private String address1;
73 private String address2;
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;
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;
105 private Set<CentralV2UserApp> userApps = null;
106 private Set<CentralV2Role> pseudoRoles = null;
108 public CentralV2User(){
112 public CentralV2User(CentralV2UserBuilder builder) {
114 this.id = builder.id;
115 this.created = builder.created;
116 this.modified = builder.modified;
117 this.createdId = builder.createdId;
118 this.modifiedId = builder.modifiedId;
119 this.rowNum = builder.rowNum;
120 this.orgId = builder.orgId;
121 this.managerId = builder.managerId;
122 this.firstName = builder.firstName;
123 this.middleInitial = builder.middleInitial;
124 this.lastName = builder.lastName;
125 this.phone = builder.phone;
126 this.fax = builder.fax;
127 this.cellular = builder.cellular;
128 this.email = builder.email;
129 this.addressId = builder.addressId;
130 this.alertMethodCd = builder.alertMethodCd;
131 this.hrid = builder.hrid;
132 this.orgUserId = builder.orgUserId;
133 this.orgCode = builder.orgCode;
134 this.address1 = builder.address1;
135 this.address2 = builder.address2;
136 this.city = builder.city;
137 this.state = builder.state;
138 this.zipCode = builder.zipCode;
139 this.country = builder.country;
140 this.orgManagerUserId = builder.orgManagerUserId;
141 this.locationClli = builder.locationClli;
142 this.businessCountryCode = builder.businessCountryCode;
143 this.businessCountryName = builder.businessCountryName;
144 this.businessUnit = builder.businessUnit;
145 this.businessUnitName = builder.businessUnitName;
146 this.department = builder.department;
147 this.departmentName = builder.departmentName;
148 this.companyCode = builder.companyCode;
149 this.company = builder.company;
150 this.zipCodeSuffix = builder.zipCodeSuffix;
151 this.jobTitle = builder.jobTitle;
152 this.commandChain = builder.commandChain;
153 this.siloStatus = builder.siloStatus;
154 this.costCenter = builder.costCenter;
155 this.financialLocCode = builder.financialLocCode;
156 this.loginId = builder.loginId;
157 this.loginPwd = builder.loginPwd;
158 this.lastLoginDate = builder.lastLoginDate;
159 this.active = builder.active;
160 this.internal = builder.internal;
161 this.selectedProfileId = builder.selectedProfileId;
162 this.timeZoneId = builder.timeZoneId;
163 this.online = builder.online;
164 this.chatId = builder.chatId;
165 this.userApps = builder.userApps;
166 this.pseudoRoles = builder.pseudoRoles;
169 public static class CentralV2UserBuilder {
171 private Date created;
172 private Date modified;
173 private Long createdId;
174 private Long modifiedId;
177 private Long managerId;
178 private String firstName;
179 private String middleInitial;
180 private String lastName;
181 private String phone;
183 private String cellular;
184 private String email;
185 private Long addressId;
186 private String alertMethodCd;
188 private String orgUserId;
189 private String orgCode;
190 private String address1;
191 private String address2;
193 private String state;
194 private String zipCode;
195 private String country;
196 private String orgManagerUserId;
197 private String locationClli;
198 private String businessCountryCode;
199 private String businessCountryName;
200 private String businessUnit;
201 private String businessUnitName;
202 private String department;
203 private String departmentName;
204 private String companyCode;
205 private String company;
206 private String zipCodeSuffix;
207 private String jobTitle;
208 private String commandChain;
209 private String siloStatus;
210 private String costCenter;
211 private String financialLocCode;
212 private String loginId;
213 private String loginPwd;
214 private Date lastLoginDate;
215 private boolean active;
216 private boolean internal;
217 private Long selectedProfileId;
218 private Long timeZoneId;
219 private boolean online;
220 private String chatId;
221 private Set<CentralV2UserApp> userApps;
222 private Set<CentralV2Role> pseudoRoles;
224 public CentralV2UserBuilder setId(Long id) {
229 public CentralV2UserBuilder setCreated(Date created) {
230 this.created = created;
234 public CentralV2UserBuilder setModified(Date modified) {
235 this.modified = modified;
239 public CentralV2UserBuilder setCreatedId(Long createdId) {
240 this.createdId = createdId;
244 public CentralV2UserBuilder setModifiedId(Long modifiedId) {
245 this.modifiedId = modifiedId;
249 public CentralV2UserBuilder setRowNum(Long rowNum) {
250 this.rowNum = rowNum;
254 public CentralV2UserBuilder setOrgId(Long orgId) {
259 public CentralV2UserBuilder setManagerId(Long managerId) {
260 this.managerId = managerId;
264 public CentralV2UserBuilder setFirstName(String firstName) {
265 this.firstName = firstName;
269 public CentralV2UserBuilder setMiddleInitial(String middleInitial) {
270 this.middleInitial = middleInitial;
274 public CentralV2UserBuilder setLastName(String lastName) {
275 this.lastName = lastName;
279 public CentralV2UserBuilder setPhone(String phone) {
284 public CentralV2UserBuilder setFax(String fax) {
289 public CentralV2UserBuilder setCellular(String cellular) {
290 this.cellular = cellular;
294 public CentralV2UserBuilder setEmail(String email) {
299 public CentralV2UserBuilder setAddressId(Long addressId) {
300 this.addressId = addressId;
304 public CentralV2UserBuilder setAlertMethodCd(String alertMethodCd) {
305 this.alertMethodCd = alertMethodCd;
309 public CentralV2UserBuilder setHrid(String hrid) {
314 public CentralV2UserBuilder setOrgUserId(String orgUserId) {
315 this.orgUserId = orgUserId;
319 public CentralV2UserBuilder setOrgCode(String orgCode) {
320 this.orgCode = orgCode;
324 public CentralV2UserBuilder setAddress1(String address1) {
325 this.address1 = address1;
329 public CentralV2UserBuilder setAddress2(String address2) {
330 this.address2 = address2;
334 public CentralV2UserBuilder setCity(String city) {
339 public CentralV2UserBuilder setState(String state) {
344 public CentralV2UserBuilder setZipCode(String zipCode) {
345 this.zipCode = zipCode;
349 public CentralV2UserBuilder setCountry(String country) {
350 this.country = country;
354 public CentralV2UserBuilder setOrgManagerUserId(String orgManagerUserId) {
355 this.orgManagerUserId = orgManagerUserId;
359 public CentralV2UserBuilder setLocationClli(String locationClli) {
360 this.locationClli = locationClli;
364 public CentralV2UserBuilder setBusinessCountryCode(String businessCountryCode) {
365 this.businessCountryCode = businessCountryCode;
369 public CentralV2UserBuilder setBusinessCountryName(String businessCountryName) {
370 this.businessCountryName = businessCountryName;
374 public CentralV2UserBuilder setBusinessUnit(String businessUnit) {
375 this.businessUnit = businessUnit;
379 public CentralV2UserBuilder setBusinessUnitName(String businessUnitName) {
380 this.businessUnitName = businessUnitName;
384 public CentralV2UserBuilder setDepartment(String department) {
385 this.department = department;
389 public CentralV2UserBuilder setDepartmentName(String departmentName) {
390 this.departmentName = departmentName;
394 public CentralV2UserBuilder setCompanyCode(String companyCode) {
395 this.companyCode = companyCode;
399 public CentralV2UserBuilder setCompany(String company) {
400 this.company = company;
404 public CentralV2UserBuilder setZipCodeSuffix(String zipCodeSuffix) {
405 this.zipCodeSuffix = zipCodeSuffix;
409 public CentralV2UserBuilder setJobTitle(String jobTitle) {
410 this.jobTitle = jobTitle;
414 public CentralV2UserBuilder setCommandChain(String commandChain) {
415 this.commandChain = commandChain;
419 public CentralV2UserBuilder setSiloStatus(String siloStatus) {
420 this.siloStatus = siloStatus;
424 public CentralV2UserBuilder setCostCenter(String costCenter) {
425 this.costCenter = costCenter;
429 public CentralV2UserBuilder setFinancialLocCode(String financialLocCode) {
430 this.financialLocCode = financialLocCode;
434 public CentralV2UserBuilder setLoginId(String loginId) {
435 this.loginId = loginId;
439 public CentralV2UserBuilder setLoginPwd(String loginPwd) {
440 this.loginPwd = loginPwd;
444 public CentralV2UserBuilder setLastLoginDate(Date lastLoginDate) {
445 this.lastLoginDate = lastLoginDate;
449 public CentralV2UserBuilder setActive(boolean active) {
450 this.active = active;
454 public CentralV2UserBuilder setInternal(boolean internal) {
455 this.internal = internal;
459 public CentralV2UserBuilder setSelectedProfileId(Long selectedProfileId) {
460 this.selectedProfileId = selectedProfileId;
464 public CentralV2UserBuilder setTimeZoneId(Long timeZoneId) {
465 this.timeZoneId = timeZoneId;
469 public CentralV2UserBuilder setOnline(boolean online) {
470 this.online = online;
474 public CentralV2UserBuilder setChatId(String chatId) {
475 this.chatId = chatId;
479 public CentralV2UserBuilder setUserApps(Set<CentralV2UserApp> userApps) {
480 this.userApps = userApps;
484 public CentralV2UserBuilder setPseudoRoles(Set<CentralV2Role> pseudoRoles) {
485 this.pseudoRoles = pseudoRoles;
489 public CentralV2User createCentralV2User() {
490 return new CentralV2User(this);
497 public Long getId() {
502 * @param id the id to set
504 public void setId(Long id) {
509 * @return the created
511 public Date getCreated() {
516 * @param created the created to set
518 public void setCreated(Date created) {
519 this.created = created;
523 * @return the modified
525 public Date getModified() {
530 * @param modified the modified to set
532 public void setModified(Date modified) {
533 this.modified = modified;
537 * @return the createdId
539 public Long getCreatedId() {
544 * @param createdId the createdId to set
546 public void setCreatedId(Long createdId) {
547 this.createdId = createdId;
551 * @return the modifiedId
553 public Long getModifiedId() {
558 * @param modifiedId the modifiedId to set
560 public void setModifiedId(Long modifiedId) {
561 this.modifiedId = modifiedId;
567 public Long getRowNum() {
572 * @param rowNum the rowNum to set
574 public void setRowNum(Long rowNum) {
575 this.rowNum = rowNum;
581 public Long getOrgId() {
586 * @param orgId the orgId to set
588 public void setOrgId(Long orgId) {
593 * @return the managerId
595 public Long getManagerId() {
600 * @param managerId the managerId to set
602 public void setManagerId(Long managerId) {
603 this.managerId = managerId;
607 * @return the firstName
609 public String getFirstName() {
614 * @param firstName the firstName to set
616 public void setFirstName(String firstName) {
617 this.firstName = firstName;
621 * @return the middleInitial
623 public String getMiddleInitial() {
624 return middleInitial;
628 * @param middleInitial the middleInitial to set
630 public void setMiddleInitial(String middleInitial) {
631 this.middleInitial = middleInitial;
635 * @return the lastName
637 public String getLastName() {
642 * @param lastName the lastName to set
644 public void setLastName(String lastName) {
645 this.lastName = lastName;
651 public String getPhone() {
656 * @param phone the phone to set
658 public void setPhone(String phone) {
665 public String getFax() {
670 * @param fax the fax to set
672 public void setFax(String fax) {
677 * @return the cellular
679 public String getCellular() {
684 * @param cellular the cellular to set
686 public void setCellular(String cellular) {
687 this.cellular = cellular;
693 public String getEmail() {
698 * @param email the email to set
700 public void setEmail(String email) {
705 * @return the addressId
707 public Long getAddressId() {
712 * @param addressId the addressId to set
714 public void setAddressId(Long addressId) {
715 this.addressId = addressId;
719 * @return the alertMethodCd
721 public String getAlertMethodCd() {
722 return alertMethodCd;
726 * @param alertMethodCd the alertMethodCd to set
728 public void setAlertMethodCd(String alertMethodCd) {
729 this.alertMethodCd = alertMethodCd;
735 public String getHrid() {
740 * @param hrid the hrid to set
742 public void setHrid(String hrid) {
747 * @return the orgUserId
749 public String getOrgUserId() {
754 * @param orgUserId the orgUserId to set
756 public void setOrgUserId(String orgUserId) {
757 this.orgUserId = orgUserId;
761 * @return the orgCode
763 public String getOrgCode() {
768 * @param orgCode the orgCode to set
770 public void setOrgCode(String orgCode) {
771 this.orgCode = orgCode;
775 * @return the address1
777 public String getAddress1() {
782 * @param address1 the address1 to set
784 public void setAddress1(String address1) {
785 this.address1 = address1;
789 * @return the address2
791 public String getAddress2() {
796 * @param address2 the address2 to set
798 public void setAddress2(String address2) {
799 this.address2 = address2;
805 public String getCity() {
810 * @param city the city to set
812 public void setCity(String city) {
819 public String getState() {
824 * @param state the state to set
826 public void setState(String state) {
831 * @return the zipCode
833 public String getZipCode() {
838 * @param zipCode the zipCode to set
840 public void setZipCode(String zipCode) {
841 this.zipCode = zipCode;
845 * @return the country
847 public String getCountry() {
852 * @param country the country to set
854 public void setCountry(String country) {
855 this.country = country;
859 * @return the orgManagerUserId
861 public String getOrgManagerUserId() {
862 return orgManagerUserId;
866 * @param orgManagerUserId the orgManagerUserId to set
868 public void setOrgManagerUserId(String orgManagerUserId) {
869 this.orgManagerUserId = orgManagerUserId;
873 * @return the locationClli
875 public String getLocationClli() {
880 * @param locationClli the locationClli to set
882 public void setLocationClli(String locationClli) {
883 this.locationClli = locationClli;
887 * @return the businessCountryCode
889 public String getBusinessCountryCode() {
890 return businessCountryCode;
894 * @param businessCountryCode the businessCountryCode to set
896 public void setBusinessCountryCode(String businessCountryCode) {
897 this.businessCountryCode = businessCountryCode;
901 * @return the businessCountryName
903 public String getBusinessCountryName() {
904 return businessCountryName;
908 * @param businessCountryName the businessCountryName to set
910 public void setBusinessCountryName(String businessCountryName) {
911 this.businessCountryName = businessCountryName;
915 * @return the businessUnit
917 public String getBusinessUnit() {
922 * @param businessUnit the businessUnit to set
924 public void setBusinessUnit(String businessUnit) {
925 this.businessUnit = businessUnit;
929 * @return the businessUnitName
931 public String getBusinessUnitName() {
932 return businessUnitName;
936 * @param businessUnitName the businessUnitName to set
938 public void setBusinessUnitName(String businessUnitName) {
939 this.businessUnitName = businessUnitName;
943 * @return the department
945 public String getDepartment() {
950 * @param department the department to set
952 public void setDepartment(String department) {
953 this.department = department;
957 * @return the departmentName
959 public String getDepartmentName() {
960 return departmentName;
964 * @param departmentName the departmentName to set
966 public void setDepartmentName(String departmentName) {
967 this.departmentName = departmentName;
971 * @return the companyCode
973 public String getCompanyCode() {
978 * @param companyCode the companyCode to set
980 public void setCompanyCode(String companyCode) {
981 this.companyCode = companyCode;
985 * @return the company
987 public String getCompany() {
992 * @param company the company to set
994 public void setCompany(String company) {
995 this.company = company;
999 * @return the zipCodeSuffix
1001 public String getZipCodeSuffix() {
1002 return zipCodeSuffix;
1006 * @param zipCodeSuffix the zipCodeSuffix to set
1008 public void setZipCodeSuffix(String zipCodeSuffix) {
1009 this.zipCodeSuffix = zipCodeSuffix;
1013 * @return the jobTitle
1015 public String getJobTitle() {
1020 * @param jobTitle the jobTitle to set
1022 public void setJobTitle(String jobTitle) {
1023 this.jobTitle = jobTitle;
1027 * @return the commandChain
1029 public String getCommandChain() {
1030 return commandChain;
1034 * @param commandChain the commandChain to set
1036 public void setCommandChain(String commandChain) {
1037 this.commandChain = commandChain;
1041 * @return the siloStatus
1043 public String getSiloStatus() {
1048 * @param siloStatus the siloStatus to set
1050 public void setSiloStatus(String siloStatus) {
1051 this.siloStatus = siloStatus;
1055 * @return the costCenter
1057 public String getCostCenter() {
1062 * @param costCenter the costCenter to set
1064 public void setCostCenter(String costCenter) {
1065 this.costCenter = costCenter;
1069 * @return the financialLocCode
1071 public String getFinancialLocCode() {
1072 return financialLocCode;
1076 * @param financialLocCode the financialLocCode to set
1078 public void setFinancialLocCode(String financialLocCode) {
1079 this.financialLocCode = financialLocCode;
1083 * @return the loginId
1085 public String getLoginId() {
1090 * @param loginId the loginId to set
1092 public void setLoginId(String loginId) {
1093 this.loginId = loginId;
1097 * @return the loginPwd
1099 public String getLoginPwd() {
1104 * @param loginPwd the loginPwd to set
1106 public void setLoginPwd(String loginPwd) {
1107 this.loginPwd = loginPwd;
1111 * @return the lastLoginDate
1113 public Date getLastLoginDate() {
1114 return lastLoginDate;
1118 * @param lastLoginDate the lastLoginDate to set
1120 public void setLastLoginDate(Date lastLoginDate) {
1121 this.lastLoginDate = lastLoginDate;
1125 * @return the active
1127 public boolean isActive() {
1132 * @param active the active to set
1134 public void setActive(boolean active) {
1135 this.active = active;
1139 * @return the internal
1141 public boolean isInternal() {
1146 * @param internal the internal to set
1148 public void setInternal(boolean internal) {
1149 this.internal = internal;
1153 * @return the selectedProfileId
1155 public Long getSelectedProfileId() {
1156 return selectedProfileId;
1160 * @param selectedProfileId the selectedProfileId to set
1162 public void setSelectedProfileId(Long selectedProfileId) {
1163 this.selectedProfileId = selectedProfileId;
1167 * @return the timeZoneId
1169 public Long getTimeZoneId() {
1174 * @param timeZoneId the timeZoneId to set
1176 public void setTimeZoneId(Long timeZoneId) {
1177 this.timeZoneId = timeZoneId;
1181 * @return the online
1183 public boolean isOnline() {
1188 * @param online the online to set
1190 public void setOnline(boolean online) {
1191 this.online = online;
1195 * @return the chatId
1197 public String getChatId() {
1202 * @param chatId the chatId to set
1204 public void setChatId(String chatId) {
1205 this.chatId = chatId;
1209 * @return the userApps
1211 public Set<CentralV2UserApp> getUserApps() {
1216 * @param userApps the userApps to set
1218 public void setUserApps(Set<CentralV2UserApp> userApps) {
1219 this.userApps = userApps;
1223 * @return the pseudoRoles
1225 public Set<CentralV2Role> getPseudoRoles() {
1230 * @param pseudoRoles the pseudoRoles to set
1232 public void setPseudoRoles(Set<CentralV2Role> pseudoRoles) {
1233 this.pseudoRoles = pseudoRoles;
1237 public int hashCode() {
1238 final int prime = 31;
1240 result = prime * result + (active ? 1231 : 1237);
1241 result = prime * result + ((address1 == null) ? 0 : address1.hashCode());
1242 result = prime * result + ((address2 == null) ? 0 : address2.hashCode());
1243 result = prime * result + ((addressId == null) ? 0 : addressId.hashCode());
1244 result = prime * result + ((alertMethodCd == null) ? 0 : alertMethodCd.hashCode());
1245 result = prime * result + ((businessCountryCode == null) ? 0 : businessCountryCode.hashCode());
1246 result = prime * result + ((businessCountryName == null) ? 0 : businessCountryName.hashCode());
1247 result = prime * result + ((businessUnit == null) ? 0 : businessUnit.hashCode());
1248 result = prime * result + ((businessUnitName == null) ? 0 : businessUnitName.hashCode());
1249 result = prime * result + ((cellular == null) ? 0 : cellular.hashCode());
1250 result = prime * result + ((chatId == null) ? 0 : chatId.hashCode());
1251 result = prime * result + ((city == null) ? 0 : city.hashCode());
1252 result = prime * result + ((commandChain == null) ? 0 : commandChain.hashCode());
1253 result = prime * result + ((company == null) ? 0 : company.hashCode());
1254 result = prime * result + ((companyCode == null) ? 0 : companyCode.hashCode());
1255 result = prime * result + ((costCenter == null) ? 0 : costCenter.hashCode());
1256 result = prime * result + ((country == null) ? 0 : country.hashCode());
1257 result = prime * result + ((created == null) ? 0 : created.hashCode());
1258 result = prime * result + ((createdId == null) ? 0 : createdId.hashCode());
1259 result = prime * result + ((department == null) ? 0 : department.hashCode());
1260 result = prime * result + ((departmentName == null) ? 0 : departmentName.hashCode());
1261 result = prime * result + ((email == null) ? 0 : email.hashCode());
1262 result = prime * result + ((fax == null) ? 0 : fax.hashCode());
1263 result = prime * result + ((financialLocCode == null) ? 0 : financialLocCode.hashCode());
1264 result = prime * result + ((firstName == null) ? 0 : firstName.hashCode());
1265 result = prime * result + ((hrid == null) ? 0 : hrid.hashCode());
1266 result = prime * result + ((id == null) ? 0 : id.hashCode());
1267 result = prime * result + (internal ? 1231 : 1237);
1268 result = prime * result + ((jobTitle == null) ? 0 : jobTitle.hashCode());
1269 result = prime * result + ((lastLoginDate == null) ? 0 : lastLoginDate.hashCode());
1270 result = prime * result + ((lastName == null) ? 0 : lastName.hashCode());
1271 result = prime * result + ((locationClli == null) ? 0 : locationClli.hashCode());
1272 result = prime * result + ((loginId == null) ? 0 : loginId.hashCode());
1273 result = prime * result + ((loginPwd == null) ? 0 : loginPwd.hashCode());
1274 result = prime * result + ((managerId == null) ? 0 : managerId.hashCode());
1275 result = prime * result + ((middleInitial == null) ? 0 : middleInitial.hashCode());
1276 result = prime * result + ((modified == null) ? 0 : modified.hashCode());
1277 result = prime * result + ((modifiedId == null) ? 0 : modifiedId.hashCode());
1278 result = prime * result + (online ? 1231 : 1237);
1279 result = prime * result + ((orgCode == null) ? 0 : orgCode.hashCode());
1280 result = prime * result + ((orgId == null) ? 0 : orgId.hashCode());
1281 result = prime * result + ((orgManagerUserId == null) ? 0 : orgManagerUserId.hashCode());
1282 result = prime * result + ((orgUserId == null) ? 0 : orgUserId.hashCode());
1283 result = prime * result + ((phone == null) ? 0 : phone.hashCode());
1284 result = prime * result + ((pseudoRoles == null) ? 0 : pseudoRoles.hashCode());
1285 result = prime * result + ((rowNum == null) ? 0 : rowNum.hashCode());
1286 result = prime * result + ((selectedProfileId == null) ? 0 : selectedProfileId.hashCode());
1287 result = prime * result + ((siloStatus == null) ? 0 : siloStatus.hashCode());
1288 result = prime * result + ((state == null) ? 0 : state.hashCode());
1289 result = prime * result + ((timeZoneId == null) ? 0 : timeZoneId.hashCode());
1290 result = prime * result + ((userApps == null) ? 0 : userApps.hashCode());
1291 result = prime * result + ((zipCode == null) ? 0 : zipCode.hashCode());
1292 result = prime * result + ((zipCodeSuffix == null) ? 0 : zipCodeSuffix.hashCode());
1297 public boolean equals(Object obj) {
1302 if (getClass() != obj.getClass())
1304 CentralV2User other = (CentralV2User) obj;
1305 if (active != other.active)
1307 if (address1 == null) {
1308 if (other.address1 != null)
1310 } else if (!address1.equals(other.address1))
1312 if (address2 == null) {
1313 if (other.address2 != null)
1315 } else if (!address2.equals(other.address2))
1317 if (addressId == null) {
1318 if (other.addressId != null)
1320 } else if (!addressId.equals(other.addressId))
1322 if (alertMethodCd == null) {
1323 if (other.alertMethodCd != null)
1325 } else if (!alertMethodCd.equals(other.alertMethodCd))
1327 if (businessCountryCode == null) {
1328 if (other.businessCountryCode != null)
1330 } else if (!businessCountryCode.equals(other.businessCountryCode))
1332 if (businessCountryName == null) {
1333 if (other.businessCountryName != null)
1335 } else if (!businessCountryName.equals(other.businessCountryName))
1337 if (businessUnit == null) {
1338 if (other.businessUnit != null)
1340 } else if (!businessUnit.equals(other.businessUnit))
1342 if (businessUnitName == null) {
1343 if (other.businessUnitName != null)
1345 } else if (!businessUnitName.equals(other.businessUnitName))
1347 if (cellular == null) {
1348 if (other.cellular != null)
1350 } else if (!cellular.equals(other.cellular))
1352 if (chatId == null) {
1353 if (other.chatId != null)
1355 } else if (!chatId.equals(other.chatId))
1358 if (other.city != null)
1360 } else if (!city.equals(other.city))
1362 if (commandChain == null) {
1363 if (other.commandChain != null)
1365 } else if (!commandChain.equals(other.commandChain))
1367 if (company == null) {
1368 if (other.company != null)
1370 } else if (!company.equals(other.company))
1372 if (companyCode == null) {
1373 if (other.companyCode != null)
1375 } else if (!companyCode.equals(other.companyCode))
1377 if (costCenter == null) {
1378 if (other.costCenter != null)
1380 } else if (!costCenter.equals(other.costCenter))
1382 if (country == null) {
1383 if (other.country != null)
1385 } else if (!country.equals(other.country))
1387 if (created == null) {
1388 if (other.created != null)
1390 } else if (!created.equals(other.created))
1392 if (createdId == null) {
1393 if (other.createdId != null)
1395 } else if (!createdId.equals(other.createdId))
1397 if (department == null) {
1398 if (other.department != null)
1400 } else if (!department.equals(other.department))
1402 if (departmentName == null) {
1403 if (other.departmentName != null)
1405 } else if (!departmentName.equals(other.departmentName))
1407 if (email == null) {
1408 if (other.email != null)
1410 } else if (!email.equals(other.email))
1413 if (other.fax != null)
1415 } else if (!fax.equals(other.fax))
1417 if (financialLocCode == null) {
1418 if (other.financialLocCode != null)
1420 } else if (!financialLocCode.equals(other.financialLocCode))
1422 if (firstName == null) {
1423 if (other.firstName != null)
1425 } else if (!firstName.equals(other.firstName))
1428 if (other.hrid != null)
1430 } else if (!hrid.equals(other.hrid))
1433 if (other.id != null)
1435 } else if (!id.equals(other.id))
1437 if (internal != other.internal)
1439 if (jobTitle == null) {
1440 if (other.jobTitle != null)
1442 } else if (!jobTitle.equals(other.jobTitle))
1444 if (lastLoginDate == null) {
1445 if (other.lastLoginDate != null)
1447 } else if (!lastLoginDate.equals(other.lastLoginDate))
1449 if (lastName == null) {
1450 if (other.lastName != null)
1452 } else if (!lastName.equals(other.lastName))
1454 if (locationClli == null) {
1455 if (other.locationClli != null)
1457 } else if (!locationClli.equals(other.locationClli))
1459 if (loginId == null) {
1460 if (other.loginId != null)
1462 } else if (!loginId.equals(other.loginId))
1464 if (loginPwd == null) {
1465 if (other.loginPwd != null)
1467 } else if (!loginPwd.equals(other.loginPwd))
1469 if (managerId == null) {
1470 if (other.managerId != null)
1472 } else if (!managerId.equals(other.managerId))
1474 if (middleInitial == null) {
1475 if (other.middleInitial != null)
1477 } else if (!middleInitial.equals(other.middleInitial))
1479 if (modified == null) {
1480 if (other.modified != null)
1482 } else if (!modified.equals(other.modified))
1484 if (modifiedId == null) {
1485 if (other.modifiedId != null)
1487 } else if (!modifiedId.equals(other.modifiedId))
1489 if (online != other.online)
1491 if (orgCode == null) {
1492 if (other.orgCode != null)
1494 } else if (!orgCode.equals(other.orgCode))
1496 if (orgId == null) {
1497 if (other.orgId != null)
1499 } else if (!orgId.equals(other.orgId))
1501 if (orgManagerUserId == null) {
1502 if (other.orgManagerUserId != null)
1504 } else if (!orgManagerUserId.equals(other.orgManagerUserId))
1506 if (orgUserId == null) {
1507 if (other.orgUserId != null)
1509 } else if (!orgUserId.equals(other.orgUserId))
1511 if (phone == null) {
1512 if (other.phone != null)
1514 } else if (!phone.equals(other.phone))
1516 if (pseudoRoles == null) {
1517 if (other.pseudoRoles != null)
1519 } else if (!pseudoRoles.equals(other.pseudoRoles))
1521 if (rowNum == null) {
1522 if (other.rowNum != null)
1524 } else if (!rowNum.equals(other.rowNum))
1526 if (selectedProfileId == null) {
1527 if (other.selectedProfileId != null)
1529 } else if (!selectedProfileId.equals(other.selectedProfileId))
1531 if (siloStatus == null) {
1532 if (other.siloStatus != null)
1534 } else if (!siloStatus.equals(other.siloStatus))
1536 if (state == null) {
1537 if (other.state != null)
1539 } else if (!state.equals(other.state))
1541 if (timeZoneId == null) {
1542 if (other.timeZoneId != null)
1544 } else if (!timeZoneId.equals(other.timeZoneId))
1546 if (userApps == null) {
1547 if (other.userApps != null)
1549 } else if (!userApps.equals(other.userApps))
1551 if (zipCode == null) {
1552 if (other.zipCode != null)
1554 } else if (!zipCode.equals(other.zipCode))
1556 if (zipCodeSuffix == null) {
1557 if (other.zipCodeSuffix != null)
1559 } else if (!zipCodeSuffix.equals(other.zipCodeSuffix))