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.model.dto.user.UserProfileDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

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

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

  /**
   * cp用户资料.
   */
  private UserProfileDTO cpUserProfile;


  /**
   * CP关系状态（NORMAL-正常, DISMISSING-分手中）
   */
  private String status;

  /**
   * 心动值
   */
  private BigDecimal cpValue;

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

  /**
   * 开始组件的日期
   */
  private String firstDay;


}
