APC

테이블 (8)

물류 창고 (Logistic)

  • 물류 창고 id (Logistic_id) — id — 기본 키 — NOT NULL
  • 물류 창고 이름 (Logistic_name) — string — NOT NULL
  • 물류 창고 위치 (Logistic_location) — string — NOT NULL
  • 물류 창고 국가 (Logistic_country) — string — NOT NULL

배송 (Delivery)

  • 배송 아이디 (Delivery_id) — string — 기본 키 — NOT NULL
  • 배송 차량 정보 (Delivery_code) — JSON — 외래 키 → 배송 차량.배송 차량 id — NOT NULL
  • 주문 정보 (Order_Information) — JSON — 외래 키 → 주문.주문 아이디 — NOT NULL
  • 상품 아이디 (Product_id) — string — 외래 키 → 주문.주문 상품 내용 — NOT NULL
  • 배송 경로 정보 (Delivery_path) — JSON
  • 온도,습도,풍향 (Delivery_env) — RFID — NOT NULL
  • 배송 종료 시점 (Delivery_end) — Time
  • 배송 확인 (Delivery_confirm) — boolean — NOT NULL

배송 차량 (Delivery_vehicle)

  • 배송 차량 id (Delivery_vehicle_id) — string — 기본 키 — NOT NULL
  • 배송 차량 이름 (Delivery_vehicle_name) — long(tone) — NOT NULL
  • 이동 냉장고 설치 유무 (Refrigerator) — int
  • 단위최대배송량 (Delivery_amount) — long(tone) — NOT NULL

상품 (Product)

  • 상품 아이디 (Product_id) — string — 기본 키 — NOT NULL
  • 상품 이름 (Product_name) — string — NOT NULL
  • 상품 등급 (Product_grade) — string — NOT NULL
  • 상품 이미지 (Product_image) — buffer — NOT NULL
  • 판매 가격 (Product_price) — double — NOT NULL

소비 후기 (Consumer_Review)

  • 후기 id (Review_id) — string — 기본 키 — NOT NULL
  • 후기 작성자 이름 (Review_name) — string — NOT NULL
  • 목표 상품 (Review_target) — string — NOT NULL
  • 후기 내용 (Review) — string — NOT NULL
  • 후기 기록 시점 (Review_time) — Time — NOT NULL

주문 (Order)

  • 주문 아이디 (Order_id) — string — 기본 키
  • 주문자 정보 (Order_Profile) — JSON — 외래 키 → 주문자.주문자 아이디 — NOT NULL
  • 주문 상품 내용 (Order_Code) — JSON — 외래 키 → 상품.상품 아이디 — NOT NULL
  • 주문 번호 (Order_Number) — string
  • 주문 시간 (Order_Date) — Time — NOT NULL
  • 배송지 주소 (Delivery_Address) — string — NOT NULL
  • 주문 요청사항 (Request) — string
  • 주문 확인 내용 (Review_content) — string
  • 주문 확인 시점 (Review_date) — Time

주문자 (Orderer)

  • 주문자 아이디 (Orderer_id) — string — 기본 키 — NOT NULL — 주문자 아이디
  • 주문자 유형 (Orderer_type) — int — NOT NULL
  • 주문자 이름 (Orderer_name) — string — NOT NULL
  • 주문자 우편번호 (Orderer_zipcode) — string — NOT NULL
  • 주문자 주소 (Orderer_address) — string — NOT NULL
  • 누적 주문량 (OrderTotalAmount) — double — NOT NULL

판매 (Sales)

  • 판매 아이디 (Sales_id) — string — 기본 키 — NOT NULL
  • 품목,판매날짜,판매량 (Sales_amount) — JSON — NOT NULL
  • 판매 통지 날짜 (Informa_date) — Time — NOT NULL