From 0cbbe2c1cbfbf73e02e1796d921c2911c96d370b Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 23 十二月 2024 11:46:31 +0800
Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat

---
 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/ScheduleSuggestRespDTO.java |   32 ++++++++++++++++++++++++++------
 1 files changed, 26 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 a0418c1..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
@@ -1,8 +1,10 @@
 package com.iailab.module.model.api.mcs.dto;
 
+import com.fasterxml.jackson.annotation.JsonFormat;
 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;
@@ -22,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;
@@ -40,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;
@@ -61,14 +70,25 @@
     private BigDecimal adjustTimes;
 
     @Schema(description = "调整开始时间")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private Date adjustStart;
 
     @Schema(description = "调整结束时间")
+    @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