2026-07-09 d41fe2e95f3f64c6e3a7229acd9e74e673513a0a
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
package cn.iocoder.yudao.module.hrm.controller.admin.approval.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - 请假申请 Response VO")
@Data
public class HrmLeaveApplicationRespVO {
 
    @Schema(description = "申请ID", example = "1")
    private Long id;
 
    @Schema(description = "申请单号", example = "LA202401001")
    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 leaveType;
 
    @Schema(description = "请假类型名称", example = "年假")
    private String leaveTypeName;
 
    @Schema(description = "开始时间", example = "2024-01-01 09:00:00")
    private LocalDateTime startTime;
 
    @Schema(description = "结束时间", example = "2024-01-02 18:00:00")
    private LocalDateTime endTime;
 
    @Schema(description = "请假时长(天)", example = "1.5")
    private BigDecimal duration;
 
    @Schema(description = "请假原因", example = "个人事务")
    private String reason;
 
    @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;
 
}