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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 房间贡献top榜.
 *
 * @author pengliang on 2021/1/13
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class RoomContributionTopCO extends ClientObject {

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

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

  /**
   * 贡献.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long total;

}
