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

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 徽章事件消息.
 *
 * @author pengliang on 2021/4/8
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BadgeEvent implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 用户id.
   */
  private Long userId;

  /**
   * 徽章类型.
   */
  private String badgeKey;

}
