backend-api #6
@ -24,8 +24,10 @@ public class Appointment {
|
|||||||
joinColumns = @JoinColumn(name = "idAppointment"),
|
joinColumns = @JoinColumn(name = "idAppointment"),
|
||||||
inverseJoinColumns = @JoinColumn(name = "idSectionCell"))
|
inverseJoinColumns = @JoinColumn(name = "idSectionCell"))
|
||||||
List<SectionCell> listSectionCell = new ArrayList<>();
|
List<SectionCell> listSectionCell = new ArrayList<>();
|
||||||
|
|
||||||
@OneToOne(mappedBy = "appointmentReport", fetch = FetchType.LAZY, orphanRemoval = true)
|
@OneToOne(mappedBy = "appointmentReport", fetch = FetchType.LAZY, orphanRemoval = true)
|
||||||
private Report report;
|
private Report report;
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
private Long idAppointment;
|
private Long idAppointment;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user