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

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

/**
 * 游戏LuckyBox抽奖.
 *
 * @author zongpubin on 2023/9/7
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GameLuckyBoxCountUser implements Serializable {

  private static final long serialVersionUID = 1L;

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

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

  /**
   * 抽奖记录ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long countId;

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

  /**
   * 中奖数量.
   */
  private Integer quantity;

}
