backend-api #6
@@ -13,21 +13,28 @@ public class Project {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    @OneToMany(mappedBy = "projectParticipation", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
					    @OneToMany(mappedBy = "projectParticipation", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
				
			||||||
    private final List<Entrepreneur> listEntrepreneurParticipation = new ArrayList<>();
 | 
					    private final List<Entrepreneur> listEntrepreneurParticipation = new ArrayList<>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @OneToMany(mappedBy = "projectSectionCell", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
					    @OneToMany(mappedBy = "projectSectionCell", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
				
			||||||
    private final List<SectionCell> listSectionCell = new ArrayList<>();
 | 
					    private final List<SectionCell> listSectionCell = new ArrayList<>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Id
 | 
					    @Id
 | 
				
			||||||
    @NotNull
 | 
					    @NotNull
 | 
				
			||||||
    @GeneratedValue(strategy = GenerationType.IDENTITY)
 | 
					    @GeneratedValue(strategy = GenerationType.IDENTITY)
 | 
				
			||||||
    private Long idProject;
 | 
					    private Long idProject;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Column(length = 255)
 | 
					    @Column(length = 255)
 | 
				
			||||||
    private String projectName;
 | 
					    private String projectName;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private byte[] logo;
 | 
					    private byte[] logo;
 | 
				
			||||||
    private LocalDate creationDate;
 | 
					    private LocalDate creationDate;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Column(length = 255)
 | 
					    @Column(length = 255)
 | 
				
			||||||
    private String projectStatus;
 | 
					    private String projectStatus;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @ManyToOne(fetch = FetchType.LAZY)
 | 
					    @ManyToOne(fetch = FetchType.LAZY)
 | 
				
			||||||
    @JoinColumn(name = "idAdministrator")
 | 
					    @JoinColumn(name = "idAdministrator")
 | 
				
			||||||
    private Administrator projectAdministrator;
 | 
					    private Administrator projectAdministrator;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @OneToOne(mappedBy = "projectProposed", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
					    @OneToOne(mappedBy = "projectProposed", fetch = FetchType.LAZY, orphanRemoval = true)
 | 
				
			||||||
    private Entrepreneur entrepreneurProposed;
 | 
					    private Entrepreneur entrepreneurProposed;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user