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/enumeration/StatutReferentiel.java |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/StatutReferentiel.java b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/StatutReferentiel.java
new file mode 100644
index 0000000..1eeb90c
--- /dev/null
+++ b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/StatutReferentiel.java
@@ -0,0 +1,48 @@
+/*
+ * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
+ * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Enum.java to edit this template
+ */
+package com.megatim.fdxcommons.model.enumeration;
+
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.megatim.fdxcommons.model.search.EnumValue;
+
+/**
+ *
+ * @author ASUS
+ */
+public enum StatutReferentiel {
+    ARCHIVE("ARCHIVE"),
+    EN_PREPARATION("EN PREPARATION"),
+    EN_COURS("EN COURS");
+
+    private final String value;
+
+    private StatutReferentiel(String value) {
+        this.value = value;
+    }
+
+    @JsonValue
+    public String getValue() {
+        return value;
+    }
+
+    @EnumValue
+    public static StatutReferentiel fromValeur(String value) {
+        switch (value) {
+            case "ARCHIVE":
+                return StatutReferentiel.ARCHIVE;
+            case "EN PREPARATION":
+                return StatutReferentiel.EN_PREPARATION;
+            case "EN COURS":
+                return StatutReferentiel.EN_COURS;
+            default:
+                return null;
+        }
+    }
+
+    @Override
+    public String toString() {
+        return value;
+    }
+}

--
Gitblit v1.10.0