- Ajout des champs password et salt dans user
- Ajout de la table token - Ajout des foreign keys
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
package ovh.herisson.Clyde.Tables;
|
||||
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.GeneratedValue;
|
||||
import jakarta.persistence.GenerationType;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.*;
|
||||
|
||||
@Entity
|
||||
public class Secretary {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
private int id;
|
||||
|
||||
@JoinColumn(name = "User")
|
||||
private int regNo;
|
||||
private String faculty;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user