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/gb28181/bean/RecordInfo.java | 46 ++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 42 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/RecordInfo.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/RecordInfo.java index 0aaa687..7ff5283 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/RecordInfo.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/RecordInfo.java @@ -1,25 +1,39 @@ package com.genersoft.iot.vmp.gb28181.bean; -//import gov.nist.javax.sip.header.SIPDate; +import io.swagger.v3.oas.annotations.media.Schema; +import java.time.Instant; import java.util.List; /** - * @Description:璁惧褰曞儚淇℃伅bean + * @description:璁惧褰曞儚淇℃伅bean * @author: swwheihei * @date: 2020骞�5鏈�8鏃� 涓嬪崍2:05:56 */ +@Schema(description = "璁惧褰曞儚鏌ヨ缁撴灉淇℃伅") public class RecordInfo { + @Schema(description = "璁惧缂栧彿") private String deviceId; + @Schema(description = "閫氶亾缂栧彿") private String channelId; + @Schema(description = "鍛戒护搴忓垪鍙�") + private String sn; + + @Schema(description = "璁惧鍚嶇О") private String name; - + + @Schema(description = "鍒楄〃鎬绘暟") private int sumNum; - + + private int count; + + private Instant lastTime; + + @Schema(description = "") private List<RecordItem> recordList; public String getDeviceId() { @@ -61,4 +75,28 @@ public void setChannelId(String channelId) { this.channelId = channelId; } + + public String getSn() { + return sn; + } + + public void setSn(String sn) { + this.sn = sn; + } + + public Instant getLastTime() { + return lastTime; + } + + public void setLastTime(Instant lastTime) { + this.lastTime = lastTime; + } + + public int getCount() { + return count; + } + + public void setCount(int count) { + this.count = count; + } } -- Gitblit v1.8.0