package com.hotwj.platform.config.accidentLikelihoodLevelConfig.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.config.accidentLikelihoodLevelConfig.domain.HotAccidentLikelihoodLevelConfig;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;

import java.io.Serial;
import java.io.Serializable;


/**
 * 事故等级划分（可能性）视图对象 hot_accident_likelihood_level_config
 *
 * @author shihongwei
 * @date 2026-01-05
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotAccidentLikelihoodLevelConfig.class)
public class HotAccidentLikelihoodLevelConfigVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 取值（级别）
     */
    @ExcelProperty(value = "取值", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "级=别")
    private Long levelValue;

    /**
     * 判定标准
     */
    @ExcelProperty(value = "判定标准")
    private String criterion;

    /**
     * 0=正常, 1=已删除
     */
    @ExcelProperty(value = "0=正常, 1=已删除")
    private Long isDeleted;


}
