liding
昨天 acc94dd2dc309e50882f7b10c20d955ed2f14716
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
package com.ruoyi.approve.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.time.LocalDateTime;
 
/**
 * <p>
 * 审批实例表
 * </p>
 *
 * @author 芯导软件(江苏)有限公司
 * @since 2026-05-18 03:27:46
 */
@Getter
@Setter
@ToString
@TableName("approval_instance")
@ApiModel(value = "ApprovalInstance对象", description = "审批实例表")
public class ApprovalInstance implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 审批实例ID
     */
    @Schema(description ="审批实例ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * 审批编号
     */
    @Schema(description ="审批编号")
    private String instanceNo;
 
    /**
     * 模板ID
     */
    @Schema(description ="模板ID")
    private Long templateId;
 
    /**
     * 模板名称
     */
    @Schema(description ="模板名称")
    private String templateName;
 
    /**
     * 业务ID
     */
    @Schema(description ="业务ID")
    private Long businessId;
 
    /**
     * 业务类型
     */
    @Schema(description ="业务类型")
    private Long businessType;
 
    /**
     * 审批标题
     */
    @Schema(description ="审批标题")
    private String title;
 
    /**
     * 审批状态
     */
    @Schema(description ="审批状态 PENDING - 待审批/进行中  APPROVED - 已通过/已完成  REJECTED - 已驳回")
    private String status;
 
    /**
     * 当前审批级别
     */
    @Schema(description ="当前审批级别")
    private Integer currentLevel;
 
    /**
     * 申请人ID
     */
    @Schema(description ="申请人ID")
    private Long applicantId;
 
    /**
     * 申请人名称
     */
    @Schema(description ="申请人名称")
    private String applicantName;
 
    /**
     * 申请时间
     */
    @Schema(description ="申请时间")
    private LocalDateTime applyTime;
 
    /**
     * 完成时间
     */
    @Schema(description ="完成时间")
    private LocalDateTime finishTime;
 
    /**
     * 创建人
     */
    @Schema(description ="创建人")
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
 
    /**
     * 创建时间
     */
    @Schema(description ="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    /**
     * 更新人
     */
    @Schema(description ="更新人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
 
    /**
     * 更新时间
     */
    @Schema(description ="更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
    /**
     * 逻辑删除
     */
    @Schema(description ="逻辑删除")
    private Byte deleted;
 
    @Schema(description = "表单数据")
    private String formConfig;
}