package com.njcn.process.pojo.po;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.njcn.db.bo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

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

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "预警单id")
    @TableId(value = "Id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "部门id")
    private String deptId;

    @ApiModelProperty(value = "预警单名称")
    @TableField("Name")
    private String name;

    @ApiModelProperty(value = "等级（0：一级；1：二级；2：三级）")
    @TableField("Grade")
    private Integer grade;

    @ApiModelProperty(value = "关系（0：与；1：或）只存在于指标类型中")
    @TableField("Operation")
    private Integer operation;

    @ApiModelProperty(value = "0.通用策略  1.定值策略")
    @TableField("Big_Type")
    private Integer bigType;

    @ApiModelProperty(value = "区分预警单还是告警单(0：预警单；1：告警单)")
    private Integer type;

    @ApiModelProperty(value = "0.删除 1.启用 2.关闭")
    @TableField("State")
    private Integer state;

    @TableField("Create_By")
    private String createBy;

    @TableField("Update_By")
    private String updateBy;


}
