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 lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 成员团队资料.
 *
 * @author pengliang on 2022/12/6
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TeamProfileCO extends ClientObject {

  /**
   * 房间id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

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

  /**
   * 团队系统.
   */
  private String sysOrigin;

  /**
   * 团队拥有者ID.
   */
  private Long ownUserId;

  /**
   * 状态: 正常/关闭.
   */
  private String status;

  /**
   * 团队设置.
   */
  private TeamSettingCO setting;

  /**
   * 国家.
   */
  private TeamCountryCO country;

  /**
   * 计数器.
   */
  private TeamCounterCO counter;

}

