Remove transport vehicle number from bookings
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s

This commit is contained in:
androidlover5842
2026-01-29 03:58:39 +05:30
parent a5d166e184
commit 2f5dd7dc3c
4 changed files with 1 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ Domain entities
- AppUser (global, superAdmin), PropertyUser (roles per property). - AppUser (global, superAdmin), PropertyUser (roles per property).
- RoomType: code/name/occupancy + otaAliases. - RoomType: code/name/occupancy + otaAliases.
- Room: roomNumber, floor, hasNfc, active, maintenance, notes. - Room: roomNumber, floor, hasNfc, active, maintenance, notes.
- Booking: status, expected check-in/out, emailAuditPdfUrl, transportMode, transportVehicleNumber. - Booking: status, expected check-in/out, emailAuditPdfUrl, transportMode.
- Guest (property-scoped). - Guest (property-scoped).
- RoomStay. - RoomStay.
- RoomStayChange (idempotent room move). - RoomStayChange (idempotent room move).

View File

@@ -156,7 +156,6 @@ class BookingFlow(
} }
mode mode
} }
booking.transportVehicleNumber = request.transportVehicleNumber
if (request.notes != null) booking.notes = request.notes if (request.notes != null) booking.notes = request.notes
booking.updatedAt = now booking.updatedAt = now
bookingRepo.save(booking) bookingRepo.save(booking)

View File

@@ -6,7 +6,6 @@ data class BookingCheckInRequest(
val roomIds: List<UUID>, val roomIds: List<UUID>,
val checkInAt: String? = null, val checkInAt: String? = null,
val transportMode: String? = null, val transportMode: String? = null,
val transportVehicleNumber: String? = null,
val notes: String? = null val notes: String? = null
) )

View File

@@ -56,9 +56,6 @@ class Booking(
@Column(name = "transport_mode") @Column(name = "transport_mode")
var transportMode: TransportMode? = null, var transportMode: TransportMode? = null,
@Column(name = "transport_vehicle_number")
var transportVehicleNumber: String? = null,
@Column(name = "adult_count") @Column(name = "adult_count")
var adultCount: Int? = null, var adultCount: Int? = null,