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

/**
 * <p>
 * BD信息表.
 * </p>
 *
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class BdPageCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;
  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 来源app.
   */
  private String sysOrigin;

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

  /**
   * 代理数量.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long agentCount;

    /**
     * 代理下所有主播数量
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long allAnchorCount;

  /**
   * 用户基本信息.
   */
  private UserProfileDTO userProfile;

  /**
   * bd lead.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long bdLeadUserId;

  /**
   * bd lead 用户基本信息.
   */
  private UserProfileDTO bdLeadUserProfile;

  /**
   * 创建人.
   */
  private String createUserName;

  /**
   * 修改人.
   */
  private String updateUserName;

  /**
   * 联系方式.
   */
  private String contact;

  /**
   * 区域.
   */
  private String region;

  /**
   * 区域名称.
   */
  private String regionName;

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

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

}
