From 4b0551504e9bb3ea66292bfbf85d7937a7af8946 Mon Sep 17 00:00:00 2001
From: vince <757871790@qq.com>
Date: 星期四, 09 十一月 2023 12:09:19 +0800
Subject: [PATCH] 手动测试
---
src/main/java/com/fzzy/gateway/entity/GatewayConf.java | 49 ++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 44 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..2284dd6 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,17 +28,57 @@
@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;
@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 = "鐪佸钩鍙版帴鍙e湴鍧�")
@Column(name = "apiUrl", length = 200)
@@ -55,6 +94,6 @@
@PropertyDef(label = "鏄惁涓婄嚎")
@Column(name = "exe_tag", length = 2)
- private String exeTag = Constant.YN_Y;
+ private String exeTag = "Y";
}
--
Gitblit v1.9.3