theragen-health

Tables (38)

Agreement (동의서)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • agreement_type (동의서 타입) — AGREEMENT_TYPE
  • is_necessary (필수 여부) — boolean
  • title (동의서 제목) — text
  • contents (동의서 내용) — text
  • sort_num (정렬 순서) — number
  • option_info (선택 안내) — text
  • has_sub_title (서브타이틀 여부) — boolean

AgreementDetail (동의서 상세)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • title (상세 제목) — text
  • contents (상세 내용) — text
  • agreement (동의서) — Agreement — Foreign key → Agreement.unique_id — NOT NULL
  • agreement_sub_title (동의 부제목) — AGREEMENT_SUB_TITLE

Certify (인증)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • code (코드) — text
  • expired_at (만료일) — DataTime
  • phone (핸드폰 번호) — text
  • certify_type (인증 타입) — CERTIFY_TYPE

ContentsDisplay (컨텐츠 전시)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • display_place (전시 장소) — DISPLAY_PLACE
  • image (이미지) — image
  • sort_num (정렬 순서) — number
  • video (비디오) — file

Courier (택배사)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • name (택배사 이름) — text
  • code (택배사 코드) — text

DisplaySentence (전시 문장)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • sentenct (문장) — text
  • display_place (전시 위치) — DISPLAY_PLACE

FAQ

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • question (질문) — text
  • answer (답변) — text
  • sort_num (정렬 순서) — number

Inquiry (문의)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • Inquiry_state (문의 상태) — INQUIRY_STATE
  • title (문의 제목) — text
  • contents (문의 내용) — text
  • answer (문의 답변) — text
  • inquiry_at (문의 날짜) — DateTime
  • user (문의자) — User — Foreign key → User.email — NOT NULL
  • admin (답변자) — User — Foreign key → User.email — NOT NULL

Notice (공지사항)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • title (제목) — text
  • contnets (내용) — text
  • created_at (생성일자) — DateTime

Phenotype (검사 항목)

  • phenotype_id (검사 항목 아이디) — text — Primary key — NOT NULL
  • phenotype_category (검사 카테고리) — PHENOTYPE_CATEGORY
  • name (검사항목 명) — text
  • name_dtc (DTC 검사항목 명) — text
  • sort_num (정렬 순서) — number
  • image (이미지) — Image

PhenotypeDetail (검사 항목 상세)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • phenotype (검사 항목) — Phenotype — Foreign key → Phenotype.phenotype_id — NOT NULL
  • no (번호) — number
  • phenotype_contents (검사항목 설명) — text
  • expression_one (1단계 표현) — text
  • expression_two (2단계 표현) — text
  • expression_three (3단계 표현) — text
  • result_contents (분석결과 설명) — text
  • result_contents_genetic_variation (유전변이 보유 시 분석결과 설명) — text
  • genetic_variation_count (유전변이 분석 개수) — number
  • solution_one_title (1단계 솔루션 제목) — text
  • solution_one_contents (1단계 솔루션 내용) — text
  • solution_two_title (2단계 솔루션 제목) — text
  • solution_two_contents (2단계 솔루션 내용) — text
  • solution_three_title (3단계 솔루션 제목) — text
  • solution_three_contents (3단계 솔루션 내용) — text
  • solution_three_contents_good (3단계 솔루션 내용(양호)) — text
  • heritability_male (유전율 남성) — text
  • heritability_female (유전율 여성) — text
  • recommended_ingredients (추천성분) — text
  • nutrient_additional (영양소 항목 추가문구) — text

PhenotypeGene (유전자)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • phenotype (검사 항목) — Phenotype — Foreign key → Phenotype.phenotype_id — NOT NULL
  • name (유전자명) — text
  • function (유전자 기능) — text
  • influencing_factor_work (영향인자 작용) — text
  • is_function (기능 여부) — boolean
  • is_asian (아시아인 여부) — boolean
  • is_replication (복제 여부) — boolean
  • is_display_race_as (결과 내 표시 여부 - 아시아 인종) — boolean
  • is_display_race_eu (결과 내 표시 여부 - 유럽 인종) — boolean
  • is_display_race_am (결과 내 표시 여부 - 아메리카 인종) — boolean
  • is_display_race_oc (결과 내 표시 여부 - 오세아니아 인종) — boolean
  • is_display_race_me (결과 내 표시 여부 - 중동 인종) — boolean
  • is_display_race_af (결과 내 표시 여부 - 아프리카) — boolean
  • reference (참고문헌) — text

