package com.hotwj.platform.config.riskLevelConfig.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_risk_level_config
 *
 * @author shihongwei
 * @date 2026-01-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_risk_level_config")
public class HotRiskLevelConfig extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 取值
     */
    private Long levelValue;

    /**
     * 说明
     */
    private String levelName;

    /**
     * 描述
     */
    private String description;

    /**
     * 类型: 1=可能性, 2=严重程度
     */
    private Long type;

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


}
