From 23a46b4be35277e06ec89f48730eeb694e686be8 Mon Sep 17 00:00:00 2001
From: Kenmegne <stephanie.kenmegne@gmail.com>
Date: Thu, 18 Jun 2026 15:40:06 +0000
Subject: [PATCH] add fdx-commons and fdx-consultation

---
 fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/dtos/referentiel/PaysDto.java |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/dtos/referentiel/PaysDto.java b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/dtos/referentiel/PaysDto.java
new file mode 100644
index 0000000..1b08869
--- /dev/null
+++ b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/dtos/referentiel/PaysDto.java
@@ -0,0 +1,51 @@
+/*
+ * 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.reporting.adhoc.annotations.PrintColumn;
+import com.megatim.reporting.adhoc.annotations.PrintList;
+import java.time.LocalDateTime;
+import java.util.ArrayList;
+import java.util.List;
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ *
+ * @author ASUS
+ */
+@Getter
+@Setter
+public class PaysDto {
+
+    @PrintColumn(libelle = "Code", rang = 2)
+    private String code;
+
+    @PrintColumn(libelle = "Libellé", rang = 1)
+    private String libelle;
+
+    @PrintColumn(libelle = "DATE CREATION", rang = 4)
+    private LocalDateTime dateCreation;
+
+    @PrintColumn(libelle = "DATE DERN. MISE A JOUR", rang = 5)
+    private LocalDateTime dateMiseAjour;
+
+    @PrintColumn(libelle = "CREE PAR", rang = 6)
+    private String createBy;
+
+    @PrintColumn(libelle = "MODIFIE PAR", rang = 7)
+    private String lastModifiedBy;
+
+    private ReferentielSlimDto referentiel;
+
+    @PrintList(titre = "Liste des participants", classe = ParticipantSlimDto.class)
+    private List<ParticipantSlimDto> participants = new ArrayList<>();
+
+    @PrintColumn(rang = 3, libelle = "Référentiel")
+    public String getReferentielVersion() {
+        return referentiel.getVersion();
+    }
+
+}

--
Gitblit v1.10.0