ddd-kitchenpos

Tables (7)

Menu

  • id — UUID — Primary key — NOT NULL
  • name — String
  • Field (price) — BigDecimal
  • Field2 (displayed) — boolean
  • Key (menuGroupId) — UUID — Foreign key → Untitled.Key — NOT NULL

Untitled (MenuGroup)

  • Key (id) — UUID — Primary key — NOT NULL
  • Field (name) — String

Untitled (MenuProduct)

  • Key (seq) — Long — Primary key — NOT NULL
  • Field (quantity) — long
  • id (menuId) — UUID — Foreign key → Menu.id — NOT NULL
  • Key (productId) — UUID — Foreign key → Untitled.Key — NOT NULL

Untitled (Product)

  • Key (id) — UUID — Primary key — NOT NULL
  • Field (name) — String
  • Field (price) — BigDecimal

Untitled (Order)

  • Key (id) — UUID — Primary key — NOT NULL
  • Field (type) — OrderType
  • Field (status) — OrderStatus
  • Field (orderDateTime) — LocalDateTime
  • Field (deliveryAddress) — String
  • Key (order_table_id) — UUID — Foreign key → Untitled.Key — NOT NULL

Untitled (OrderLineItem)

  • Key (seq) — Long — Primary key — NOT NULL
  • Field (quantity) — long
  • id (menuId) — UUID — Foreign key → Menu.id — NOT NULL
  • Key (orderId) — UUID — Foreign key → Untitled.Key — NOT NULL

Untitled (OrderTable)

  • Key (id) — UUID — Primary key — NOT NULL
  • Field (name) — String
  • Field (numberOfGuests) — int
  • Field (occupied) — boolean