Add nightlyRate in active room stays response
All checks were successful
build-and-deploy / build-deploy (push) Successful in 35s

This commit is contained in:
androidlover5842
2026-02-05 10:42:46 +05:30
parent f46893e0c3
commit 8d1d80bb60
3 changed files with 5 additions and 2 deletions

View File

@@ -13,5 +13,6 @@ data class ActiveRoomStayResponse(
val roomTypeName: String,
val fromAt: String,
val checkinAt: String?,
val expectedCheckoutAt: String?
val expectedCheckoutAt: String?,
val nightlyRate: Long?
)

View File

@@ -69,7 +69,8 @@ class RoomStays(
roomTypeName = roomType.name,
fromAt = stay.fromAt.toString(),
checkinAt = booking.checkinAt?.toString(),
expectedCheckoutAt = booking.expectedCheckoutAt?.toString()
expectedCheckoutAt = booking.expectedCheckoutAt?.toString(),
nightlyRate = stay.nightlyRate
)
}
}