| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | @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; |
| | | } |