shopping_mall
Tables (7)
address (Untitled7)
- 배송번호 (addrKey) — NOT NULL — Primary key — NOT NULL
- 회원고유번호 (custKey) — NOT NULL — Foreign key → customer.회원고유번호 — NOT NULL
- 받는 분 성함 (name) — NOT NULL
- 우편번호 (zipcode) — NOT NULL
- 받는 분 주소 (addr) — NOT NULL
- 상세주소 (addrDetail) — NOT NULL
- 받는 분 전화번호 (tel) — NOT NULL
- 배송시 요정사항 (req) — NULL
- 기본배송지 (def) — DEFAILT
board (Untitled2)
- 게시글 번호 (boardKey) — NOT NULL — Primary key — NOT NULL
- 회원고유번호 (custKey) — NOT NULL — Foreign key → customer.회원고유번호 — NOT NULL
- 상품 고유번호 (itemKey) — NOT NULL — Foreign key → item.상품 고유번호 — NOT NULL
- 종류 (ntype) — NOT NULL
- 제목 (title) — NOT NULL
- 등록일 (rdate) — NULL
- 내용 (content) — NOT NULL
- 상품이미지 (img) — NULL
- 별점 (rate) — NULL
customer (Untitled)
- 회원고유번호 (custKey) — NOT NULL — Primary key — NOT NULL
- 회원아이디 (userID) — NOT NULL
- 이름 (userName) — NOT NULL
- 비밀번호 (userPW) — NOT NULL
- 전화번호 (phoneNum) — NOT NULL
- 주민번호 (juminNum) — NULL
- 성별 (gender) — NULL
item (Untitled3)
- 상품 고유번호 (itemKey) — NOT NULL — Primary key — NOT NULL
- 상품명 (name) — NOT NULL
- 상품사진1 (img1) — NOT NULL
- 상품사진2 (img2) — NOT NULL
- 상품사진3 (img3) — NOT NULL
- 상품설명 (content) — NOT NULL
- 정가 (price) — NOT NULL
- 판매가 (sale) — NOT NULL
- 상품 등록일 (rdate) — DEFAULT
- 재고 (cnt) — NOT NULL
orderDetail (Untitled6)
- 주문상세번호 (Key) — NOT NULL — Primary key — NOT NULL
- 주문번호 (orderKey) — NOT NULL — Foreign key → totalOrder.주문번호 — NOT NULL
- 상품 고유번호 (itemKey) — NOT NULL — Foreign key → item.상품 고유번호 — NOT NULL
- 가격 (price) — NOT NULL
- 개수 (cnt) — NOT NUL
totalOrder (Untitled4)
- 주문번호 (orderKey) — NOT NULL — Primary key — NOT NULL
- 회원고유번호 (custKey) — NOT NULL — Foreign key → customer.회원고유번호 — NOT NULL
- 총결제금액 (price) — NULL
- 주문날짜 (rdate) — NOT NULL
- 결제카드회사 (card) — NOT NULL
- 주문현황 (status) — NOT NULL
- 환불사유 (reason) — NULL
- 받는분성함 (name) — NOT NULL
- 받는분주소 (zipcode) — NOT NULL
- 상세주소 (addr) — NOT NULL
- 우편번호 (addrDetail) — NOT NULL
- 받는분전화번호 (tel) — NOT NULL
- 배송요청사항 (req) — NOT NULL
- 주문상품개수 (itemCNT) — NULL
- 대표상품 (itemName) — NOT NULL
- 대표이미지 (itemImg) — NOT NULL
wish (Untitled5)
- 찜 고유번호 (wishKey) — NOT NULL — Primary key — NOT NULL
- 회원고유번호 (custKey) — NOT NULL — Foreign key → customer.회원고유번호 — NOT NULL
- 상품 고유번호 (itemKey) — NOT NULL — Foreign key → item.상품 고유번호 — NOT NULL