package com.red.circle.other.app.dto.clientobject.game;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 获取游戏最新情况.
 *
 * @author pengliang on 2021/7/27
 */

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GameLudoRunCO extends ClientObject {

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 归属系统.
   */
  private String sysOrigin;

  /**
   * 房间id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long roomId;

  /**
   * 创建游戏用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long userId;

  /**
   * 游戏状态.
   */
  private String gameStatus;

  /**
   * 游戏状态事件.
   */
  private String gameStatusEvent;

  /**
   * 加入金额.
   */
  private BigDecimal joinAmount;

  /**
   * 游戏奖金.
   */
  private BigDecimal bonus;

  /**
   * 锁定座位.
   */
  private String lockSeat;

  /**
   * 玩家信息.
   */
  private List<GameLudoPlayerCO> players;

  /**
   * 创建事件.
   */
  private Timestamp createTime;


}
