package com.red.circle.other.app.dto.clientobject.sys;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serializable;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;

/**
 * 系统活动统计-排行榜.
 *
 * @author pengliang on 2022/8/16
 */
@Data
@Accessors(chain = true)
@FieldDefaults(level = AccessLevel.PRIVATE)
public class SysActivityCountRankCO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 用户资料.
   */
  UserProfileDTO userProfile;

  /**
   * 数量.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  Long quantity;

  /**
   * 数量-格式化.
   */
  String quantityFormat;

}
