liu
3 天以前 a67dab8161c7428aa7cbd6f9051dd5ae77af4ed8
yudao-module-hrm/src/main/java/cn/iocoder/yudao/module/hrm/controller/admin/approval/vo/HrmResignationApplicationRespVO.java
@@ -1,79 +1,109 @@
package cn.iocoder.yudao.module.hrm.controller.admin.approval.vo;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import cn.iocoder.yudao.module.system.api.storage.dto.StorageBlobRespDTO;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
@Schema(description = "管理后台 - 离职申请 Response VO")
@Data
@ExcelIgnoreUnannotated
public class HrmResignationApplicationRespVO {
    @Schema(description = "申请ID", example = "1")
    private Long id;
    @Schema(description = "申请单号", example = "RA202401001")
    @ExcelProperty("申请单号")
    private String no;
    @Schema(description = "申请人ID", example = "1")
    private Long userId;
    @Schema(description = "申请人姓名", example = "张三")
    @ExcelProperty("申请人")
    private String userName;
    @Schema(description = "部门ID", example = "1")
    private Long deptId;
    @Schema(description = "部门名称", example = "研发部")
    @ExcelProperty("部门")
    private String deptName;
    @Schema(description = "离职类型", example = "1")
    private Integer resignationType;
    @Schema(description = "离职类型名称", example = "主动离职")
    @ExcelProperty("离职类型")
    private String resignationTypeName;
    @Schema(description = "预计离职日期", example = "2024-02-01")
    @ExcelProperty("期望离职日期")
    private LocalDate expectedDate;
    @Schema(description = "实际离职日期", example = "2024-02-01")
    @ExcelProperty("实际离职日期")
    private LocalDate actualDate;
    @Schema(description = "离职原因", example = "个人发展")
    @ExcelProperty("离职原因")
    private String reason;
    @Schema(description = "交接人ID", example = "1")
    private Long handoverUserId;
    @Schema(description = "交接人姓名", example = "李四")
    @ExcelProperty("交接人")
    private String handoverUserName;
    @Schema(description = "交接状态", example = "0")
    private Integer handoverStatus;
    @Schema(description = "交接状态名称", example = "未开始")
    @ExcelProperty("交接状态")
    private String handoverStatusName;
    @Schema(description = "交接说明", example = "交接说明")
    @ExcelProperty("交接说明")
    private String handoverRemark;
    @Schema(description = "审批状态", example = "0")
    private Integer status;
    @Schema(description = "审批状态名称", example = "草稿")
    @ExcelProperty("状态")
    private String statusName;
    @Schema(description = "BPM 流程实例ID", example = "xxx")
    private String processInstanceId;
    @Schema(description = "审核人用户编号", example = "1")
    private Long reviewerId;
    @Schema(description = "审核人姓名", example = "张三")
    @ExcelProperty("审核人")
    private String reviewerName;
    @Schema(description = "审核时间", example = "2024-01-01 10:00:00")
    @ExcelProperty("审核时间")
    private LocalDateTime reviewTime;
    @Schema(description = "审核意见(审核通过时的意见 / 审核不通过时的原因)", example = "同意")
    @ExcelProperty("审核意见")
    private String reviewRemark;
    @Schema(description = "审批完成时间", example = "2024-01-01 10:00:00")
    @ExcelProperty("审批通过时间")
    private LocalDateTime approveTime;
    @Schema(description = "附件地址", example = "https://xxx.com/xxx.pdf")
    private String fileUrl;
    @Schema(description = "附件列表")
    private List<StorageBlobRespDTO> attachmentList;
    @Schema(description = "备注", example = "备注信息")
    @ExcelProperty("备注")
    private String remark;
    @Schema(description = "创建时间", example = "2024-01-01 09:00:00")