package cn.iocoder.yudao.module.hrm.controller.admin.approval.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - 离职申请 Response VO")
|
@Data
|
public class HrmResignationApplicationRespVO {
|
|
@Schema(description = "申请ID", example = "1")
|
private Long id;
|
|
@Schema(description = "申请单号", example = "RA202401001")
|
private String no;
|
|
@Schema(description = "申请人ID", example = "1")
|
private Long userId;
|
|
@Schema(description = "申请人姓名", example = "张三")
|
private String userName;
|
|
@Schema(description = "部门ID", example = "1")
|
private Long deptId;
|
|
@Schema(description = "部门名称", example = "研发部")
|
private String deptName;
|
|
@Schema(description = "离职类型", example = "1")
|
private Integer resignationType;
|
|
@Schema(description = "离职类型名称", example = "主动离职")
|
private String resignationTypeName;
|
|
@Schema(description = "预计离职日期", example = "2024-02-01")
|
private LocalDate expectedDate;
|
|
@Schema(description = "实际离职日期", example = "2024-02-01")
|
private LocalDate actualDate;
|
|
@Schema(description = "离职原因", example = "个人发展")
|
private String reason;
|
|
@Schema(description = "交接人ID", example = "1")
|
private Long handoverUserId;
|
|
@Schema(description = "交接人姓名", example = "李四")
|
private String handoverUserName;
|
|
@Schema(description = "交接状态", example = "0")
|
private Integer handoverStatus;
|
|
@Schema(description = "交接状态名称", example = "未开始")
|
private String handoverStatusName;
|
|
@Schema(description = "交接说明", example = "交接说明")
|
private String handoverRemark;
|
|
@Schema(description = "审批状态", example = "0")
|
private Integer status;
|
|
@Schema(description = "审批状态名称", example = "草稿")
|
private String statusName;
|
|
@Schema(description = "BPM 流程实例ID", example = "xxx")
|
private String processInstanceId;
|
|
@Schema(description = "审批完成时间", example = "2024-01-01 10:00:00")
|
private LocalDateTime approveTime;
|
|
@Schema(description = "附件地址", example = "https://xxx.com/xxx.pdf")
|
private String fileUrl;
|
|
@Schema(description = "备注", example = "备注信息")
|
private String remark;
|
|
@Schema(description = "创建时间", example = "2024-01-01 09:00:00")
|
private LocalDateTime createTime;
|
|
}
|