|
@@ -1,8 +1,9 @@
|
|
|
-package cn.iocoder.yudao.module.employee.controller.admin.employeeinfo.vo;
|
|
|
|
|
|
|
+package cn.iocoder.yudao.module.employee.controller.admin.info.vo;
|
|
|
|
|
|
|
|
import lombok.*;
|
|
import lombok.*;
|
|
|
|
|
|
|
|
import java.time.LocalDate;
|
|
import java.time.LocalDate;
|
|
|
|
|
+
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
@@ -11,38 +12,32 @@ import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
|
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
|
|
|
|
|
|
|
-@Schema(description = "管理后台 - 员工信息分页 Request VO")
|
|
|
|
|
|
|
+@Schema(description = "管理后台 - 员工信息历史分页 Request VO")
|
|
|
@Data
|
|
@Data
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
@ToString(callSuper = true)
|
|
@ToString(callSuper = true)
|
|
|
-public class EmployeeInfoPageReqVO extends PageParam {
|
|
|
|
|
|
|
+public class EmployeeInfoHistoryPageReqVO extends PageParam {
|
|
|
|
|
|
|
|
- @Schema(description = "业务UUID", example = "19517")
|
|
|
|
|
|
|
+ @Schema(description = "业务UUID", example = "4007")
|
|
|
private String infoId;
|
|
private String infoId;
|
|
|
|
|
|
|
|
- @Schema(description = "员工编号")
|
|
|
|
|
- private String employeeNumber;
|
|
|
|
|
-
|
|
|
|
|
@Schema(description = "姓名", example = "李四")
|
|
@Schema(description = "姓名", example = "李四")
|
|
|
private String name;
|
|
private String name;
|
|
|
|
|
|
|
|
- @Schema(description = "部门ID", example = "17351")
|
|
|
|
|
|
|
+ @Schema(description = "部门ID", example = "18657")
|
|
|
private Long deptId;
|
|
private Long deptId;
|
|
|
|
|
|
|
|
- @Schema(description = "手机号")
|
|
|
|
|
- private String phone;
|
|
|
|
|
-
|
|
|
|
|
- @Schema(description = "头像地址")
|
|
|
|
|
- private String avatar;
|
|
|
|
|
|
|
+ @Schema(description = "部门名称", example = "李四")
|
|
|
|
|
+ private String deptName;
|
|
|
|
|
|
|
|
- @Schema(description = "电子邮箱")
|
|
|
|
|
- private String email;
|
|
|
|
|
|
|
+ @Schema(description = "职位编号", example = "1434")
|
|
|
|
|
+ private Long postId;
|
|
|
|
|
|
|
|
- @Schema(description = "职位")
|
|
|
|
|
|
|
+ @Schema(description = "职位名称")
|
|
|
private String position;
|
|
private String position;
|
|
|
|
|
|
|
|
- @Schema(description = "职位编号", example = "7080")
|
|
|
|
|
- private Long postId;
|
|
|
|
|
|
|
+ @Schema(description = "员工编号")
|
|
|
|
|
+ private String employeeNumber;
|
|
|
|
|
|
|
|
@Schema(description = "入职时间")
|
|
@Schema(description = "入职时间")
|
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
@@ -52,21 +47,24 @@ public class EmployeeInfoPageReqVO extends PageParam {
|
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
|
private LocalDate[] probationEndDate;
|
|
private LocalDate[] probationEndDate;
|
|
|
|
|
|
|
|
- @Schema(description = "工作地点")
|
|
|
|
|
- private String workLocation;
|
|
|
|
|
|
|
+ @Schema(description = "离职时间")
|
|
|
|
|
+ @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
|
|
|
+ private LocalDate[] departureDate;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "离职原因", example = "不喜欢")
|
|
|
|
|
+ private String resignationReason;
|
|
|
|
|
|
|
|
@Schema(description = "员工状态", example = "2")
|
|
@Schema(description = "员工状态", example = "2")
|
|
|
- private Integer employeeStatus;
|
|
|
|
|
|
|
+ private String employeeStatus;
|
|
|
|
|
|
|
|
@Schema(description = "性别")
|
|
@Schema(description = "性别")
|
|
|
private String gender;
|
|
private String gender;
|
|
|
|
|
|
|
|
- @Schema(description = "出生日期")
|
|
|
|
|
- @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
|
|
|
- private LocalDate[] birthDate;
|
|
|
|
|
|
|
+ @Schema(description = "电子邮箱")
|
|
|
|
|
+ private String email;
|
|
|
|
|
|
|
|
- @Schema(description = "婚姻状况", example = "1")
|
|
|
|
|
- private String marriageStatus;
|
|
|
|
|
|
|
+ @Schema(description = "手机号")
|
|
|
|
|
+ private String phone;
|
|
|
|
|
|
|
|
@Schema(description = "身份证号")
|
|
@Schema(description = "身份证号")
|
|
|
private String idCardNumber;
|
|
private String idCardNumber;
|
|
@@ -80,12 +78,9 @@ public class EmployeeInfoPageReqVO extends PageParam {
|
|
|
@Schema(description = "户口所在地")
|
|
@Schema(description = "户口所在地")
|
|
|
private String householdLocation;
|
|
private String householdLocation;
|
|
|
|
|
|
|
|
- @Schema(description = "学历")
|
|
|
|
|
|
|
+ @Schema(description = "最高学历")
|
|
|
private String educationLevel;
|
|
private String educationLevel;
|
|
|
|
|
|
|
|
- @Schema(description = "专业")
|
|
|
|
|
- private String major;
|
|
|
|
|
-
|
|
|
|
|
@Schema(description = "毕业院校")
|
|
@Schema(description = "毕业院校")
|
|
|
private String graduationSchool;
|
|
private String graduationSchool;
|
|
|
|
|
|
|
@@ -93,18 +88,37 @@ public class EmployeeInfoPageReqVO extends PageParam {
|
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
|
private LocalDate[] graduationDate;
|
|
private LocalDate[] graduationDate;
|
|
|
|
|
|
|
|
- @Schema(description = "参加工作时间")
|
|
|
|
|
|
|
+ @Schema(description = "银行卡名称", example = "张三")
|
|
|
|
|
+ private String bankCardName;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "银行卡卡号")
|
|
|
|
|
+ private String bankCardNumber;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "年假基准天数")
|
|
|
|
|
+ private Integer baseAnnualLeave;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "已使用年假天数")
|
|
|
|
|
+ private Integer usedAnnualLeave;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "剩余年假天数")
|
|
|
|
|
+ private Integer remainingAnnualLeave;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "出生日期")
|
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
|
- private LocalDate[] workStartDate;
|
|
|
|
|
|
|
+ private LocalDate[] birthDate;
|
|
|
|
|
|
|
|
- @Schema(description = "年假天数")
|
|
|
|
|
- private Integer annualLeaveDays;
|
|
|
|
|
|
|
+ @Schema(description = "婚姻状况", example = "1")
|
|
|
|
|
+ private String marriageStatus;
|
|
|
|
|
|
|
|
- @Schema(description = "工资卡银行")
|
|
|
|
|
- private String salaryBank;
|
|
|
|
|
|
|
+ @Schema(description = "工作地点")
|
|
|
|
|
+ private String workLocation;
|
|
|
|
|
|
|
|
- @Schema(description = "工资卡号")
|
|
|
|
|
- private String salaryCardNumber;
|
|
|
|
|
|
|
+ @Schema(description = "专业")
|
|
|
|
|
+ private String major;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "参加工作时间")
|
|
|
|
|
+ @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
|
|
|
+ private LocalDate[] workStartDate;
|
|
|
|
|
|
|
|
@Schema(description = "薪酬")
|
|
@Schema(description = "薪酬")
|
|
|
private BigDecimal salary;
|
|
private BigDecimal salary;
|
|
@@ -133,17 +147,23 @@ public class EmployeeInfoPageReqVO extends PageParam {
|
|
|
@Schema(description = "年终奖")
|
|
@Schema(description = "年终奖")
|
|
|
private BigDecimal yearEndBonus;
|
|
private BigDecimal yearEndBonus;
|
|
|
|
|
|
|
|
- @Schema(description = "状态", example = "1")
|
|
|
|
|
|
|
+ @Schema(description = "头像地址")
|
|
|
|
|
+ private String avatar;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "状态", example = "2")
|
|
|
private Integer status;
|
|
private Integer status;
|
|
|
|
|
|
|
|
@Schema(description = "创建时间")
|
|
@Schema(description = "创建时间")
|
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
|
private LocalDateTime[] createTime;
|
|
private LocalDateTime[] createTime;
|
|
|
|
|
|
|
|
- @Schema(description = "租户编码", example = "14244")
|
|
|
|
|
|
|
+ @Schema(description = "租户编号", example = "10115")
|
|
|
private Long tenantId;
|
|
private Long tenantId;
|
|
|
|
|
|
|
|
- @Schema(description = "用户ID", example = "14244")
|
|
|
|
|
|
|
+ @Schema(description = "用户ID", example = "4877")
|
|
|
private Long userId;
|
|
private Long userId;
|
|
|
|
|
|
|
|
|
|
+ @Schema(description = "关联员工ID", example = "4352")
|
|
|
|
|
+ private Long employeeId;
|
|
|
|
|
+
|
|
|
}
|
|
}
|