server api添加订阅接口

This commit is contained in:
heavyrian2012
2022-08-20 13:43:12 +08:00
parent 48c9b10365
commit 05fe5bd766
5 changed files with 134 additions and 3 deletions
@@ -0,0 +1,48 @@
/*
* This file is part of the Wildfire Chat package.
* (c) Heavyrain2012 <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package cn.wildfirechat.pojos;
public class InputSubscribeChannel {
private String channelId;
private String userId;
private int subscribe; //1,订阅;0,取消订阅
public InputSubscribeChannel() {
}
public InputSubscribeChannel(String channelId, String userId, int subscribe) {
this.channelId = channelId;
this.userId = userId;
this.subscribe = subscribe;
}
public String getChannelId() {
return channelId;
}
public void setChannelId(String channelId) {
this.channelId = channelId;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public int getSubscribe() {
return subscribe;
}
public void setSubscribe(int subscribe) {
this.subscribe = subscribe;
}
}