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

/**
 * 红包游戏事件.
 *
 * @author pengliang on 2021/5/18
 */
@Data
@Accessors(chain = true)
public class GameRedPacketEvent implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

}
