mis_prod

Tables (23)

attach_file

  • unified_attach_file_uid — bigint — Primary key — NOT NULL — 통합 첨부파일 관리번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_attach_file_uid — int — NOT NULL — 원본 attach_file_uid
  • file_base_id — smallint — NOT NULL — 첨부파일 코드(10015)
  • file_uid — int — NOT NULL — 해당 테이블 고유번호
  • file_nm — varchar(255) — NOT NULL — 파일명
  • file_url — varchar(255) — NOT NULL — 파일 경로
  • reg_dt — datetime — 등록 일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각

code_base

  • unified_code_base_id — bigint — Primary key — NOT NULL — 통합 코드그룹 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_code_base_id — smallint — NOT NULL — 원본 code_base_id
  • code_base_nm — varchar(100) — NOT NULL — 코드그룹 이름
  • sort — int — 정렬 순서
  • stat_flag — char(1) — 노출여부 1, 비노출:0
  • reg_dt — datetime — 등록 일시
  • upd_dt — datetime — 수정 일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각

code_dtl

  • unified_code_dtl_id — bigint — Primary key — NOT NULL — 통합 코드그룹 상세 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_code_base_id — smallint — NOT NULL — 원본 code_base_id
  • source_code_dtl_id — smallint — NOT NULL — 원본 code_dtl_id
  • code_dtl_nm — varchar(100) — NOT NULL — 코드그룹 상세이름
  • code_dtl_desc — varchar(100) — 코드그룹 상세 설명
  • sort — int — 정렬 순서
  • stat_flag — char(1) — 노출여부 1: 비노출, 0:노출
  • reg_dt — datetime — 등록일시
  • upd_dt — datetime — 수정일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각

experiment

  • unified_experiment_uid — bigint — Primary key — NOT NULL — 통합 실험 관리 번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_experiment_uid — int — NOT NULL — 원본 experiment_uid
  • experiment_no — varchar(100) — NOT NULL — 실험차수
  • exp_base_id — smallint — NOT NULL — 실험 종류(code_base_id -> PMAS:10003, 대사체:10004, NGS:10005)
  • exp_dtl_id — smallint — 실험 상세 종류(code_dtl_id)
  • experiment_dt — date — 실험일
  • experiment_stat — smallint — NOT NULL — 실험 상태(code_base_id: 10011)
  • complete_dt — date — 완료일
  • ph_msg — varchar(255) — pH 전/후
  • experiment_msg — varchar(255) — 실험 내용
  • file_path — varchar(255) — NGS 파일 경로
  • ngs_system — smallint — NGS 실험 장비 (mylab, code_base_id: 10032)
  • reg_dt — datetime — 등록 일시
  • upd_dt — datetime — 수정 일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각

experiment_dtl

  • unified_experiment_dtl_uid — bigint — Primary key — NOT NULL — 통합 실험 상세 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_experiment_dtl_uid — int — NOT NULL — 원본 experiment_dtl_uid
  • exp_id — varchar(50) — 실험 ID
  • exp_dt — date — 실험일
  • exp_base_id — smallint — 실험 종류(code_base_id -> PMAS:10003, 대사체:10004, NGS:10005)
  • exp_dtl_id — smallint — 실험 상세 종류(code_dtl_id)
  • plate_no — char(6) — PLATE 위치
  • pmas_no — varchar(100) — 관련 PMAS 실험차수
  • weight — varchar(100) — weight
  • dw_ul — varchar(100) — dw_ul
  • replicates — int — 재분석수(re_analysis_count)
  • repeats — tinyint — 반복 분석 수(repeat_count)
  • rid_no — varchar(100) — RID No.
  • gc_buffer_dt — date — GC buffer 제조일
  • fid_no — varchar(100) — FID No.
  • method — varchar(100) — Method
  • service_type — int — 서비스 종류(NGS, code_base_id: 10012)
  • sample_info — varchar(100) — 실험 정보
  • dna_dt — datetime — DNA 프랩일
  • sequencing — smallint — 결과파일 순서
  • f_file_nm — varchar(100) — Forward file name
  • r_file_nm — varchar(100) — Reverse file name
  • remarks — varchar(255) — 비고
  • complete_dt — date — 완료일
  • result — char(1) — 결과(P/F)
  • result_data — longtext — 결과데이터
  • reg_dt — datetime — 등록 일시
  • upd_dt — datetime — 수정 일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_experiment_uid — bigint — Foreign key → experiment.unified_experiment_uid — NOT NULL — 통합 실험 관리 번호
  • unified_sample_uid — bigint — Foreign key → sample.unified_sample_uid — NOT NULL — 통합 샘플 관리 번호

