Project AUTO-QUOTE

테이블 (12)

factor 기준 세트 (factor_set)

  • Factor 세트 ID (factor_set_id) — NOT NULL — 기본 키 — NOT NULL
  • 버전 라벨 (version_label) — NOT NULL, UNIQUE
  • 상태 (status) — NOT NULL
  • 생성일시 (created_at) — NOT NULL
  • 활성화일시 (activated_at) — NULL

견적 (quotation)

  • 견적 ID (quotation_id) — NOT NULL — 기본 키 — NOT NULL
  • 사용자 ID (user_id) — FK, NOT NULL
  • 견적 상태 (status) — NOT NULL
  • STEP 파일 ID (step_file_id) — FK, NULL
  • BOM 파일 ID (bom_file_id) — FK, NULL
  • 적용 Factor 세트 ID (factor_set_id) — FK, NULL
  • 생성일시 (created_at) — NOT NULL
  • 수정일시 (updated_at) — NOT NULL

견적 BOM 항목 (bom_item)

  • BOM항목 ID (bom_item_id) — NOT NULL — 기본 키 — NOT NULL
  • 견적 ID (quotation_id) — FK, NOT NULL
  • 견적 항목 ID (quotation_item_id) — FK, NOT NULL
  • 라인번호 (line_no) — NULL
  • 수량 (qty) — NOT NULL
  • 단가 (unit_cost) — NULL
  • 합계 금액 (total_cost) — NULL
  • 생성일시 (created_at) — NOT NULL

견적 항목(part) (quotation_item)

  • 견적 항목 ID (quotation_item_id) — NOT NULL — 기본 키 — NOT NULL
  • 견적 ID (quotation_id) — FK, NOT NULL
  • 부품명 (part_name) — NOT NULL
  • 재질 ID (material_id) — FK, NULL
  • 두께 (thickness) — NULL
  • 생성일시 (created_at) — NOT NULL

비용 산출 결과 (cost_estimation)

  • 비용ID (cost_id) — NOT NULL — 기본 키 — NOT NULL
  • 견적 항목 ID (quotation_item_id) — FK, NOT NULL, UNIQUE
  • 재료비 (material_cost) — NULL
  • 가공비 (process_cost) — NULL
  • 금형비 (mold_cost) — NULL
  • 총 비용 (total_cost) — NULL
  • 통화 (currency) — NULL
  • 선택 설비 ID (selected_machine_id) — FK, NULL
  • 적용 Factor 세트 ID (applied_factor_set_id) — FK, NULL
  • 생성일시 (created_at) — NOT NULL

사용자 (user)

  • 사용자 ID (user_id) — NOT NULL — 기본 키 — NOT NULL
  • 이메일 (email) — NOT NULL, UNIQUE
  • 사용자명 (name) — NULL
  • 생성일시 (created_at) — NOT NULL

설비 (machine)

  • 설비 ID (machine_id) — NOT NULL — 기본 키 — NOT NULL
  • 설비명 (name) — NOT NULL
  • 최소 톤수 (tonnage_min) — NULL
  • 최대 톤수 (tonnage_max) — NULL
  • 생성일시 (created_at) — NOT NULL

원자재 최적화 결과 (material_optimization_result)

  • 최적화 ID (optimization_id) — NOT NULL — 기본 키 — NOT NULL
  • 견적 항목 ID (quotation_item_id) — FK, NOT NULL, UNIQUE
  • 여유치(mm) (allowance_mm) — NULL
  • 최적 폭 (optimal_width) — NULL
  • 최적 피치 (optimal_pitch) — NULL
  • 원자재 필요 중량 (required_raw_weight) — NULL
  • 제품 중량 (part_weight) — NULL
  • 재료 이용률 (utilization_rate) — NULL
  • 스크랩 비율 (scrap_rate) — NULL
  • 생성 일시 (created_at) — NOT NULL

재질 (material)

  • 재질 ID (material_id) — NOT NULL — 기본 키 — NOT NULL
  • 재질명 (name) — NOT NULL, UNIQUE
  • 밀도 (density) — NULL
  • 기준단가 (base_price) — NULL
  • 생성일시 (created_at) — NOT NULL

전개결과 (unfold_result)

  • 전개 ID (unfold_id) — NOT NULL — 기본 키 — NOT NULL
  • 견적 항목 ID (quotation_item_id) — FK, NOT NULL, UNIQUE
  • 전개 폭 (flat_width) — NULL
  • 전개 길이 (flat_length) — NULL
  • DXF 파일 ID (dxf_file_id) — FK, NULL
  • SVG 파일 ID (svg_file_id) — FK, NULL
  • 생성 일시 (created_at) — NOT NULL

파일 자산 (file_asset)

  • 파일 ID (file_id) — NOT NULL — 기본 키 — NOT NULL
  • 파일 유형 (file_type) — NOT NULL
  • 파일 경로 (file_path) — NOT NULL
  • 파일명 (file_name) — NULL
  • 파일 크기(Byte) (file_size) — NULL
  • 체크섬 (checksum) — NULL , UNIQUE
  • 생성일시 (created_at) — NOT NULL

형상 분석 결과 (analysis_result)

  • 분석 ID (analysis_id) — NOT NULL — 기본 키 — NOT NULL
  • 견적 항목 ID (quotation_item_id) — FK, NOT NULL, UNIQUE
  • BBox X (bbox_x) — NULL
  • BBox Y (bbox_y) — NULL
  • BBox Z (bbox_z) — NULL
  • 표면적 (surface_area) — NULL
  • 체적 (volume) — NULL
  • 밴딩 횟수 (bend_count) — NULL
  • 홀 개수 (hole_count) — NULL
  • 생성 일시 (created_at) — NOT NULL