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-tools/src/main/java/com/megatim/fdxcommons/tools/database/tables/dto/FdxTableColumnDataDto.java |   63 +++++++++++++++++++++++++++++++
 1 files changed, 63 insertions(+), 0 deletions(-)

diff --git a/fdx-commons/fdxcommons-tools/src/main/java/com/megatim/fdxcommons/tools/database/tables/dto/FdxTableColumnDataDto.java b/fdx-commons/fdxcommons-tools/src/main/java/com/megatim/fdxcommons/tools/database/tables/dto/FdxTableColumnDataDto.java
new file mode 100644
index 0000000..6884522
--- /dev/null
+++ b/fdx-commons/fdxcommons-tools/src/main/java/com/megatim/fdxcommons/tools/database/tables/dto/FdxTableColumnDataDto.java
@@ -0,0 +1,63 @@
+/*
+ * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
+ * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
+ */
+package com.megatim.fdxcommons.tools.database.tables.dto;
+
+import com.fasterxml.jackson.annotation.JsonSubTypes;
+import com.fasterxml.jackson.annotation.JsonTypeInfo;
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.time.LocalDateTime;
+
+/**
+ *
+ * @author ASUS
+ */
+public class FdxTableColumnDataDto implements Serializable {
+
+    private Object value;
+    private String name;
+    private int position;
+    private int sqlDataType;
+
+    @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
+    @JsonSubTypes({
+        @JsonSubTypes.Type(value = BigDecimal.class, name = "BigDecimal"),
+        @JsonSubTypes.Type(value = Long.class, name = "Long"),
+        @JsonSubTypes.Type(value = String.class, name = "String"),
+        @JsonSubTypes.Type(value = LocalDateTime.class, name = "LocalDateTime")}
+    )
+    public Object getValue() {
+        return value;
+    }
+
+    public void setValue(Object value) {
+        this.value = value;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public int getPosition() {
+        return position;
+    }
+
+    public void setPosition(int position) {
+        this.position = position;
+    }
+
+    public int getSqlDataType() {
+        return sqlDataType;
+    }
+
+    public void setSqlDataType(int sqlDataType) {
+        this.sqlDataType = sqlDataType;
+    }
+
+}

--
Gitblit v1.10.0