package com.rongwei.bscommon.sys.excel;

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

import java.math.BigDecimal;

/**
 * @author shangmi
 * @title EquLubricationTaskManagementTemplate
 * @date 2024/1/31 10:19
 * @description 润滑任务提醒导出模板
 */
@Data
// @EqualsAndHashCode
public class EquLubricationTaskManagementTemplate {

    /**
     * table name:PLANT
     * table type:varchar(35)
     * table comment:所属工厂
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "所属工厂",index = 0)
    private String plant;

    /**
     * 年份
     */
    @ExcelProperty(value = "年",index = 1)
    private Integer year;

    /**
     * 月份
     */
    @ExcelProperty(value = "月",index = 2)
    private Integer month;

    /**
     * 润滑任务编号
     */
    @ColumnWidth(14)
    @ExcelProperty(value = "任务编号",index = 3)
    private String tasknumber;
    /**
     * 设备使用车间名称
     */
    @ColumnWidth(16)
    @ExcelProperty(value = "设备使用车间",index = 4)
    private String equipmentworkshop;
    /**
     * 设备名称
     */
    @ColumnWidth(16)
    @ExcelProperty(value = "润滑设备名称",index = 5)
    private String equipment;
    /**
     * 设备编号
     */
    @ColumnWidth(11)
    @ExcelProperty(value = "设备编号",index = 6)
    private String equipmentnumber;
    /**
     * 润滑部位
     */
    @ColumnWidth(11)
    @ExcelProperty(value = "润滑部位",index = 7)
    private String lubricationposition;
    /**
     * 频率
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "周期",index = 8)
    private String frequency;

    /**
     * 润滑油品
     */
    @ColumnWidth(11)
    @ExcelProperty(value = "润滑油品",index = 9)
    private String lubricants;

    /**
     * 润滑量
     */
    @ExcelProperty(value = "润滑量",index = 10)
    private BigDecimal lubricationamount;

    /**
     * 润滑人
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "润滑人",index = 11)
    private String lubricator;

    /**
     * 是否润滑完成
     */
    @ColumnWidth(11)
    @ExcelProperty(value = "是否完成",index = 12)
    private String islubricationcompleted;
}
