From f47d658ac66575ab0d6c5bf516cefff7f43833fc Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期三, 06 八月 2025 09:40:51 +0800
Subject: [PATCH] 调整商品可以进行排序

---
 framework/src/main/java/cn/lili/modules/goods/entity/dto/GoodsSortDTO.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/framework/src/main/java/cn/lili/modules/goods/entity/dto/GoodsSortDTO.java b/framework/src/main/java/cn/lili/modules/goods/entity/dto/GoodsSortDTO.java
new file mode 100644
index 0000000..4d5d8eb
--- /dev/null
+++ b/framework/src/main/java/cn/lili/modules/goods/entity/dto/GoodsSortDTO.java
@@ -0,0 +1,20 @@
+package cn.lili.modules.goods.entity.dto;
+
+import lombok.Data;
+
+import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.NotNull;
+
+@Data
+public class GoodsSortDTO {
+    /**
+     * 鍟嗗搧id
+     */
+    @NotBlank(message ="鍟嗗搧id涓嶈兘涓虹┖")
+    private String goodsId;
+    /**
+     * 鍟嗗搧鎺掑簭
+     */
+    @NotNull(message = "椤哄簭涓嶈兘涓虹┖")
+    private Integer sort;
+}

--
Gitblit v1.8.0