pretreatment

  • unified_pretreatment_uid — bigint — Primary key — NOT NULL — 샘플 전처리 내부식별자 PK
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_pretreatment_uid — int — NOT NULL — 원본 pretreatment_uid
  • short_form — varchar(11) — 약식
  • sample_gram — float — 샘플양
  • medium_gram — float — 배지량
  • residual_yn — char(1) — 잔여여부
  • remarks — varchar(255) — 비고
  • pretreatment_reg_dt — date — 전처리일
  • reg_dt — datetime — 등록 일시
  • upd_dt — datetime — 수정 일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_sample_uid — bigint — Foreign key → sample.unified_sample_uid — NOT NULL — 통합 샘플 관리 번호

project

  • unified_project_uid — bigint — Primary key — NOT NULL — 통합 프로젝트 관리 번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_project_uid — int — NOT NULL — 원본 project_uid
  • project_nm — varchar(50) — NOT NULL — 프로젝트명
  • closing_yn — char(1) — NOT NULL — 진행상태(N:진행, Y:종결)
  • closing_dt — datetime — 종결 일시
  • result_max_file — int — NOT NULL — 결과지 파일 개수
  • result_team_cd — varchar(100) — 결과지 승인 팀 목록
  • is_question — char(1) — 설문지 필요 여부(Y:필요, N:불필요)
  • is_result — char(1) — NOT NULL — 결과지 필요 여부(Y:필요, N:불필요)
  • question_id — int — 설문 고유번호
  • report_id — int — 결과지 고유번호
  • wbs_nm — varchar(12) — WBS번호
  • distribution — varchar(15) — 배부기준
  • erp_project_type — varchar(5) — ERP프로젝트유형 (lms 전용)
  • tot_week — varchar(10) — ERP전체주차
  • finish_day — int — 결과지 완료 소요일
  • p_retention_period — int — 개인정보 보존 기한(개월)
  • a_retention_period — int — 분석 대상물 보존 기한(개월)
  • reg_dt — datetime — 등록 일시
  • upd_dt — datetime — 수정 일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각

project_experiment

  • unified_project_experiment_uid — bigint — Primary key — NOT NULL — 통합 프로젝트 실험 고유번호(PK)
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_experiment_uid — int — NOT NULL — 원본 experiment_uid - experiment 테이블들과의 연관성 없음
  • exp_base_id — smallint — NOT NULL — 실험 그룹 번호(code_base_id)
  • exp_dtl_id — smallint — NOT NULL — 실험 상세 번호(code_dtl_id)
  • reg_dt — datetime — 등록 일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_project_uid — bigint — Foreign key → project.unified_project_uid — NOT NULL — 통합 프로젝트 관리 번호

qiime2_task_list

  • unified_qiime2_task_list_uid — int — Primary key — NOT NULL — 통합 task 고유번호
  • source_system — varchar(10) — NOT NULL — 데이터 출처 (mylab/lms 등)
  • source_qiime2_task_list_id — int — NOT NULL — 원본 시스템 task 고유번호
  • task_stat — int — NOT NULL — task 상태코드
  • start_dt — datetime — task 시작일시
  • end_dt — datetime — task 종료일시
  • reg_dt — datetime — NOT NULL — task 등록일시
  • task_id — varchar(256) — task ID
  • task_path — varchar(512) — NOT NULL — 분석 Root Path
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_experiment_uid — bigint — Foreign key → experiment.unified_experiment_uid — NOT NULL — 통합 실험 관리 번호

qiime2_task_result

  • unified_qiime2_task_result_uid — int — Primary key — NOT NULL — 통합 고유번호(PK)
  • source_system — varchar(10) — NOT NULL — 데이터 출처 (mylab/lms 등)
  • source_qiime2_task_result_id — int — NOT NULL — 원본 시스템 고유번호
  • qiime2_task_result — json — 1차 분석 결과
  • reg_dt — datetime — 등록일자
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_qiime2_task_list_uid — int — Foreign key → qiime2_task_list.unified_qiime2_task_list_uid — NOT NULL — 통합 task 고유번호
  • unified_experiment_uid — bigint — Foreign key → experiment.unified_experiment_uid — NOT NULL — 통합 실험 관리 번호
  • unified_sample_uid — bigint — Foreign key → sample.unified_sample_uid — NOT NULL — 통합 샘플 관리 번호

