|
@@ -1,4 +1,4 @@
|
|
|
-package cn.iocoder.yudao.module.employee.controller.admin.employeeinfo.vo;
|
|
|
+package cn.iocoder.yudao.module.employee.controller.admin.info.vo;
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.*;
|
|
@@ -12,47 +12,39 @@ import com.alibaba.excel.annotation.*;
|
|
|
@ExcelIgnoreUnannotated
|
|
|
public class EmployeeInfoRespVO {
|
|
|
|
|
|
- @Schema(description = "员工ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20870")
|
|
|
+ @Schema(description = "员工ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10984")
|
|
|
@ExcelProperty("员工ID")
|
|
|
private Long id;
|
|
|
|
|
|
- @Schema(description = "业务UUID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19517")
|
|
|
+ @Schema(description = "业务UUID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1987")
|
|
|
@ExcelProperty("业务UUID")
|
|
|
private String infoId;
|
|
|
|
|
|
- @Schema(description = "员工编号", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
- @ExcelProperty("员工编号")
|
|
|
- private String employeeNumber;
|
|
|
-
|
|
|
- @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
|
|
|
+ @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
|
|
|
@ExcelProperty("姓名")
|
|
|
private String name;
|
|
|
|
|
|
- @Schema(description = "部门ID", example = "17351")
|
|
|
+ @Schema(description = "部门ID", example = "22378")
|
|
|
@ExcelProperty("部门ID")
|
|
|
private Long deptId;
|
|
|
|
|
|
- @Schema(description = "手机号")
|
|
|
- @ExcelProperty("手机号")
|
|
|
- private String phone;
|
|
|
-
|
|
|
- @Schema(description = "头像地址")
|
|
|
- @ExcelProperty("头像地址")
|
|
|
- private String avatar;
|
|
|
+ @Schema(description = "部门名称", example = "芋艿")
|
|
|
+ @ExcelProperty("部门名称")
|
|
|
+ private String deptName;
|
|
|
|
|
|
- @Schema(description = "电子邮箱")
|
|
|
- @ExcelProperty("电子邮箱")
|
|
|
- private String email;
|
|
|
+ @Schema(description = "职位编号", example = "1056")
|
|
|
+ @ExcelProperty("职位编号")
|
|
|
+ private Long postId;
|
|
|
|
|
|
- @Schema(description = "职位")
|
|
|
- @ExcelProperty("职位")
|
|
|
+ @Schema(description = "职位名称")
|
|
|
+ @ExcelProperty("职位名称")
|
|
|
private String position;
|
|
|
|
|
|
- @Schema(description = "职位编号", example = "7080")
|
|
|
- @ExcelProperty("职位编号")
|
|
|
- private Long postId;
|
|
|
+ @Schema(description = "员工编号")
|
|
|
+ @ExcelProperty("员工编号")
|
|
|
+ private String employeeNumber;
|
|
|
|
|
|
- @Schema(description = "入职时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @Schema(description = "入职时间")
|
|
|
@ExcelProperty("入职时间")
|
|
|
private LocalDate entryDate;
|
|
|
|
|
@@ -60,25 +52,29 @@ public class EmployeeInfoRespVO {
|
|
|
@ExcelProperty("试用期到期时间")
|
|
|
private LocalDate probationEndDate;
|
|
|
|
|
|
- @Schema(description = "工作地点")
|
|
|
- @ExcelProperty("工作地点")
|
|
|
- private String workLocation;
|
|
|
+ @Schema(description = "离职时间")
|
|
|
+ @ExcelProperty("离职时间")
|
|
|
+ private LocalDate departureDate;
|
|
|
+
|
|
|
+ @Schema(description = "离职原因", example = "不香")
|
|
|
+ @ExcelProperty("离职原因")
|
|
|
+ private String resignationReason;
|
|
|
|
|
|
@Schema(description = "员工状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
|
|
@ExcelProperty("员工状态")
|
|
|
- private Integer employeeStatus;
|
|
|
+ private String employeeStatus;
|
|
|
|
|
|
@Schema(description = "性别")
|
|
|
@ExcelProperty("性别")
|
|
|
private String gender;
|
|
|
|
|
|
- @Schema(description = "出生日期")
|
|
|
- @ExcelProperty("出生日期")
|
|
|
- private LocalDate birthDate;
|
|
|
+ @Schema(description = "电子邮箱")
|
|
|
+ @ExcelProperty("电子邮箱")
|
|
|
+ private String email;
|
|
|
|
|
|
- @Schema(description = "婚姻状况", example = "1")
|
|
|
- @ExcelProperty("婚姻状况")
|
|
|
- private String marriageStatus;
|
|
|
+ @Schema(description = "手机号")
|
|
|
+ @ExcelProperty("手机号")
|
|
|
+ private String phone;
|
|
|
|
|
|
@Schema(description = "身份证号")
|
|
|
@ExcelProperty("身份证号")
|
|
@@ -88,7 +84,7 @@ public class EmployeeInfoRespVO {
|
|
|
@ExcelProperty("身份证地址")
|
|
|
private String idCardAddress;
|
|
|
|
|
|
- @Schema(description = "户口类型", example = "1")
|
|
|
+ @Schema(description = "户口类型", example = "2")
|
|
|
@ExcelProperty("户口类型")
|
|
|
private String householdType;
|
|
|
|
|
@@ -96,14 +92,10 @@ public class EmployeeInfoRespVO {
|
|
|
@ExcelProperty("户口所在地")
|
|
|
private String householdLocation;
|
|
|
|
|
|
- @Schema(description = "学历")
|
|
|
- @ExcelProperty("学历")
|
|
|
+ @Schema(description = "最高学历")
|
|
|
+ @ExcelProperty("最高学历")
|
|
|
private String educationLevel;
|
|
|
|
|
|
- @Schema(description = "专业")
|
|
|
- @ExcelProperty("专业")
|
|
|
- private String major;
|
|
|
-
|
|
|
@Schema(description = "毕业院校")
|
|
|
@ExcelProperty("毕业院校")
|
|
|
private String graduationSchool;
|
|
@@ -112,21 +104,41 @@ public class EmployeeInfoRespVO {
|
|
|
@ExcelProperty("毕业时间")
|
|
|
private LocalDate graduationDate;
|
|
|
|
|
|
- @Schema(description = "参加工作时间")
|
|
|
- @ExcelProperty("参加工作时间")
|
|
|
- private LocalDate workStartDate;
|
|
|
+ @Schema(description = "银行卡名称", example = "张三")
|
|
|
+ @ExcelProperty("银行卡名称")
|
|
|
+ private String bankCardName;
|
|
|
+
|
|
|
+ @Schema(description = "银行卡卡号")
|
|
|
+ @ExcelProperty("银行卡卡号")
|
|
|
+ private String bankCardNumber;
|
|
|
+
|
|
|
+ @Schema(description = "年假基准天数")
|
|
|
+ @ExcelProperty("年假基准天数")
|
|
|
+ private Integer baseAnnualLeave;
|
|
|
+
|
|
|
+ @Schema(description = "剩余年假天数")
|
|
|
+ @ExcelProperty("剩余年假天数")
|
|
|
+ private Integer remainingAnnualLeave;
|
|
|
+
|
|
|
+ @Schema(description = "出生日期")
|
|
|
+ @ExcelProperty("出生日期")
|
|
|
+ private LocalDate birthDate;
|
|
|
|
|
|
- @Schema(description = "年假天数")
|
|
|
- @ExcelProperty("年假天数")
|
|
|
- private Integer annualLeaveDays;
|
|
|
+ @Schema(description = "婚姻状况", example = "2")
|
|
|
+ @ExcelProperty("婚姻状况")
|
|
|
+ private String marriageStatus;
|
|
|
+
|
|
|
+ @Schema(description = "工作地点")
|
|
|
+ @ExcelProperty("工作地点")
|
|
|
+ private String workLocation;
|
|
|
|
|
|
- @Schema(description = "工资卡银行")
|
|
|
- @ExcelProperty("工资卡银行")
|
|
|
- private String salaryBank;
|
|
|
+ @Schema(description = "专业")
|
|
|
+ @ExcelProperty("专业")
|
|
|
+ private String major;
|
|
|
|
|
|
- @Schema(description = "工资卡号")
|
|
|
- @ExcelProperty("工资卡号")
|
|
|
- private String salaryCardNumber;
|
|
|
+ @Schema(description = "参加工作时间")
|
|
|
+ @ExcelProperty("参加工作时间")
|
|
|
+ private LocalDate workStartDate;
|
|
|
|
|
|
@Schema(description = "薪酬")
|
|
|
@ExcelProperty("薪酬")
|
|
@@ -164,7 +176,11 @@ public class EmployeeInfoRespVO {
|
|
|
@ExcelProperty("年终奖")
|
|
|
private BigDecimal yearEndBonus;
|
|
|
|
|
|
- @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
+ @Schema(description = "头像地址")
|
|
|
+ @ExcelProperty("头像地址")
|
|
|
+ private String avatar;
|
|
|
+
|
|
|
+ @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
|
|
@ExcelProperty("状态")
|
|
|
private Integer status;
|
|
|
|
|
@@ -172,11 +188,11 @@ public class EmployeeInfoRespVO {
|
|
|
@ExcelProperty("创建时间")
|
|
|
private LocalDateTime createTime;
|
|
|
|
|
|
- @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14244")
|
|
|
- @ExcelProperty("租户编码")
|
|
|
+ @Schema(description = "租户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27933")
|
|
|
+ @ExcelProperty("租户编号")
|
|
|
private Long tenantId;
|
|
|
|
|
|
- @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14244")
|
|
|
+ @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12259")
|
|
|
@ExcelProperty("用户ID")
|
|
|
private Long userId;
|
|
|
|