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

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.config.accidentSeverityLevelConfig.domain.HotAccidentSeverityLevelConfig;
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_severity_level_config
 *
 * @author shihongwei
 * @date 2026-01-05
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotAccidentSeverityLevelConfig.class)
public class HotAccidentSeverityLevelConfigVo 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 lawRequirement;

    /**
     * 人员
     */
    @ExcelProperty(value = "人员")
    private String personnelDescription;

    /**
     * 直接经济损失
     */
    @ExcelProperty(value = "直接经济损失")
    private String directEconomicLoss;

    /**
     * 企业形象（社会影响）
     */
    @ExcelProperty(value = "企业形象", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "社=会影响")
    private String enterpriseReputation;

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


}
