IMPRESSER ERD
테이블 (7)
변환 내역 (convert_history)
- 변환 내역 id (id) — bigint — 기본 키 — NOT NULL
- 변환 내역 uuid (uuid) — binary(16) — NOT NULL
- bmp 이미지 키 (bmp_key) — varchar(200) — NOT NULL
- bmp 이미지 용량 (bmp_volume) — bigint — NOT NULL
- bmp 이미지 가로 (bmp_width) — bigint — NOT NULL
- bmp 이미지 세로 (bmp_height) — bigint — NOT NULL
- tiff 이미지 키 (tiff_key) — varchar(200)
- tiff 이미지 용량 (tiff_volume) — bigint
- tiff 이미지 가로 (tiff_width) — bigint
- tiff 이미지 세로 (tiff_height) — bigint
- 요청 시각 (requested_at) — datetime — NOT NULL
- 완료 시각 (completed_at) — datetime
- gpu 평균 이용률 (avg_gpu_utilization) — bigint
- 평균 속도 (avg_speed) — decimal(10,2)
- 최고 속도 (max_speed) — decimal(10,2)
- 최저 속도 (min_speed) — decimal(10,2)
- 압축률 (compression_ratio) — bigint
- 압축 소요 시간 (compression_time) — decimal(10, 2)
- 압축 방식 id (compression_type_id) — bigint — 외래 키 → 압축 방식.압축 방식 id — NOT NULL
- 사용자 id (user_id) — bigint — 외래 키 → 사용자.사용자 id — NOT NULL
사용자 (users)
- 사용자 id (id) — bigint — 기본 키 — NOT NULL
- 사용자 uuid (uuid) — binary(16) — NOT NULL
- 사번 (employee_no) — varchar(7) — NOT NULL
- 비밀번호 (password) — varchar(100) — NOT NULL
- 이름 (user_name) — varchar(20) — NOT NULL
- 권한 (user_role) — enum('ADMIN', 'EMPLOYEE') — NOT NULL
- 프로필 사진 key (profile_key) — varchar(100)
- 생성 일시 (created_at) — datetime — NOT NULL
- 수정 일시 (updated_at) — datetime — NOT NULL
- 삭제 일시 (deleted_at) — datetime
생성 내역 (generation_history)
- id — bigint — 기본 키 — NOT NULL
- 생성 내역 uuid (uuid) — binary(16) — NOT NULL
- BMP 이미지 키 (bmp_key) — varchar(200)
- 요청 시각 (requested_at) — datetime — NOT NULL
- 시작 시각 (started_at) — datetime
- 완료 시각 (completed_at) — datetime
- 이미지 생성 상태 (status) — enum(“PENDING”, “RUNNING”, “COMPLETED”, “FAILED”) — NOT NULL
- bmp 이미지 용량 (bmp_volume) — bigint — NOT NULL
- bmp 이미지 가로 (bmp_width) — bigint — NOT NULL
- bmp 이미지 세로 (bmp_height) — bigint — NOT NULL
- Red 개수 X (red_count_x) — int — NOT NULL
- Red 개수 Y (red_count_y) — int — NOT NULL
- Red 크기 X (red_size_x) — int — NOT NULL
- Red 크기 Y (red_size_y) — int — NOT NULL
- Red 간격 X (red_gap_x) — int — NOT NULL
- Red 간격 Y (red_gap_y) — int — NOT NULL
- Green 개수 X (green_count_x) — int — NOT NULL
- Green 개수 Y (green_count_y) — int — NOT NULL
- Green 크기 X (green_size_x) — int — NOT NULL
- Green 크기 Y (green_size_y) — int — NOT NULL
- Green 간격 X (green_gap_x) — int — NOT NULL
- Green 간격 Y (green_gap_y) — int — NOT NULL
- Blue 개수 X (blue_count_x) — int — NOT NULL
- Blue 개수 Y (blue_count_y) — int — NOT NULL
- Blue 크기 X (blue_size_x) — int — NOT NULL
- Blue 크기 Y (blue_size_y) — int — NOT NULL
- Blue 간격 X (blue_gap_x) — int — NOT NULL
- Blue 간격 Y (blue_gap_y) — int — NOT NULL
- RG 간격 (rg_gap) — int — NOT NULL
- GB 간격 (gb_gap) — int — NOT NULL
- 사용자 id (user_id) — bigint — 외래 키 → 사용자.사용자 id — NOT NULL
압축 방식 (compression_type)
- 압축 방식 id (id) — bigint — 기본 키 — NOT NULL
- 압축 방식 uuid (uuid) — binary(16) — NOT NULL
- 방식 (compression_type) — varchar(20) — NOT NULL
- 장치 (processing_unit) — varchar(10) — NOT NULL
- 버전 (version) — int — NOT NULL
잉크젯 설비 (inkjet_printer)
- 설비 id (id) — bigint — 기본 키 — NOT NULL
- 설비 uuid (uuid) — binary(16) — NOT NULL
- 모델명 (model_name) — varchar(255) — NOT NULL
- 설비명 (printer_name) — varchar(255) — NOT NULL
- 설치일 (install_date) — date — NOT NULL
- CPU (cpu) — varchar(255) — NOT NULL
- GPU (gpu) — varchar(255) — NOT NULL
- 설비 상태 (printer_status) — enum('BROKEN','UNDER_REPAIR','OPERATIONAL') — NOT NULL
- 진행 상태 (process_status) — enum('WAITING','RUNNING') — NOT NULL
- ram — varchar(10) — NOT NULL
- vram — varchar(10) — NOT NULL
- X 좌표 (canvas_x) — int — NOT NULL
- Y 좌표 (canvas_y) — int — NOT NULL
- 생성 일시 (created_at) — datetime — NOT NULL
- 수정 일시 (updated_at) — datetime — NOT NULL
- 삭제 일시 (deleted_at) — datetime
잉크젯 설비 슬롯 (inkjet_printer_slot)
- 설비 슬롯 id (id) — bigint — 기본 키 — NOT NULL
- 설비 uuid (printer_uuid) — binary(16) — NOT NULL
- 상태 (status) — enum("ACTIVE", "DRAING", "RETIRED") — NOT NULL
- 수정 일시 (updated_at) — datetime
- 생성 일시 (created_at) — datetime — NOT NULL
- 삭제 일시 (deleted_at) — datetime
작업 내역 (job_history)
- 작업 내역 id (id) — bigint — 기본 키 — NOT NULL
- 작업 내역 uuid (uuid) — binary(16) — NOT NULL
- 이미지 키 (image_key) — varchar(200) — NOT NULL
- 요청 시각 (requested_at) — datetime — NOT NULL
- 완료 시각 (completed_at) — datetime
- 요청장수 (sheet_count) — bigint
- 설비 id (printer_id) — bigint — 외래 키 → 잉크젯 설비.설비 id — NOT NULL