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