From f1d079f9c0b3d384090477ca54e0548373d62b57 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Thu, 16 Jan 2025 11:56:39 +0800
Subject: [PATCH] 配置修改
---
src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformCatalog.java | 49 +++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 47 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformCatalog.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformCatalog.java
index 065971d..38ba2f0 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformCatalog.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformCatalog.java
@@ -1,12 +1,42 @@
package com.genersoft.iot.vmp.gb28181.bean;
+import io.swagger.v3.oas.annotations.media.Schema;
+
+/**
+ * 国标级联-目录
+ * @author lin
+ */
+@Schema(description = "目录信息")
public class PlatformCatalog {
+ @Schema(description = "ID")
private String id;
+
+ @Schema(description = "名称")
private String name;
+
+ @Schema(description = "平台ID")
private String platformId;
+
+ @Schema(description = "父级目录ID")
private String parentId;
- private int childrenCount; // 子节点数
- private int type; // 0 目录, 1 国标通道, 2 直播流
+
+ @Schema(description = "行政区划")
+ private String civilCode;
+
+ @Schema(description = "目录分组")
+ private String businessGroupId;
+
+ /**
+ * 子节点数
+ */
+ @Schema(description = "子节点数")
+ private int childrenCount;
+
+ /**
+ * 0 目录, 1 国标通道, 2 直播流
+ */
+ @Schema(description = "类型:0 目录, 1 国标通道, 2 直播流")
+ private int type;
public String getId() {
return id;
@@ -68,4 +98,19 @@
this.type = 2;
}
+ public String getCivilCode() {
+ return civilCode;
+ }
+
+ public void setCivilCode(String civilCode) {
+ this.civilCode = civilCode;
+ }
+
+ public String getBusinessGroupId() {
+ return businessGroupId;
+ }
+
+ public void setBusinessGroupId(String businessGroupId) {
+ this.businessGroupId = businessGroupId;
+ }
}
--
Gitblit v1.9.3