Adjust booking create and link guest vehicles to booking
All checks were successful
build-and-deploy / build-deploy (push) Successful in 35s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 35s
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user