package com.red.circle.console.app.dto.clienobject.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.Data;
import lombok.experimental.Accessors;

/**
 * 活动活动用户排名.
 *
 * @author pengliang on 2022/8/12
 */
@Data
@Accessors(chain = true)
public class ActivityRankUseCO implements Serializable {

  private static final long serialVersionUID = 1L;

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

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

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

}
