quoesk

Tables (3)

menu (Untitled2)

  • 메뉴id (id) — Primary key — NOT NULL
  • 상점id (restaurantId)
  • 이름 (name)
  • 가격 (price)
  • 상태 (status)

menuItem (CopyOfUntitled2)

  • 메뉴아이템id (id) — Primary key — NOT NULL
  • 수량 (count)
  • 메뉴id (menu) — Foreign key → menu.메뉴id — NOT NULL
  • 주문id (id2) — Foreign key → order.주문id — NOT NULL

order (Untitled)

  • 주문id (id) — Primary key — NOT NULL
  • 테이블id (talbeId)
  • 유저id (userId)
  • 상점id (restaurantId)
  • 상태 (status)