todd
테이블 (17)
결과 (test_result)
- id (result_id) — uuid — 기본 키 — NOT NULL
- id (test_id) — uuid — 외래 키 → 테스트.id — NOT NULL
- id (child_id) — uuid — 외래 키 → 아이정보.id — NOT NULL
- id (test_result_type_id) — uuid — 외래 키 → 테스트결과타입.id — NOT NULL
- 결과 (result) — string
- Field
계정 (account)
- id (account_id) — uuid — 기본 키 — NOT NULL
- id (member_id) — uuid — 외래 키 → 유저.id — NOT NULL
기본알림 (default_noti)
- id (noti_id) — uuid — 외래 키 → 알림.id — NOT NULL
- 종류 (noti) — NotiType
답변 (answer)
- id (answer_id) — uuid — 기본 키 — NOT NULL
- id (result_id) — uuid — 외래 키 → 결과.id — NOT NULL
- id (test_qna_id) — uuid — 외래 키 → 테스트질문.id — NOT NULL
- id (test_qna_answer_id) — uuid — 외래 키 → 답변.id — NOT NULL
- id (test_result_type_id) — uuid — 외래 키 → 결과.id — NOT NULL
답변 (test_qna_answer)
- id (test_qna_answer_id) — uuid — 외래 키 → 테스트질문.id — NOT NULL
- 순서 (order) — int
- 답변 (option) — string
소셜 (oauth_account)
- id (account_id) — uuid — 외래 키 → 계정.id — NOT NULL
아이정보 (child)
- id (child_id) — uuid — 기본 키 — NOT NULL
- id (member_id) — uuid — 외래 키 → 유저.id — NOT NULL
- 아이이름 (name) — string
- 나이 (age) — string
- 성별 (gender) — GenderType
- 기질타입 (tempType) — TempType
- 발달타입 (devType) — DevType
- 테스트수 (testCount) — int
알림 (noti)
- id (noti_id) — uuid — 기본 키 — NOT NULL
- id (member_id) — uuid — 외래 키 → 유저.id — NOT NULL
약관동의 (term_consent)
- id (term_consent_id) — uuid — 기본 키 — NOT NULL
- id (member_id) — uuid — 외래 키 → 유저.id — NOT NULL
- 서비스 (service) — boolean
- 개인정보 (privacy) — boolean
- 문자수신 (sms) — boolean
- 메일수신 (email) — boolean
유저 (member)
- id (member_id) — uuid — 기본 키 — NOT NULL
- id (profile_id) — uuid — 외래 키 → 프로필.id — NOT NULL
- userId (email) — string
- 약관동의 (term_consent) — TermConsent
- 계정 (accounts) — List<Account>
- 권한 (role) — RoleType
- Field
테스트 (test)
- id (test_id) — uuid — 기본 키 — NOT NULL
- title — string
- 타입 (testType) — TestType
- 썸네일 (thumbnail) — string
- 한줄설명 (sentence) — string
- 검진필수항목 (required) — string
- 간단설명 (about) — string
- 필요이유 (why) — string
- 필요이유내용 (whyContent) — Lob
- 소요시간 (duration) — string
- 소요시간내용 (durationContent) — Lob
- 상세설명 (additional) — string
- 상세설명내용 (additionalContent) — Lob
- 테스트수 (count) — int
테스트결과타입 (test_result_type)
- id (test_result_type_id) — uuid — 기본 키 — NOT NULL
- id (test_id) — uuid — 외래 키 → 테스트.id — NOT NULL
- title — string
- img — string
- 디테일 (detail) — Lob
테스트알림 (test_noti)
- id (noti_id) — uuid — 외래 키 → 알림.id — NOT NULL
- id (test_id) — uuid — 외래 키 → 테스트.id — NOT NULL
테스트정보 (test_info)
- id (test_info_id) — uuid — 기본 키 — NOT NULL
- title — string
- 소요시간 (duration) — string
- 상품가격 (price) — string
테스트질문 (test_qna)
- id (test_qna_id) — uuid — 기본 키 — NOT NULL
- id (test_id) — uuid — 외래 키 → 테스트.id — NOT NULL
- 질문번호 (questionNumber) — int
- 이미지 (img) — string
- 질문 (question) — string
패스워드 (default_account)
- id (account_id) — uuid — 외래 키 → 계정.id — NOT NULL
- 비밀번호 (password) — string
프로필 (profile)
- id (profile_id) — uuid — 기본 키 — NOT NULL
- 이름 (name) — string — NOT NULL
- 닉네임 (nickname) — string
- 연락처 (phoneNumber) — string
- 성별 (gender) — GenderType
- 생년월일 (birth) — string
- 웹사이트 (website) — string
- 자기소개 (bio) — string