package com.maintain.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.maintain.common.annotation.ExcelDictFormat;
import com.maintain.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 物资分类视图对象 erp_material_type
 *
 * @author liushuai
 * @date 2025-04-03
 */
@Data
@ExcelIgnoreUnannotated
public class ErpMaterialTypeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 物资分类主键
     */
    private Long typeId;

    /**
     * 物资类型名称
     */
    @ExcelProperty(value = "物资类型名称")
    private String typeName;

    /**
     * 父id
     */
    private Long parentId;

    /**
     * 祖级列表
     */
    private String ancestors;

    /**
     * 显示顺序
     */
    private Integer orderNum;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

}
