Adjust booking create and link guest vehicles to booking
All checks were successful
build-and-deploy / build-deploy (push) Successful in 35s

This commit is contained in:
androidlover5842
2026-01-29 03:54:34 +05:30
parent ec3c7891a4
commit a5d166e184
5 changed files with 44 additions and 19 deletions

View File

@@ -24,6 +24,10 @@ class GuestVehicle(
@JoinColumn(name = "guest_id", nullable = false)
var guest: Guest,
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "booking_id")
var booking: Booking? = null,
@Column(name = "vehicle_number", nullable = false)
var vehicleNumber: String,