public override int GetHashCode() { unchecked { var hashCode = (Login != null ? Login.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Snp != null ? Snp.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Post != null ? Post.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Phone != null ? Phone.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Department != null ? Department.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Unit != null ? Unit.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Office != null ? Office.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = IdRequestUser; hashCode = (hashCode * 397) ^ (Login != null ? Login.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Snp != null ? Snp.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Post != null ? Post.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Phone != null ? Phone.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Department != null ? Department.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Unit != null ? Unit.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Office != null ? Office.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (RequestUserAssoc != null ? RequestUserAssoc.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsActive.GetHashCode(); hashCode = (hashCode * 397) ^ Deleted.GetHashCode(); return(hashCode); } }