toast
테이블 (9)
고객문의 (costomer-service)
- Key (id) — Int — 기본 키 — NOT NULL
- 제목 (title) — Varchar2
- 내용 (content) — Varchar2
- 사진링크 (fileUrl) — Varchar2
- Key (userId) — Int — 외래 키 → 사용자.Key — NOT NULL
메뉴 (menu)
- Key (id) — Int — 기본 키 — NOT NULL
- 생성일 (createdAt) — Date
- 수정일 (updatedAt) — Date
- 메뉴명 (name) — Varchar2
- 가격 (price) — Int
- 사진링크 (fileUrl) — Varchar2
- Key (menuTypeId) — Int — 외래 키 → 메뉴 구분.Key — NOT NULL
메뉴 구분 (menu type)
- Key (id) — Int — 기본 키 — NOT NULL
- 구분명 (name) — Varchar2
- 메인메뉴인가 (isMain) — Boolean
사용자 (user)
- Key (id) — Int — 기본 키 — NOT NULL
- 생성일 (createdAt) — Date
- 수정일 (updatedAt) — Date
- 삭제일 (deletedAt) — Date
- 이메일 (email) — Varchar2
- 비밀번호 (password) — Varchar2
- 사용자명 (name) — Varchar2
- 전화번호 (phone) — Varchar2
- 인증확인 (verified) — Date
- 사용자권한 (role) — enum
- Key (deptId) — Int — 외래 키 → 소속.Key — NOT NULL
세트 (set)
- Key (id) — Int — 기본 키 — NOT NULL
- 세트명 (name) — Varchar2
세트-메뉴 (set-menu)
- Key (id) — Int — 기본 키 — NOT NULL
- Key (setId) — Int — 외래 키 → 세트.Key — NOT NULL
- Key (menuId) — Int — 외래 키 → 메뉴.Key — NOT NULL
소속 (dept)
- Key (id) — Int — 기본 키 — NOT NULL
- 생성일 (createdAt) — Date
- 수정일 (updatedAt) — Date
- 소속명 (name) — Varchar2
주문 (order)
- Key (id) — Int — 기본 키 — NOT NULL
- 주문일 (createdAt) — Date
- 총주문수량 (totalOrderQuantity) — Int
- 총주문총액 (totalPrice) — Int
- Key (userId) — Int — 외래 키 → 사용자.Key — NOT NULL
주문 상세 (order-detail)
- Key (orderId) — Int — 외래 키 → 주문.Key — NOT NULL
- Key (setMenuId) — Int — 외래 키 → 세트-메뉴.Key — NOT NULL
- 주문수량 (orderQuantity) — Int
- 주문금액 (price) — Int