YYC
2023-07-21 d54186539b00fab8f4b639752aaf9b758c914ffd
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
package com.ld.igds.models;
 
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
 
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
 
/**
 * 门禁记录表
 *
 */
@Data
@Entity
@Table(name = "D_DOOR_RECORD")
public class DoorRecord implements Serializable {
 
    /**
     *
     */
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private int id;
 
    @Column(name = "APPLY_ID_", length = 40)
    @PropertyDef(label = "申请表ID")
    private String applyId;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Column(name = "DEPT_ID_", length = 30)
    @PropertyDef(label = "所属分库")
    private String deptId;
 
    @Column(name = "DEPOT_ID_", length = 50)
    @PropertyDef(label = "门仓库")
    private String depotId;
 
    @Column(name = "DOOR_NAME_", length = 50)
    @PropertyDef(label = "门名称")
    private String doorName;
 
    @Column(name = "USER_", length = 20)
    @PropertyDef(label = "开门人")
    private String user;
 
    @Column(name = "USER_NAME_", length = 30)
    @PropertyDef(label = "开门人中文名")
    private String userName;
 
    @Column(name = "DOOR_TYPE_", length = 10)
    @PropertyDef(label = "类型", description = "开门或者关门")
    private String doorType;
 
    @Column(name = "IS_NORMAL", length = 10)
    @PropertyDef(label = "是否正常开门", description = "开关门-正常,开关门-警告")
    private String isNormal;
 
    @Column(name = "TIME_")
    @PropertyDef(label = "开门时间")
    private Date time;
 
    @Column(name = "INFO_", length = 100)
    @PropertyDef(label = "说明")
    private String info;
 
    @Column(name = "IMG1", length = 100)
    @PropertyDef(label = "抓拍记录1")
    private String img1;
 
    @Column(name = "IMG2", length = 100)
    @PropertyDef(label = "抓拍记录2")
    private String img2;
 
    @Column(name = "IMG3", length = 100)
    @PropertyDef(label = "抓拍记录3")
    private String img3;
 
}