From 19f3599b90165e1655ba2b85a6d51c8dd06b2a95 Mon Sep 17 00:00:00 2001 From: liriming <1343021927@qq.com> Date: 星期五, 20 十二月 2024 10:25:12 +0800 Subject: [PATCH] 调度建议 --- iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/ScheduleSuggestRespDTO.java | 29 +++++++++++++++++++++++------ 1 files changed, 23 insertions(+), 6 deletions(-) diff --git a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/ScheduleSuggestRespDTO.java b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/ScheduleSuggestRespDTO.java index bb11c48..f158797 100644 --- a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/ScheduleSuggestRespDTO.java +++ b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/ScheduleSuggestRespDTO.java @@ -4,6 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; +import javax.validation.constraints.NotNull; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; @@ -23,13 +24,19 @@ private String id; @Schema(description = "标题") + @NotNull(message = "应用编号不能为空") private String title; @Schema(description = "内容") + @NotNull(message = "应用编号不能为空") private String content; @Schema(description = "排序") + @NotNull(message = "应用编号不能为空") private Integer sort; + + @Schema(description = "方案ID") + private String schemeId; @Schema(description = "预警ID") private String alarmId; @@ -41,13 +48,14 @@ private String modelId; @Schema(description = "调整对象") - private String adjustObj; + @NotNull(message = "应用编号不能为空") + private String scheduleObj; - @Schema(description = "调整介质") - private String adjustMedium; + @Schema(description = "调整类型") + private String scheduleType; @Schema(description = "调整策略") - private String adjustStrategy; + private String scheduleStrategy; @Schema(description = "调整方式") private String adjustMode; @@ -69,9 +77,18 @@ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date adjustEnd; - @Schema(description = "建议时间") - private Date suggestTime; + @Schema(description = "调度时间") + private Date scheduleTime; @Schema(description = "状态(0未处理 1已采纳 2已忽略)") private Integer status; + + @Schema(description = "处理人") + private String handler; + + @Schema(description = "处理时间") + private Date handleTime; + + @Schema(description = "创建时间") + private Date createTime; } \ No newline at end of file -- Gitblit v1.9.3