question

  • unified_question_uid — bigint — Primary key — NOT NULL — 통합 문진 설정 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_question_id — int — NOT NULL — 원본 question_id
  • question_nm — varchar(100) — 문진명
  • use_yn — char(1) — 사용 여부
  • reg_dt — datetime — 등록일자
  • loaded_at — datetime — NOT NULL — prod 적재 시각

question_ask

  • unified_question_ask_uid — bigint — Primary key — NOT NULL — 통합 문진 답변 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_question_ask_id — int — NOT NULL — 원본 question_ask_id
  • reg_dt — datetime — 등록 일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_sample_uid — bigint — Foreign key → sample.unified_sample_uid — NOT NULL — 통합 샘플 관리 번호
  • unified_question_uid — bigint — Foreign key → question.unified_question_uid — NOT NULL — 통합 문진 설정 고유번호

question_ask_item

  • unified_question_ask_item_uid — bigint — Primary key — NOT NULL — 통합 문진 답변 아이템 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_question_ask_item_id — int — NOT NULL — 원본 question_ask_item_id
  • ask_number — int — 답변 숫자
  • ask_date — datetime — 답변 날짜
  • ask_text — varchar(2000) — 문진 답변 기타
  • ask_etc — varchar(100) — 삭제 여부
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • answer_type — enum('NUMBER', 'DATE', 'TEXT', 'ETC', 'NUMBER_TEXT')
  • answer_raw_text — varchar(2000)
  • unified_question_ask_uid — bigint — Foreign key → question_ask.unified_question_ask_uid — NOT NULL — 통합 문진 답변 고유번호
  • unified_question_bank_item_uid — bigint — Foreign key → question_bank_item.unified_question_bank_item_uid — NOT NULL — 통합 문진 문항 고유번호

question_bank

  • unified_question_bank_uid — bigint — Primary key — NOT NULL — 통합 문진 은행 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_question_bank_id — int — NOT NULL — 원본 question_bank_id
  • question_cd — int — 문항 분류 코드(code_base_id: 10006)
  • question_title — varchar(100) — 문항 제목
  • reg_dt — datetime — 등록 일자
  • loaded_at — datetime — NOT NULL — prod 적재 시각

question_bank_item

  • unified_question_bank_item_uid — bigint — Primary key — NOT NULL — 통합 문진 문항 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_question_bank_item_id — int — NOT NULL — 원본 question_bank_item_id
  • question_item_cd — int — 응답 방식
  • question_desc — varchar(100) — 설명
  • question_memo — text — 문항 보기
  • privacy_yn — char(1) — 개인정보 여부
  • sort — int — 정렬 순서
  • reg_dt — datetime — 등록일자
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_question_bank_uid — bigint — Foreign key → question_bank.unified_question_bank_uid — NOT NULL — 통합 문진 은행 고유번호

question_item

  • unified_question_item_uid — bigint — Primary key — NOT NULL — 통합 문진 설정 아이템 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_question_item_id — int — NOT NULL — 원본 question_item_id
  • required_yn — char(1) — 필수 응답 여부
  • sort — int — 정렬 순서
  • mapping — varchar(100) — 외부 데이터 매핑 키
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_question_uid — bigint — Foreign key → question.unified_question_uid — NOT NULL — 통합 문진 설정 고유번호
  • unified_question_bank_item_uid — bigint — Foreign key → question_bank_item.unified_question_bank_item_uid — NOT NULL — 통합 문진 문항 고유번호

report

  • unified_report_uid — bigint — Primary key — NOT NULL — 통합 결과지 설정 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_report_id — int — NOT NULL — 원본 report_id
  • report_nm — varchar(100) — 결과지 명
  • use_yn — char(1) — 사용 여부
  • reg_dt — datetime — 등록일자
  • loaded_at — datetime — NOT NULL — prod 적재 시각

report_ask

  • unified_report_ask_uid — bigint — Primary key — NOT NULL — 통합 결과지 응답 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_report_ask_id — int — NOT NULL — 원본 report_ask_id
  • report_chk_yn — char(1) — 분석데이터 검토 상태(mylab)
  • reg_dt — datetime — 등록일자
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_sample_uid — bigint — Foreign key → sample.unified_sample_uid — NOT NULL — 통합 샘플 관리 번호
  • unified_report_uid — bigint — Foreign key → report.unified_report_uid — NOT NULL — 통합 결과지 설정 고유번호

