AlarmRuleLevelConfigTemplate.java 3.9 KB
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;
	
}