public override int GetHashCode() { int hash = 1; if (entityId_ != null) { hash ^= EntityId.GetHashCode(); } if (State != 0) { hash ^= State.GetHashCode(); } if (BookingNumber != 0L) { hash ^= BookingNumber.GetHashCode(); } if (BookingPrefix.Length != 0) { hash ^= BookingPrefix.GetHashCode(); } if (CurrentOccupiedRoomNumber.Length != 0) { hash ^= CurrentOccupiedRoomNumber.GetHashCode(); } if (TerminalOccupiedRoomNumber.Length != 0) { hash ^= TerminalOccupiedRoomNumber.GetHashCode(); } if (FirstNightAssignedRoomNumber.Length != 0) { hash ^= FirstNightAssignedRoomNumber.GetHashCode(); } if (VehiclePlateInformation.Length != 0) { hash ^= VehiclePlateInformation.GetHashCode(); } if (arrivalDate_ != null) { hash ^= ArrivalDate.GetHashCode(); } if (departureDate_ != null) { hash ^= DepartureDate.GetHashCode(); } if (RoomTypeName.Length != 0) { hash ^= RoomTypeName.GetHashCode(); } if (OTANumber.Length != 0) { hash ^= OTANumber.GetHashCode(); } if (GuestText.Length != 0) { hash ^= GuestText.GetHashCode(); } if (MasterFolioText.Length != 0) { hash ^= MasterFolioText.GetHashCode(); } if (IsGroupAssociated != false) { hash ^= IsGroupAssociated.GetHashCode(); } if (currentDueFromGuest_ != null) { hash ^= CurrentDueFromGuest.GetHashCode(); } if (GuaranteeStatus != 0) { hash ^= GuaranteeStatus.GetHashCode(); } if (ReservationSource.Length != 0) { hash ^= ReservationSource.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (entityId_ != null) { hash ^= EntityId.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (checkinTimeOfDay_ != null) { hash ^= CheckinTimeOfDay.GetHashCode(); } if (checkOutTimeOfDay_ != null) { hash ^= CheckOutTimeOfDay.GetHashCode(); } if (rolloverTimeOfDay_ != null) { hash ^= RolloverTimeOfDay.GetHashCode(); } if (AllowedEarlyCheckinHours != 0) { hash ^= AllowedEarlyCheckinHours.GetHashCode(); } if (IifDocnumPrefix.Length != 0) { hash ^= IifDocnumPrefix.GetHashCode(); } if (IifCustomerName.Length != 0) { hash ^= IifCustomerName.GetHashCode(); } if (checkinDeposit_ != null) { hash ^= CheckinDeposit.GetHashCode(); } if (lastRevenueAccrualStart_ != null) { hash ^= LastRevenueAccrualStart.GetHashCode(); } if (lastDateHkRolloverRan_ != null) { hash ^= LastDateHkRolloverRan.GetHashCode(); } if (Address1.Length != 0) { hash ^= Address1.GetHashCode(); } if (Address2.Length != 0) { hash ^= Address2.GetHashCode(); } if (City.Length != 0) { hash ^= City.GetHashCode(); } if (State.Length != 0) { hash ^= State.GetHashCode(); } if (Zip.Length != 0) { hash ^= Zip.GetHashCode(); } if (PhoneNumber.Length != 0) { hash ^= PhoneNumber.GetHashCode(); } if (cardMerchant_ != null) { hash ^= CardMerchant.GetHashCode(); } if (cancellationPolicy_ != null) { hash ^= CancellationPolicy.GetHashCode(); } if (maximumAuthorizationAmount_ != null) { hash ^= MaximumAuthorizationAmount.GetHashCode(); } if (DefaultStayLength != 0) { hash ^= DefaultStayLength.GetHashCode(); } if (Website.Length != 0) { hash ^= Website.GetHashCode(); } if (ReservationEmail.Length != 0) { hash ^= ReservationEmail.GetHashCode(); } if (FaxNumber.Length != 0) { hash ^= FaxNumber.GetHashCode(); } if (BookingPrefix.Length != 0) { hash ^= BookingPrefix.GetHashCode(); } if (VoidAuthorizationsAfterDays != 0) { hash ^= VoidAuthorizationsAfterDays.GetHashCode(); } if (NoShowDelayHours != 0) { hash ^= NoShowDelayHours.GetHashCode(); } return(hash); }