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

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 java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 友谊卡申请模型.
 *
 * @author pengshigang
 * @since 2022-06-09
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserFriendCardApplyCO extends ClientObject {

  private static final long serialVersionUID = 1L;

  /**
   * 记录id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  Long id;

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

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

  /**
   * 状态.
   */
  String status;

  /**
   * 申请描述.
   */
  String applyDesc;

  /**
   * 创建时间.
   */
  Timestamp createTime;


}
