package com.red.circle.game.fruit.application.dto.clientobject;

import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.io.Serial;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户每轮下注情况.
 * </p>
 *
 * @author lisizhe on 2023-11-30 19:18
 */
@Getter
@Setter
@Accessors(chain = true)
public class GameFruitUserBetCO extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 游戏轮数id.
   */
  private Long gameId;

  /**
   * 用户id.
   */
  private Long userId;

  /**
   * 奖品id.
   */
  private Long prizeId;

  /**
   * 用户投注.
   */
  private BigDecimal invest;

  /**
   * 下注奖励倍数.
   */
  private Integer award;

  /**
   * 是否中奖 1 是 0 否.
   */
  private Integer winner;

  /**
   * 奖品图片
   */
  private String prizeImg;
}
