scm

Tables (9)

cart (tb_cart_h)

  • 장바구니인덱스 (cart_idx) — NUMBER — Primary key — NOT NULL
  • 장바구니 ID (cart_id) — NUMBER — Primary key — NOT NULL
  • 고객 ID (user_id) — NUMBER
  • 장바구니 생성일 (created_date) — TIMESTAMP
  • 장바구니 상태 (cart_state) — TINYINT(1)

model (tb_model_h)

  • 모델번호 (model_number) — NUMBER — Primary key — NOT NULL
  • 모델명 (model_name) — varchar(100)
  • 제품사진 (file_name) — varchar(100)
  • 물리적경로 (physical_path) — varchar(100)
  • 논리적경로 (logical_path) — varchar(100)
  • 파일크기 (file_size) — varchar(100)
  • 파일확장자 (file_ext) — varchar(100)
  • 총 입고 (total_entry_quantity) — NUMBER
  • 총 출고 (total_exit_quantity) — NUMBER
  • 가격 (price) — NUMBER
  • 모델명 명확히 (pro_nameasd)

product (tb_product_h)

  • 제품인덱스 (product_idx) — NUMBER — Primary key — NOT NULL
  • 제품번호 (product_id) — NUMBER — Primary key — NOT NULL
  • 모델번호 (model_number) — NUMBER — Foreign key → model.모델번호 — NOT NULL
  • 창고코드 (storage_code) — VARCHAR2(50) — Foreign key → storage_info.창고코드 — NOT NULL
  • 제품명 (product_name) — VARCHAR2(100)
  • 공급업체 (supplier) — varchar(100)

product_order (tb_product_order)

  • 입고인덱스 (order_idx) — NUMBER — Primary key — NOT NULL
  • 입고ID (order_id) — NUMBER — Primary key — NOT NULL
  • 모델번호 (model_number) — NUMBER — Foreign key → model.모델번호 — NOT NULL
  • 수량 (quantity) — NUMBER — NOT NULL
  • 제품가격 (price) — NUMBER
  • 요청일 (request_date) — DATE — NOT NULL
  • 담당자 (responsible_scm) — VARCHAR2(50) — NOT NULL
  • 발주승인 (request_state) — TINYINT(1)
  • 입고날짜 (entry_date) — DATE

product_return (tb_product_return)

  • 반품인덱스 (return_idx) — NUMBER — Primary key — NOT NULL
  • 반품아이디 (return_id) — NUMBER — Primary key — NOT NULL
  • 모델번호 (model_number) — NUMBER — Foreign key → model.모델번호 — NOT NULL
  • 수량 (quantity) — NUMBER — NOT NULL
  • 반품(환불)비 (return_fee) — NUMBER
  • 반품요청일 (request_date) — TIMESTAMP — NOT NULL
  • 담당자 (responsible_scm) — VARCHAR2(50) — NOT NULL
  • 반품승인 (return_approval) — TINYINT(1)

sales_order (tb_sales_order)

  • 주문인덱스 (order_idx) — NUMBER — Primary key — NOT NULL
  • 주문번호 (order_id) — NUMBER — Primary key — NOT NULL
  • 장바구니 ID (cart_id) — NUMBER — Foreign key → cart.장바구니 ID — NOT NULL
  • 고객 ID (user_id) — NUMBER
  • 주문일자 (order_date) — TIMESTAMP
  • 총 주문 금액 (total_amount) — NUMBER
  • 결제 수단 (payment_method) — VARCHAR2(50)
  • 받는분 (receiver_name) — VARCHAR2(50)
  • 전화번호 (phone) — VARCHAR2(50)
  • 상세주소 (address) — VARCHAR2(255)
  • 반품 ID (return_id) — NUMBER
  • 입금여부 (payment_status) — TINYINT(1)
  • 모델번호 (model_number) — NUMBER
  • 주문 수량 (quantity) — NUMBER
  • 상품 가격 (price) — NUMBER

sales_return (tb_sales_return)

  • 반품 인덱스 (return_idx) — NUMBER — Primary key — NOT NULL
  • 반품 ID (return_id) — NUMBER — Primary key — NOT NULL
  • 주문 ID (order_id) — NUMBER — Foreign key → sales_order.주문번호 — NOT NULL
  • 고객 ID (user_id) — NUMBER
  • 반품 요청일 (return_date) — TIMESTAMP
  • 상세주소 (address) — VARCHAR2(255)
  • 전화번호 (phone) — VARCHAR2(50)
  • 입금여부 (payment_status) — TINYINT(1)
  • 담당자 (return_manager_id) — VARCHAR2(50)
  • 반품 승인 (return_approval) — TINYINT(1)
  • 반품 비용 (price) — NUMBER
  • 반품 수량 (quantity) — NUMBER
  • 반품 상태 (return_status) — VARCHAR2(50)
  • 반품총비용 (total_amount) — NUMBER

storage_info (tb_storage_info)

  • 창고코드 (storage_code) — VARCHAR2(50) — Primary key — NOT NULL
  • 창고이름 (storage_name) — VARCHAR2(100) — NOT NULL
  • 창고상태 (storage_state) — TINYINT(1)
  • 창고주소 (storage_address) — VARCHAR2(100)

tb_delivery (tb_delivery_h)

  • 배송아이디 (delivery_id) — NUMBER — Primary key — NOT NULL
  • 주문번호 (order_id) — NUMBER — Foreign key → sales_order.주문번호 — NOT NULL
  • 반품 ID (return_id) — NUMBER — Foreign key → sales_return.반품 ID — NOT NULL
  • 배송일 (delivery_date) — TIMESTAMP
  • 배송상태 (delivery_status) — VARCHAR2(50)
  • 배송메모 (notes) — VARCHAR2(50)
  • 배송상태 (delivery_state) — NUMBER
  • 배송담당자 (delivery_user) — VARCHAR2(50)