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.util.Objects;

/**
 * 周星贡献模型.
 *
 * @author pengliang on 2021/4/20
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class LastWeekStarGiftUserRankCO extends ClientObject {

  /**
   * 礼物id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long giftId;

  /**
   * 礼物图片.
   */
  private String giftUrl;

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

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

  /**
   * 用户昵称.
   */
  private String userNickname;

  /**
   * 贡献数量.
   */
  private String quantity;

  /**
   * 国家名称.
   */
  private String countryName;

  /**
   * 国家编码.
   */
  private String countryCode;

}
