commerce-project
Tables (3)
Item (상품)
- 아이디 (id) — Long — Primary key — NOT NULL
- 재고 아이디 (stock_id) — Foreign key → Stock.아이디 — NOT NULL
- 이름 (item_name) — String
- 가격 (price) — integer
- 설명 (item_detail) — text
- 판매 상태 (sale_status) — String
- 카테고리 (category) — String
- 판매자 아이디 (seller_id) — Foreign key → Member.id — NOT NULL
Member (멤버)
- id (아이디) — Primary key — NOT NULL
- email (이메일)
- name (이름)
- password (비밀번호)
- address (주소)
- phone_number (폰번호)
- Role (역할)
Stock (재고)
- 아이디 (id) — Primary key — NOT NULL
- 수량 (quantity) — integer