From 03e26beab1d9c382b685c26059e6dec274a0d7d4 Mon Sep 17 00:00:00 2001 From: jiazx0107@163.com <jiazx0107@163.com> Date: 星期三, 25 十月 2023 16:44:29 +0800 Subject: [PATCH] 四川省网关接口相关5 --- src/main/java/com/fzzy/gateway/entity/GatewayConf.java | 33 ++++++++++++++++++++++++++++++--- 1 files changed, 30 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/fzzy/gateway/entity/GatewayConf.java b/src/main/java/com/fzzy/gateway/entity/GatewayConf.java index 8d14917..71cae3c 100644 --- a/src/main/java/com/fzzy/gateway/entity/GatewayConf.java +++ b/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 { /** @@ -28,6 +27,30 @@ @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 = "username", length = 50) @@ -45,6 +68,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 +82,6 @@ @PropertyDef(label = "鏄惁涓婄嚎") @Column(name = "exe_tag", length = 2) - private String exeTag = Constant.YN_Y; + private String exeTag = "Y"; } -- Gitblit v1.9.3