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

/**
 * 合同预定设备清单
 */
export interface ProjectOrder {
  // 合同预定设备清单id
  projectOrderId?: number;
  equipmentId?: number;
  equipmentName?: string;
  equipmentModel?: string;
  equipmentNum?: number;
  filingNo?: string;
  factoryNo?: string;
  key?: string;
  unit?: string;
  startTime?: string;
  endTime?: string;
  year?: string;
  documenter?: string;
  userId?: number;
  username?: string;
  nickname?: string;
  avatar?: string;
  email?: string;
  phone?: string;
  projectId?: number;
  comments?: string;
  status?: string;
  createTime?: string;
  isEdit?: boolean;
}

/**
 * 合同预定设备清单搜索条件
 */
export interface ProjectOrderParam extends PageParam {
  projectOrderId?: number;
  userId?: number;
  projectId?: number;
}

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