From 481d8165f26fc7e37f0e87f6444ac0340bb563a3 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期二, 03 十一月 2026 18:53:22 +0800
Subject: [PATCH] fix: 移植长辉已验证的四类接口 500/体验问题(不含物料颜色字段)

---
 yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/employee/vo/HrmEmployeeSaveReqVO.java |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/employee/vo/HrmEmployeeSaveReqVO.java b/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/employee/vo/HrmEmployeeSaveReqVO.java
index 243900d..750563e 100644
--- a/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/employee/vo/HrmEmployeeSaveReqVO.java
+++ b/yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/employee/vo/HrmEmployeeSaveReqVO.java
@@ -27,6 +27,12 @@
     @NotNull(message = "宀椾綅涓嶈兘涓虹┖")
     private Long postId;
 
+    @Schema(description = "鐢ㄥ伐鎬ц川", example = "1")
+    private Integer employmentType;
+
+    @Schema(description = "鎵�灞炵彮缁処D", example = "1")
+    private Long teamId;
+
     @Schema(description = "鍛樺伐濮撳悕", requiredMode = Schema.RequiredMode.REQUIRED, example = "寮犱笁")
     @NotEmpty(message = "鍛樺伐濮撳悕涓嶈兘涓虹┖")
     private String name;
@@ -43,6 +49,9 @@
     @Pattern(regexp = "^1[3-9]\\d{9}$", message = "鎵嬫満鍙风爜鏍煎紡涓嶆纭�")
     private String phone;
 
+    @Schema(description = "鍒濆瀵嗙爜锛堜负绌烘椂璇诲彇绯荤粺鍙傛暟 system.user.init-password锛�", example = "123456")
+    private String password;
+
     @Schema(description = "閭", example = "zhangsan@example.com")
     @Email(message = "閭鏍煎紡涓嶆纭�")
     private String email;
@@ -51,6 +60,21 @@
     @Pattern(regexp = "^[1-9]\\d{5}(18|19|20)\\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])\\d{3}[\\dXx]$",
             message = "韬唤璇佸彿鏍煎紡涓嶆纭�")
     private String idCard;
+
+    @Schema(description = "姘戞棌", example = "姹夋棌")
+    private String nation;
+
+    @Schema(description = "濠氬Щ鐘舵��", example = "宸插")
+    private String marriageStatus;
+
+    @Schema(description = "骞撮緞", example = "30")
+    private Integer age;
+
+    @Schema(description = "瀛﹀巻", example = "鏈")
+    private String education;
+
+    @Schema(description = "鏀挎不闈㈣矊", example = "涓叡鍏氬憳")
+    private String politicalStatus;
 
     @Schema(description = "鍏ヨ亴鏃ユ湡", requiredMode = Schema.RequiredMode.REQUIRED, example = "2020-03-01")
     @NotNull(message = "鍏ヨ亴鏃ユ湡涓嶈兘涓虹┖")
@@ -94,14 +118,14 @@
 
     @Schema(description = "鏁欒偛缁忓巻鍒楄〃")
     @Valid
-    private List<HrmEmployeeEducationSaveReqVO> educationList;
+    private List<HrmEmployeeEducationSaveReqVO> educations;
 
     @Schema(description = "宸ヤ綔缁忓巻鍒楄〃")
     @Valid
-    private List<HrmEmployeeWorkHistorySaveReqVO> workHistoryList;
+    private List<HrmEmployeeWorkHistorySaveReqVO> workHistories;
 
     @Schema(description = "绱ф�ヨ仈绯讳汉鍒楄〃")
     @Valid
-    private List<HrmEmployeeEmergencyContactSaveReqVO> emergencyContactList;
+    private List<HrmEmployeeEmergencyContactSaveReqVO> emergencyContacts;
 
 }
\ No newline at end of file

--
Gitblit v1.9.3