from hedi
This commit is contained in:
parent
56b9fbadb3
commit
c12222a047
6 changed files with 2 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -20,4 +20,3 @@ spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDial
|
|||
# Permet d'exécuter le data.sql
|
||||
# ===============================
|
||||
## spring.datasource.initialization-mode=always
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue