yourD
테이블 (15)
대학교 (University)
- key (id) — Integer — 기본 키 — NOT NULL
- 이름 (name) — Char
배송회사 (ShippingCompany)
- Key (id) — Integer — 기본 키 — NOT NULL
- 이름 (name) — Char
- 코드 (code) — Char
- 활성화여부 (is_active) — Boolean
브랜드 (Brand)
- Key (id) — Integer — 기본 키 — NOT NULL
- 유저 (user) — Integer — 외래 키 → 유저.Key — NOT NULL
- 이름 (name) — Char
- 설명 (description) — Char
- 이미지 (image) — Image
- 배경이미지 (bg_image) — Image
사이즈 (Size)
- Key (id) — Integer — 기본 키 — NOT NULL
- 이름 (name) — Char
사이즈 개채 (SizeAttribute)
- key (id) — Integer — 기본 키 — NOT NULL
- 상품 (product) — Integer — 외래 키 → 상품.Key — NOT NULL
- 사이즈 (size) — Integer — 외래 키 → 사이즈.Key — NOT NULL
상품 (Product)
- Key (id) — Integer — 기본 키 — NOT NULL
- 유저 (user) — Integer — 외래 키 → 유저.Key — NOT NULL
- 카테고리 (category) — Integer — 외래 키 → 카테고리.Key — NOT NULL
- 상품이름 (productName) — Char
- 상품짧은이름 (productShortName) — Char
- 할인율 (discountRate) — Flaot
- 원가 (OriginPrice) — Integer
- 할인가 (discountPrice) — Integer
- 재고 (stock) — Integer
- 이미지주소 (image_url) — Image
- 정보 (info) — Text
- 생성일 (created_at) — Date
상품 좋아요 (Like)
- Key (id) — Integer — 기본 키 — NOT NULL
- 유저 (user) — Integer — 외래 키 → 유저.Key — NOT NULL
- 상품 (product) — integer — 외래 키 → 상품.Key — NOT NULL
유저 (User)
- Key (id) — Integer — 기본 키 — NOT NULL
- 대학교 (university) — Integer — 외래 키 → 대학교.key — NOT NULL
- 학과 (major) — Integer — 외래 키 → 학과.Key — NOT NULL
- 아이디 (username) — Char
- 이메일 (eamil) — Email
- 비밀번호 (password) — Char
- 이름 (name) — Char
- 휴대폰번호 (phone) — Char
- 성별 (gender) — Char
- 생일 (birth) — Date
- 활성화여부 (is_active) — Boolean
- 스태프여부 (is_staff) — Boolean
장바구니 (Cart)
- Key (id) — Integer — 기본 키 — NOT NULL
- 유저 (user) — Integer — 외래 키 → 유저.Key — NOT NULL
- 생성일 (created_at) — Date
- 수정일 (updated_at) — Date
장바구니아이템 (CartItem)
- Key (id) — Integer — 기본 키 — NOT NULL
- 장바구니 (cart) — Integer — 외래 키 → 장바구니.Key — NOT NULL
- 상품 (product) — Integer — 외래 키 → 상품.Key — NOT NULL
- 사이즈 개체 (size_attribute) — Integer — 외래 키 → 사이즈 개채.key — NOT NULL
- 수량 (quantity) — Integer
- 생성일 (created_at) — Date
- 수정일 (updated_at) — Date
주문 (Orders)
- Key (id) — Integer — 기본 키 — NOT NULL
- 유저 (user) — Integer — 외래 키 → 유저.Key — NOT NULL
- 생성일 (created_at) — Date
- 수정일 (updated_at) — Date
- 원가 (origin_prive) — Integer
- 할인가 (discount_price) — Integer
- 주문상태 (status) — Char
- 결제수단 (payment_methd) — Char
- 배송비 (delivery_fee) — Integer
- 수령인이름 (receiver_name) — Char
- 수령인주소 (receiver_address) — Char
- 수령인휴대폰 (receiver_phone) — Char
- 배송메모 (receiver_memo) — Char
주문상세 (OrderDetail)
- Key (id) — Integer — 기본 키 — NOT NULL
- 주문 (order) — Integer — 외래 키 → 주문.Key — NOT NULL
- 상품 (product) — Integer — 외래 키 → 상품.Key — NOT NULL
- 사이즈 (size) — Integer — 외래 키 → 사이즈.Key — NOT NULL
- 배송사 (shipping_company) — Integer — 외래 키 → 배송회사.Key — NOT NULL
- 구매시상품이름 (product_name) — Char
- 수량 (quantity) — Integer
- 가격 (price) — Integer
- 원가 (origin_price) — Integer
- 배송상태 (delivery_status) — Char
- 송장번호 (tracking_number) — Char
주소 (Address)
- Key (id) — Integer — 기본 키 — NOT NULL
- 유저 (user) — Integer — 외래 키 → 유저.Key — NOT NULL
- 주소설명 (address_label) — Char
- 주소 (address) — Char
- 주소상세 (address_detail) — Char
- 수령인번호 (phone) — Char
- 기본주소여부 (is_defailt) — Boolean
카테고리 (Category)
- Key (id) — Integer — 기본 키 — NOT NULL
- 이름 (name) — Char — 자신 참조
- 부모 (parent) — Char
- 이미지 (image) — Image
학과 (Major)
- Key (id) — Integer — 기본 키 — NOT NULL
- 이름 (name) — Char