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

diff --git a/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/Sexe.java b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/Sexe.java
new file mode 100644
index 0000000..52d8812
--- /dev/null
+++ b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/Sexe.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;
+
+import com.fasterxml.jackson.annotation.JsonValue;
+
+public enum Sexe {
+
+    FEMME("FEMME"),
+    HOMME("HOMME");
+
+    private String name;
+
+    private Sexe(String name) {
+        this.name = name;
+    }
+
+    @JsonValue
+    public String getName() {
+        return name;
+    }
+
+    public static Sexe fromValeur(String value) {
+        switch (value) {
+            case "FEMME":
+                return Sexe.FEMME;
+            case "HOMME":
+                return Sexe.HOMME;
+            default:
+                return null;
+        }
+    }
+
+}

--
Gitblit v1.10.0