report_ask_item

  • unified_report_ask_item_id — bigint — Primary key — NOT NULL — 통합 결과지 응답 아이템 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_report_ask_item_id — int — NOT NULL — 원본 report_ask_item_id
  • item_key — varchar(200) — 결과지 필드명
  • item_value — varchar(400) — 결과지 응답
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_report_ask_uid — bigint — Foreign key → report_ask.unified_report_ask_uid — NOT NULL — 통합 결과지 응답 고유번호

report_confirm

  • unified_report_confirm_uid — bigint — Primary key — NOT NULL — 통합 결과지 승인 내역 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_report_confirm_id — int — NOT NULL — 원본 report_confirm_id
  • team_cd — int — 검토 팀 코드
  • stat_cd — int — 검토 상태 코드(10025)
  • use_yn — char(1) — 검토 이력 사용 여부
  • reg_dt — datetime — 등록일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_sample_uid — bigint — Foreign key → sample.unified_sample_uid — NOT NULL — 통합 샘플 관리 번호

report_item

  • unified_report_item_uid — bigint — Primary key — NOT NULL — 통합 결과지 설정 아이템 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_report_item_id — int — NOT NULL — 원본 report_item_id
  • item_key — varchar(200) — 결과지 필드명
  • item_type — int — 결과지 필드 타입
  • item_desc — varchar(100) — 결과지 필드 설명
  • privacy_yn — char(1) — 개인정보 유무
  • sort — int — 정렬
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_report_uid — bigint — Foreign key → report.unified_report_uid — NOT NULL — 통합 결과지 설정 고유번호

sample

  • unified_sample_uid — bigint — Primary key — NOT NULL — 통합 샘플 관리 번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • source_sample_uid — int — NOT NULL — 원본 sample_uid
  • sample_id — varchar(30) — NOT NULL — 샘플 ID
  • sample_type — smallint — 샘플 타입(10008)
  • sample_stat — smallint — 샘플 상태(10009)
  • is_result — char(1) — 분석 데이터 필요 여부
  • is_report — char(1) — 결과지 등록 여부
  • result_file_cnt — int — 결과지 파일 개수
  • result_stat_cd — int — 결과지 상태 코드(10025)
  • report_confirm_yn — char(1) — 결과지 검토 여부(mylab)
  • report_confirm_dt — date — 결과지 검토 완료일
  • result_review_dt — date — 결과지 검토 목표일(mylab)
  • result_comp_dt — date — 결과지 발송 예정일
  • result_pub_dt — date — 결과지 발송일
  • exp_comp_dt — date — 분석 완료 예정일(mylab)
  • is_mock — char(1) — NOT NULL — Mock 샘플 여부
  • sample_reg_dt — date — 샘플 등록일
  • sample_feces_dt — date — 채변일(mylab)
  • destroy_yn — char(1) — 개인정보 파기 여부
  • remarks — varchar(255) — 비고
  • exp_stat — char(1) — 실험 완료 여부
  • p_retention_period_dt — date — 개인정보 보존 기한일
  • a_retention_period_dt — date — 분석 대상물 보존 기한일
  • rel_sample_id — varchar(30) — 연관 샘플 ID
  • reg_dt — datetime — 등록 일시
  • upd_dt — datetime — 수정 일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_project_uid — bigint — Foreign key → project.unified_project_uid — NOT NULL — 통합 프로젝트 관리 번호

sample_experiment

  • unified_sample_experiment_uid — bigint — Primary key — NOT NULL — 통합 샘플-실험 매핑 고유번호
  • source_system — enum('mylab', 'lms') — NOT NULL — 출처 DB
  • exp_base_id — smallint — NOT NULL — 실험 그룹 번호(code_base_id)
  • exp_dtl_id — smallint — NOT NULL — 실험 상세 번호(code_dtl_id)
  • exp_stat — smallint — 실험 상태(code_base_id: 10007)
  • reg_dt — datetime — 등록 일시
  • upd_dt — datetime — 수정 일시
  • loaded_at — datetime — NOT NULL — prod 적재 시각
  • unified_sample_uid — bigint — Foreign key → sample.unified_sample_uid — NOT NULL — 통합 샘플 관리 번호