package com.megatim.fdxconsultation.model.referentiel.dtos; import com.megatim.fdxcommons.model.referentiel.Pays; import java.io.Serializable; import java.time.LocalDateTime; /** * * @author Gabuntu */ public class PaysSlimResponse implements Serializable { private final Pays pays; public PaysSlimResponse(Pays pays) { this.pays = pays; } public String getCode() { return pays.getCode(); } public String getLibelle() { return pays.getLibelle(); } public ReferentielSlimResponse getReferentiel() { return new ReferentielSlimResponse(pays.getReferentiel()); } public String getCreateBy() { return pays.getCreateBy(); } public String getLastModifiedBy() { return pays.getLastModifiedBy(); } public LocalDateTime getDateCreation() { return pays.getDateCreation(); } public LocalDateTime getDateMiseAjour() { return pays.getDateMiseAjour(); } }