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 com.red.circle.framework.dto.ClientObject;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * 用户充值排行信息
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class UserRechargeRankCO extends ClientObject {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    private String account;

    /**
     * 用户头像
     */
    private String userAvatar;

    /**
     * 用户昵称
     */
    private String userName;

    /**
     * 靓号
     */
    private String specialAccount;

    /**
     * 充值金额（排行榜中隐藏，显示为***）
     */
    private String amount;
}
