team3
테이블 (7)
배송 (delivery)
- 주문 아이디 (oreder_id) — int — 외래 키 → 주문.주문 아이디 — NOT NULL
- 배송 주소 (delivary_address) — String
- 요청사항 (delivery_demand) — String
- 배송 상태 (status) — String
- 예상 시간 (delivery_time) — String
상품 (product)
- 상품아이디 (product_id) — int — 기본 키 — NOT NULL
- 상품 이름 (product_name) — String
- 상품 사진 (product_image) — File
- 상품 가격 (product_price) — String
- 상품 정보 (product_description) — String
- 상품 카테고리 (product_category) — int
상품옵션 (Untitled2)
- 옵션아이디 (option_id) — String — 기본 키 — NOT NULL
- 상품아이디 (product_id) — int — 외래 키 → 상품.상품아이디 — NOT NULL
- 옵션명 (option_name) — String
- 옵션 종류 (values) — array
유저 (user)
- 이메일 (email) — String — 기본 키
- 이름 (name) — String
- 비밀번호 (password) — String
- 주소 (address) — String
- 전화번호 (phone) — Number
- 유저 아이디 (user_id) — int — NOT NULL
- 권한 (role) — String
주문 (order)
- 주문 아이디 (oreder_id) — int — 기본 키 — NOT NULL
- 주문 수량 (order_count) — Number
- 주문 금액 (order_price) — Number
- 주문 총 수량 (order_quantity) — Number
- 상품아이디 (product_id) — int — 외래 키 → 상품.상품아이디 — NOT NULL
- 이메일 (email) — String — 외래 키 → 유저.이메일
- 주문 총액 (order_total) — Number
- 주문 상태 (order_status) — String
환불 (refund)
- 환불 사유 (reason) — String
- amount (수량) — int
- 환불진행상태 (status) — String
- 주문 아이디 (oreder_id) — int — 외래 키 → 주문.주문 아이디 — NOT NULL
후기 (content)
- 후기아이디 (review_id) — int — 기본 키 — NOT NULL
- 상품아이디 (product_id) — int — 외래 키 → 상품.상품아이디 — NOT NULL
- 별점 (rate) — Number
- 내용 (content) — String
- 이메일 (email) — String — 외래 키 → 유저.이메일