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

diff --git a/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/RemoteTypeAction.java b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/RemoteTypeAction.java
new file mode 100644
index 0000000..8cfbb28
--- /dev/null
+++ b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/RemoteTypeAction.java
@@ -0,0 +1,49 @@
+/*
+ * 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 RemoteTypeAction {
+    AJOUTER("AJOUTER"),
+    CONSULTER("CONSULTER"),
+    SUPPRIMER("SUPPRIMER");
+
+    private final String name;
+
+    private RemoteTypeAction(String name) {
+        this.name = name;
+    }
+
+    @Override
+    public String toString() {
+        return name;
+    }
+
+    @JsonValue
+    public String getName() {
+        return name;
+    }
+
+    @EnumValue
+    public static TypeOperation fromValeur(String value) {
+        if (value == null) {
+            return null;
+        }
+        if (value.equalsIgnoreCase("ajouter")) {
+            return TypeOperation.AJOUTER;
+        } else if (value.equalsIgnoreCase("consulter")) {
+            return TypeOperation.CONSULTER;
+        } else {
+            return null;
+
+        }
+    }
+}

--
Gitblit v1.10.0