package com.rongwei.bscommon.sys.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shangmi
 * @title EquMaintenanceTaskTemplate
 * @date 2024/1/31 10:00
 * @description 保养任务提醒导出模板
 */
@Data
@EqualsAndHashCode
public class EquMaintenanceTaskTemplate {
    /**
     * table name:PLANT
     * table type:varchar(35)
     * table comment:所属工厂
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "所属工厂",index = 0)
    private String plant;

    /**
     * table name:PLANYEAR
     * table type:int
     * table comment:计划年份
     */
    @ExcelProperty(value = "年",index = 1)
    private Integer planyear;
    /**
     * table name:MONTH
     * table type:int
     * table comment:计划月份
     */
    @ExcelProperty(value = "月",index = 2)
    private String month;
    /**
     * table name:TASKID
     * table type:varchar(50)
     * table comment:任务号
     */
    @ColumnWidth(14)
    @ExcelProperty(value = "任务编号",index = 3)
    private String taskid;
    /**
     * table name:WORKSHOP
     * table type:varchar(50)
     * table comment:使用车间
     */
    @ColumnWidth(16)
    @ExcelProperty(value = "设备使用车间",index = 4)
    private String workshop;
    /**
     * table name:EQUIPMENTNAME
     * table type:varchar(50)
     * table comment:设备名称
     */
    @ColumnWidth(16)
    @ExcelProperty(value = "设备名称",index = 5)
    private String equipmentname;
    /**
     * table name:EQUIPMENTNUMBER
     * table type:varchar(50)
     * table comment:设备编号
     */
    @ColumnWidth(11)
    @ExcelProperty(value = "设备编号",index = 6)
    private String equipmentnumber;
    /**
     * table name:MAINTENANCESITE
     * table type:text
     * table comment:保养部位
     */
    @ColumnWidth(11)
    @ExcelProperty(value = "保养部位",index = 7)
    private String maintenancesite;
    /**
     * table name:MAINTENANCECONTENT
     * table type:text
     * table comment:问题点/计划保养内容
     */
    @ColumnWidth(11)
    @ExcelProperty(value = "保养内容",index = 8)
    private String maintenancecontent;
    /**
     * table name:PRINCIPAL
     * table type:text
     * table comment:责任人
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "保养责任人",index = 9)
    private String principal;
    /**
     * table name:OTHERENGINEERS
     * table type:text
     * table comment:其他工程师
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "其他工程师",index = 10)
    private String otherengineers;
    /**
     * table name:MAINTENANCETYPE
     * table type:varchar(20)
     * table comment:保养检修分类
     */
    @ColumnWidth(11)
    @ExcelProperty(value = "保养分类",index = 11)
    private String maintenancetype;
    /**
     * table name:TASKSTATE
     * table type:varchar(20)
     * table comment:任务状态
     */
    @ColumnWidth(11)
    @ExcelProperty(value = "任务状态",index = 12)
    private String taskstate;

}
