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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户扩展信息.
 * </p>
 *
 * @author pengliang on  2019-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserExpandProfileCO extends ClientObject {

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

  /**
   * 用户使用的语言.
   */
  private String language;

  /**
   * 最近活跃时间.
   */
  private Timestamp lastActiveTime;

  /**
   * 是否购买过糖果0.否 1.是.
   */
  private Boolean purchasing;

  /**
   * 个性签名.
   */
  private String signature;
}
