shoppingmall

Tables (15)

answer (Untitled9)

  • 답변_식별자 (answer_id) — not null — Primary key — NOT NULL
  • Field

board_catagory (게시판_카테고리)

  • 게시판_카테고리_식별자 (board_catagory_id) — not null — Primary key — NOT NULL
  • 상위_카테고리 (parent_catagory)
  • 카테고리명 (name) — not null

cart (Untitled13)

  • 장바구니_식별자 (cart_id) — not null — Primary key — NOT NULL
  • 회원_식별자 (member_id) — not null — Foreign key → member.회원_식별자 — NOT NULL

cart_item (Untitled14)

  • 장바구니상품_식별자 (cart_item_id) — not null — Primary key — NOT NULL
  • 장바구니_식별자 (cart_id) — not null — Foreign key → cart.장바구니_식별자 — NOT NULL
  • 상품_식별자 (item_id) — not null — Foreign key → item.상품_식별자 — NOT NULL
  • 수량 (count) — not null

delivery (배송)

  • 배송_식별자 (delivery_id) — not null — Primary key — NOT NULL
  • 배송상태 (status) — not null
  • 배송지 (Field2)

item (상품)

  • 상품_식별자 (item_id) — not null — Primary key — NOT NULL
  • 상품_카테고리_식별자 (item_catagory_id) — not null — Foreign key → item_catagory.상품_카테고리_식별자 — NOT NULL
  • 상품명 (name) — not null
  • 가격 (price) — not null
  • 재고 (quantity) — not null
  • 상품설명 (description) — not null
  • 등록일 (resist_date) — not null

item_catagory (상품_카테고리)

  • 상품_카테고리_식별자 (item_catagory_id) — not null — Primary key — NOT NULL
  • 상위_카테고리 (parent_catagory)
  • 카테고리명 (name) — not null

item_question (상품_질문)

  • 질문_식별자 (question_id) — not null — Primary key — NOT NULL
  • 상품_식별자 (item_id) — not null — Foreign key → item.상품_식별자 — NOT NULL
  • 회원_식별자 (member_id) — not null — Foreign key → member.회원_식별자 — NOT NULL
  • 제목 (title) — not null
  • 내용 (contents) — not null
  • 작성일자 (resist_date) — not null

item_review (상품_리뷰)

  • 상품_리뷰_식별자 (item_review_id) — not null — Primary key — NOT NULL
  • 상품_식별자 (item_id) — not null — Foreign key → item.상품_식별자 — NOT NULL
  • 회원_식별자 (member_id) — not null — Foreign key → member.회원_식별자 — NOT NULL
  • 리뷰_내용 (contents) — not null
  • 작성일자 (resist_date) — not null

member (회원)

  • 회원_식별자 (member_id) — not null — Primary key — NOT NULL
  • 이메일 (email) — not null
  • 이름 (name) — not null
  • 회원등록일 (resist_date) — not null

member_address (배송지)

  • 배송지_식별자 (shipping_address_id) — not null — Primary key — NOT NULL
  • 회원_식별자 (member_id) — not null — Foreign key → member.회원_식별자 — NOT NULL
  • 배송지명 (shipping_address_name)
  • 우편번호 (zipcode) — not null
  • 주소 (address) — not null
  • 상세주소 (detail)

order_item (주문상품)

  • 주문상품_식별자 (order_item_id) — not null — Primary key — NOT NULL
  • 주문_식별자 (order_id) — not null — Foreign key → orders.주문_식별자 — NOT NULL
  • 상품_식별자 (item_id2) — not null — Foreign key → item.상품_식별자 — NOT NULL
  • 수량 (count) — not null

orders (주문)

  • 주문_식별자 (order_id) — not null — Primary key — NOT NULL
  • 회원_식별자 (member_id) — not null — Foreign key → member.회원_식별자 — NOT NULL
  • 배송_식별자 (delivery_id) — not null — Foreign key → delivery.배송_식별자 — NOT NULL
  • 주문일자 (order_date) — not null
  • 주문상태 (status) — not null

post (게시물)

  • 게시물_식별자 (board_id) — not null — Primary key — NOT NULL
  • 회원_식별자 (member_id) — not null — Foreign key → member.회원_식별자 — NOT NULL
  • 게시판_카테고리_식별자 (board_catagory_id) — not null — Foreign key → board_catagory.게시판_카테고리_식별자 — NOT NULL
  • 제목 (title) — not null
  • 내용 (contents) — not null
  • 작성일자 (resist_date) — not null

post_review (게시물_댓글)

  • 게시물_댓글_식별자 (post_review_id) — not null — Primary key — NOT NULL
  • 게시물_식별자 (board_id) — not null — Foreign key → post.게시물_식별자 — NOT NULL
  • 회원_식별자 (member_id) — not null — Foreign key → member.회원_식별자 — NOT NULL
  • 댓글_내용 (contents) — not null
  • 작성일자 (resist_date) — not null