修改告警策略,绑定监测点

This commit is contained in:
wr
2023-04-13 18:45:00 +08:00
parent 9aa8355364
commit 1f1e262a14
6 changed files with 44 additions and 31 deletions

View File

@@ -25,6 +25,10 @@ public class MonitorParam {
@NotEmpty(message = "类型不能为空")
private Integer type;
@ApiModelProperty(value = "等级 0.自动策略 1.手动策略 2.排他策略")
@NotEmpty(message = "等级不能为空")
private Integer grade;
@ApiModelProperty(value = "预警策略/告警策略id")
@NotEmpty(message = "策略id集合不能为空")
private List<String> alarmId;

View File

@@ -37,6 +37,10 @@ public class ThsDeptAlarm implements Serializable {
@TableField("Alarm_Id")
private String alarmId;
@ApiModelProperty(value = "等级0自动策略1手动策略2排他策略")
@TableField("Grade")
private Integer Grade;
@ApiModelProperty(value = "监测点id")
@TableField("Monitor_Id")
private String monitorId;