Open sakjung opened 2 years ago
AS-IS: List
@OneToMany(mappedBy = "space", cascade = CascadeType.REMOVE, fetch = FetchType.LAZY, orphanRemoval = true) @Builder.Default private List<Reservation> reservations = new ArrayList<>();
TO-BE: Reservations 일급컬렉션
# 참고!! @Embedded @Builder.Default private Settings spaceSettings = new Settings();
기능 상세
AS-IS: List
TO-BE: Reservations 일급컬렉션