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

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

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

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