BookStoreService

테이블 (8)

공지 (notice)

  • 공지번호 (notice_id) — 기본 키 — NOT NULL
  • 회원번호 (member_id) — 외래 키 → 회원.회원번호 — NOT NULL
  • 공지 제목 (notice_subject)
  • 공지 내용 (notice_content)
  • 공지 유형 (notice_type)
  • 공지 시간 (notice_date) — sysdate
  • 공지 조회수 (notice_views) — 0

리뷰 (review)

  • 리뷰변호 (review_id) — 기본 키 — NOT NULL
  • 회원번호 (member_id) — 외래 키 → 회원.회원번호 — NOT NULL
  • 책 번호 (book_id) — 외래 키 → 책.책 번호 — NOT NULL
  • 주문번호 (order_id) — 외래 키 → 주문.주문번호 — NOT NULL
  • 리뷰 제목 (review_subject)
  • 리뷰 내용 (review_content)
  • 리뷰 이미지이름 (review_file_name)
  • 리뷰 이미지경로 (review_file_path)
  • 평점 (grade) — null
  • 조회수 (views) — 0
  • 리뷰 상태 (review_state) — 리뷰완료
  • 리뷰 시간 (review_date) — sysdate

배달 (delivery)

  • 배달번호 (delivery_id) — 기본 키 — NOT NULL
  • 주문번호 (order_id) — 외래 키 → 주문.주문번호 — NOT NULL
  • 회원번호 (member_id) — 외래 키 → 회원.회원번호 — NOT NULL
  • 배송지명 (recipient)
  • 연락처 (delivery_tel)
  • 우편번호 (postcode)
  • 주소 (address)
  • 상세주소 (detail_address)
  • 참고사항 (extra_address) — null
  • 배송비 (delivery_cost)
  • 주문시간 (order_date) — sysdate
  • 주문상태 (delivery_state) — 상품준비중

장바구니 (cart)

  • 장바구니 번호 (cart_id) — 기본 키 — NOT NULL
  • 회원번호 (member_id) — 외래 키 → 회원.회원번호 — NOT NULL
  • 책 번호 (book_id) — 외래 키 → 책.책 번호 — NOT NULL
  • 구매수량 (wish_quantity)
  • 금액 (amount)

주문 (orders)

  • 주문번호 (order_id) — 기본 키 — NOT NULL
  • 회원번호 (member_id) — 외래 키 → 회원.회원번호 — NOT NULL
  • 책 번호 (book_id) — 외래 키 → 책.책 번호 — NOT NULL
  • 주문번호 (order_num)
  • 결제번호 (impuid) — null
  • 결제금액 (amount)
  • 구매수량 (wish_quantity)
  • 주문시간 (order_date) — sysdate
  • 사용시간 (user_point) — null

책 (book)

  • 책 번호 (book_id) — 기본 키 — NOT NULL
  • 회원번호 (member_id) — 외래 키 → 회원.회원번호 — NOT NULL
  • 책 이름 (book_name)
  • 책 내용 (book_content) — null
  • 책 저자 (author)
  • 책 출판사 (publisher)
  • 책 장르 (genre)
  • 책 이미지이름 (file_name)
  • 책 이미지경로 (file_path)
  • 책 가격 (price)
  • 책 판매수량 (sales_quantity)
  • 책 추천도서 (recommended_book) — 0
  • 책 조회수 (views) — 0
  • 책 출판연도 (publication_year)
  • 책 판매량 (sales_rate) — 0

코멘트 (comments)

  • 코멘트 번호 (comment_id) — 기본 키 — NOT NULL
  • 회원번호 (member_id) — 외래 키 → 회원.회원번호 — NOT NULL
  • 책 번호 (book_id) — 외래 키 → 책.책 번호 — NOT NULL
  • 코멘트 내용 (comment_content)
  • 코멘트 시간 (comment_date) — sysdate

회원 (member)

  • 회원번호 (member_id) — 기본 키 — NOT NULL
  • 권한 (role) — member
  • 아이디 (user_id)
  • 비밀번호 (pwd)
  • 이름 (name)
  • 성별 (gender)
  • 나이 (age)
  • 닉네임 (nikname)
  • 생일 (birth)
  • 전화번호 (tel)
  • 우편번호 (postcode)
  • 주소 (address)
  • 상세주소 (detail_address)
  • 참고사항 (extra_address) — null
  • 이메일 (email)
  • 관심 장르 (favorite_genre)
  • 등급 (user_grade) — bronze
  • 총 구매금액 (purchase_amount) — 0
  • 포인트 (point) — 0
  • 희망수량 (wish_quantity) — 0
  • 파일이미지이름 (file_name)
  • 파일이미지경로 (file_path)
  • 배송지명 (delivery_name) — ''