From 5d901b5e3f033e8b04e53420d68626cbd87431c8 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期五, 06 五月 2022 10:12:34 +0800
Subject: [PATCH] 使用阿里代码规范。规范代码写法

---
 src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java |  140 +++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 135 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java
index ddd964b..7c23a2f 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java
@@ -3,6 +3,11 @@
 public class ParentPlatform {
 
     /**
+     * id
+     */
+    private Integer id;
+
+    /**
      * 鏄惁鍚敤
      */
     private boolean enable;
@@ -81,7 +86,7 @@
     /**
      * 鍏佽浜戝彴鎺у埗
      */
-    private boolean PTZEnable;
+    private boolean ptz;
 
     /**
      * RTCP娴佷繚娲�
@@ -94,6 +99,58 @@
      */
     private boolean status;
 
+    /**
+     * 鍦ㄧ嚎鐘舵��
+     */
+    private int channelCount;
+
+    /**
+     * 鍏变韩鎵�鏈夌殑鐩存挱娴�
+     */
+    private boolean shareAllLiveStream;
+
+    /**
+     * 榛樿鐩綍Id,鑷姩娣诲姞鐨勯�氶亾澶氭斁鍦ㄨ繖涓洰褰曚笅
+     */
+    private String catalogId;
+
+    /**
+     * 宸茶璁㈤槄鐩綍淇℃伅
+     */
+    private boolean catalogSubscribe;
+
+    /**
+     * 宸茶璁㈤槄鎶ヨ淇℃伅
+     */
+    private boolean alarmSubscribe;
+
+    /**
+     * 宸茶璁㈤槄绉诲姩浣嶇疆淇℃伅
+     */
+    private boolean mobilePositionSubscribe;
+
+    /**
+     * 鐐规挱鏈帹娴佺殑璁惧鏃舵槸鍚︿娇鐢╮edis閫氱煡鎷夎捣
+     */
+    private boolean startOfflinePush;
+
+    /**
+     * 鐩綍鍒嗙粍-姣忔鍚戜笂绾у彂閫侀�氶亾淇℃伅鏃跺崟涓寘鎼哄甫鐨勯�氶亾鏁伴噺锛屽彇鍊�1,2,4,8
+     */
+    private int catalogGroup;
+
+    /**
+     * 琛屾斂鍖哄垝
+     */
+    private String administrativeDivision;
+
+    public Integer getId() {
+        return id;
+    }
+
+    public void setId(Integer id) {
+        this.id = id;
+    }
 
     public boolean isEnable() {
         return enable;
@@ -215,12 +272,12 @@
         this.characterSet = characterSet;
     }
 
-    public boolean isPTZEnable() {
-        return PTZEnable;
+    public boolean isPtz() {
+        return ptz;
     }
 
-    public void setPTZEnable(boolean PTZEnable) {
-        this.PTZEnable = PTZEnable;
+    public void setPtz(boolean ptz) {
+        this.ptz = ptz;
     }
 
     public boolean isRtcp() {
@@ -238,4 +295,77 @@
     public void setStatus(boolean status) {
         this.status = status;
     }
+
+    public int getChannelCount() {
+        return channelCount;
+    }
+
+    public void setChannelCount(int channelCount) {
+        this.channelCount = channelCount;
+    }
+
+
+    public boolean isShareAllLiveStream() {
+        return shareAllLiveStream;
+    }
+
+    public void setShareAllLiveStream(boolean shareAllLiveStream) {
+        this.shareAllLiveStream = shareAllLiveStream;
+    }
+
+    public String getCatalogId() {
+        return catalogId;
+    }
+
+    public void setCatalogId(String catalogId) {
+        this.catalogId = catalogId;
+    }
+
+    public boolean isCatalogSubscribe() {
+        return catalogSubscribe;
+    }
+
+    public void setCatalogSubscribe(boolean catalogSubscribe) {
+        this.catalogSubscribe = catalogSubscribe;
+    }
+
+    public boolean isAlarmSubscribe() {
+        return alarmSubscribe;
+    }
+
+    public void setAlarmSubscribe(boolean alarmSubscribe) {
+        this.alarmSubscribe = alarmSubscribe;
+    }
+
+    public boolean isMobilePositionSubscribe() {
+        return mobilePositionSubscribe;
+    }
+
+    public void setMobilePositionSubscribe(boolean mobilePositionSubscribe) {
+        this.mobilePositionSubscribe = mobilePositionSubscribe;
+    }
+
+    public boolean isStartOfflinePush() {
+        return startOfflinePush;
+    }
+
+    public void setStartOfflinePush(boolean startOfflinePush) {
+        this.startOfflinePush = startOfflinePush;
+    }
+
+    public int getCatalogGroup() {
+        return catalogGroup;
+    }
+
+    public void setCatalogGroup(int catalogGroup) {
+        this.catalogGroup = catalogGroup;
+    }
+
+    public String getAdministrativeDivision() {
+        return administrativeDivision;
+    }
+
+    public void setAdministrativeDivision(String administrativeDivision) {
+        this.administrativeDivision = administrativeDivision;
+    }
 }

--
Gitblit v1.8.0