Newer
Older
casic-metering / casic-metering-model / src / main / java / com / casic / missiles / dto / MeterCertificateDto.java
xiezhuangzhuang on 29 Nov 2022 3 KB 计量人员相关接口开发
package com.casic.missiles.dto;

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;

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

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

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