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

diff --git a/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/TypeStatut.java b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/TypeStatut.java
new file mode 100644
index 0000000..7bd83a6
--- /dev/null
+++ b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/TypeStatut.java
@@ -0,0 +1,37 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package com.megatim.fdxcommons.model.enumeration;
+
+/**
+ *
+ * @author bissey
+ */
+public enum TypeStatut {
+    ACTIF("ACTIF"),
+    INNACTIF("INNACTIF");
+
+    private String etat;
+
+    private TypeStatut(String etat) {
+        this.etat = etat;
+    }
+
+    public String getEtat() {
+        return etat;
+    }
+
+    public static TypeStatut fromValeur(String value) {
+        switch (value) {
+            case "ACTIF":
+                return TypeStatut.ACTIF;
+            case "INNACTIF":
+                return TypeStatut.INNACTIF;
+            default:
+                return null;
+        }
+    }
+
+}

--
Gitblit v1.10.0