From 57ce50108ffe8d85f9508529dbffea0c064c44a2 Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期四, 26 十月 2023 14:50:14 +0800
Subject: [PATCH] 四川省网关接口相关8

---
 src/main/java/com/fzzy/gateway/entity/GatewayDevice.java |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java b/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java
index 9497a15..1e9c529 100644
--- a/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java
+++ b/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java
@@ -1,9 +1,11 @@
 package com.fzzy.gateway.entity;
 
 import com.bstek.dorado.annotation.PropertyDef;
+
 import lombok.Data;
 
 import javax.persistence.*;
+
 import java.io.Serializable;
 
 /**
@@ -23,12 +25,11 @@
     @PropertyDef(label = "绯荤粺ID")
     private String id;
 
-
     @Column(name = "DEVICE_SN_", length = 50)
     @PropertyDef(label = "璁惧搴忓垪鍙�")
     private String deviceSn;
 
-    @Column(name = "DEVICE_ID_", length = 100)
+    @Column(name = "DEVICE_ID_", length = 50)
     @PropertyDef(label = "璁惧ID")
     private String deviceId;
 
@@ -56,6 +57,14 @@
     @PropertyDef(label = "閫氳绔彛")
     private Integer port;
 
+    @PropertyDef(label = "璁惧鐢ㄦ埛鍚�")
+    @Column(name = "username", length = 50)
+    private String userName;
+
+    @PropertyDef(label = "璁惧瀵嗙爜")
+    @Column(name = "password", length = 50)
+    private String password;
+
     @Column(name = "RTSP_", length = 100)
     @PropertyDef(label = "瑙嗛RTSP", description = "鐢ㄤ簬灞�鍩熺綉鍐呮姄鎷嶉厤缃�")
     private String rtsp;
@@ -65,13 +74,21 @@
     private String httpUrl;
 
     @PropertyDef(label = "涓婅鍗忚")
-    @Column(name = "pushProtocol", length = 20)
+    @Column(name = "PUSH_PROTOCOL_", length = 20)
     private String pushProtocol;
 
+    @PropertyDef(label = "鐪佸钩鍙板崗璁�")
+    @Column(name = "PROVINCE_PROTOCOL_", length = 20)
+    private String provinceProtocol;
+
     @PropertyDef(label = "鍚屾鍗忚")
-    @Column(name = "syncProtocol", length = 20)
+    @Column(name = "SYNC_PROTOCOL_", length = 20)
     private String syncProtocol;
 
+    @PropertyDef(label = "TCP鏈嶅姟绔彛", description = "閽堝缃戝叧浣滀负TCP鏈嶅姟鏃跺�欑鍙�")
+    @Column(name = "SER_PORT_")
+    private int serPort;
+
     @Column(name = "ORG_ID_", length = 40)
     @PropertyDef(label = "缁勭粐缂栫爜")
     private String orgId;

--
Gitblit v1.9.3