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;

/**
 * 维修原因视图对象 erp_maintain_cause
 *
 * @author liushuai
 * @date 2025-03-28
 */
@Data
@ExcelIgnoreUnannotated
public class ErpMaintainCauseImportVo implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 维修原因
     */
    @ExcelProperty(value = "维修原因")
    private String maintainCauseName;

    /**
     * 维修原因编号
     */
    @ExcelProperty(value = "维修原因编号")
    private String maintainCauseCode;

    /**
     * 类型（1修理 2维护 3修理与维护）
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "baoxiudanleixing")
    @ColumnWidth(12)
    private String type;

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

    /**
     * 是否启用（0否 1是 默认1）
     */
    private Integer isEnable;


}
