CZT
2023-11-02 99f928a971a5d2c58d5fafb38728471a39b5a759
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
package com.ld.igds.models;
 
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
 
/**
 * GPS设备配置
 *
 */
@Data
@Entity
@Table(name = "D_OA_GPS")
public class OAGps implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "主键ID")
    private String id;
    
    @Column(name = "NAME_", length = 50)
    @PropertyDef(label = "名称")
    private String name;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
    
    @Column(name = "BRAND_", length = 50)
    @PropertyDef(label = "设备品牌")
    private String brand;
 
    @Column(name = "DEPT_ID_", length = 40)
    @PropertyDef(label = "所属分库")
    private String deptId;
 
    @Column(name = "IP_", length = 20)
    @PropertyDef(label = "IP地址")
    private String ip;
 
    @Column(name = "PORT_")
    @PropertyDef(label = "端口号")
    private Integer port;
    
    @Column(name = "PROTOCOL_", length = 30)
    @PropertyDef(label = "GPS协议", description = "不同厂商有不同的协议")
    private String protocol;
 
    @Column(name = "REMARKS_", length = 200)
    @PropertyDef(label = "备注", description = "备注信息")
    private String remarks;
 
    @Column(name = "STATUS_", length = 10)
    @PropertyDef(label = "是否在线", description = "Y表示在线,N表示断开")
    private String status = "N";
 
    @Column(name = "UPDATE_TIME_")
    @PropertyDef(label = "更新时间")
    private Date updateTime;
 
    @Column(name = "PHONE_", length = 20)
    @PropertyDef(label = "设备手机号,即设备唯一标识码")
    private String phone;
 
    @Column(name = "SN_", length = 20)
    @PropertyDef(label = "鉴权码")
    private String sn;
}