splitting the services
This commit is contained in:
@@ -33,7 +33,10 @@ public class Agent {
|
||||
private String profile;
|
||||
private String principalCode;
|
||||
private String caisseProfile;
|
||||
private String statut;
|
||||
|
||||
@Enumerated(EnumType.STRING)
|
||||
private StatutAgent statut = StatutAgent.ACTIF;
|
||||
|
||||
private String zone;
|
||||
private String kiosk;
|
||||
private String fonction;
|
||||
@@ -41,6 +44,10 @@ public class Agent {
|
||||
@Column(name = "date_embauche")
|
||||
private LocalDateTime dateEmbauche;
|
||||
|
||||
@Column(name = "derniere_connexion")
|
||||
private LocalDateTime derniereConnexion;
|
||||
|
||||
|
||||
private String nom;
|
||||
private String prenom;
|
||||
private String autresNoms;
|
||||
@@ -62,14 +69,11 @@ public class Agent {
|
||||
private Double limiteMaxAirtime;
|
||||
|
||||
private Integer maxPeripheriques;
|
||||
|
||||
@OneToMany(mappedBy = "agent")
|
||||
@JsonIgnore
|
||||
private List<TPE> tpes;
|
||||
|
||||
@Column(name = "limit_id")
|
||||
private Long limitId;
|
||||
|
||||
private String nationalite;
|
||||
private String cni;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user