| | |
| | | @NotNull(message = "部门不能为空") |
| | | private Long deptId; |
| | | |
| | | @Schema(description = "岗位ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @NotNull(message = "岗位不能为空") |
| | | private Long postId; |
| | | @Schema(description = "岗位ID列表", requiredMode = Schema.RequiredMode.REQUIRED, example = "[1, 2]") |
| | | @NotEmpty(message = "岗位不能为空") |
| | | private List<Long> postIds; |
| | | |
| | | @Schema(description = "员工姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三") |
| | | @NotEmpty(message = "员工姓名不能为空") |
| | |
| | | @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 = "入职日期不能为空") |
| | |
| | | |
| | | @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; |
| | | |
| | | } |