AlarmStandardParams.java
6.1 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
package com.skua.modules.alarmtmp.entity;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
/**
* 短信报警配置表
*/
@Data
@TableName("alarm_standard_params")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="alarm_standard_params对象", description="短信报警配置表")
public class AlarmStandardParams {
/**标准参数管理Id*/
@TableId(type = IdType.UUID)
@ApiModelProperty(value = "标准参数管理Id")
private String id;
/**标准参数管理监控点id*/
@Dict(dicCode = "id",dicText="metric_name",dictTable="sys_monitor_metric_info")
@Excel(name = "标准参数管理监控点", width = 15)
@ApiModelProperty(value = "标准参数管理监控点id")
private String standardParamsMonitorid;
/**标准参数管理名称*/
@Excel(name = "标准参数管理名称", width = 15)
@ApiModelProperty(value = "标准参数管理名称")
private String standardParamsName;
/**接收人ID*/
@Excel(name = "接收人", width = 15)
@ApiModelProperty(value = "接收人ID")
private String standardParamsReciewr;
/**标准参数上限临界值*/
@Excel(name = "标准参数上限临界值", width = 15)
@ApiModelProperty(value = "标准参数上限临界值")
private Double standardParamsTotop;
/**标准参数下限临界值*/
@Excel(name = "标准参数下限临界值", width = 15)
@ApiModelProperty(value = "标准参数下限临界值")
private Double standardParamsTofloor;
/**标准参数类型 0:模拟量 1:开关量 2:故障*/
@Dict(dicCode = "paramsType")
@Excel(name = "标准参数类型 0:模拟量 1:开关量 2:故障", width = 15)
@ApiModelProperty(value = "标准参数类型 0:模拟量 1:开关量 2:故障")
private String standardParamsType;
/**趋势报警波动率*/
@Excel(name = "趋势报警波动率", width = 15)
@ApiModelProperty(value = "趋势报警波动率")
private String standardParamsMonitoridField;
/**趋势报警判断时长(单位小时)*/
@Excel(name = "趋势报警判断时长(单位小时)", width = 15)
@ApiModelProperty(value = "趋势报警判断时长(单位小时)")
private String standardParamsMonitoridText;
/**Table*/
@Excel(name = "Table", width = 15)
@ApiModelProperty(value = "Table")
private String standardParamsMonitoridTable;
/**构筑物*/
@Excel(name = "构筑物", width = 15)
@ApiModelProperty(value = "构筑物")
private String standardParamsStructId;
/**所在车间*/
@Excel(name = "所在车间", width = 15)
@ApiModelProperty(value = "所在车间")
private String standardParamsRoom;
/**短信内容*/
@Excel(name = "短信内容", width = 15)
@ApiModelProperty(value = "短信内容")
private String standardParamsMsgContent;
/**设定类型 1:超标报警 2:预报警 3:趋势报警*/
@Dict(dicCode = "setType")
@Excel(name = "设定类型 1:超标报警 2:预报警 3:趋势报警", width = 15)
@ApiModelProperty(value = "设定类型")
private String standardParamsMsgLabel;
/**短信接收人手机号*/
@Excel(name = "短信接收人手机号", width = 15)
@ApiModelProperty(value = "短信接收人手机号")
private String standardParamsMsgPhone;
/**消息推送接收人手机号*/
@ApiModelProperty(value = "消息推送接收人手机号")
private String standardParamsMsgSendPhone;
/**消息推送接收人id*/
@ApiModelProperty(value = "消息推送接收人id")
private String standardParamsMsgSendUser;
/**状态1启动0停止*/
@Dict(dicCode = "dataStatus")
@Excel(name = "状态", width = 15)
@ApiModelProperty(value = "状态1启动0停止")
private String standardParamsMsgStatus;
/**单位*/
@Excel(name = "单位", width = 15)
@ApiModelProperty(value = "单位")
private String standardParamsUtil;
/**报警详细类型*/
@Dict(dicCode = "alarm_digittype")
@Excel(name = "报警详细类型", width = 15)
@ApiModelProperty(value = "报警详细类型")
private String standardParamsDigittype;
/**报警频率(单位小时)*/
@Excel(name = "报警频率(单位小时)", width = 15)
@ApiModelProperty(value = "报警频率(单位小时)")
private Double standardParamsFreq;
/**模拟量所属车间*/
@ApiModelProperty(value = "模拟量所属车间")
private String belongTable;
/**模拟量所属设备*/
@ApiModelProperty(value = "模拟量所属设备")
private String belongEquip;
/**设备启停表达式*/
@ApiModelProperty(value = "设备启停表达式")
private String express;
/**排序序号*/
@ApiModelProperty(value = "排序序号")
private Integer contSort;
/**创建人Id*/
@ApiModelProperty(value = "创建人Id")
private String createBy;
/**创建时间*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间")
private Date createTime;
/**修改人Id*/
@ApiModelProperty(value = "修改人Id")
private String updateBy;
/**修改时间*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "修改时间")
private Date updateTime;
/**所属部门*/
@ApiModelProperty(value = "所属部门")
private String createDept;
/**所属公司*/
@ApiModelProperty(value = "所属公司")
private String createCmpy;
/**删除标识,1有效,0删除*/
@ApiModelProperty(value = "删除标识,1有效,0删除")
private Integer delFlag;
/**所属厂区*/
@Excel(name = "所属厂站", width = 15)
@ApiModelProperty(value = "所属厂站")
@Dict(dictTable = "sys_depart", dicCode="id", dicText = "depart_name")
private String departId;
}