shopping_mall
테이블 (13)
배달주소 (DeliveryAddress)
- 배달주소 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저 일련번호 (user) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 배달주소 (address) — CharField
- 우편번호 (post_code) — CharField
배달회사 (DeliveryCompany)
- 배달회사 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 이름 (name) — CharField
- 코드 (code) — CharFIeld
별점 (Rating)
- 별점 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저 일련번호 (user) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 상품 일련번호 (product) — Integer — 외래 키 → 상품.상품 일련번호 — NOT NULL
- 별점 (rating) — Integer
- 리뷰 내용 (content) — TextField
상품 (Product)
- 상품 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 카테고리 일련번호 (category) — Integer — 외래 키 → 상품 카테고리.카테고리 일련번호 — NOT NULL
- 이름 (name) — CharField
- 내용 (content) — TextField
- 가격 (amount) — Integer
- 사진 (photo) — ImageField
상품 카테고리 (Category)
- 카테고리 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 이름 (name) — CharField
- 아이콘 (icon) — CharField
상품사진 (ProductPhoto)
- 상품사진 이련번호 (id) — Integer — 기본 키 — NOT NULL
- 상품 일련번호 (product) — Integer — 외래 키 → 상품.상품 일련번호 — NOT NULL
- 사진 (photo) — imageField
쇼핑카트 (ShoppingCart)
- 쇼핑카트 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저 일련번호 (user) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 상품 리스트 (product_list) — JsonField
유저 (User)
- 유저 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 이메일 (email) — EmailField
- 이름 (name) — CHarField
- 패스워드 (password) — CharField
이메일인증 (EmailVerification)
- 이메일인증 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저 일련번호 (user) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 인증키 (key) — CharField
- 인증여부 (verified) — BoolField
제품옵션 (ProductOption)
- 제품옵션 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 상품 일련번호 (product) — Integer — 외래 키 → 상품.상품 일련번호 — NOT NULL
- 옵션 (option) — CharField
- 가격 (amout) — Integer
- 이용가능 수량 (avaliable) — Integer
주문 (Order)
- 주문 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저 일련번호 (user) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 상품 리스트 (product_list) — JsonField
지불 (Payment)
- 지불 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저 일련번호 (user) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 배달회사 일련번호 (delivery_company) — Integer — 외래 키 → 배달회사.배달회사 일련번호 — NOT NULL
- 주문 일련번호 (order) — Integer — 외래 키 → 주문.주문 일련번호 — NOT NULL
- 가격 (amount) — Integer
- 송장번호 (delivery_invoice) — CharField
- Field
팝업 (Popup)
- 팝업 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 사진 (photo) — ImageField
- 이름 (name) — CharField
- 사진 가로 (weight) — Integer
- 사진 세로 (height) — Integer
- 팝업 URL (target_url) — CharField
- 마감일 (end_at) — DateTimeField