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/service/bean/MessageForPushChannel.java |  131 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 131 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java b/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java
new file mode 100644
index 0000000..8491fc5
--- /dev/null
+++ b/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java
@@ -0,0 +1,131 @@
+package com.genersoft.iot.vmp.service.bean;
+
+import java.util.stream.Stream;
+
+/**
+ * 褰撲笂绾у钩鍙�
+ * @author lin
+ */
+public class MessageForPushChannel {
+    /**
+     * 娑堟伅绫诲瀷
+     * 0 娴佹敞閿� 1 娴佹敞鍐�
+     */
+    private int type;
+
+    /**
+     * 娴佸簲鐢ㄥ悕
+     */
+    private String app;
+
+    /**
+     * 娴両d
+     */
+    private String stream;
+
+    /**
+     * 鍥芥爣ID
+     */
+    private String gbId;
+
+    /**
+     * 璇锋眰鐨勫钩鍙癐D
+     */
+    private String platFormId;
+
+    /**
+     * 璇锋眰骞冲彴鍚嶇О
+     */
+    private String platFormName;
+
+    /**
+     * WVP鏈嶅姟ID
+     */
+    private String serverId;
+
+    /**
+     * 鐩爣娴佸獟浣撹妭鐐笽D
+     */
+    private String mediaServerId;
+
+
+
+    public static MessageForPushChannel getInstance(int type, String app, String stream, String gbId,
+                                                    String platFormId, String platFormName, String serverId,
+                                                    String mediaServerId){
+        MessageForPushChannel messageForPushChannel = new MessageForPushChannel();
+        messageForPushChannel.setType(type);
+        messageForPushChannel.setGbId(gbId);
+        messageForPushChannel.setApp(app);
+        messageForPushChannel.setStream(stream);
+        messageForPushChannel.setMediaServerId(mediaServerId);
+        messageForPushChannel.setPlatFormId(platFormId);
+        messageForPushChannel.setPlatFormName(platFormName);
+        return messageForPushChannel;
+    }
+
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public String getApp() {
+        return app;
+    }
+
+    public void setApp(String app) {
+        this.app = app;
+    }
+
+    public String getStream() {
+        return stream;
+    }
+
+    public void setStream(String stream) {
+        this.stream = stream;
+    }
+
+    public String getGbId() {
+        return gbId;
+    }
+
+    public void setGbId(String gbId) {
+        this.gbId = gbId;
+    }
+
+    public String getPlatFormId() {
+        return platFormId;
+    }
+
+    public void setPlatFormId(String platFormId) {
+        this.platFormId = platFormId;
+    }
+
+    public String getPlatFormName() {
+        return platFormName;
+    }
+
+    public void setPlatFormName(String platFormName) {
+        this.platFormName = platFormName;
+    }
+
+    public String getServerId() {
+        return serverId;
+    }
+
+    public void setServerId(String serverId) {
+        this.serverId = serverId;
+    }
+
+    public String getMediaServerId() {
+        return mediaServerId;
+    }
+
+    public void setMediaServerId(String mediaServerId) {
+        this.mediaServerId = mediaServerId;
+    }
+}

--
Gitblit v1.8.0