package com.ho.flow.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author gyan
 * @desc:电站告警配置表 @TableName alarm_config
 * @DateTime: 2023/2/1 16:16
 */
@Data
public class AlarmConfig {

    /**
     *
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     *
     */
    @ApiModelProperty(value = "分组Id")
    private Integer groupId;

    /**
     *
     */
    @ApiModelProperty(value = "电站id")
    private Integer stationId;

    @ApiModelProperty(value = "1 集团级别  2电站级别")
    private Integer scope;

    @ApiModelProperty(value = "是否已配置, 1已配置 0未配置")
    private Integer checked;

    /**
     *
     */
    @ApiModelProperty(value = "告警配置id")
    private Integer colDefineId;

    /**
     * 设备类型id,对应device_type表id
     */
    @ApiModelProperty(value = "设备类型id")
    private Integer deviceTypeId;

    /**
     * 设备类型,对应device_type表device_type
     */
    @ApiModelProperty(value = "设备类型")
    private String deviceType;

    /**
     * device_name
     */
    @ApiModelProperty(value = "设备类型")
    private String deviceName;

    /**
     *
     */
    @ApiModelProperty(value = "英文名称")
    private String col;

    /**
     *
     */
    @ApiModelProperty(value = "中文名称")
    private String colName;

    /**
     * 1遥信 2遥测
     */
    @ApiModelProperty(value = "(1遥信、2遥测)")
    private Integer sensType;

    /**
     * 上限
     */
    @ApiModelProperty(value = "上限")
    private BigDecimal upperLimit;

    /**
     * 下限
     */
    @ApiModelProperty(value = "下限")
    private BigDecimal lowerLimit;

    /**
     * 告警等级
     */
    @ApiModelProperty(value = "告警等级")
    private Integer alarmLevel;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     *  删除标识1 未删除 0 已删除
     */
    @ApiModelProperty(value = " 删除标识1 未删除 0 已删除")
    private Integer deleted;

    @ApiModelProperty(value = "遥信值是0的信息",hidden = true)
    private String info0;

    @ApiModelProperty(value = "遥信值是1的信息",hidden = true)
    private String info1;
}

