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/referentiel/natureproduction/NatureProduction.java |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/referentiel/natureproduction/NatureProduction.java b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/referentiel/natureproduction/NatureProduction.java
new file mode 100644
index 0000000..fcca8ee
--- /dev/null
+++ b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/referentiel/natureproduction/NatureProduction.java
@@ -0,0 +1,36 @@
+package com.megatim.fdxcommons.model.referentiel.natureproduction;
+
+/**
+ *
+ * @author ASUS
+ */
+public enum NatureProduction {
+    REFERENTIELLE("REFERENTIELLE"),
+    CUMMULATIVE("CUMMULATIVE");
+
+    private final String value;
+
+    private NatureProduction(String value) {
+        this.value = value;
+    }
+
+    public String getValue() {
+        return value;
+    }
+
+    public static NatureProduction fromValue(String value) {
+        switch (value) {
+            case "REFERENTIELLE":
+                return NatureProduction.REFERENTIELLE;
+            case "CUMMULATIVE":
+                return NatureProduction.CUMMULATIVE;
+            default:
+                return null;
+        }
+    }
+
+    @Override
+    public String toString() {
+        return value;
+    }
+}

--
Gitblit v1.10.0