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

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

import java.io.Serial;
import java.io.Serializable;

/**
 * 排名用户VO.
 */
@Data
@Accessors(chain = true)
public class RankingUserVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 账号.
     */
    private String account;

    /**
     * 昵称.
     */
    private String nickname;

    /**
     * 头像.
     */
    private String avatar;

    /**
     * 排名.
     */
    private Integer rank;

    /**
     * 数量/分数.
     */
    private String quantity;
}
