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";
|
|
}
|