Skip to content

Commit ad21f90

Browse files
committed
feat: fix test
1 parent 59f658b commit ad21f90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • hotelSelection-backend/src/main/kotlin/de/xxx/hotelselection/domain/model/entity

hotelSelection-backend/src/main/kotlin/de/xxx/hotelselection/domain/model/entity/Hotel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ class Hotel(
2222
val hotelName: String,
2323
val city: String,
2424
val price: BigDecimal,
25-
@OneToMany(mappedBy = "hotel") var bookings: Set<Booking>
25+
@OneToMany(mappedBy = "hotel", targetEntity = Booking::class) var bookings: Set<Booking> = mutableSetOf()
2626
) {}

0 commit comments

Comments
 (0)