package com.casic.missiles.dto.meter;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@ExcelIgnoreUnannotated
public class MeterCertificateImport {

    @ApiModelProperty(value = "主键id", dataType = "Long")
    private Long id;

    @ApiModelProperty(value = "人员编号", dataType = "String")
    @ExcelProperty(value = "人员编号",order = 0)
    private String staffNo;

    @ApiModelProperty(value = "证书号", dataType = "String")
    @ExcelProperty(value = "证书号",order = 1)
    private String certificateNo;

    @ApiModelProperty(value = "证书名称", dataType = "String")
    @ExcelProperty(value = "证书名称",order = 2)
    private String certificateName;

    @ApiModelProperty(value = "发证日期", dataType = "String")
    @ExcelProperty(value = "发证日期",order = 3)
    private String certificateDate;

    @ApiModelProperty(value = "发证单位", dataType = "String")
    @ExcelProperty(value = "发证单位",order = 4)
    private String certificateCompany;

    @ApiModelProperty(value = "有效日期", dataType = "String")
    @ExcelProperty(value = "有效日期",order = 5)
    private String validDate;

    @ExcelProperty(value = "不符合的数据",order = 20)
    private String result;
}
