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.Serializable;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * CP 里面存在双方信息.
 * </p>
 *
 * @author pengshigang
 * @since 2021-08-28
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ActivityCpUserRankingCO implements Serializable {

  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;

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

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

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

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

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

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

}
