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/pojo/OrderByDefinition.java | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/pojo/OrderByDefinition.java b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/pojo/OrderByDefinition.java
new file mode 100644
index 0000000..ed00db3
--- /dev/null
+++ b/fdx-commons/fdxcommons-model/src/main/java/com/megatim/fdxcommons/model/pojo/OrderByDefinition.java
@@ -0,0 +1,31 @@
+/*
+ * 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.model.pojo;
+
+import com.megatim.fdxcommons.model.enumeration.OrderByType;
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ *
+ * @author ASUS
+ */
+@Getter
+@Setter
+public class OrderByDefinition {
+
+ private String fieldName;
+
+ private OrderByType orderByType = OrderByType.ASC;
+
+ public OrderByDefinition(String fieldName, OrderByType orderByType) {
+ this.fieldName = fieldName;
+ this.orderByType = orderByType;
+ }
+
+ public OrderByDefinition(String fieldName) {
+ this.fieldName = fieldName;
+ }
+}
--
Gitblit v1.10.0