import type { PageParam } from '@/api';

/**
 * 开发成员
 */
export interface AppUser {
  // 开发成员id
  appUserId?: number;
  role?: number;
  userId?: number;
  username?: string;
  nickname?: string;
  avatar?: string;
  email?: string;
  phone?: string;
  appId?: number;
  status?: string;
  createTime?: string;
}

/**
 * 开发成员搜索条件
 */
export interface AppUserParam extends PageParam {
  userId?: number;
  appId?: number;
}

export interface UserItem {
  key: string;
  isEdit?: boolean;
  number?: string;
  name?: string;
  department?: string;
}
