| | |
| | | @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; |
| | |
| | | @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; |