From 8fdd10d1c2723ead1d2c3b232f64f292ba3ce1cc Mon Sep 17 00:00:00 2001
From: che_shuai <che_shuai@massclouds>
Date: 星期一, 24 七月 2023 14:10:46 +0800
Subject: [PATCH] 修复在国标级联选择通道时,如果添加通道到跟平台根目录(即平台本身),无法触发目录变更事件问题.详见 https://github.com/648540858/wvp-GB28181-pro/issues/958

---
 src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/platform/bean/ChannelReduce.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/platform/bean/ChannelReduce.java b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/platform/bean/ChannelReduce.java
index 10015e4..2b01d45 100644
--- a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/platform/bean/ChannelReduce.java
+++ b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/platform/bean/ChannelReduce.java
@@ -1,55 +1,66 @@
 package com.genersoft.iot.vmp.vmanager.gb28181.platform.bean;
 
 import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
+import io.swagger.v3.oas.annotations.media.Schema;
 
 /**
  * 绮剧畝鐨刢hannel淇℃伅灞曠ず锛屼富瑕佹槸閫夋嫨閫氶亾鐨勬椂鍊欏睍绀哄垪琛ㄤ娇鐢�
  */
+@Schema(description = "绮剧畝鐨刢hannel淇℃伅灞曠ず")
 public class ChannelReduce {
 
     /**
      * deviceChannel鐨勬暟鎹簱鑷ID
      */
+    @Schema(description = "deviceChannel鐨勬暟鎹簱鑷ID")
     private int id;
 
     /**
      * 閫氶亾id
      */
+    @Schema(description = "閫氶亾鍥芥爣缂栧彿")
     private String channelId;
 
     /**
      * 璁惧id
      */
+    @Schema(description = "璁惧鍥芥爣缂栧彿")
     private String deviceId;
 
     /**
      * 閫氶亾鍚�
      */
+    @Schema(description = "閫氶亾鍚�")
     private String name;
 
     /**
      * 鐢熶骇鍘傚晢
      */
+    @Schema(description = "鐢熶骇鍘傚晢")
     private String manufacturer;
 
     /**
      * wan鍦板潃
      */
+    @Schema(description = "wan鍦板潃")
     private String  hostAddress;
 
     /**
      * 瀛愯妭鐐规暟
      */
+    @Schema(description = "瀛愯妭鐐规暟")
     private int  subCount;
 
     /**
      * 骞冲彴Id
      */
+    @Schema(description = "骞冲彴涓婄骇鍥芥爣缂栧彿")
     private String  platformId;
 
     /**
      * 鐩綍Id
      */
+    @Schema(description = "鐩綍鍥芥爣缂栧彿")
     private String  catalogId;
 
     public int getId() {

--
Gitblit v1.8.0