jiazx0107@163.com
2023-11-18 41cd6c8db40bceb08290828ae0d4fc5caeea7147
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
package com.fzzy.gateway.entity;
 
import com.bstek.dorado.annotation.PropertyDef;
 
import lombok.Data;
 
import javax.persistence.*;
 
import java.io.Serializable;
 
/**
 * 网关相关的设备管理
 *
 * @author Andy
 */
@Data
@Entity
@Table(name = "G_GATEWAY_DEVICE")
public class GatewayDevice implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "系统ID")
    private String id;
 
    @Column(name = "DEVICE_SN_", length = 100)
    @PropertyDef(label = "设备序列号")
    private String deviceSn;
 
    @Column(name = "DEVICE_ID_", length = 50)
    @PropertyDef(label = "设备ID")
    private String deviceId;
 
    @Column(name = "DEVICE_NAME_", length = 50)
    @PropertyDef(label = "名称")
    private String deviceName;
 
    @Column(name = "PRODUCT_ID_", length = 50)
    @PropertyDef(label = "设备类型KEY")
    private String productId;
 
    @Column(name = "TYPE_", length = 10)
    @PropertyDef(label = "设备类型")
    private String type;
 
    @Column(name = "DEPOT_ID_", length = 30)
    @PropertyDef(label = "仓库编码")
    private String depotId;
 
    @Column(name = "DEPOT_NAME_", length = 50)
    @PropertyDef(label = "仓库名称")
    private String depotName;
 
    @Column(name = "DEPOT_ID_SYS_", length = 30)
    @PropertyDef(label = "库区系统仓库编码")
    private String depotIdSys;
 
    @Column(name = "IP_", length = 20)
    @PropertyDef(label = "通讯IP")
    private String ip;
 
    @Column(name = "PORT_")
    @PropertyDef(label = "通讯端口")
    private Integer port;
 
    @PropertyDef(label = "设备用户名")
    @Column(name = "USERNAME_", length = 50)
    private String userName;
 
    @PropertyDef(label = "设备密码")
    @Column(name = "PASSWORD_", length = 50)
    private String password;
 
    @Column(name = "RTSP_", length = 100)
    @PropertyDef(label = "视频RTSP", description = "用于局域网内抓拍配置")
    private String rtsp;
 
    @Column(name = "HTTP_URL_", length = 100)
    @PropertyDef(label = "HTTP地址", description = "针对HTTP的接口配置")
    private String httpUrl;
 
    @PropertyDef(label = "上行协议")
    @Column(name = "PUSH_PROTOCOL_", length = 20)
    private String pushProtocol;
 
//    @PropertyDef(label = "省平台协议")
//    @Column(name = "PROVINCE_PROTOCOL_", length = 20)
//    private String provinceProtocol;
 
    @PropertyDef(label = "同步协议")
    @Column(name = "SYNC_PROTOCOL_", length = 20)
    private String syncProtocol;
 
    @PropertyDef(label = "TCP服务端口", description = "针对网关作为TCP服务时候端口")
    @Column(name = "SER_PORT_")
    private int serPort;
 
    @Column(name = "ORG_ID_", length = 40)
    @PropertyDef(label = "组织编码")
    private String orgId;
 
    @Column(name = "POSITION_", length = 40)
    @PropertyDef(label = "位置")
    private String position;
 
    @Column(name = "REMARK_", length = 200)
    @PropertyDef(label = "备注", description = "备注信息")
    private String remark;
 
    @Column(name = "CABLE_RULE_", length = 20)
    @PropertyDef(label = "布线规则", description = "平方仓表示层行列,筒仓表示每圈的列数")
    private String cableRule;
 
    @Column(name = "CABLE_CIR_", length = 20)
    @PropertyDef(label = "筒仓层规则", description = "针对筒仓")
    private String cableCir;
 
}