package com.red.circle.other.infra.database.mongo.dto;

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

/**
 * @author pengliang on 2022/8/17
 */
@Data
@Accessors(chain = true)
public class ActivityAwardRankUser implements Serializable {

  private static final long serialVersionUID = 1L;

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

  /**
   * 贡献.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long quantity;

}
