package com.maintain.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.maintain.common.annotation.ExcelDictFormat;
import com.maintain.common.convert.ExcelDictConvert;
import lombok.Data;

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

/**
 * 检验项目视图对象 erp_examine_project
 *
 * @author liushuai
 * @date 2025-03-28
 */
@Data
@ExcelIgnoreUnannotated
public class ErpExamineProjectImportVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 检验类型ID
     */
    private Long typeId;

    /**
     * 检验类型名称
     */
    @ExcelProperty(value = "检验分类")
    @ColumnWidth(20)
    private String typeName;

    /**
     * 检验项目编号
     */
    @ExcelProperty(value = "检验项目编号")
    @ColumnWidth(20)
    private String examineCode;

    /**
     * 检验项目名称
     */
    @ExcelProperty(value = "检验名称")
    @ColumnWidth(20)
    private String examineName;

    /**
     * 是否通用（0否 1是 默认0）
     */
    @ExcelProperty(value = "是否通用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_is_enable")
    private Integer isGeneral;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 是否删除（0否1是 默认0）
     */
    private Integer isDelete;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private String createBy;


}
