package com.megatim.fdxconsultation.model.searchentities;
|
|
import com.megatim.fdxcommons.model.enumeration.EtatOperation;
|
import com.megatim.fdxcommons.model.enumeration.SearchAnnotationOperateur;
|
import com.megatim.fdxcommons.model.enumeration.TypeOperation;
|
import com.megatim.fdxcommons.model.search.Search;
|
import lombok.Getter;
|
import lombok.Setter;
|
|
/**
|
*
|
* @author Gabuntu
|
*/
|
@Getter
|
@Setter
|
public class RoleSearch {
|
|
@Search(fieldName = "libelle", operateur = SearchAnnotationOperateur.LIKE)
|
private String libelle;
|
|
@Search(fieldName = "description", operateur = SearchAnnotationOperateur.LIKE )
|
private String description;
|
|
@Search(fieldName = "admin", operateur = SearchAnnotationOperateur.EQUALS )
|
private Boolean admin = false;
|
|
@Search(fieldName = "superAdmin", operateur = SearchAnnotationOperateur.EQUALS )
|
private Boolean superAdmin = false;
|
|
@Search(fieldName = "megaAdmin", operateur = SearchAnnotationOperateur.EQUALS )
|
private Boolean megaAdmin = false;
|
|
@Search(fieldName = "typeOperation", operateur = SearchAnnotationOperateur.EQUALS )
|
private TypeOperation typeOperation = TypeOperation.AJOUTER;
|
|
@Search(fieldName = "etatOperation", operateur = SearchAnnotationOperateur.EQUALS )
|
private EtatOperation etatOperation = EtatOperation.ACTIF;
|
|
}
|