백오피스 프로젝트

테이블 (7)

고객 (user)

  • 아이디 (id) — int — 기본 키 — NOT NULL
  • 이메일 (email) — string
  • 비밀번호 (password) — string
  • 이름 (name) — string
  • 포인트 (point) — int
  • 장바구니 (cart) — CART

메뉴 (menu)

  • 아이디 (id) — int — 기본 키 — NOT NULL
  • 이름 (name) — string
  • 가격 (price) — int
  • 이미지 (imgUrl) — string
  • 매장 아이디 (storeId) — STORE

사장님(매장) (store)

  • 아이디 (id) — int — 기본 키 — NOT NULL
  • 이메일 (email) — string
  • 비밀번호 (password) — string
  • 이름 (name) — string
  • 이미지 (imgUrl) — string
  • 카테고리 아이디 (categoryId) — CATEGORY

장바구니 (cart)

  • 아이디 (id) — int — 기본 키 — NOT NULL
  • 매장 아이디 (storeId) — STORE
  • 메뉴 아이디 (menuId) — MENU

주문 (order)

  • 아이디 (id) — int — 기본 키 — NOT NULL
  • 목록 (list) — json
  • 총 가격 (totalPrice) — int
  • 고객 아이디 (userId) — USER
  • 매장 아이디 (storeId) — STORE

카테고리 (category)

  • 아이디 (id) — int — 기본 키 — NOT NULL
  • 이름 (name) — string

후기 (review)

  • 아이디 (id) — int — 기본 키 — NOT NULL
  • 평점 (star) — int
  • 내용 (content) — text
  • 고객 아이디 (userId) — USER
  • 매장 아이디 (storeId) — STORE
  • 주문 아이디 (orderId) — ORDER