product_management
테이블 (4)
상품 (product)
- Key (id) — 기본 키 — NOT NULL
- 코드 (code)
- 상품명 (name)
- 설명 (description)
- 가격 (price)
- 사이즈 (size)
- 입고수량 (inbound_quantity)
- 출고수량 (outbound_quantity)
- 재고수량 (stock_quantity)
입고 (inbound)
- Key (id) — 기본 키 — NOT NULL
- 코드 (code) — 외래 키 → 상품.Key — NOT NULL
- 수량 (quantity)
- 금액 (ammount)
- 날짜 (created_at)
출고 (outbound)
- Key (id) — 기본 키 — NOT NULL
- 코드 (code) — 외래 키 → 상품.Key — NOT NULL
- 수량 (quantity)
- 금액 (ammount)
- 날짜 (created_at)
합산 (inventory)
- Key (id) — 기본 키 — NOT NULL
- 코드 (code) — 외래 키 → 상품.Key — NOT NULL
- 총 입고량 (total_inbound_quantity)
- 총 입고금액 (total_inbound_ammount)
- 총 출고량 (total_outbound_quantity)
- 총 출고금액 (total_outbound_ammount)