17 lines
414 B
Java
17 lines
414 B
Java
|
package com.example.catchTheLetters.entity;
|
||
|
|
||
|
import com.example.catchTheLetters.enums.RoomActionType;
|
||
|
import lombok.Data;
|
||
|
|
||
|
import java.io.Serializable;
|
||
|
|
||
|
@Data
|
||
|
public class RoomAction implements Serializable {
|
||
|
private RoomActionType type;
|
||
|
// 创建或加入房间时的token
|
||
|
private String token;
|
||
|
// 房主踢出玩家时或被邀请的玩家ID
|
||
|
private String userID;
|
||
|
private long roomID;
|
||
|
}
|