feat: add data model for licence

This commit is contained in:
2024-02-03 19:23:37 +01:00
parent 58c2134e35
commit c6130cf65f
5 changed files with 64 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ import jakarta.persistence.*;
import lombok.*;
import java.util.Date;
import java.util.List;
@Getter
@Setter
@@ -51,4 +52,7 @@ public class MembreModel {
GradeArbitrage grade_arbitrage;
String url_photo;
@OneToMany(mappedBy = "membre", fetch = FetchType.EAGER)
List<LicenceModel> licences;
}