PhenotypeRef (검사 항목 참고자료)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • phenotype (검사 항목 아이디) — text
  • ref1 (참고자료 1) — text
  • ref2 (참교자료 2) — text
  • ref3 (참고자료 3) — textr

PhenotypeSnp (SNP)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • phenotype (검사 항목) — Phenotype — Foreign key → Phenotype.phenotype_id — NOT NULL
  • gene_report (유전자 보고 코드) — text
  • risk_allele (위험 대립 인자) — text
  • non_risk_allele (비위험 대립 인자) — text
  • non_risk_homo_genotype (비위험 동형 접합체 유전자형 타입) — text
  • non_risk_homo_freq (비위험 동형 접합체 빈도) — number
  • hetoro_genotype (헤테로 유전자형 타입) — text
  • hetero_freq (헤테로 빈도) — number
  • risk_homo_genotype (위험 동형 접합체 유전자형 타입) — text
  • risk_homo_freq (위험 동형 접합체 빈도) — number

RandomProfile (랜덤 프로필)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • gender_type (성별 유형) — GENDER_TYPE
  • image (이미지) — image

ResARS1 (진행상태 조회 Res)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • status_code (결과 코드) — text
  • description (결과 메시지) — text
  • req_id (요청 아이디) — text
  • raw_data (원문) — ARS1

