package com.ruoyi.system.importExcel; import cn.afterturn.easypoi.excel.annotation.Excel; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; @Data @ApiModel(value = "员工导入Excel") public class EmployeeImportExcel implements Serializable { @Excel(name = "姓名", width = 20) @ApiModelProperty(value = "姓名") private String nickName; @Excel(name = "性别", width = 10) @ApiModelProperty(value = "性别") private String sex; @Excel(name = "身份证号码", width = 25) @ApiModelProperty(value = "身份证号码") private String idCard; @Excel(name = "年龄", width = 10) @ApiModelProperty(value = "年龄") private Integer age; @Excel(name = "政治面貌", width = 15) @ApiModelProperty(value = "政治面貌") private String politicalOutlook; @Excel(name = "参工时间", width = 15) @ApiModelProperty(value = "参工时间") private String participationTime; @Excel(name = "进入公司时间", width = 15) @ApiModelProperty(value = "进入公司时间") private String companyTime; // 第一学历 @Excel(name = "第一学历-学历", width = 15) @ApiModelProperty(value = "第一学历") private String firstDegree; @Excel(name = "第一学历-学院", width = 25) @ApiModelProperty(value = "第一学历学院") private String firstCollege; @Excel(name = "第一学历-专业", width = 25) @ApiModelProperty(value = "第一学历专业") private String firstMajor; // 最高学历 @Excel(name = "最高学历-学历", width = 15) @ApiModelProperty(value = "最高学历") private String highestDegree; @Excel(name = "最高学历-学院", width = 25) @ApiModelProperty(value = "最高学历学院") private String highestCollege; @Excel(name = "最高学历-专业", width = 25) @ApiModelProperty(value = "最高学历专业") private String highestMajor; @Excel(name = "所在股室", width = 20) @ApiModelProperty(value = "所在股室") private String department; @Excel(name = "职务", width = 25) @ApiModelProperty(value = "职务") private String position; @Excel(name = "任职时间", width = 15) @ApiModelProperty(value = "任职时间") private String positionTime; @Excel(name = "电话号码", width = 15) @ApiModelProperty(value = "电话号码") private String phoneNumber; @Excel(name = "编制", width = 15) @ApiModelProperty(value = "编制") private String organization; // 部门名称(系统字段) @Excel(name = "部门名称", width = 20) @ApiModelProperty(value = "部门名称") private String deptName; // 角色名称(系统字段) @Excel(name = "角色名称", width = 20) @ApiModelProperty(value = "角色名称") private String roleName; }