torder
Tables (4)
Untitled (User)
- 유저고유아이디 (userId) — int — Primary key — NOT NULL — AI
- 핸드폰번호 (phoneNum) — VARCHAR(255)
- 비밀번호 (password) — VARCHAR(255)
Untitled (Menu)
- 메뉴고유아이디 (menuId) — int — Primary key — NOT NULL — AI
- 이름 (name) — VARCHAR(255)
- 가격 (price) — VARCHAR(255)
- 썸네일 (thumbnail) — VARCHAR(255)
Untitled (Order)
- 주문내역고유아이디 (orderId) — int — Primary key — NOT NULL — AI
- 개수 (quantity) — int
- 주문시간 (time) — VARCHAR(255)
- 메뉴고유아이디 (menuId) — int — Foreign key → Untitled.메뉴고유아이디 — NOT NULL
- 유저고유아이디 (userId) — int — Foreign key → Untitled.유저고유아이디 — NOT NULL — AI
Untitled (Payment)
- 결제내역고유아이디 (paymentId) — int — Primary key — NOT NULL — AI
- 결제정보 (info) — LONGTEXT
- 총 금액 (totalPrice) — VARCHAR(255)
- 유저고유아이디 (userId) — int — Foreign key → Untitled.유저고유아이디 — NOT NULL
- 결제시간 (time) — VARCHAR(255)