parent
637c9d346f
commit
0cf75ce555
@ -0,0 +1,75 @@ |
|||||||
|
package com.alops.system.domain.vo; |
||||||
|
|
||||||
|
import com.alops.common.annotation.Excel; |
||||||
|
import com.alops.common.core.domain.BaseEntity; |
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import java.util.Date; |
||||||
|
|
||||||
|
@Data |
||||||
|
public class AlertRuleVo extends BaseEntity { |
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L; |
||||||
|
|
||||||
|
/** 主键 */ |
||||||
|
private Long id; |
||||||
|
|
||||||
|
/** 预警规则名称 */ |
||||||
|
@Excel(name = "预警规则名称") |
||||||
|
private String ruleName; |
||||||
|
|
||||||
|
/** 预警级别 */ |
||||||
|
@Excel(name = "预警级别") |
||||||
|
private Long severity; |
||||||
|
|
||||||
|
/** 预警方式(email/message) */ |
||||||
|
@Excel(name = "预警方式(email/message)") |
||||||
|
private String alertWay; |
||||||
|
|
||||||
|
/** 预警到站方 */ |
||||||
|
@Excel(name = "预警到站方") |
||||||
|
private String alertStation; |
||||||
|
|
||||||
|
/** 预警规则内容描述 */ |
||||||
|
@Excel(name = "预警规则内容描述") |
||||||
|
private String description; |
||||||
|
|
||||||
|
/** 启用状态(0为启用) */ |
||||||
|
@Excel(name = "启用状态", readConverterExp = "0=为启用") |
||||||
|
private Integer enable; |
||||||
|
|
||||||
|
/** 表格名称 */ |
||||||
|
@Excel(name = "表格名称") |
||||||
|
private String tableName; |
||||||
|
|
||||||
|
/** 预警sql语句查询 */ |
||||||
|
@Excel(name = "预警sql语句查询") |
||||||
|
@JsonIgnore |
||||||
|
private String alertSql; |
||||||
|
|
||||||
|
/** 预警模版(参数用数据库命名法) */ |
||||||
|
@Excel(name = "预警模版", readConverterExp = "参=数用数据库命名法") |
||||||
|
private String alertTemplate; |
||||||
|
|
||||||
|
/** 预警类型 */ |
||||||
|
@Excel(name = "预警类型") |
||||||
|
private String type; |
||||||
|
|
||||||
|
/** 参数名称 */ |
||||||
|
@Excel(name = "参数名称") |
||||||
|
private String paramName; |
||||||
|
|
||||||
|
/** 比较符号 */ |
||||||
|
@Excel(name = "比较符号") |
||||||
|
private String operator; |
||||||
|
|
||||||
|
/** 比较值 */ |
||||||
|
@Excel(name = "比较值") |
||||||
|
private String compareValue; |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
} |
||||||
Loading…
Reference in new issue