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 com.red.circle.other.inner.model.dto.live.RoomProfileDTO;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * lucky-box抽奖记录.
 * </p>
 *
 * @author zongpubin on 2023-08-18 17:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GameLuckyBoxCountDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 来源系统.
   */
  private String sysOrigin;

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

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

  /**
   * 支出金币.
   */
  private BigDecimal payAmount;

  /**
   * 抽奖频数(点击一次抽奖多少次).
   */
  private Integer frequency;

  /**
   * 中奖礼物总价值.
   */
  private BigDecimal giftAmount;

  /**
   * 房间信息.
   */
  private RoomProfileDTO roomProfile;

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


}
