|
@@ -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 io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.*;
|
|
import lombok.*;
|
|
@@ -12,58 +12,56 @@ import java.time.LocalDate;
|
|
@Data
|
|
@Data
|
|
public class EmployeeInfoSaveReqVO {
|
|
public class EmployeeInfoSaveReqVO {
|
|
|
|
|
|
- @Schema(description = "员工ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20870")
|
|
|
|
|
|
+ @Schema(description = "员工ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10984")
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
- @Schema(description = "业务UUID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19517")
|
|
|
|
|
|
+ @Schema(description = "业务UUID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1987")
|
|
|
|
+ @NotEmpty(message = "业务UUID不能为空")
|
|
private String infoId;
|
|
private String infoId;
|
|
|
|
|
|
- @Schema(description = "员工编号", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
- private String employeeNumber;
|
|
|
|
-
|
|
|
|
- @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
|
|
|
|
|
|
+ @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
|
|
@NotEmpty(message = "姓名不能为空")
|
|
@NotEmpty(message = "姓名不能为空")
|
|
private String name;
|
|
private String name;
|
|
|
|
|
|
- @Schema(description = "部门ID", example = "17351")
|
|
|
|
|
|
+ @Schema(description = "部门ID", example = "22378")
|
|
private Long deptId;
|
|
private Long deptId;
|
|
|
|
|
|
- @Schema(description = "手机号")
|
|
|
|
- private String phone;
|
|
|
|
|
|
+ @Schema(description = "部门名称", example = "芋艿")
|
|
|
|
+ private String deptName;
|
|
|
|
|
|
- @Schema(description = "头像地址")
|
|
|
|
- private String avatar;
|
|
|
|
-
|
|
|
|
- @Schema(description = "电子邮箱")
|
|
|
|
- private String email;
|
|
|
|
|
|
+ @Schema(description = "职位编号", example = "1056")
|
|
|
|
+ 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 = "入职时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
|
|
+ @Schema(description = "入职时间")
|
|
private LocalDate entryDate;
|
|
private LocalDate entryDate;
|
|
|
|
|
|
@Schema(description = "试用期到期时间")
|
|
@Schema(description = "试用期到期时间")
|
|
private LocalDate probationEndDate;
|
|
private LocalDate probationEndDate;
|
|
|
|
|
|
- @Schema(description = "工作地点")
|
|
|
|
- private String workLocation;
|
|
|
|
|
|
+ @Schema(description = "离职时间")
|
|
|
|
+ private LocalDate departureDate;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "离职原因", example = "不香")
|
|
|
|
+ private String resignationReason;
|
|
|
|
|
|
@Schema(description = "员工状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
|
@Schema(description = "员工状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
|
-// @NotEmpty(message = "员工状态不能为空")
|
|
|
|
- private Integer employeeStatus;
|
|
|
|
|
|
+ @NotEmpty(message = "员工状态不能为空")
|
|
|
|
+ private String employeeStatus;
|
|
|
|
|
|
@Schema(description = "性别")
|
|
@Schema(description = "性别")
|
|
private String gender;
|
|
private String gender;
|
|
|
|
|
|
- @Schema(description = "出生日期")
|
|
|
|
- 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;
|
|
@@ -71,35 +69,47 @@ public class EmployeeInfoSaveReqVO {
|
|
@Schema(description = "身份证地址")
|
|
@Schema(description = "身份证地址")
|
|
private String idCardAddress;
|
|
private String idCardAddress;
|
|
|
|
|
|
- @Schema(description = "户口类型", example = "1")
|
|
|
|
|
|
+ @Schema(description = "户口类型", example = "2")
|
|
private String householdType;
|
|
private String householdType;
|
|
|
|
|
|
@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;
|
|
|
|
|
|
@Schema(description = "毕业时间")
|
|
@Schema(description = "毕业时间")
|
|
private LocalDate graduationDate;
|
|
private LocalDate graduationDate;
|
|
|
|
|
|
- @Schema(description = "参加工作时间")
|
|
|
|
- private LocalDate workStartDate;
|
|
|
|
|
|
+ @Schema(description = "银行卡名称", example = "张三")
|
|
|
|
+ private String bankCardName;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "银行卡卡号")
|
|
|
|
+ private String bankCardNumber;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "年假基准天数")
|
|
|
|
+ private Integer baseAnnualLeave;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "剩余年假天数")
|
|
|
|
+ private Integer remainingAnnualLeave;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "出生日期")
|
|
|
|
+ private LocalDate birthDate;
|
|
|
|
|
|
- @Schema(description = "年假天数")
|
|
|
|
- private Integer annualLeaveDays;
|
|
|
|
|
|
+ @Schema(description = "婚姻状况", example = "2")
|
|
|
|
+ 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 = "参加工作时间")
|
|
|
|
+ private LocalDate workStartDate;
|
|
|
|
|
|
@Schema(description = "薪酬")
|
|
@Schema(description = "薪酬")
|
|
private BigDecimal salary;
|
|
private BigDecimal salary;
|
|
@@ -128,15 +138,18 @@ public class EmployeeInfoSaveReqVO {
|
|
@Schema(description = "年终奖")
|
|
@Schema(description = "年终奖")
|
|
private BigDecimal yearEndBonus;
|
|
private BigDecimal yearEndBonus;
|
|
|
|
|
|
- @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
|
-// @NotNull(message = "状态不能为空")
|
|
|
|
|
|
+ @Schema(description = "头像地址")
|
|
|
|
+ private String avatar;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
|
|
|
+ @NotNull(message = "状态不能为空")
|
|
private Integer status;
|
|
private Integer status;
|
|
|
|
|
|
- @Schema(description = "租户编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "14244")
|
|
|
|
- @NotNull(message = "租户编码不能为空")
|
|
|
|
|
|
+ @Schema(description = "租户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27933")
|
|
|
|
+ @NotNull(message = "租户编号不能为空")
|
|
private Long tenantId;
|
|
private Long tenantId;
|
|
|
|
|
|
- @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14244")
|
|
|
|
|
|
+ @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12259")
|
|
@NotNull(message = "用户ID不能为空")
|
|
@NotNull(message = "用户ID不能为空")
|
|
private Long userId;
|
|
private Long userId;
|
|
|
|
|