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.Serial;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * LuckyBox统计.
 * </p>
 *
 * @author zongpubin on 2023-08-23
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GameLuckyBoxCountInfoDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 参加人数.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long userCount;

  /**
   * 用户支出糖果数.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long userExpendCount;

  /**
   * 出奖糖果数.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long awardCount;

  /**
   * 减去抽奖券的出奖糖果数.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long awardNotTicketCount;

  /**
   * 已出抽奖券数量.
   */
  private Integer ticketCount;

  /**
   * 消耗抽奖券数量.
   */
  private Integer consumeTicketCount;

}
