/*
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
*/
|
package com.megatim.fdxcommons.model.dtos.referentiel;
|
|
import com.megatim.fdxcommons.model.enumeration.CategorieFichier;
|
import com.megatim.reporting.adhoc.annotations.PrintColumn;
|
import java.time.LocalDateTime;
|
import lombok.Getter;
|
import lombok.Setter;
|
|
/**
|
*
|
* @author ASUS
|
*/
|
@Getter
|
@Setter
|
public class TypeFichierDto {
|
|
@PrintColumn(libelle = "Code", rang = 1)
|
private String code;
|
|
@PrintColumn(libelle = "Libellé", rang = 2)
|
private String libelle;
|
|
private String description;
|
|
@PrintColumn(libelle = "DATE CREATION", rang = 6)
|
private LocalDateTime dateCreation;
|
|
@PrintColumn(libelle = "DATE DERN. MISE A JOUR", rang = 7)
|
private LocalDateTime dateMiseAjour;
|
|
@PrintColumn(libelle = "CREE PAR", rang = 8)
|
private String createBy;
|
|
@PrintColumn(libelle = "MODIFIE PAR", rang = 9)
|
private String lastModifiedBy;
|
|
private CategorieFichier categorieFichier;
|
|
private ParticipantSlimDto participant;
|
|
private ReferentielSlimDto referentiel;
|
|
private ExtensionFichierSlimDto extensionFichier;
|
|
// private List<RoutageSlimDto> routages = new ArrayList<>();
|
|
@PrintColumn(libelle = "Catégorie Fichier", rang = 3)
|
public String getCategorieFichierDescription() {
|
return categorieFichier.getValue();
|
}
|
|
@PrintColumn(libelle = "Référentiel", rang = 4)
|
public String getReferentielVersion() {
|
return referentiel.getVersion();
|
}
|
|
@PrintColumn(rang = 5, libelle = "Participant")
|
public String getParticipantDescription() {
|
return participant.getCode() + "- " + participant.getLibelle();
|
}
|
|
}
|