관통_ERD

테이블 (4)

리뷰 (Review)

  • 리뷰 아이디 (review_id) — Int — 기본 키 — NOT NULL
  • Field

상품 (Product)

  • 상품 아이디 (product_id) — Int — 기본 키
  • 상품 이름 (product_name) — String
  • 상품 가격 (product_price) — Int
  • 상품 이미지 (product_img) — String
  • 상픔 개수 (product_count) — Int

주문 (Order)

  • 주문 아이디 (order_id) — Int — 기본 키 — NOT NULL
  • 회원 아이디 (user_id) — String — 외래 키 → 회원.회원 아이디 — NOT NULL
  • 주문 시간 (order_time) — DateTime

회원 (User)

  • 회원 아이디 (user_id) — String — 기본 키 — NOT NULL
  • 회원 비밀번호 (user_pw) — String
  • 회원 닉네임 (user_name) — String