package com.njcn.process.pojo.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wr
 * @since 2023-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ths_dept_alarm")
@ApiModel(value="ThsDeptAlarm对象", description="")
public class ThsDeptAlarm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单位id")
    @TableId(value = "Dept_Id", type = IdType.ASSIGN_ID)
    private String deptId;

    @ApiModelProperty(value = "类型 0.预警策略 1.告警策略")
    private Integer type;

    @ApiModelProperty(value = "预警策略/告警策略id")
    @TableField("Alarm_Id")
    private String alarmId;

    @ApiModelProperty(value = "等级（0：自动策略；1：手动策略；2：排他策略）")
    @TableField("Grade")
    private Integer Grade;

    @ApiModelProperty(value = "监测点id")
    @TableField("Monitor_Id")
    private String monitorId;


}
