import type { BaseQuery, BaseResponse } from '@/types/base';

/**
 * 团队成员查询参数
 */
export interface TeamMemberQuery extends BaseQuery {
  teamId?: number;
  userName?: string;
  roleInTeam?: string;
}

/**
 * 团队成员响应
 */
export interface TeamMemberResponse extends BaseResponse {
  teamId: number;
  userId: number;
  userName?: string;
  roleInTeam?: string;
  joinTime?: string;
}

/**
 * 团队成员创建/更新请求
 */
export interface TeamMemberRequest {
  teamId: number;
  userId: number;
  userName?: string;
  roleInTeam?: string;
}

