jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
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
package com.ld.igds.models;
 
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
import javax.persistence.*;
import java.util.Date;
import java.util.List;
 
/**
 * 公文流转记录
 * @author chen
 * @date 2023-02-17 16:00
 */
@Data
@Entity
@Table(name = "D_OA_DOCUMENT")
public class Document {
 
    @Id
    @Column(name = "ID_", length = 50)
    @PropertyDef(label = "ID")
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Column(name = "DEPT_ID_", length = 40)
    @PropertyDef(label = "所属分库")
    private String deptId;
 
    @Column(name = "NAME_", length = 50)
    @PropertyDef(label = "公文名称")
    private String name;
 
    @Column(name = "BIZ_ID_", length = 50)
    @PropertyDef(label = "业务ID")
    private String bizId;
 
    @Column(name = "FLOW_TYPE_", length = 10)
    @PropertyDef(label = "流程类型", description = "用于区分那个流程")
    private String flowType;
 
    @Column(name = "NODE_INDEX_")
    @PropertyDef(label = "当前节点")
    private int nodeIndex;
 
    @Column(name = "NODE_NAME_", length = 30)
    @PropertyDef(label = "当前流程中的节点名称")
    private String nodeName;
 
    @Column(name = "APPLY_USER_", length = 30)
    @PropertyDef(label = "申请人")
    private String applyUser;
 
    @Column(name = "APPLY_USER_NAME_", length = 30)
    @PropertyDef(label = "申请人")
    private String applyUserName;
 
    @Column(name = "APPLY_TIME_")
    @PropertyDef(label = "申请时间")
    private Date applyTime = new Date();
 
    @Column(name = "STATUS_", length = 30)
    @PropertyDef(label = "状态")
    private String status;
 
    @Column(name = "INFO_")
    @PropertyDef(label = "公文内容")
    private String info;
 
    @Column(name = "REMARK_", length = 500)
    @PropertyDef(label = "备注信息")
    private String remark;
 
    @Transient
    @PropertyDef(label = "附件信息")
    private List<FileInfo> files;
}