jiazx0107@163.com
2023-10-31 3f0b65b6b8af5c8c0aa2efa57be3adf2398cd62c
src/main/java/com/fzzy/gateway/entity/GatewayConf.java
@@ -1,7 +1,6 @@
package com.fzzy.gateway.entity;
import com.bstek.dorado.annotation.PropertyDef;
import com.fzzy.api.Constant;
import lombok.Data;
import javax.persistence.*;
@@ -12,7 +11,7 @@
 */
@Data
@Entity
@Table(name = "G_CONF")
@Table(name = "G_GATEWAY_CONF")
public class GatewayConf implements Serializable {
    /**
@@ -29,11 +28,43 @@
    @Column(name = "kqmc", length = 100)
    private String kqmc;
    @PropertyDef(label = "用户名")
    @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 = "密码")
    @PropertyDef(label = "省平台密码")
    @Column(name = "password", length = 50)
    private String password;
@@ -45,6 +76,10 @@
    @Column(name = "apiUrl", length = 200)
    private String apiUrl;
    @PropertyDef(label = "appId")
    @Column(name = "appId", length = 50)
    private String appId;
    @PropertyDef(label = "推送协议")
    @Column(name = "pushProtocol", length = 20)
    private String pushProtocol;
@@ -55,6 +90,6 @@
    @PropertyDef(label = "是否上线")
    @Column(name = "exe_tag", length = 2)
    private String exeTag = Constant.YN_Y;
    private String exeTag = "Y";
}