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_warn_strategy_ass")
@ApiModel(value="ThsWarnStrategyAss对象", description="")
public class ThsWarnStrategyAss implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "预警单策略id(外键)")
    @TableId(value = "Warn_Id", type = IdType.ASSIGN_ID)
    private String warnId;

    @ApiModelProperty(value = "此部分的ID是根据Type来的")
    @TableField("Ass_Id")
    private String assId;

    @ApiModelProperty(value = "等级（0:监测点标签; 1:指标类型;）")
    @TableField("Type")
    private Integer type;


}
