package com.whyc.pojo.db_param;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 设备告警参数表
|
* </p>
|
*
|
* @author lxw
|
* @since 2025-05-23
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName(schema = "db_param",value ="tb_dev_almparam")
|
@ApiModel(value="DevAlmparam对象", description="设备告警参数表")
|
public class DevAlmparam implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "num", type = IdType.AUTO)
|
private Long num;
|
|
@ApiModelProperty(value = "告警id")
|
private Integer almId;
|
|
@ApiModelProperty(value = "告警名称")
|
private String almName;
|
|
@ApiModelProperty(value = "当前告警触发类型;0-boolean类型 1-阈值类型")
|
private Integer almType;
|
|
@ApiModelProperty(value = "告警阈值")
|
private Float almLimitValue;
|
|
@ApiModelProperty(value = "告警等级")
|
private Integer almLevel;
|
|
@ApiModelProperty(value = "告警延迟触发时长[单位:秒]")
|
private Integer almDelayTime;
|
|
@ApiModelProperty(value = "告警重要等级[0:重要;1:紧急]")
|
private Integer almSeverity;
|
|
@ApiModelProperty(value = "告警使能:0-不触发 1-触发")
|
private Integer almEn;
|
|
|
}
|