提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.framework.websocket.core.sender.rabbitmq; |
H |
2 |
|
|
3 |
import lombok.Data; |
|
4 |
|
|
5 |
import java.io.Serializable; |
|
6 |
|
|
7 |
/** |
|
8 |
* RabbitMQ 广播 WebSocket 的消息 |
|
9 |
* |
|
10 |
* @author iailab |
|
11 |
*/ |
|
12 |
@Data |
|
13 |
public class RabbitMQWebSocketMessage implements Serializable { |
|
14 |
|
|
15 |
/** |
|
16 |
* Session 编号 |
|
17 |
*/ |
|
18 |
private String sessionId; |
|
19 |
/** |
|
20 |
* 用户类型 |
|
21 |
*/ |
|
22 |
private Integer userType; |
|
23 |
/** |
|
24 |
* 用户编号 |
|
25 |
*/ |
|
26 |
private Long userId; |
|
27 |
|
|
28 |
/** |
|
29 |
* 消息类型 |
|
30 |
*/ |
|
31 |
private String messageType; |
|
32 |
/** |
|
33 |
* 消息内容 |
|
34 |
*/ |
|
35 |
private String messageContent; |
|
36 |
|
|
37 |
} |