From 02722a3f9eca857ce7fffea352e9f7ee692a1b71 Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期五, 08 十一月 2024 08:35:10 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mdk/dto/MdkScheduleReqDTO.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 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..b0ae867 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,15 @@ @Data public class MdkScheduleReqDTO { + @Schema(description = "调度方案编号") + @NotNull(message="调度方案编号不能为空") + private String scheduleCode; + + @Schema(description = "调度方案时间") + @NotNull(message="调度方案时间不能为空") private Date scheduleTime; private String modelCode; + + private Map<String, Object> params; } \ No newline at end of file -- Gitblit v1.9.3