건강분석 ERD
테이블 (16)
biological_age (생체나이)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id) — NOT NULL
- String (checkup_date) — NOT NULL — 건강검진 날짜
- double (age) — 실제 나이
- double (total_age) — 종합 생체 나이
- String (total_guide) — 종합 가이드
- double (aging_speed) — 노화속도 (배)
- double (aging_rank) — 노화등수
- double (pancreas_age) — 췌장 나이
- double (kidneys_age) — 신장 나이
- double (lung_age) — 폐 나이
- double (liver_age) — 간 나이
- double (heart_age) — 심장 나이
- double (obesity_body_age) — 비만 체형 나이
- Datetime (created_at)
- Datetime (deleted_at)
biomarker (바이오마커)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id) — NOT NULL
- String (checkup_date) — NOT NULL — 건강검진 날짜
- double (bio_age) — 바이오마커 나이 분석값
- String (unit) — 단위
- double (value) — 실제 값
- String (code) — 바이오마커 구분 코드
- String (name_kr) — 바이오마커 명 (한글)
- String (grade) — 등급 (한글)
- String (name_en) — 바이오마커 명 (영어)
- Datetime (created_at)
- Datetime (deleted_at)
cancer_analysis_guide_description (암 분석 가이드 설명)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id)
- String (checkup_date)
- Datetime (created_at)
- Datetime (deleted_at)
- String (guide)
- String (guide_code) — 가이드 구분 코드
- int (guide_type) — 가이드 타입 (1:제목, 2:내용)
- String (guide_divide) — 가이드 구분
- int (sequence)
- int (sub_sequence)
- String (cancer_code) — 암 코드
- String (cancer) — 암 명
cancer_category (암 카테고리)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id)
- String (checkup_date)
- Datetime (created_at)
- Datetime (deleted_at)
- int (order) — 순서
- String (category) — 카테고리
- String (cancer) — 암 명
- String (cancer_code) — 암 코드
cancer_group_guide (암 가이드)
- Key (id) — 기본 키 — NOT NULL
- int (code_divide) — 가이드 구분 코드
- String (name) — 그룹명
- String (code) — 그룹 코드
- String (guide) — 암 코드
- int (sequence) — 순서
- Long (member_id)
- String (checkup_date)
- Datetime (created_at)
- Datetime (deleted_at)
cancer_rate_prediction (암 발병률 예측 공통데이터)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id) — NOT NULL
- String (checkup_date) — NOT NULL — 건강검진 날짜
- String (gender) — NOT NULL — 성별
- String (age_start) — 나이 시작점
- String (age_end) — 나이 끝점
- String (cancer_name) — 암 명 (한글)
- String (cancer_code) — 암 코드
- int (year) — 데이터 기준 년도 -> 없는듯 미사용
- Datetime (created_at)
- Datetime (deleted_at)
cancer_risk_prediction (암 발생 위험도 예측)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id) — NOT NULL
- String (checkup_date) — NOT NULL — 건강검진 날짜
- double (value) — 암 상대 위험도 발병률
- String (value_description) — 암 상대 위험도 발병률 설명
- String (name) — 암 명
- String (code) — 암 코드
- String (grade) — 등급 명 (양호, 주의, 경고, 위험, 고위험)
- String (grade_code) — 등급 코드
- Datetime (created_at)
- Datetime (deleted_at)
cancer_summary (암 분석 요약)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id) — NOT NULL
- String (checkup_date) — NOT NULL — 건강검진 날짜
- int (grade) — 암 종합 등급
- double (aging_rank) — 노화등급
- double (aging_speed) — 노화속도
- Datetime (created_at)
- Datetime (deleted_at)
coocon_session (쿠콘 스크래핑을 위한 세션 저장 테이블)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id) — NOT NULL
- String (tr_seq)
- String (sas_session_id) — NOT NULL — yyyymmddhhmmss + ss_no + thread_no + randomstr
- String (ss_sys_no) — NOT NULL — SS 서버 번호
- String (gw_sys_no) — NOT NULL — api 서버 번호
- String (thread_no) — NOT NULL — 거래 코드
- String (lbs_no) — lbs 서버 번호
- Datetime (createdAt)
- Datetime (deletedAt) — 로그아웃 시간
disease_prevention_guide (질병 예방 가이드)
- Key (id) — 기본 키 — NOT NULL
- String (guide_content) — 가이드 내용
- int (sub_order) — 세부 순서
- int (order) — 순서
- String (disease_code) — 질병 명
- Long (member_id)
- String (checkup_date)
- Datetime (created_at)
- Datetime (deleted_at)
disease_risk_prediction (질병 발병률 예측)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id) — NOT NULL
- String (checkup_date) — NOT NULL — 건강검진 날짜
- String (name) — 질병 명
- String (code) — 질병 코드
- String (grade) — 등급
- double (value) — 질병 발생 위험도
- String (grade_code) — 등급 코드
- Datetime (created_at)
- Datetime (deleted_at)
disease_warning_sign (질병 위험 신호)
- Key (id) — 기본 키 — NOT NULL
- String (guide_content) — 가이드 내용
- int (guide_sub_order) — 세부 순서
- int (guide_order) — 순서
- String (disease_code) — 질병 명
- Long (member_id)
- String (checkup_date)
- Datetime (created_at)
- Datetime (deleted_at)
log_coocon_scraping (쿠콘 스크래핑 중 간편인증, 로그아웃 로그 테이블)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id)
- String (type) — 간편인증 / 로그아웃
- String (status) — 성공 여부 (성공: 00000000)
- String (error_message)
- String (login_type) — 간편인증 로그인 방식 KAKAO, NAVER
- Datetime (createdAt)
- Datetime (deletedAt)
log_pdf_result (pdf 생성 상태값 로그)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id) — NOT NULL
- String (checkup_date) — 건강검진 날짜
- String (register_code) — pdf 생성 상태코드
- Datetime (registered_at) — 등록 요청 시간
- Datetime (pdf_created_at) — pdf 생성 완료 시간
- String (error_message) — 생성 실패 시 에러메세지
- Datetime (created_at)
- Datetime (deleted_at) — 회원탈퇴 시 삭제 기록용
- Datetime (updated_at) — 같은 데이터로 재시도 기록용
medical_data (생체나이에 따른 의료 데이터)
- Key (id) — 기본 키 — NOT NULL
- Long (member_id) — NOT NULL
- String (checkup_date) — NOT NULL — 건강검진 날짜
- int (year) — 금년, 5년, 10년
- double (cost) — 데이터 값
- String (code) — 어떤 데이터인지 구분(의료비, 외래진료일수, 입원 일수, 연 평균 의료비, 연 평균 의료비 상승률)
- boolean (is_me) — 나 : 1, 동년배 : 0
- Datetime (created_at)
- Datetime (deleted_at)
건강검진 정보 기준치 (health_checkup_range)
- Key (id) — 기본 키 — NOT NULL
- String (disease) — 검진 항목
- String (normal) — 정상
- String (caution) — 주의
- String (suspected) — 의심
- String (unit) — 단위
- Field