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 MeterCertificateDto {

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

    @ApiModelProperty(value = "计量人员表id", dataType = "Long")
    private String staffId;

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

    @ExcelProperty(value = "姓名",order = 1)
    @ApiModelProperty(value = "姓名", dataType = "String")
    private String name;

    @ExcelProperty(value = "性别",order = 2)
    @ApiModelProperty(value = "性别", dataType = "String")
    private String sex;

    @ApiModelProperty(value = "文化程度", dataType = "String")
    private String education;

    @ExcelProperty(value = "技术职位",order = 4)
    @ApiModelProperty(value = "技术职位", dataType = "String")
    private String technologyJob;

    @ExcelProperty(value = "行政职务",order = 5)
    @ApiModelProperty(value = "行政职务", dataType = "String")
    private String administrationJob;

    @ExcelProperty(value = "工作部门",order = 3)
    @ApiModelProperty(value = "组织部门", dataType = "String")
    private String deptName;

    @ApiModelProperty(value = "部门id", dataType = "String")
    private String deptId;

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

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

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

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

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

    @ApiModelProperty(value = "证书状况", dataType = "String")
    private String certificateStatus;
    @ExcelProperty(value = "证书状况",order = 9)
    @ApiModelProperty(value = "证书状况", dataType = "String")
    private String certificateStatusName;

    @ApiModelProperty(value = "minio存储文件名", dataType = "String")
    private String minioFileName;

    @ApiModelProperty(value = "备注", dataType = "String")
    private String remark;
}
