package com.red.circle.other.inner.model.dto.game;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * ludo游戏玩家
 * </p>
 *
 * @author pengliang
 * @since 2022-05-07
 */
@Data
@Accessors(chain = true)
public class GameLudoPlayersDTO implements Serializable {

  private static final long serialVersionUID = 1L;

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

  /**
   * 游戏id
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long gameId;

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

  /**
   * 消费金额
   */
  private BigDecimal consumeJoinAmount;

  /**
   * 棋盘color
   */
  private String checkerboardColor;

  /**
   * 0.不是 1.是
   */
  private Boolean initiator;

  /**
   * 名次
   */
  private Integer rankingIndex;

  /**
   * 创建时间.
   */
  private Timestamp createTime;
}
