SEMES ERD

Tables (7)

checkState (전체 현황)

  • 정보 PK (wheel_info_id) — AI — Primary key — NOT NULL
  • 라벨 (label) — int
  • 개수 (count) — int

imgFile (바퀴 이미지)

  • 파일 PK (file_id) — AI — Primary key — NOT NULL
  • 원본파일명 (origin_name) — varchar(100)
  • 폴더 (dir) — varchar(varchar(50)
  • 변환파일명 (save_name) — varchar(200)

ohtCheck (OHT 검사 ID)

  • OHT CHECK PK (oht_check_id) — int — Primary key — NOT NULL
  • 검사시작 (oht_check_start_datetime) — datetime
  • 검사끝 (oht_check_end_datetime) — datetime
  • 양호 볼트 개수 (good_count_total) — int
  • 유실 볼트 개수 (out_count_total) — int
  • 풀림볼트 개수 (lose_count_total) — int
  • 모호볼트 개수 (unclassified _count_total) — int

ohts (OHT 정보)

  • OHT PK (oht_id) — AI — Primary key — NOT NULL
  • Serial Number (oht_sn) — varchar(10)
  • OHT CHECK PK (oht_check_id) — int — Foreign key → ohtCheck.OHT CHECK PK — NOT NULL

user (사용자)

  • 사용자 PK (user_id) — AI — Primary key — NOT NULL
  • 사용자이름 (user_name) — varchar(20)
  • 사용자 권한 (user_role) — varchar(10)
  • NFC card ID (nfc_idid) — varchar(10)

wheelCheck (바퀴 검사 기록)

  • 검사 기록 PK (wheel_check_id) — AI — Primary key — NOT NULL
  • 검사시간 (wheel_check_date) — date
  • 검사 결과 (wheel_check_result) — int
  • 검사 기준값 (wheel_check_criteria) — float
  • 검사 결과값 (wheel_check_rate) — float
  • 양호 개수 (good_count) — int
  • 유실 개수 (out_count) — int
  • 풀림 개수 (lose_count) — int
  • 모호 개수 (unclassified_count) — int
  • 바퀴 위치 (wheel_position) — char(2)
  • 파일 PK (file_id) — AI — Foreign key → imgFile.파일 PK — NOT NULL
  • OHT CHECK PK (oht_check_id) — int — Foreign key → ohtCheck.OHT CHECK PK — NOT NULL

wheelCheckConfirm (검사 결과 확인 기록)

  • Primary key (check_id) — AI — Primary key — NOT NULL
  • 검사 확인 일시 (check_date) — date
  • 사용자 PK (user_id) — AI — Foreign key → user.사용자 PK — NOT NULL
  • 검사 기록 PK (wheel_history_id) — AI — Foreign key → wheelCheck.검사 기록 PK — NOT NULL