package com.red.circle.console.app.dto.clienobject.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import com.red.circle.other.inner.model.dto.user.UserRegisterInfoDTO;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 用户资料列表vo.
 *
 * @author pengliang on 2022/2/21
 */
@Accessors(chain = true)
@Data
public class UserProfileListCO implements Serializable {

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

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

  /**
   * 用户注册信息.
   */
  private UserRegisterInfoDTO userRegisterInfo;

  /**
   * 金币余额.
   */
  private BigDecimal goldBalance;


  /**
   * 钻石余额.
   */
  private BigDecimal diamondBalance;

  /**
   * 工资钻石余额.
   */
  private BigDecimal salaryDiamondBalance;

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


}
