import ISummary from '@/core/models/summary';

export interface IPosProductSummary {
  id: number;
  name: string;
  sku: string;
  salePrice: string;
  categoryId: number;
}

interface ICategorySummary {
  id: number;
  name: string;
}

export interface IPosOrderItem {
  productId: number;
  count: number;
  unitPrice: number;
}

export interface IPosInOrderProduct extends IPosOrderItem {
  product: IPosProductSummary;
  maxQuantity: number;
}

export interface IBankAccountSummary {
  id: number;
  name: string;
  accountNumber: string;
  branch: IBankAccountBranchSummary;
}

interface IBankAccountBranchSummary extends ISummary {
  bank: ISummary;
}
