Add booking details endpoint with guest, rooms, balance
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m34s

This commit is contained in:
androidlover5842
2026-01-29 21:20:21 +05:30
parent 790a74c40d
commit b765f041f7
2 changed files with 129 additions and 1 deletions

View File

@@ -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
)