1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| package jnpf.message.model.websocket.onconnettion;
|
| import jnpf.message.model.websocket.model.MessageModel;
| import io.swagger.v3.oas.annotations.media.Schema;
| import lombok.Data;
|
| import java.io.Serializable;
|
| /**
| * 用户在线推送模型
| *
| * @author JNPF开发平台组
| * @version V3.1.0
| * @copyright 引迈信息技术有限公司(https://www.jnpfsoft.com)
| * @date 2021-07-10
| */
| @Data
| public class OnLineModel extends MessageModel implements Serializable {
|
| /**
| * 在线用户
| */
| private String userId;
|
| public OnLineModel(String method, String userId) {
| super.method = method;
| this.userId = userId;
| }
| }
|
|