UHotelReservationResponse constructor

UHotelReservationResponse({
  1. required String id,
  2. required DateTime createdAt,
  3. required UHotelReservationJson jsonData,
  4. required List<int> tags,
  5. required DateTime checkInDate,
  6. required DateTime checkOutDate,
  7. required int guestCount,
  8. required double totalPrice,
  9. required String userId,
  10. required String roomId,
  11. required String hotelId,
  12. required bool isActive,
  13. required List<String> adminUserIds,
  14. UUserResponse? creator,
  15. String? creatorId,
  16. UUserResponse? user,
  17. UHotelRoomResponse? room,
  18. UHotelResponse? hotel,
  19. List<UHotelInvoiceResponse>? invoices,
})

Implementation

UHotelReservationResponse({
  required this.id,
  required this.createdAt,
  required this.jsonData,
  required this.tags,
  required this.checkInDate,
  required this.checkOutDate,
  required this.guestCount,
  required this.totalPrice,
  required this.userId,
  required this.roomId,
  required this.hotelId,
  required this.isActive,
  required this.adminUserIds,
  this.creator,
  this.creatorId,
  this.user,
  this.room,
  this.hotel,
  this.invoices,
});