public override int GetHashCode() { int hash = 1; if (entityId_ != null) { hash ^= EntityId.GetHashCode(); } if (RoomNumber.Length != 0) { hash ^= RoomNumber.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (AdditionalDescription.Length != 0) { hash ^= AdditionalDescription.GetHashCode(); } if (NightsOccupiedCounter != 0) { hash ^= NightsOccupiedCounter.GetHashCode(); } if (lastCleanedAt_ != null) { hash ^= LastCleanedAt.GetHashCode(); } if (MaintenanceState != 0) { hash ^= MaintenanceState.GetHashCode(); } if (roomTypeId_ != null) { hash ^= RoomTypeId.GetHashCode(); } if (RoomTypeName.Length != 0) { hash ^= RoomTypeName.GetHashCode(); } if (connectedRoom_ != null) { hash ^= ConnectedRoom.GetHashCode(); } if (TrunkId.Length != 0) { hash ^= TrunkId.GetHashCode(); } if (occupyingReservation_ != null) { hash ^= OccupyingReservation.GetHashCode(); } if (KcrRoomNumber.Length != 0) { hash ^= KcrRoomNumber.GetHashCode(); } return(hash); }
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); }