完成excel表数据到实体数据的构建
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.aos.fileidentify.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class BaseEntity {
|
||||
|
||||
private String id;
|
||||
|
||||
private String deleted;
|
||||
|
||||
private Date create_time;
|
||||
|
||||
private Date update_time;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
package com.aos.fileidentify.entity;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
public class EmployeeApproval extends BaseEntity {
|
||||
|
||||
private String employeeKey;
|
||||
@ExcelProperty("姓名")
|
||||
@NotNull
|
||||
private String name;
|
||||
@ExcelProperty("年龄")
|
||||
private String age;
|
||||
@ExcelProperty("部门")
|
||||
private String department;
|
||||
@ExcelProperty("项目")
|
||||
private String project;
|
||||
@ExcelProperty("单位")
|
||||
private String branch;
|
||||
@ExcelProperty("现任职务")
|
||||
private String currentPosition;
|
||||
@ExcelProperty("性别")
|
||||
private String gender;
|
||||
@ExcelProperty("民族")
|
||||
private String ethnic;
|
||||
@ExcelProperty("出生年月")
|
||||
private String birth;
|
||||
@ExcelProperty("最高学历")
|
||||
private String highestEducation;
|
||||
@ExcelProperty("全日制教育学历学位")
|
||||
private String fullTimeEduQualifications;
|
||||
@ExcelProperty("全日制教育毕业院校及专业")
|
||||
private String fullTimeEduInstitutions;
|
||||
@ExcelProperty("在职教育学历学位")
|
||||
private String onJobEduQualifications;
|
||||
@ExcelProperty("在职教育毕业院校及专业")
|
||||
private String onJobEduInstitutions;
|
||||
@ExcelProperty("入党时间")
|
||||
private String joinPartyTime;
|
||||
@ExcelProperty("参加工作时间")
|
||||
private String joinWorkTime;
|
||||
@ExcelProperty("任现职时间")
|
||||
private String currentPositionTime;
|
||||
@ExcelProperty("任现职级时间")
|
||||
private String currentRankTime;
|
||||
@ExcelProperty("经理人性质")
|
||||
private String managersType;
|
||||
@ExcelProperty("兼职")
|
||||
private String isConcurrently;
|
||||
@ExcelProperty("任命文件")
|
||||
private String appointmentDocuments;
|
||||
@ExcelProperty("岗位类型")
|
||||
private String postType;
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.aos.fileidentify.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
@Data
|
||||
public class EmployeeChange extends BaseEntity {
|
||||
private String employee_key;
|
||||
private String change_type;
|
||||
private String source_branch;
|
||||
private String transfer_branch;
|
||||
private Date change_time;
|
||||
private String change_branch;
|
||||
private String change_position;
|
||||
}
|
||||
Reference in New Issue
Block a user