public override int GetHashCode() { int hash = 1; if (entityId_ != null) { hash ^= EntityId.GetHashCode(); } if (UserId.Length != 0) { hash ^= UserId.GetHashCode(); } if (Password.Length != 0) { hash ^= Password.GetHashCode(); } if (DisplayName.Length != 0) { hash ^= DisplayName.GetHashCode(); } if (EmergencyContactPhoneNumber.Length != 0) { hash ^= EmergencyContactPhoneNumber.GetHashCode(); } if (IsPhoneDataDisplayable != false) { hash ^= IsPhoneDataDisplayable.GetHashCode(); } if (dateHired_ != null) { hash ^= DateHired.GetHashCode(); } if (IsActive != false) { hash ^= IsActive.GetHashCode(); } if (department_ != null) { hash ^= Department.GetHashCode(); } if (DepartmentName.Length != 0) { hash ^= DepartmentName.GetHashCode(); } if (contactInfo_ != null) { hash ^= ContactInfo.GetHashCode(); } if (IsIncluded != false) { hash ^= IsIncluded.GetHashCode(); } return(hash); }