bucket
테이블 (6)
로그 (user_log)
- 로그id (user_log_id) — long — 기본 키 — NOT NULL
- 회원id (user_id) — long — 외래 키 → 회원.회원id — NOT NULL
- 시간 (access_timestamp)
- 페이지 (page) — int
브랜드 (brand)
- 브랜드 id (id) — long — 기본 키 — NOT NULL
- 이름 (brand_name) — String
- 배송비 (shipping_charge) — int
상품 (product)
- 상품id (product_id) — Long — 기본 키 — NOT NULL
- 브랜드 id (brand_id) — long — 외래 키 → 브랜드.브랜드 id — NOT NULL
- 상품 코드 (product_code) — String
- 재고 (product_stock) — int
- 상품이름 (product_name) — String
- 옵션 (product_option) — String
- 사이즈 (product_size) — String
주문 (order)
- 주문id (order_id) — long — 기본 키 — NOT NULL
- 회원id (user_id) — long — 외래 키 → 회원.회원id — NOT NULL
- 주문자 (order_name)
- 배송지 (delivery_address)
- 배송비 (shipping_charge)
- 주문상태 (order_status)
- 주문금액 (order_amount)
- 할인금액 (discount_amount)
주문 상품 (order_product)
- 주문 상품 id (oorder_product_id) — 기본 키 — NOT NULL
- 주문id (order_id) — long — 외래 키 → 주문.주문id — NOT NULL
- 상품id (product_id2) — Long — 외래 키 → 상품.상품id — NOT NULL
- 주문수랑 (order_quantity) — int
회원 (User)
- 회원id (user_id) — long — 기본 키 — NOT NULL
- id (username) — string
- 비밀번호 (password) — string
- 이름 (name) — string
- 유저타입 (type) — UserType