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
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_ACCESS")
public class DoorAccess implements Serializable {
 
    /**
     *
     */
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private int id;
 
    @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 = "权限仓库",description = "多个用逗号隔开")
    private String depotId;
 
    @Column(name = "USER_", length = 30)
    @PropertyDef(label = "权限人员")
    private String user;
 
    @Column(name = "TOKEN_", length = 8)
    @PropertyDef(label = "令牌")
    private String token;
 
    @Column(name = "START_")
    @PropertyDef(label = "有效开始时间")
    private Date start;
 
    @Column(name = "END_")
    @PropertyDef(label = "有效截止时间")
    private Date end;
 
}