// 库存信息类型
export interface InventoryItem {
  id: number;
  deviceId: string;
  deviceName: string;
  productId: number;
  productName: string;
  productCode: string;
  stock: number;
  shelfNum: number;
  position: string;
  lastUpdateTime: string;
}

// 搜索表单类型
export interface InventorySearchForm {
  deviceId: string;
  productId: number | string;
  lowStock: boolean;
}

// 上货表单类型
export interface StockInForm {
  deviceId: string;
  productId: number;
  productCode: string;
  productName: string;
  quantity: number;
  shelfNum?: number;
  position?: string;
  activityId?: string;
}

// 调整表单类型
export interface StockAdjustForm {
  deviceId: string;
  productId: number;
  newStock: number;
  remark?: string;
}
