Return guestId in booking create response
All checks were successful
build-and-deploy / build-deploy (push) Successful in 34s

This commit is contained in:
androidlover5842
2026-01-29 07:27:46 +05:30
parent 355da34659
commit a1db58ec95
2 changed files with 2 additions and 0 deletions

View File

@@ -104,6 +104,7 @@ class BookingFlow(
return BookingCreateResponse(
id = saved.id!!,
status = saved.status.name,
guestId = savedGuest.id,
checkInAt = saved.checkinAt?.toString(),
expectedCheckInAt = saved.expectedCheckinAt?.toString(),
expectedCheckOutAt = saved.expectedCheckoutAt?.toString()

View File

@@ -26,6 +26,7 @@ data class BookingCreateRequest(
data class BookingCreateResponse(
val id: UUID,
val status: String,
val guestId: UUID?,
val checkInAt: String?,
val expectedCheckInAt: String?,
val expectedCheckOutAt: String?