liu
5 天以前 a67dab8161c7428aa7cbd6f9051dd5ae77af4ed8
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 = "所属班组ID", 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;