UHotelRoomResponse constructor
UHotelRoomResponse({
- required String id,
- required DateTime createdAt,
- required UHotelRoomJson jsonData,
- required List<
int> tags, - required String title,
- required int capacity,
- required double pricePerNight,
- required String hotelId,
- required List<
String> adminUserIds, - String? roomNumber,
- int quantity = 1,
- bool isAvailable = true,
- UUserResponse? creator,
- String? creatorId,
- UHotelResponse? hotel,
- List<
UHotelReservationResponse> ? reservations, - List<
UMediaResponse> ? media,
Implementation
UHotelRoomResponse({
required this.id,
required this.createdAt,
required this.jsonData,
required this.tags,
required this.title,
required this.capacity,
required this.pricePerNight,
required this.hotelId,
required this.adminUserIds,
this.roomNumber,
this.quantity = 1,
this.isAvailable = true,
this.creator,
this.creatorId,
this.hotel,
this.reservations,
this.media,
});