ResARS1_data (ARS1's data)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • statusNm (상태명) — text
  • statusCd (상태코드) — text
  • fakePath (결과지 코드) — text
  • ResARS1 (진행상태 조회 Res) — ResARS1 — Foreign key → ResARS1.unique_id — NOT NULL

ResARS1_kdata (ARS1's kdata)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • deliCd (키트 배송 택배사 코드) — text
  • invoice (키트 배송 송장번호) — text
  • ResARS1 (진행상태 조회 Res) — ResARS1 — Foreign key → ResARS1.unique_id — NOT NULL

ResARS1_rdata (CopyOfARS1's kdata)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • deliCd (키트 배송 택배사 코드) — text
  • invoice (키트 배송 송장번호) — text
  • ResARS1 (진행상태 조회 Res) — ResARS1 — Foreign key → ResARS1.unique_id — NOT NULL

ResCBC2 (바코드 유효성 체크 Res)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • Status (주문 상태 코드) — text
  • status_code (결과 코드) — text
  • description (결과 메시지) — text
  • barCode (바코드 정보) — text
  • req_id (요청 아이디) — text
  • raw_data (원문) — CBC2

ResCBN (바코드 등록 Res)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • status_code (결과 코드) — text
  • description (결과 메시지) — text
  • req_id (요청 아이디) — text
  • raw_data (원문) — CBN

ResCJN (구매자정보 등록 Res)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • userKey (고객 식별키) — text
  • status_code (결과 코드) — text
  • description (결과 메시지) — text
  • req_id (요청 아이디) — text
  • raw_data (원문) — CJN

ResCKR (키트회송 Res)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • status_code (결과 코드) — text
  • description (결과 메시지) — text
  • req_id (요청 아이디) — text
  • raw_data (원문) — CKR

ResCOC (주문상태 변경 Res)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • status_code (결과 코드) — text
  • description (결과 메시지) — text
  • req_id (요청 아이디) — text
  • raw_data (원문) — COC

ResCOE (주문정보 등록 Res)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • orderNo (주문 번호) — text
  • status_code (결과 코드) — text
  • description (결과 메시지) — text
  • req_id (요청 아이디) — text
  • raw_data (원문) — COE

ResCOS (주문상태 조회 Res)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • Status (주문 상태 코드) — text
  • status_code (결과 코드) — text
  • description (결과 메시지) — text
  • barCode (바코드 정보) — text
  • req_id (요청 아이디) — text
  • raw_data (원문) — COS

ResGSC2 (결과데이터 조회 Res)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • status_code (결과 코드) — text
  • description (결과 메시지) — text
  • req_id (요청 아이디) — text
  • raw_data (원문) — GSC2

ResGSC2_fdata (GSC2's fdata)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • solution_nm (솔루션 이름) — text
  • solution_id (솔루션 코드) — text
  • gubun (솔루션 구분) — text
  • resGSC2 (ResGSC2) — ResGSC2 — Foreign key → ResGSC2.unique_id — NOT NULL

ResGSC2_gdata (GSC2's gdata)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • gene_nm (유전자 명) — text
  • phenotype_id (검사항목 코드) — text
  • genotype (고객 유전자 형) — text
  • risk_cnt (변이 개수) — text
  • freq_genotype (나의 유전자형 비율) — text
  • resGSC2 (ResGSC2) — ResGSC2 — Foreign key → ResGSC2.unique_id — NOT NULL

ResGSC2_pdata (GSC2's pdata)

  • unique_id (고유 아이디) — text — Primary key — NOT NULL
  • t_score (검사항목 점수) — text
  • v_score (검사항목 점수 2) — text
  • phenotype_id (검사항목 코드) — text
  • resGSC2 (ResGSC2) — ResGSC2 — Foreign key → ResGSC2.unique_id — NOT NULL

Term (이용 약관)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • version_at (버전 날짜) — DateTime
  • term_type (이용약관 유형) — TERM_TYPE
  • contents (내용) — text

User (유저)

  • email (이메일) — text — Primary key — NOT NULL
  • password (비밀번호) — text
  • init_password (초기 비밀번호) — text
  • control_password (조작 비밀번호) — text
  • login_type (로그인 유형) — LOGIN_TYPE
  • user_type (유저 유형) — USER_TYPE
  • user_state (유저 상태) — USER_STATE
  • phone (핸드폰 번호) — text
  • is_alram (알림 여부) — boolean
  • address (주소) — text
  • postno (우편번호) — text
  • address_detail (주소 상세) — text
  • birthday (생년월일) — text
  • gender_type (성별) — GENDER_TYPE
  • name (이름) — text
  • ========== (=========) — =========
  • userKey (테라젠 유저키) — text
  • userID (테라젠 유저아이디) — text
  • profile_image (프로필 이미지) — image
  • ========== — ===========
  • legal_name (법정 대리인 성명) — text
  • legal_data (법정 대리인 서류) — File
  • legal_sign (법정 대리인 사인) — Image
  • legal_phone (법정 대리인 전화번호) — text
  • legal_representative_type (법정대리인 관계) — LEGAL_REPRESENTATIVE_TYPE

UserBarcode (유저 바코드)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • barcode_status (바코드 상태) — BARCODE_STATUS
  • barcode (바코드) — text
  • created_at (생성 일자) — DateTime
  • check_at (검사완료 확인 시간) — DateTime
  • status_code (상태 코드) — text
  • user (유저) — User — Foreign key → User.email — NOT NULL
  • courier (택배사) — Courier — Foreign key → Courier.unique_id — NOT NULL
  • invoice_num (송장번호) — text

UserBarcodeResult (유저 검사 결과)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • user_barcode (유저 바코드) — UserBarcode — Foreign key → UserBarcode.unique_id — NOT NULL
  • user (유저) — User — Foreign key → User.email — NOT NULL
  • cdata_list (cdata 리스트) — List<cdata>
  • pdata_list (pdata 리스트) — List<pdata>
  • gdata_list (gdata 리스트) — List<gdata>

UserGene (유저 유전자)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • user_barcode_result (유저 검사 결과) — UserBarcodeResult — Foreign key → UserBarcodeResult.unique_id — NOT NULL
  • user_phenotype (유저 검사 항목) — UserPhenotype — Foreign key → UserPhenotype.unique_id — NOT NULL
  • user (유저) — User — Foreign key → User.email — NOT NULL
  • phenotype_gene (유전자) — PhenotypeGene — Foreign key → PhenotypeGene.unique_id — NOT NULL

UserNotification (유저 앱알림)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • title (제목) — text
  • date (날짜) — Date
  • notification_type (알림 타입) — NOTIFICATION_TYPE
  • target_id (타겟 고유번호) — text
  • user (유저) — User — Foreign key → User.email — NOT NULL
  • is_view (조회 여부) — boolean

UserPhenotype (유저 검사 항목)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • user_barcode_result (유저 검사 결과) — UserBarcodeResult — Foreign key → UserBarcodeResult.unique_id — NOT NULL
  • user (유저) — User — Foreign key → User.email — NOT NULL
  • phenotype (검사 항목) — Phenotype — Foreign key → Phenotype.phenotype_id — NOT NULL

UserSnp (유저 SNP)

  • unique_id (고유 번호) — text — Primary key — NOT NULL
  • user_barcode_result (유저 검사 결과) — UserBarcodeResult — Foreign key → UserBarcodeResult.unique_id — NOT NULL
  • user_phenotype (유저 검사 항목) — UserPhenotype — Foreign key → UserPhenotype.unique_id — NOT NULL
  • user (유저) — User — Foreign key → User.email — NOT NULL
  • phenotype_snp (SNP) — PhenotypeSnp — Foreign key → PhenotypeSnp.unique_id — NOT NULL