MediCode

Tables (8)

Delivery_GPS (배달_GPS)

  • 송장번호 (d_no) — Primary key — NOT NULL
  • 제품 번호 (p_no2) — OrderList — Foreign key → OrderList.제품 번호 — NOT NULL
  • 아이디 (id2) — Foreign key → OrderList.아이디 — NOT NULL
  • 배달회사 (d_company)
  • 수주 번호 (o_no) — OrderList
  • 주문자ID (o_id) — OrderList
  • 배달 주소지 (o_address) — OrderList
  • 위도 (x)
  • 경도 (y)
  • 배달 완료 여부 (d_complete)
  • 배송 시작 (start)

Medi_Product (병원 재고)

  • 의료용품 번호 (Medi_no) — Primary key — NOT NULL
  • 제품 번호 (p_no2) — OrderList — Foreign key → OrderList.제품 번호 — NOT NULL
  • 아이디 (id2) — Foreign key → OrderList.아이디 — NOT NULL
  • 제품 이름 (Medi_name)
  • 재고량 (Medi_total)
  • 입고 일자 (Medi_indate)
  • 공급처 (Medi_Company)
  • 안전재고량 (safetyInven)

Medicode_Tracking (배송 추적현황)

  • 송장번호 (d_no2) — Foreign key → Delivery_GPS.송장번호 — NOT NULL
  • 제품 번호 (p_no2) — OrderList — Foreign key → Delivery_GPS.제품 번호 — NOT NULL
  • 아이디 (id2) — Foreign key → Delivery_GPS.아이디 — NOT NULL
  • 송장번호 (d_no) — Delivery_GPS
  • 출발 시간 (dep_time)
  • 허브 도착시간 (hub_arr)
  • 허브 출발시간 (hub_dep)
  • 배송 완료 시간 (del_comp)
  • 허브 이름 (hub_name)

OrderList (주문 내역)

  • 제품 번호 (p_no2) — OrderList — Foreign key → Product.제품 번호 — NOT NULL
  • 아이디 (id2) — Foreign key → Product.아이디 — NOT NULL
  • 수주 번호 (o_no) — Delivery_GPS
  • 주문자 (o_id) — Delivery_GPS
  • 배달 주소지 (o_address) — Delivery_GPS
  • 제품번호 (p_no)
  • 주문 개수 (o_num)
  • 총 단가 (o_Total)
  • 주문 일자 (o_date)
  • 주문 승인여부 (o_permit)

Product (재고)

  • 제품 번호 (p_no) — OrderList — Primary key — NOT NULL
  • 아이디 (id) — Foreign key → login.아이디 — NOT NULL
  • 제품 이름 (p_name)
  • 단가 (p_price)
  • 총 개수 (p_num)
  • 최소 온도 (p_minT)
  • 최대 온도 (p_maxT)

Product_product (상품재고)

  • 제품 번호 (Product_no) — Primary key — NOT NULL
  • 제품 이름 (Product_name)
  • 제품 가격 (Product_price)
  • 제품 회사 (Product_Company)
  • 제품 사진 (Product_image)

Product_productDetail (상품 상세옵션)

  • 제품 이름상세정보 (Product_nameDetail)
  • 제품 가격상세정보 (Product_priceDetail)
  • 제품 번호상세정보 (Product_noDetail)

login (로그인)

  • 아이디 (id) — Primary key — NOT NULL
  • 비밀번호 (password)
  • 이름 (name)