From 21a96ad20fd75e55d03c00af8df8adb039f0c77a Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期二, 20 六月 2023 12:51:06 +0800 Subject: [PATCH] 修复通道刷新 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/RecordInfo.java | 23 +++++++++++++++++++---- 1 files changed, 19 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 04796eb..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,6 +1,7 @@ package com.genersoft.iot.vmp.gb28181.bean; -import lombok.Data; + +import io.swagger.v3.oas.annotations.media.Schema; import java.time.Instant; import java.util.List; @@ -10,23 +11,29 @@ * @author: swwheihei * @date: 2020骞�5鏈�8鏃� 涓嬪崍2:05:56 */ -@Data +@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() { @@ -84,4 +91,12 @@ 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