package cc.mrbird.febs.mall.vo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.math.BigDecimal; import java.util.Date; import java.util.List; @Data @ApiModel(value = "ApiGamePlayerVo", description = "信息返回类") public class ApiGamePlayerVo { @ApiModelProperty(value = "房间ID") private Long roomId; @ApiModelProperty(value = "当前局游戏ID") private Long gameId; @ApiModelProperty(value = "身份类型 1-房主 2-玩家") private Integer playerType;//房间类型 1-初级房2-土豪房3-尊爵房 @ApiModelProperty(value = "余额") private BigDecimal balance; @ApiModelProperty(value = "时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createdTime; @ApiModelProperty(value = "一局游戏时长") private Integer gameTime; @ApiModelProperty(value = "房间类型 1-初级房2-土豪房3-尊爵房") private Integer roomType;//房间类型 1-初级房2-土豪房3-尊爵房 @ApiModelProperty(value = "房主昵称") private String roomOwner;//房间类型 1-初级房2-土豪房3-尊爵房 @ApiModelProperty(value = "房间状态0-未开始1-正常2-结束") private Integer state;//房间状态0-未开始1-正常2-结束 @ApiModelProperty(value = "房间唯一编码,自动生成") private String password;//房间密码(房间唯一编码,自动生成) @ApiModelProperty(value = "历史开奖记录目前是5局") private List apiGameGameVos;//房间密码(房间唯一编码,自动生成) }