D-order ver44

Tables (5)

Coupon

  • id — BigAutoField — Primary key — NOT NULL
  • booth — BigAutoField — NOT NULL
  • name — CharField
  • description — CharField
  • discount_type — CharField
  • discount_value — DecimalField
  • quantity — IntergerField
  • created_at — DateTimeField

Menu

  • id — BigAutoField — Primary key — NOT NULL
  • booth — BigAutoField — NOT NULL
  • name — CharField
  • category — CharField
  • description — CharField
  • price — DecimalField
  • stock — IntergerField
  • image — ImageField
  • created_at — DateTimeField
  • updated_at — DateTimeField

SetMenu

  • id — BigAutoField — Primary key — NOT NULL
  • booth — BigAutoField — NOT NULL
  • name — CharField
  • category — CharField
  • description — CharField
  • price — IntergerField
  • image — ImageField
  • created_at — DateTimeField
  • updated_at — DateTimeField

SetMenuItem

  • id — BigAutoField — Primary key — NOT NULL
  • setmenu — BigAutoField — Foreign key → SetMenu.id — NOT NULL
  • menu — BigAutoField — Foreign key → Menu.id — NOT NULL
  • quantity — IntergerField

StaffCall

  • id — BigAutoField — Primary key — NOT NULL
  • cart — BigAutoField — NOT NULL
  • call_type — CharField
  • status — CharField
  • created_at — DateTimeField
  • accepted_at — DateTimeField
  • accepted_by — DateTimeField
  • completed_at — DateTimeField
  • Key — VARCHAR(255) — NOT NULL