70%
This commit is contained in:
@@ -8,14 +8,22 @@ import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.GeneratedValue;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.Table;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Entity
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Table(name = "users")
|
||||
public class User {
|
||||
|
||||
@Id
|
||||
@GeneratedValue
|
||||
private UUID id;
|
||||
private Long id;
|
||||
|
||||
private String nom;
|
||||
private String prenom;
|
||||
@@ -23,7 +31,7 @@ public class User {
|
||||
private String matriculeAgent;
|
||||
|
||||
@Column(name = "role_id")
|
||||
private UUID roleId;
|
||||
private Long roleId;
|
||||
|
||||
private Boolean restrictionConnexion;
|
||||
private Boolean restrictionAutomatique;
|
||||
|
||||
Reference in New Issue
Block a user