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.util.Date;

import java.io.Serializable;

/**
 * 故障项目视图对象 erp_malfunction_project
 *
 * @author liushuai
 * @date 2025-03-28
 */
@Data
@ExcelIgnoreUnannotated
public class ErpMalfunctionProjectVo implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 故障类型ID
     */
    private Long typeId;

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

    /**
     * 故障编号
     */
    @ExcelProperty(value = "故障编号")
    private String malfunctionCode;

    /**
     * 故障名称
     */
    @ExcelProperty(value = "故障名称")
    private String malfunctionName;

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

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

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

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


}
