From 2b1f7a47394363e95deb4dfa0f1c67d41e747f7f Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 01 二月 2023 10:56:40 +0800 Subject: [PATCH] Merge branch 'wvp-28181-2.0' into fix-269 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformCatalog.java | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 116 insertions(+), 0 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 new file mode 100644 index 0000000..38ba2f0 --- /dev/null +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/PlatformCatalog.java @@ -0,0 +1,116 @@ +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; + + @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; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getPlatformId() { + return platformId; + } + + public void setPlatformId(String platformId) { + this.platformId = platformId; + } + + public String getParentId() { + return parentId; + } + + public void setParentId(String parentId) { + this.parentId = parentId; + } + + public int getChildrenCount() { + return childrenCount; + } + + public void setChildrenCount(int childrenCount) { + this.childrenCount = childrenCount; + } + + public int getType() { + return type; + } + + public void setType(int type) { + this.type = type; + } + + public void setTypeForCatalog() { + this.type = 0; + } + + public void setTypeForGb() { + this.type = 1; + } + + public void setTypeForStream() { + 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.8.0