backend-api #6
@@ -12,6 +12,12 @@ import java.util.List;
 | 
				
			|||||||
@Table(name = "rendez_vous")
 | 
					@Table(name = "rendez_vous")
 | 
				
			||||||
public class RendezVous {
 | 
					public class RendezVous {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @OneToMany(mappedBy = "rendezVousEntrepreneurs", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
				
			||||||
 | 
					    private final List<Entrepreneurs> ListEntrepreneurs = new ArrayList<>();
 | 
				
			||||||
 | 
					    @OneToMany(mappedBy = "rendezVousAdministrateurs", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
				
			||||||
 | 
					    private final List<Administrateurs> ListAdministrateurs = new ArrayList<>();
 | 
				
			||||||
 | 
					    @OneToMany(mappedBy = "rendezVousComptesRendus", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
				
			||||||
 | 
					    private final List<ComptesRendus> ListComptesRendus = new ArrayList<>();
 | 
				
			||||||
    @ManyToMany(
 | 
					    @ManyToMany(
 | 
				
			||||||
            fetch = FetchType.LAZY,
 | 
					            fetch = FetchType.LAZY,
 | 
				
			||||||
            cascade = {CascadeType.ALL})
 | 
					            cascade = {CascadeType.ALL})
 | 
				
			||||||
@@ -30,12 +36,6 @@ public class RendezVous {
 | 
				
			|||||||
    @Column(length = 255)
 | 
					    @Column(length = 255)
 | 
				
			||||||
    private String lieu_rdv;
 | 
					    private String lieu_rdv;
 | 
				
			||||||
    private String sujet_rdv;
 | 
					    private String sujet_rdv;
 | 
				
			||||||
    @OneToMany(mappedBy = "rendezVousEntrepreneurs", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
					 | 
				
			||||||
    private List<Entrepreneurs> ListEntrepreneurs = new ArrayList<>();
 | 
					 | 
				
			||||||
    @OneToMany(mappedBy = "rendezVousAdministrateurs", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
					 | 
				
			||||||
    private List<Administrateurs> ListAdministrateurs = new ArrayList<>();
 | 
					 | 
				
			||||||
    @OneToMany(mappedBy = "rendezVousComptesRendus", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
					 | 
				
			||||||
    private List<ComptesRendus> ListComptesRendus = new ArrayList<>();
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public RendezVous() {}
 | 
					    public RendezVous() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user