public override int GetHashCode() { int hash = 1; if (UserId != 0) { hash ^= UserId.GetHashCode(); } if (UserName.Length != 0) { hash ^= UserName.GetHashCode(); } if (UserHead != 0) { hash ^= UserHead.GetHashCode(); } if (LastLoginTime != 0L) { hash ^= LastLoginTime.GetHashCode(); } if (CardNum != 0) { hash ^= CardNum.GetHashCode(); } if (DepartmentLevel != 0) { hash ^= DepartmentLevel.GetHashCode(); } if (PowerGetState != 0) { hash ^= PowerGetState.GetHashCode(); } if (PowerBeGivenState != 0) { hash ^= PowerBeGivenState.GetHashCode(); } if (PowerSendState != 0) { hash ^= PowerSendState.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (UserId != 0) { hash ^= UserId.GetHashCode(); } if (PowerGetState != 0) { hash ^= PowerGetState.GetHashCode(); } if (PowerBeGivenState != 0) { hash ^= PowerBeGivenState.GetHashCode(); } if (PowerSendState != 0) { hash ^= PowerSendState.GetHashCode(); } return(hash); }