package com.red.circle.other.infra.database.mongo.entity.game.luckygift;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 幸运礼物游戏奖金池.
 *
 * @author pengshigang on 2023/3/22
 */
@Data
@Accessors(chain = true)
@Document("game_lucky_gift_bonus_pool")
public class GameLuckyGiftBonusPool implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 记录ID.
   */
  @Id
  private String id;

  /**
   * 平台.
   */
  private String sysOrigin;

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

  /**
   * 奖金池(低倍率专用奖金池).
   */
  private Long lowBonusPool;

  /**
   * 奖金池(高倍率专用奖金池).
   */
  private Long highBonusPool;

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

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

}
