package com.red.circle.other.app.dto.clientobject.user.relation.cp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
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.enums.user.UserCpLevelEnum;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * cp用户资料
 *
 * @author pengliang on 2021/6/30
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class CpCabinUserProfileCO extends ClientObject {

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

  /**
   * 组建天数.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long days;

  /**
   * cp等级称号.
   */
  private UserCpLevelEnum level;

  /**
   * 小屋配置.
   */
  private List<CpCabinConfigCO> cpCabinConfigCO;

  /**
   * 当前佩戴的小屋.
   */
  private CpCabinConfigCO currentCpCabinConfigCO;

  /**
   * 送礼成员.
   */
  private List<UserCpCabinSpecialMemberCO> members;

}
