// point of sales model core

interface Item {
  id: string
  name: string
  price: number
  // other properties...
}

interface Sale {
  id: string
  itemId: string
  quantity: number
  timestamp: Date
  // other properties...
}

interface Inventory {
  itemId: string
  quantity: number
}
