liu
15 小时以前 c3b0503f8e2ecf955d0e8e4ca9294e6cd5199c0b
yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/employee/vo/HrmEmployeeSaveReqVO.java
@@ -23,9 +23,9 @@
    @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 = "员工姓名不能为空")
@@ -52,6 +52,21 @@
            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 = "入职日期不能为空")
    private LocalDate hireDate;