kidsconnect
Tables (16)
center (센터)
- id (센터 아이디) — bigint — Primary key — NOT NULL
- address (주소) — varchar(30)
- address_detail (상세주소) — varchar(50)
- name (센터 이름) — varchar(255)
- phone_num (휴대폰 번호) — varchar(30)
- center_num (전화 번호) — varchar(255)
- postal_code (우편번호) — varchar(30)
- in_date (생성 날짜) — datetime(6)
- up_date (수정 날짜) — datetime(6)
- image_file (이미지 첨부) — tinyblob
center_review (센터 리뷰)
- id (센터 리뷰 아이디) — bigint — Primary key — NOT NULL
- comment (내용) — varchar(255)
- rating (별점) — int
- in_date (생성 날짜) — datetime(6)
- up_date (수정 날짜) — datetime(6)
- id (센터 아이디) — bigint — Foreign key → center.id — NOT NULL
- id (부모 아이디) — bigint — Foreign key → user.id — NOT NULL
child (자녀)
- id (자녀 아이디) — bigint — Primary key — NOT NULL
- date_of_birth (생년월일) — datetime(6)
- first_name (이름) — varchar(30)
- last_name (성) — varchar(30)
- in_date (생성 날짜) — datetime(6)
- up_date (수정 날짜) — datetime(6)
- personality (성향) — varchar(255)
- gender (성별) — char
- id (부모 아이디) — bigint — Foreign key → user.id — NOT NULL
child_symptom (자녀 증상)
- id (자녀 증상 아이디) — bigint — Primary key — NOT NULL
- id (자녀 아이디) — bigint — Foreign key → child.id — NOT NULL
- id (증상 아이디2) — bigint — Foreign key → symptom.id — NOT NULL
enrol (등록)
- id (등록 아이디) — bigint — Primary key — NOT NULL
- in_date (생성 날짜) — datetime(6)
- up_date (수정 날짜) — datetime(6)
- id (치료사 아이디) — bigint — Foreign key → therapist.id — NOT NULL
- id (센터 아이디) — bigint — Foreign key → center.id — NOT NULL
reservation (예약)
- id (예약 아이디) — bigint — Primary key — NOT NULL
- in_date (생성 날짜) — datetime(6)
- up_date (수정 날짜) — datetime(6)
- address_detail (상세 주소) — varchar(255)
- status (예약 상태) — enum
- id (치료사 상세 아이디) — bigint — Foreign key → therapist_info.id — NOT NULL
- id (자녀 아이디) — bigint — Foreign key → child.id — NOT NULL
- id (부모 아이디) — bigint — Foreign key → user.id — NOT NULL
symptom (증상)
- id (증상 아이디) — bigint — Primary key — NOT NULL
- name (증상 이름) — varchar(255)
therapist (치료사)
- id (치료사 아이디) — bigint — Primary key — NOT NULL
- email (이메일) — varchar(30)
- address (주소) — varchar(30)
- address_detail (상세주소) — varchar(50)
- date_of_birth (생년월일) — datetime(6)
- first_name (이름) — varchar(30)
- last_name (성) — varchar(30)
- password (비밀번호) — varchar(255)
- phone_num (휴대폰 번호) — varchar(30)
- postal_code (우편번호) — varchar(30)
- role (역할) — enum
- status (상태) — bit
- in_date (생성 날짜) — datetime(6)
- up_date (수정 날짜) — datetime(6)
- gender (성별) — char
- freelancer (프리랜서 여부) — boolean
therapist_age_range (나이 범위)
- id (치료사 상세 아이디) — bigint — Foreign key → therapist_info.id — NOT NULL
- age_range (나이 범위) — varchar(255)
therapist_certificate (자격증)
- id (치료사 상세 아이디) — bigint — Foreign key → therapist_info.id — NOT NULL
- certificate (자격증) — varchar(255)
therapist_education (교육)
- id (교육 아이디) — bigint — Primary key — NOT NULL
- education (교육) — varchar(255)
- degree (학위) — varchar(255)
- major (전공) — varchar(255)
- status (상태) — boolean
- id (치료사 상세 아이디) — bigint — Foreign key → therapist_info.id — NOT NULL
therapist_experience (경력)
- id (경력 아이디) — bigint — Primary key — NOT NULL
- place (경력) — varchar(255)
- months (개월 수) — int
- years (년 수) — int
- id (치료사 상세 아이디) — bigint — Foreign key → therapist_info.id — NOT NULL
therapist_info (치료사 포트폴리오)
- id (치료사 상세 아이디) — bigint — Primary key — NOT NULL
- title (제목) — varchar(255)
- bio (짧은 소개) — varchar(255)
- content (내용) — varchar(255)
- crime_check (범죄 여부 증명서) — boolean
- identity_check (아이덴티티 증명서) — boolean
- image_file (이미지 파일) — blob
- view_cnt (조회수) — int
- total_experience (총 경력) — varchar(255)
- in_date (생성 날짜) — datetime(6)
- up_date (수정 날짜) — datetime(6)
- id (치료사 아이디) — bigint — Foreign key → therapist.id — NOT NULL
therapist_info_symptom (치료사 상세 증상)
- id (치료사 상세 증상 아이디 아이디) — bigint — Primary key — NOT NULL
- id (치료사 상세 아이디) — bigint — Foreign key → therapist_info.id — NOT NULL
- id (증상 아이디2) — bigint — Foreign key → symptom.id — NOT NULL
therapist_review (치료사 리뷰)
- id (치료사 리뷰 아이디) — bigint — Primary key — NOT NULL
- comment (내용) — varchar(255)
- rating (별점) — int
- in_date (생성 날짜) — datetime(6)
- up_date (수정 날짜) — datetime(6)
- id (부모 아이디) — bigint — Foreign key → user.id — NOT NULL
- id (치료사 아이디) — bigint — Foreign key → therapist.id — NOT NULL
user (부모)
- id (부모 아이디) — bigint — Primary key — NOT NULL
- email (이메일) — varchar(30)
- address (주소) — varchar(30)
- address_detail (상세주소) — varchar(50)
- date_of_birth (생년월일) — datetime(6)
- first_name (이름) — varchar(30)
- last_name (성) — varchar(30)
- password (비밀번호) — varchar(255)
- phone_num (휴대폰 번호) — varchar(30)
- postal_code (우편번호) — varchar(30)
- role (역할) — enum
- status (상태) — boolean
- in_date (생성 날짜) — datetime(6)
- up_date (수정 날짜) — datetime(6)