vince
2024-04-26 b1c572949997a5d82d9b609163ff280a1c49627d
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
package com.fzzy.gateway.entity;
 
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
 
import javax.persistence.*;
import java.io.Serializable;
 
/**
 * 网关配置
 */
@Data
@Entity
@Table(name = "G_GATEWAY_CONF")
public class GatewayConf implements Serializable {
 
    /**
     *
     */
    private static final long serialVersionUID = 8687625896329163486L;
 
    @Id
    @PropertyDef(label = "库区代码")
    @Column(name = "kqdm", length = 50)
    private String kqdm;
 
    @PropertyDef(label = "库区名称")
    @Column(name = "kqmc", length = 100)
    private String kqmc;
 
    @PropertyDef(label = "网关ID")
    @Column(name = "gatewayId", length = 50)
    private String gatewayId;
 
    @PropertyDef(label = "网关IP")
    @Column(name = "gatewayIp", length = 20)
    private String gatewayIp;
 
    @PropertyDef(label = "网关Mac")
    @Column(name = "gatewayMac", length = 20)
    private String gatewayMac;
 
    @PropertyDef(label = "网关CPU")
    @Column(name = "gatewayCPU", length = 50)
    private String gatewayCPU;
 
    @PropertyDef(label = "网关内存")
    @Column(name = "gatewayMem", length = 50)
    private String gatewayMem;
 
    @PropertyDef(label = "网关硬盘")
    @Column(name = "gatewayHardDisk", length = 50)
    private String gatewayHardDisk;
 
    @PropertyDef(label = "网关用户名")
    @Column(name = "gatewayUsername", length = 50)
    private String gatewayUsername;
 
    @PropertyDef(label = "网关密码")
    @Column(name = "gatewayPassword", length = 50)
    private String gatewayPassword;
 
    @PropertyDef(label = "省平台用户名")
    @Column(name = "username", length = 50)
    private String userName;
 
    @PropertyDef(label = "省平台密码")
    @Column(name = "password", length = 50)
    private String password;
 
    @PropertyDef(label = "省平台加密公钥")
    @Column(name = "publicKey", length = 200)
    private String publicKey;
 
    @PropertyDef(label = "省平台加密私钥")
    @Column(name = "privateKey", length = 200)
    private String privateKey;
 
    @PropertyDef(label = "省平台鉴权口令")
    @Column(name = "accessToken", length = 200)
    private String accessToken;
 
    @PropertyDef(label = "省平台接口地址")
    @Column(name = "apiUrl", length = 200)
    private String apiUrl;
 
    @PropertyDef(label = "推送协议")
    @Column(name = "pushProtocol", length = 20)
    private String pushProtocol;
 
    @PropertyDef(label = "粮库系统库区代码")
    @Column(name = "deptId", length = 50)
    private String deptId;
 
    @PropertyDef(label = "是否上线")
    @Column(name = "exe_tag", length = 2)
    private String exeTag = "Y";
 
}