from hedi

This commit is contained in:
Hedi 2021-12-13 14:33:19 +01:00
parent 56b9fbadb3
commit c12222a047
6 changed files with 2 additions and 15 deletions

View file

@ -3,6 +3,7 @@ package fr.organizee.model;
import javax.persistence.*;
import java.time.LocalDate;
@Entity
public class Membre {
@Id
@ -14,7 +15,6 @@ public class Membre {
private String email;
private String password;
private String isAdmin;
private String testGit;
@ManyToOne(fetch= FetchType.EAGER)
@JoinColumn(name="TEAM_ID")
private Team team;