|
@@ -1,139 +0,0 @@
|
|
|
-package com.persagy.apm.dmpalarm.model.dto;
|
|
|
-
|
|
|
-import io.swagger.annotations.ApiModel;
|
|
|
-import io.swagger.annotations.ApiModelProperty;
|
|
|
-import javax.validation.constraints.NotNull;
|
|
|
-
|
|
|
-import com.alibaba.fastjson.JSONObject;
|
|
|
-
|
|
|
-import lombok.Data;
|
|
|
-import java.util.Date;
|
|
|
-
|
|
|
-/**
|
|
|
- * @author lixing
|
|
|
- * @version V1.0 2021-12-09 10:45:24
|
|
|
- */
|
|
|
-@Data
|
|
|
-@ApiModel(value = "更新报警记录入参")
|
|
|
-public class UpdateAlarmRecordDTO {
|
|
|
- @ApiModelProperty(value = "主键", required = true)
|
|
|
- @NotNull(message = "主键不能为空") // todo 更新校验规则
|
|
|
- private String id;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "报警条目编码", required = true)
|
|
|
- @NotNull(message = "报警条目编码不能为空") // todo 更新校验规则
|
|
|
- private String itemCode;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "项目id", required = true)
|
|
|
- @NotNull(message = "项目id不能为空") // todo 更新校验规则
|
|
|
- private String projectId;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "对象id", required = true)
|
|
|
- @NotNull(message = "对象id不能为空") // todo 更新校验规则
|
|
|
- private String objId;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "对象类型编码", required = true)
|
|
|
- @NotNull(message = "对象类型编码不能为空") // todo 更新校验规则
|
|
|
- private String classCode;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "严重程度", required = true)
|
|
|
- @NotNull(message = "严重程度不能为空") // todo 更新校验规则
|
|
|
- private String level;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "报警描述", required = true)
|
|
|
- @NotNull(message = "报警描述不能为空") // todo 更新校验规则
|
|
|
- private String remark;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "创建用户", required = true)
|
|
|
- @NotNull(message = "创建用户不能为空") // todo 更新校验规则
|
|
|
- private String createUser;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "创建时间", required = true)
|
|
|
- @NotNull(message = "创建时间不能为空") // todo 更新校验规则
|
|
|
- private Date createTime;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "更新用户", required = true)
|
|
|
- @NotNull(message = "更新用户不能为空") // todo 更新校验规则
|
|
|
- private String updateUser;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "更新时间", required = true)
|
|
|
- @NotNull(message = "更新时间不能为空") // todo 更新校验规则
|
|
|
- private Date updateTime;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "报警名称", required = true)
|
|
|
- @NotNull(message = "报警名称不能为空") // todo 更新校验规则
|
|
|
- private String name;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "报警分类", required = true)
|
|
|
- @NotNull(message = "报警分类不能为空") // todo 更新校验规则
|
|
|
- private String category;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "是否重点关注", required = true)
|
|
|
- @NotNull(message = "是否重点关注不能为空") // todo 更新校验规则
|
|
|
- private Integer concern;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "报警状态", required = true)
|
|
|
- @NotNull(message = "报警状态不能为空") // todo 更新校验规则
|
|
|
- private Integer state;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "有效期开始时间", required = true)
|
|
|
- @NotNull(message = "有效期开始时间不能为空") // todo 更新校验规则
|
|
|
- private Date effectStartTime;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "有效期结束时间", required = true)
|
|
|
- @NotNull(message = "有效期结束时间不能为空") // todo 更新校验规则
|
|
|
- private Date effectEndTime;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "报警性质", required = true)
|
|
|
- @NotNull(message = "报警性质不能为空") // todo 更新校验规则
|
|
|
- private Integer nature;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "处理方式", required = true)
|
|
|
- @NotNull(message = "处理方式不能为空") // todo 更新校验规则
|
|
|
- private Integer treatMode;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "处理状态", required = true)
|
|
|
- @NotNull(message = "处理状态不能为空") // todo 更新校验规则
|
|
|
- private Integer treatState;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "集团编码", required = true)
|
|
|
- @NotNull(message = "集团编码不能为空") // todo 更新校验规则
|
|
|
- private String groupCode;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "触发和恢复条件", required = true)
|
|
|
- @NotNull(message = "触发和恢复条件不能为空") // todo 更新校验规则
|
|
|
- private JSONObject condition;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "触发值信息", required = true)
|
|
|
- @NotNull(message = "触发值信息不能为空") // todo 更新校验规则
|
|
|
- private JSONObject triggerInfo;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "恢复值信息", required = true)
|
|
|
- @NotNull(message = "恢复值信息不能为空") // todo 更新校验规则
|
|
|
- private JSONObject endInfo;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "报警触发时间", required = true)
|
|
|
- @NotNull(message = "报警触发时间不能为空") // todo 更新校验规则
|
|
|
- private Date triggerTime;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "恢复时间", required = true)
|
|
|
- @NotNull(message = "恢复时间不能为空") // todo 更新校验规则
|
|
|
- private Date endTime;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "工单id", required = true)
|
|
|
- @NotNull(message = "工单id不能为空") // todo 更新校验规则
|
|
|
- private String orderId;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "工单状态", required = true)
|
|
|
- @NotNull(message = "工单状态不能为空") // todo 更新校验规则
|
|
|
- private String orderState;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "补充说明", required = true)
|
|
|
- @NotNull(message = "补充说明不能为空") // todo 更新校验规则
|
|
|
- private JSONObject supplement;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "匹配规则id", required = true)
|
|
|
- @NotNull(message = "匹配规则id不能为空") // todo 更新校验规则
|
|
|
- private String targetId;
|
|
|
-
|
|
|
-}
|