/*
|
* To change this license header, choose License Headers in Project Properties.
|
* To change this template file, choose Tools | Templates
|
* and open the template in the editor.
|
*/
|
package com.megatim.apifdxweb.model.dtos.administration;
|
|
|
import com.megatim.fdxcommons.model.enumeration.EtatOperation;
|
import com.megatim.fdxcommons.model.enumeration.TypeOperation;
|
import java.util.Date;
|
/**
|
*
|
* @author bissey
|
*/
|
|
public class UserDto {
|
|
private Long id;
|
|
protected String idGenerer;
|
|
private TypeOperation typeOperation;
|
|
private String userName;
|
|
private String firstName;
|
|
private String lastName;
|
|
private int expirationDelay;
|
|
private int alertDelay;
|
|
private int attempsNumber;
|
|
private int attemps;
|
|
private boolean locked;
|
|
private boolean active;
|
|
private boolean connected;
|
|
private Date lastConnexionDateTime;
|
|
private EtatOperation etatOperation;
|
|
private Date dateCreation;
|
|
private String utilisateurCreation;
|
|
private Date dateDerniereModification;
|
|
private String utilisateurModification;
|
|
private Date dateSuppression;
|
|
private String utilisateurSuppression;
|
|
private boolean admin ;
|
|
private boolean superAdmin ;
|
|
private boolean megaAdmin ;
|
|
private RoleDto role;
|
|
public UserDto() {
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getIdGenerer() {
|
return idGenerer;
|
}
|
|
public void setIdGenerer(String idGenerer) {
|
this.idGenerer = idGenerer;
|
}
|
|
public TypeOperation getTypeOperation() {
|
return typeOperation;
|
}
|
|
public void setTypeOperation(TypeOperation typeOperation) {
|
this.typeOperation = typeOperation;
|
}
|
|
public String getUserName() {
|
return userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
}
|
|
public String getFirstName() {
|
return firstName;
|
}
|
|
public void setFirstName(String firstName) {
|
this.firstName = firstName;
|
}
|
|
public String getLastName() {
|
return lastName;
|
}
|
|
public void setLastName(String lastName) {
|
this.lastName = lastName;
|
}
|
|
public int getExpirationDelay() {
|
return expirationDelay;
|
}
|
|
public void setExpirationDelay(int expirationDelay) {
|
this.expirationDelay = expirationDelay;
|
}
|
|
public int getAlertDelay() {
|
return alertDelay;
|
}
|
|
public void setAlertDelay(int alertDelay) {
|
this.alertDelay = alertDelay;
|
}
|
|
public int getAttempsNumber() {
|
return attempsNumber;
|
}
|
|
public void setAttempsNumber(int attempsNumber) {
|
this.attempsNumber = attempsNumber;
|
}
|
|
public int getAttemps() {
|
return attemps;
|
}
|
|
public void setAttemps(int attemps) {
|
this.attemps = attemps;
|
}
|
|
public boolean isLocked() {
|
return locked;
|
}
|
|
public void setLocked(boolean locked) {
|
this.locked = locked;
|
}
|
|
public boolean isConnected() {
|
return connected;
|
}
|
|
public void setConnected(boolean connected) {
|
this.connected = connected;
|
}
|
|
public Date getLastConnexionDateTime() {
|
return lastConnexionDateTime;
|
}
|
|
public void setLastConnexionDateTime(Date lastConnexionDateTime) {
|
this.lastConnexionDateTime = lastConnexionDateTime;
|
}
|
|
public EtatOperation getEtatOperation() {
|
return etatOperation;
|
}
|
|
public void setEtatOperation(EtatOperation etatOperation) {
|
this.etatOperation = etatOperation;
|
}
|
|
public Date getDateCreation() {
|
return dateCreation;
|
}
|
|
public void setDateCreation(Date dateCreation) {
|
this.dateCreation = dateCreation;
|
}
|
|
public Date getDateDerniereModification() {
|
return dateDerniereModification;
|
}
|
|
public void setDateDerniereModification(Date dateDerniereModification) {
|
this.dateDerniereModification = dateDerniereModification;
|
}
|
|
public Date getDateSuppression() {
|
return dateSuppression;
|
}
|
|
public void setDateSuppression(Date dateSuppression) {
|
this.dateSuppression = dateSuppression;
|
}
|
|
public String getUtilisateurCreation() {
|
return utilisateurCreation;
|
}
|
|
public void setUtilisateurCreation(String utilisateurCreation) {
|
this.utilisateurCreation = utilisateurCreation;
|
}
|
|
public String getUtilisateurModification() {
|
return utilisateurModification;
|
}
|
|
public void setUtilisateurModification(String utilisateurModification) {
|
this.utilisateurModification = utilisateurModification;
|
}
|
|
public String getUtilisateurSuppression() {
|
return utilisateurSuppression;
|
}
|
|
public void setUtilisateurSuppression(String utilisateurSuppression) {
|
this.utilisateurSuppression = utilisateurSuppression;
|
}
|
|
public RoleDto getRole() {
|
return role;
|
}
|
|
public void setRole(RoleDto role) {
|
this.role = role;
|
}
|
|
public boolean isAdmin() {
|
return admin;
|
}
|
|
public void setAdmin(boolean admin) {
|
this.admin = admin;
|
}
|
|
public boolean isSuperAdmin() {
|
return superAdmin;
|
}
|
|
public void setSuperAdmin(boolean superAdmin) {
|
this.superAdmin = superAdmin;
|
}
|
|
public boolean isMegaAdmin() {
|
return megaAdmin;
|
}
|
|
public void setMegaAdmin(boolean meegaAdmin) {
|
this.megaAdmin = meegaAdmin;
|
}
|
|
public boolean isActive() {
|
return active;
|
}
|
|
public void setActive(boolean active) {
|
this.active = active;
|
}
|
}
|