final ChangeableEmailAddress otherEmail = (ChangeableEmailAddress) object;
- if (!Objects.equals(this.getEmailChangeId(), otherEmail.getEmailChangeId())) {
+ if (!Objects.equals(this.getEmailAddress(), otherEmail.getEmailAddress())) {
return false;
- } else if (!Objects.equals(this.getEmailAddress(), otherEmail.getEmailAddress())) {
+ } else if (!Objects.equals(this.getEmailChangeHash(), otherEmail.getEmailChangeHash())) {
+ return false;
+ } else if (!Objects.equals(this.getEmailChangeStatus(), otherEmail.getEmailChangeStatus())) {
return false;
} else if (!Objects.equals(this.getEmailChangeUser(), otherEmail.getEmailChangeUser())) {
return false;
public int hashCode () {
int hash = 5;
- hash = 71 * hash + Objects.hashCode(this.getEmailChangeId());
hash = 71 * hash + Objects.hashCode(this.getEmailAddress());
+ hash = 71 * hash + Objects.hashCode(this.getEmailChangeHash());
+ hash = 71 * hash + Objects.hashCode(this.getEmailChangeStatus());
hash = 71 * hash + Objects.hashCode(this.getEmailChangeUser());
return hash;
if (!Objects.equals(this.getUserName(), other.getUserName())) {
return false;
- } else if (!Objects.equals(this.getUserId(), other.getUserId())) {
+ } else if (!Objects.equals(this.getUserConfirmKey(), other.getUserConfirmKey())) {
+ return false;
+ } else if (!Objects.equals(this.getUserAccountStatus(), other.getUserAccountStatus())) {
+ return false;
+ } else if (!Objects.equals(this.getUserContact(), other.getUserContact())) {
+ return false;
+ } else if (!Objects.equals(this.getUserProfileMode(), other.getUserProfileMode())) {
return false;
}
@Override
public int hashCode () {
int hash = 5;
+
hash = 83 * hash + Objects.hashCode(this.getUserName());
- hash = 83 * hash + Objects.hashCode(this.getUserId());
+ hash = 83 * hash + Objects.hashCode(this.getUserConfirmKey());
+ hash = 83 * hash + Objects.hashCode(this.getUserAccountStatus());
+ hash = 83 * hash + Objects.hashCode(this.getUserContact());
+ hash = 83 * hash + Objects.hashCode(this.getUserProfileMode());
+
return hash;
}