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

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

/**
 * bd,代理成员.
 *
 * @author pengliang on 2023/9/22
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class TeamDbAgentMemberCO extends ClientObject {

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

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

  /**
   * 账单余额.
   */
  private BigDecimal billBalance;

  /**
   * 主播数量.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long hostQuantity;

  /**
   * 上月账单余额.
   */
  private BigDecimal lastMonthBillBalance;

  /**
   * 上月账单时间.
   */
  private String lastMonthBillDate;

  /**
   * 类型 MONEY(美金政策)、SALARY_DIAMOND(工资钻石政策).
   */
  private String policyType;

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

}
