3 天以前 b852254d90e7d1955db31db154193ec8ee84d8b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package cn.iocoder.yudao.module.hrm.controller.admin.approval.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.time.LocalDate;
 
@Schema(description = "管理后台 - 转正申请新增/修改 Request VO")
@Data
public class HrmRegularizeApplicationSaveReqVO {
 
    @Schema(description = "申请ID", example = "1")
    private Long id;
 
    @Schema(description = "申请人ID", example = "1")
    private Long userId;
 
    @Schema(description = "部门ID", example = "1")
    private Long deptId;
 
    @Schema(description = "岗位ID", example = "1")
    private Long postId;
 
    @Schema(description = "当前用工性质:1-正式,2-劳务,3-外包,4-实习,5-退休返聘,6-其他", example = "2")
    private Integer employmentType;
 
    @Schema(description = "拟转正日期", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-02-01")
    @NotNull(message = "拟转正日期不能为空")
    private LocalDate expectedDate;
 
    @Schema(description = "转正原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "试用期表现合格")
    @NotEmpty(message = "转正原因不能为空")
    private String reason;
 
    @Schema(description = "备注", example = "备注信息")
    private String remark;
 
}