package com.red.circle.mq.business.model.event.gift;

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;

/**
 * 游戏幸运礼物抽奖.
 *
 * @author pengshigang on 2023/7/28
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GameLuckyGiftUser implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 接收用户.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long acceptUserId;

  /**
   * 获得用户累计送礼次数.
   */
  private Integer giftsCount;

  /**
   * 获得用户连续点击亏钱次数.
   */
  private Integer comboLossCount;

}
