Add booking details endpoint with guest, rooms, balance
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m34s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m34s
This commit is contained in:
@@ -75,6 +75,40 @@ data class BookingListItem(
|
||||
val notes: String?
|
||||
)
|
||||
|
||||
data class BookingDetailResponse(
|
||||
val id: UUID,
|
||||
val status: String,
|
||||
val guestId: UUID?,
|
||||
val guestName: String?,
|
||||
val guestPhone: String?,
|
||||
val guestNationality: String?,
|
||||
val guestAddressText: String?,
|
||||
val guestSignatureUrl: String?,
|
||||
val roomNumbers: List<Int>,
|
||||
val source: String?,
|
||||
val fromCity: String?,
|
||||
val toCity: String?,
|
||||
val memberRelation: String?,
|
||||
val transportMode: String?,
|
||||
val checkInAt: String?,
|
||||
val checkOutAt: String?,
|
||||
val expectedCheckInAt: String?,
|
||||
val expectedCheckOutAt: String?,
|
||||
val adultCount: Int?,
|
||||
val childCount: Int?,
|
||||
val maleCount: Int?,
|
||||
val femaleCount: Int?,
|
||||
val totalGuestCount: Int?,
|
||||
val expectedGuestCount: Int?,
|
||||
val notes: String?,
|
||||
val registeredByName: String?,
|
||||
val registeredByPhone: String?,
|
||||
val totalNightlyRate: Long,
|
||||
val expectedPay: Long,
|
||||
val amountCollected: Long,
|
||||
val pending: Long
|
||||
)
|
||||
|
||||
data class BookingLinkGuestRequest(
|
||||
val guestId: UUID
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user