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