package org.dromara.system.domain.vo;

import org.dromara.system.domain.SysDiseaseLabel;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 疾病/部位标签视图对象 sys_disease_label
 *
 * @author Lion Li
 * @date 2025-06-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysDiseaseLabel.class)
public class SysDiseaseLabelVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 疾病/部位名称
     */
    @ExcelProperty(value = "疾病/部位名称")
    private String labelName;

    /**
     * 疾病/部位编码
     */
    @ExcelProperty(value = "疾病/部位编码")
    private String labelCode;

    /**
     * 所属分类
     */
    private String category;

    /**
     * 所属分类
     */
    @ExcelProperty(value = "所属分类名称")
    private String categoryName;

    /**
     * 状态（0正常 1停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=停用")
    private String status;


}
