AlarmRuleLevelConfigTemplate.java
3.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package com.skua.modules.alarmtmp.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
/**
* 报警规则级别模板表
*/
@Data
@TableName("alarm_rule_level_config_template")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="alarm_rule_level_config_template对象", description="报警规则级别模板表")
public class AlarmRuleLevelConfigTemplate {
/**主键*/
@TableId(type = IdType.UUID)
@ApiModelProperty(value = "主键")
private String id;
/**报警级别名称*/
@Excel(name = "报警级别名称", width = 15)
@ApiModelProperty(value = "报警级别名称")
private String alarmTemplateLevelName;
/**报警规则名称*/
@Excel(name = "报警规则名称", width = 15)
@ApiModelProperty(value = "报警规则名称")
private String alarmTemplateName;
/**报警类型(1仪表2设备3质量4关联)*/
@Excel(name = "报警类型(1仪表2设备3质量4关联)", width = 15)
@ApiModelProperty(value = "报警类型(1仪表2设备3质量4关联)")
private String alarmTemplateType;
/**厂站ID*/
@Excel(name = "厂站ID", width = 15)
@ApiModelProperty(value = "厂站ID")
private String departId;
/**累计触发时间(小时)*/
@Excel(name = "累计触发时间(小时)", width = 15)
@ApiModelProperty(value = "累计触发时间(小时)")
private String cumulativeTime;
/**是否发送短信(0:不发送,1:发送)*/
@Excel(name = "是否发送短信(0:不发送,1:发送)", width = 15)
@ApiModelProperty(value = "是否发送短信(0:不发送,1:发送)")
private String isSendSms;
/**短信发送频率(单位h)*/
@Excel(name = "短信发送频率(单位h)", width = 15)
@ApiModelProperty(value = "短信发送频率(单位h)")
private String smsSendFrequency;
/**短信发送时间*/
@Excel(name = "短信发送时间", width = 15)
@ApiModelProperty(value = "短信发送时间")
private String smsAllowSendTime;
/**是否发送通知(0:不发送,1:发送)*/
@Excel(name = "是否发送通知(0:不发送,1:发送)", width = 15)
@ApiModelProperty(value = "是否发送通知(0:不发送,1:发送)")
private String isSendNotice;
/**短信接收人*/
@Excel(name = "短信接收人", width = 15)
@ApiModelProperty(value = "短信接收人")
private String alarmSmsRecipient;
/**短信接收人手机号*/
@Excel(name = "短信接收人手机号", width = 15)
@ApiModelProperty(value = "短信接收人手机号")
private String alarmSmsRecipientPhone;
/**通知接收人*/
@Excel(name = "通知接收人", width = 15)
@ApiModelProperty(value = "通知接收人")
private String alarmNoticeRecipient;
/**排序*/
@Excel(name = "排序", width = 15)
@ApiModelProperty(value = "排序")
private Integer sort;
/**关联报警表达式*/
@ApiModelProperty(value = "关联报警表达式")
private String expression;
/**满足条件(or and)*/
@ApiModelProperty(value = "满足条件(or and)")
private String conditions;
/**关联报警指标类型(0仪表1设备)*/
@ApiModelProperty(value = "关联报警指标类型(0仪表1设备)")
private String alarmType;
/**关联报警表达式*/
@ApiModelProperty(value = "中文关联报警表达式")
private String zexpression;
/**关联报警表达式*/
@TableField(exist = false)
@ApiModelProperty(value = "关联触发的表达式")
private String yexpression;
@ApiModelProperty(value = "是否开启工单发送人")
private String isFlowWork;
@ApiModelProperty(value = "报警工单处理人")
private String alarmWorkRecipient;
}