From 3f0b65b6b8af5c8c0aa2efa57be3adf2398cd62c Mon Sep 17 00:00:00 2001 From: jiazx0107@163.com <jiazx0107@163.com> Date: 星期二, 31 十月 2023 21:10:30 +0800 Subject: [PATCH] 四川网关-提交测试 --- src/main/java/com/fzzy/gateway/entity/GatewayConf.java | 45 ++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 40 insertions(+), 5 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..622cc8d 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 { /** @@ -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"; } -- Gitblit v1.9.3