提交 | 用户 | 时间
|
7fd198
|
1 |
package com.iailab.module.model.api.mcs.dto; |
潘 |
2 |
|
b368e6
|
3 |
import com.fasterxml.jackson.annotation.JsonFormat; |
7fd198
|
4 |
import io.swagger.v3.oas.annotations.media.Schema; |
潘 |
5 |
import lombok.Data; |
|
6 |
|
19f359
|
7 |
import javax.validation.constraints.NotNull; |
7fd198
|
8 |
import java.io.Serializable; |
潘 |
9 |
import java.math.BigDecimal; |
|
10 |
import java.util.Date; |
|
11 |
|
|
12 |
/** |
|
13 |
* @author PanZhibao |
|
14 |
* @Description |
|
15 |
* @createTime 2024年08月29日 |
|
16 |
*/ |
|
17 |
@Schema(description = "RPC 模型 - 调度建议 DTO") |
|
18 |
@Data |
c860df
|
19 |
public class ScheduleSuggestRespDTO implements Serializable { |
7fd198
|
20 |
|
潘 |
21 |
private static final long serialVersionUID = 1L; |
|
22 |
|
|
23 |
@Schema(description = "ID") |
|
24 |
private String id; |
|
25 |
|
|
26 |
@Schema(description = "标题") |
19f359
|
27 |
@NotNull(message = "应用编号不能为空") |
7fd198
|
28 |
private String title; |
潘 |
29 |
|
|
30 |
@Schema(description = "内容") |
19f359
|
31 |
@NotNull(message = "应用编号不能为空") |
7fd198
|
32 |
private String content; |
潘 |
33 |
|
|
34 |
@Schema(description = "排序") |
19f359
|
35 |
@NotNull(message = "应用编号不能为空") |
7fd198
|
36 |
private Integer sort; |
19f359
|
37 |
|
L |
38 |
@Schema(description = "方案ID") |
|
39 |
private String schemeId; |
7fd198
|
40 |
|
潘 |
41 |
@Schema(description = "预警ID") |
|
42 |
private String alarmId; |
|
43 |
|
|
44 |
@Schema(description = "预测项ID") |
|
45 |
private String itemId; |
|
46 |
|
|
47 |
@Schema(description = "模型ID") |
|
48 |
private String modelId; |
|
49 |
|
|
50 |
@Schema(description = "调整对象") |
19f359
|
51 |
@NotNull(message = "应用编号不能为空") |
L |
52 |
private String scheduleObj; |
7fd198
|
53 |
|
19f359
|
54 |
@Schema(description = "调整类型") |
L |
55 |
private String scheduleType; |
7fd198
|
56 |
|
潘 |
57 |
@Schema(description = "调整策略") |
19f359
|
58 |
private String scheduleStrategy; |
7fd198
|
59 |
|
潘 |
60 |
@Schema(description = "调整方式") |
|
61 |
private String adjustMode; |
|
62 |
|
|
63 |
@Schema(description = "调整值") |
|
64 |
private BigDecimal adjustValue; |
|
65 |
|
|
66 |
@Schema(description = "调整单位") |
|
67 |
private String adjustUnit; |
|
68 |
|
|
69 |
@Schema(description = "持续时长") |
|
70 |
private BigDecimal adjustTimes; |
|
71 |
|
|
72 |
@Schema(description = "调整开始时间") |
b368e6
|
73 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
7fd198
|
74 |
private Date adjustStart; |
潘 |
75 |
|
|
76 |
@Schema(description = "调整结束时间") |
b368e6
|
77 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
7fd198
|
78 |
private Date adjustEnd; |
潘 |
79 |
|
19f359
|
80 |
@Schema(description = "调度时间") |
L |
81 |
private Date scheduleTime; |
7fd198
|
82 |
|
潘 |
83 |
@Schema(description = "状态(0未处理 1已采纳 2已忽略)") |
|
84 |
private Integer status; |
19f359
|
85 |
|
L |
86 |
@Schema(description = "处理人") |
|
87 |
private String handler; |
|
88 |
|
|
89 |
@Schema(description = "处理时间") |
|
90 |
private Date handleTime; |
|
91 |
|
|
92 |
@Schema(description = "创建时间") |
|
93 |
private Date createTime; |
7fd198
|
94 |
} |