package com.red.circle.other.inner.model.dto.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * CP简化用户资料
 */
@Data
@Accessors(chain = true)
public class CpSimpleUserProfileCO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 用户ID
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long meUserId;

  /**
   * 账号
   */
  private String meAccount;

  /**
   * 用户头像
   */
  private String meUserAvatar;

  /**
   * 用户昵称
   */
  private String meUserNickname;

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

  /**
   * CP账号
   */
  private String cpAccount;

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

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

  private Long cpValId;

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

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

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

  private Timestamp createTime;

}
