package com.red.circle.console.app.dto.clienobject.team.bd;

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>
 *
 * @author pengshigang
 * @since 2022-02-15
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class TeamBdMemberCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

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

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

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

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

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

}
