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