KT
테이블 (7)
Untitled
- Key (chatContentId) — String — 기본 키 — NOT NULL
- Field (content) — String
- Field2 (sender) — String
- Field3 (createdAt) — DateTime
- Key (chatId) — 외래 키 → 채팅.Key — NOT NULL
가게 (Shop)
- Key (shopId) — 기본 키 — NOT NULL
- 가게이름 (shopName) — String
- 테이블 갯수 (tableCnt) — Int
메뉴 (Menu)
- Key (menuId) — 기본 키 — NOT NULL
- Field2 (menuName) — String
- Field3 (price) — int
- Field (imageUrl) — String
- Field2 (description) — String
- Field3 (category) — String
- Field4 (isAvailable) — bool
- Field5 (discount) — int
- Field6 (createdDate) — DateTime
- Field (updatedDate) — DateTime
- Field2 (isHot) — bool
- Field3 (reviewPoint) — double
- Field (todayOrderCount) — int
- Field2 (accOrderCount) — int
- Key (shopId) — 외래 키 → 가게.Key — NOT NULL
- Key (categoryId) — 외래 키 → 카테고리.Key — NOT NULL
주문 (Order)
- Key (orderId) — 기본 키 — NOT NULL
- Field (menu) — TEXT
- Field2 (cnt) — int
- Field (tableIdx) — int
- Field (shopId) — String
- Field (orderedAt) — DateTime
- Key (menuId) — 외래 키 → 메뉴.Key — NOT NULL
- Key (shopId2) — 외래 키 → 가게.Key — NOT NULL
- Key (tableId2) — 외래 키 → 테이블.Key — NOT NULL
채팅 (Chat)
- Key (chatId) — 기본 키 — NOT NULL
- Field (chatUid1) — String
- Field2 (chatUid2) — String
- Key (tableId) — 외래 키 → 테이블.Key — NOT NULL
카테고리 (Category)
- Key (categoryId) — 기본 키 — NOT NULL
- Field (categoryName) — String
- Field (shopId) — String
- Key (shopId2) — 외래 키 → 가게.Key — NOT NULL
테이블 (Table)
- Key (tableId) — 기본 키 — NOT NULL
- Field2 (tableIdx) — int
- Field3 (shopId) — String
- Key (shopId2) — 외래 키 → 가게.Key — NOT NULL