commerce-item
Tables (4)
item_code (분류 코드)
- code (품목 코드) — Primary key — NOT NULL
- code_desc (품목 코드명)
item_dtl_code (분류 상세 코드)
- code (분류 코드) — NOT NULL
- dtl_code (분류 상세 코드)
- dtl_code_desc (분류 상세 코드 설명)
items (상품)
- item_id (key) — INT — Primary key — NOT NULL
- upper_item_id (상위 품목 id) — NULL이 아닐 경우 해당 품목은 옵션으로 지정 가능함
- name (품목명)
- serial_number (제품 고유코드)
- category_code (분류 코드)
- category_detail (분류 상세코드)
- has_option (옵션 여부)
- status (등록 상태)
stock (창고 (재고))
- stock_id (창고 id) — Primary key — NOT NULL
- owner_id (판매자 id) — Primary key — NOT NULL
- item_id (품목 id)
- qty (재고)
- price (가격)
- status (판매상태)