package com.njcn.gather.system.dictionary.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author caozehui
 * @data 2024/11/6
 */
@Data
public class DictDataExcel implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 字典数据表Id
     */
//    @Excel(name = "字典数据id", width = 40)
//    private String id;

    /**
     * 字典类型表Id
     */
//    @Excel(name = "字典类型id", width = 40)
//    private String typeId;

    /**
     * 名称
     */
    @Excel(name = "名称", width = 20)
    private String name;

    /**
     * 编码
     */
    @Excel(name = "编码", width = 20)
    private String code;

    /**
     * 排序
     */
    @Excel(name = "排序", width = 15)
    private Integer sort;

    /**
     * 事件等级：0-普通；1-中等；2-严重(默认为0)
     */
    @Excel(name = "事件等级", width = 15, replace = {"普通_0", "中等_1", "严重_2"})
    private Integer level;

    /**
     * 与高级算法内部Id描述对应；
     */
    @Excel(name = "高级算法内部id", width = 15)
    private Integer algoDescribe;

    /**
     * 目前只用于表示电压等级数值
     */
    @Excel(name = "数值", width = 15)
    private String value;
}
