|
|
@@ -0,0 +1,63 @@
|
|
|
+package com.xunmei.system.util;
|
|
|
+
|
|
|
+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.HeadRowHeight;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 安保人员导出
|
|
|
+ * @author :LuoWei
|
|
|
+ * @date : 2023/11/23
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@ColumnWidth(15) //列宽,最大值为255
|
|
|
+@HeadRowHeight(16) //表头行高
|
|
|
+@ContentRowHeight(16) //数据行高
|
|
|
+public class SecurityUserExport {
|
|
|
+ @ExcelProperty(value = "序号", index = 0)
|
|
|
+ @TableField(exist = false)
|
|
|
+ private String xh;
|
|
|
+ @ExcelProperty(value = "地区", index = 1)
|
|
|
+ private String city;
|
|
|
+ @ExcelProperty(value = "单位名称", index = 2)
|
|
|
+ private String orgName;
|
|
|
+ @ExcelProperty(value = "姓名", index = 3)
|
|
|
+ private String name;
|
|
|
+ @ExcelProperty(value = "性别", index = 4, converter = GenderConverter.class)
|
|
|
+ private String gender;
|
|
|
+ @ExcelProperty(value = "身份证号码", index = 5)
|
|
|
+ private String card;
|
|
|
+ @ExcelProperty(value = "年龄", index = 6)
|
|
|
+ private Integer age;
|
|
|
+ @ExcelProperty(value = "部门名称", index = 7)
|
|
|
+ private String departmentName;
|
|
|
+ @ExcelProperty(value = "现任职务", index = 8)
|
|
|
+ private String nowDuties;
|
|
|
+ @ExcelProperty(value = "是否专职(专职是指专职做安全保卫部门相应岗位工作,不再兼任其他岗位或部门工作)", index = 9)
|
|
|
+ private String isFullTime;
|
|
|
+ @ExcelProperty(value = "用工形式", index = 9)
|
|
|
+ private String workType;
|
|
|
+ @ExcelProperty(value = "现任职时间", index = 10)
|
|
|
+ private Date entryTime;
|
|
|
+ @ExcelProperty(value = "工作年限", index = 11)
|
|
|
+ private String workDuration;
|
|
|
+ @ExcelProperty(value = "最高学历", index = 12)
|
|
|
+ private String highestEducation;
|
|
|
+ @ExcelProperty(value = "取得方式", index = 13)
|
|
|
+ private String educationType;
|
|
|
+ @ExcelProperty(value = "初级以上(含初级)相关专业技术职业资格", index = 14)
|
|
|
+ private String professionalQualifications;
|
|
|
+ @ExcelProperty(value = "持证上岗考试通过情况", index = 15)
|
|
|
+ private String certificateWork;
|
|
|
+ @ExcelProperty(value = "持证上岗考试通过情况", index = 16)
|
|
|
+ private String certificateFailReason;
|
|
|
+ @ExcelProperty(value = "分管领导姓名", index = 17)
|
|
|
+ private String responsibilitiesLeaderName;
|
|
|
+ @ExcelProperty(value = "分管领导职务", index = 18)
|
|
|
+ private String responsibilitiesLeaderDuties;
|
|
|
+}
|