package com.red.circle.game.fruit.infrastructure.database.memory.entity;

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


/**
 * 游戏每轮奖品下注.
 *
 * @author lisizhe on 2023/5/11
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserPrizeBetMemory implements Serializable {


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

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

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