From 233c0e20548cadafb77efdcb3418f38c6658bbad Mon Sep 17 00:00:00 2001 From: jiazx0107@163.com <jiazx0107@163.com> Date: 星期四, 26 十月 2023 14:20:57 +0800 Subject: [PATCH] 四川省网关接口相关7 --- src/main/java/com/fzzy/gateway/entity/GatewayDevice.java | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java b/src/main/java/com/fzzy/gateway/entity/GatewayDevice.java index f10ec07..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; /** @@ -27,7 +29,7 @@ @PropertyDef(label = "璁惧搴忓垪鍙�") private String deviceSn; - @Column(name = "DEVICE_ID_", length = 100) + @Column(name = "DEVICE_ID_", length = 50) @PropertyDef(label = "璁惧ID") private String deviceId; @@ -54,7 +56,15 @@ @Column(name = "PORT_") @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; @@ -67,6 +77,10 @@ @Column(name = "PUSH_PROTOCOL_", length = 20) private String pushProtocol; + @PropertyDef(label = "鐪佸钩鍙板崗璁�") + @Column(name = "PROVINCE_PROTOCOL_", length = 20) + private String provinceProtocol; + @PropertyDef(label = "鍚屾鍗忚") @Column(name = "SYNC_PROTOCOL_", length = 20) private String syncProtocol; -- Gitblit v1.9.3