bShop

Tables (9)

board

  • 리뷰게시판 식별아이디 (id) — PK_AI — Primary key — NOT NULL
  • 상품식별아이디 (item_id) — FK — Foreign key → item.상품식별아이디 — NOT NULL
  • 리뷰작성유저식별 아이디 (user_id) — FK — Foreign key → user.유저식별 아이디 — NOT NULL
  • 리뷰게시판제목 (title)
  • 리뷰게시판내용 (content)

cart

  • 장바구니 식별아이디 (cart_id) — PK_AI — Primary key — NOT NULL
  • 유저식별 아이디 (user_id) — FK — Foreign key → user.유저식별 아이디 — NOT NULL

cart_item

  • 장바구니상품식별아이디 (cart_item_id) — PK_AI — Primary key — NOT NULL
  • 상품식별아이디 (item_id) — FK — Foreign key → item.상품식별아이디 — NOT NULL
  • 장바구니 식별아이디 (cart_id) — FK — Foreign key → cart.장바구니 식별아이디 — NOT NULL
  • 상품수량 (count) — nn

item

  • 상품식별아이디 (item_id) — PK,AI — Primary key — NOT NULL
  • 상품등록일자 (regdate)
  • 상품이름 (item_nm) — nn
  • 상품상세설명 (item_detail) — nn
  • 상품판매품절여부 (item_sell_status)
  • 가격 (price) — nn
  • 재고수량 (stock_number) — nn
  • 저자 (book_wtr)
  • 출판사 (book_psr)

item_img

  • 상품이미지식별아이디 (item_img_id) — PK_AI — Primary key — NOT NULL
  • 상품식별아이디 (item_id) — FK — Foreign key → item.상품식별아이디 — NOT NULL
  • 이미지이름 (img_name)
  • 이미지경로 (img_url)
  • 이미지원본이름 (ori_img_name)
  • 대표이미지여부 (repimg_yn)

notice

  • 공지사항 식별아이디 (id) — PK_AI — Primary key — NOT NULL
  • 공지사항작성유저식별 아이디 (user_id) — FK — Foreign key → user.유저식별 아이디 — NOT NULL
  • 공지사항 제목 (title)
  • 공지사항 내용 (content)
  • 공지사항등록일자 (regdate)

role

  • 권한식별아이디 (id) — PK_AI — Primary key — NOT NULL
  • 권한이름 (name)

user

  • 유저식별 아이디 (id) — PK_AI — Primary key — NOT NULL
  • 유저아이디 (username) — nn
  • 유저비밀번호 (password) — nn
  • 유저활성여부 (enabled) — nn
  • 우편번호 (addr1)
  • 도로명주소 (addr2)
  • 상세주소 (addr3)

user_role

  • 유저식별 아이디 (id2) — PK_AI — Foreign key → user.유저식별 아이디 — NOT NULL
  • 권한식별아이디 (id4) — PK_AI — Foreign key → role.권한식별아이디 — NOT NULL