package com.hotwj.platform.config.accidentLevelConfig.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

/**
 * 事故等级划分对象 hot_accident_level_config
 *
 * @author shihongwei
 * @date 2026-01-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_accident_level_config")
public class HotAccidentLevelConfig extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 风险值小值
     */
    private Long minRiskValue;

    /**
     * 风险值大值
     */
    private Long maxRiskValue;

    /**
     * 评价分级
     */
    private String levelName;

    /**
     * 管控级别
     */
    private String controlLevel;

    /**
     * 管控措施级别
     */
    private String controlMeasureLevel;

    /**
     * 完成期限
     */
    private String deadlineDesc;

    /**
     * 0=正常, 1=已删除
     */
    @TableLogic
    private Long isDeleted;


}
