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

/**
 * 采购入库
 */
export interface TowerPurchase {
  purchaseId?: number;
  name?: string;
  purchaseCode?: string;
  purchaseType?: string;
  price?: number;
  companyName?: string;
  userId?: number;
  sortNumber?: number;
  comments?: string;
  status?: number;
  createTime?: string;
  updateTime?: string;
  key?: number;
  merchantCode?: string;
  value?: number;
  index?: number;
}

/**
 * 搜索条件
 */
export interface TowerPurchaseParam extends PageParam {
  rentId?: number;
  title?: string;
  categoryId?: string;
  yearLife?: number;
  name?: string;
  companyName: string;
  // 商户编号
  merchantCode?: string;
}
