27 lines
651 B
Java
27 lines
651 B
Java
package com.xscm.moduleutil.bean;
|
|
|
|
import lombok.Data;
|
|
@Data
|
|
public class RoomMessageEvent1 {
|
|
private int MsgType; // 消息类型,如 QXRoomMessageTypeJoin
|
|
private String RoomId; // 房间 ID
|
|
private RoomMessageEvent.T Text; // 携带的数据对象
|
|
|
|
public RoomMessageEvent1(int msgType, String roomId, RoomMessageEvent.T text) {
|
|
MsgType = msgType;
|
|
RoomId = roomId;
|
|
Text = text;
|
|
}
|
|
|
|
|
|
@Data
|
|
public static class T {
|
|
private String text;
|
|
private String GiftNum;
|
|
|
|
private UserInfo FromUserInfo;
|
|
private UserInfo ToUserInfo;
|
|
private GiftBean GiftInfo;
|
|
}
|
|
}
|