From f7178996ca77a1bccc941c0e7a73b36803e508cb Mon Sep 17 00:00:00 2001
From: vince <757871790@qq.com>
Date: 星期五, 01 三月 2024 16:13:11 +0800
Subject: [PATCH] 优化协议

---
 src/main/java/com/fzzy/gateway/entity/GatewayDevice.java |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java b/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java
index b69ac87..c8bb60d 100644
--- a/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java
+++ b/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java
@@ -59,6 +59,10 @@
     @PropertyDef(label = "搴撳尯绯荤粺浠撳簱缂栫爜")
     private String depotIdSys;
 
+    @Column(name = "DEPOT_TYPE_", length = 10)
+    @PropertyDef(label = "浠撳簱绫诲瀷", description = "骞虫埧浠�")
+    private String depotType;
+
     @Column(name = "IP_", length = 20)
     @PropertyDef(label = "閫氳IP")
     private String ip;
@@ -121,23 +125,23 @@
     @PropertyDef(label = "鍦ㄧ嚎鐘舵��")
     private String status = Constant.YN_Y;
 
-    @Column(name = "CABLE_START_")
+    @Column(name = "CABLE_START_", length = 4)
     @PropertyDef(label = "鐢电紗寮�濮�")
-    private int cableStart;
+    private String cableStart;
 
-    @Column(name = "CABLE_END_")
+    @Column(name = "CABLE_END_", length = 4)
     @PropertyDef(label = "鐢电紗鎴嚦")
-    private int cableEnd;
+    private String cableEnd;
 
-    @Column(name = "TH_ADDR_")
+    @Column(name = "TH_ADDR_",length = 4)
     @PropertyDef(label = "娓╂箍搴﹀湴鍧�")
     private String thAddr;
 
-    @Column(name = "CABLE_FORMAT", length = 4)
+    @Column(name = "CABLE_FORMAT_", length = 4)
     @PropertyDef(label = "鐢电紗鍒跺紡")
     private String cableFormat;
 
-    @Column(name = "CABLE_TYPE", length = 4)
+    @Column(name = "CABLE_TYPE_", length = 4)
     @PropertyDef(label = "鐢电紗绫诲瀷")
     private String cableType;
 
@@ -149,4 +153,8 @@
     @PropertyDef(label = "澶囨敞", description = "澶囨敞淇℃伅")
     private String remark;
 
+
+    @Column(name = "BH_ID_", length = 50)
+    @PropertyDef(label = "鍒嗘満鍐呴儴浠撳簱缂栫爜")
+    private String bhId;
 }

--
Gitblit v1.9.3