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