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/TypeActionSysteme.java | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/TypeActionSysteme.java b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/TypeActionSysteme.java
new file mode 100644
index 0000000..aae6240
--- /dev/null
+++ b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/enumeration/TypeActionSysteme.java
@@ -0,0 +1,44 @@
+package com.megatim.fdxcommons.model.enumeration;
+
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/**
+ *
+ * @author lenovo
+ */
+public enum TypeActionSysteme {
+
+ DECONNEXION("DECONNEXION"),
+ INFORMATION("INFORMATION"),
+ AUCUNE("AUCUNE");
+
+ private String name = "";
+
+ //Constructeur
+ TypeActionSysteme(String name) {
+ this.name = name;
+ }
+
+ @JsonValue
+ public String getName() {
+ return name;
+ }
+
+ public static TypeActionSysteme fromValeur(String value) {
+ switch (value) {
+ case "DECONNEXION":
+ return TypeActionSysteme.DECONNEXION;
+ case "INFORMATION":
+ return TypeActionSysteme.INFORMATION;
+ case "AUCUNE":
+ return TypeActionSysteme.AUCUNE;
+ default:
+ return null;
+ }
+ }
+
+ @Override
+ public String toString() {
+ return name;
+ }
+}
--
Gitblit v1.10.0