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.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 每周用户关系卡片统计.
 *
 * @author pengshigang on 2022/7/11
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ActivityFriendshipCardRankingCO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

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

  /**
   * 用户性别:0 女，1 男.
   */
  private Integer userSex;

  /**
   * 卡片类型.
   */
  private String cardType;


  /**
   * 双方一共消耗金币
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long totalNumber;
  private String total;

  /**
   * ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long twoUserId;

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

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

  /**
   * 用户性别:0 女，1 男.
   */
  private Integer twoUserSex;

  /**
   * 时间段 07.01 - 08.29
   */
  private String period;

  /**
   * 用户.
   */
  private List<UserProfileDTO> userProfiles;

}
