package cc.mrbird.febs.mall.entity; import cc.mrbird.febs.common.entity.BaseEntity; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; @Data @TableName("game_room") public class GameRoom extends BaseEntity { private Integer roomType;//房间类型 1-初级房2-土豪房3-尊爵房 private String password;//房间密码(房间唯一编码,自动生成) private Long ownerMemberId;//房主用户表ID private String roomOwner;//房主用户表ID private Integer state;//房间状态0-未开始1-正常2-结束 public static final Integer STATE_READY = 0; public static final Integer STATE_ING = 1; public static final Integer STATE_DONE = 2; private Integer gameTime;//游戏时长 }