From cca8f689d8cb2ec4d3e757d9e3e4ccb7ed03e460 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期三, 11 十二月 2024 16:41:13 +0800
Subject: [PATCH] yyyy-MM-dd HH:mm:ss

---
 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mdk/dto/MdkScheduleReqDTO.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mdk/dto/MdkScheduleReqDTO.java b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mdk/dto/MdkScheduleReqDTO.java
index f4bb80e..6e1d455 100644
--- a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mdk/dto/MdkScheduleReqDTO.java
+++ b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mdk/dto/MdkScheduleReqDTO.java
@@ -3,7 +3,9 @@
 import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.Data;
 
+import javax.validation.constraints.NotNull;
 import java.util.Date;
+import java.util.Map;
 
 /**
  * @author PanZhibao
@@ -14,7 +16,11 @@
 @Data
 public class MdkScheduleReqDTO {
 
-    private Date scheduleTime;
+    @Schema(description = "调度方案编号")
+    @NotNull(message="调度方案编号不能为空")
+    private String scheduleCode;
 
-    private String modelCode;
+    @Schema(description = "调度方案时间")
+    @NotNull(message="调度方案时间不能为空")
+    private Date scheduleTime;
 }
\ No newline at end of file

--
Gitblit v1.9.3