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