bunny_care
Tables (4)
hospital (병원 정보)
- 병원 번호 (idx) — bigint unsigned — Primary key — NOT NULL — 기본키
- 도시명 (city) — varchar(30)
- 지역구 명 (district) — varchar(30)
- 병원명 (hospital_nm) — varchar(1000)
- 주소 (address) — varchar(1000)
- 전화번호 (tel_no) — varchar(20)
- 진료가능항목 (medical_item)
- 비고 (note)
- 위도 (latitude)
- 경도 (longitude)
- 24시간 운영 (full_time_status)
- 야간진료 (nigth_care_status)
- 생성일 (created_at)
- 수정일 (updated_at)
hospital_break_time (휴게시간)
- 휴게시간 번호 (idx) — bigint unsigned — Primary key — NOT NULL
- 병원 번호 (hospital_idx) — bigint unsigned — Foreign key → hospital.병원 번호 — NOT NULL — 참조키
- 시작시간 (break_start) — time
- 종료시간 (break_end) — time
- 휴게시간 타입 (break_type) — enum — weekday, weekend, full_week
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime
hospital_schedule (병원 일정)
- 병원 일정 번호 (idx) — bigint unsigned — Primary key — NOT NULL
- 병원 번호 (hospital_idx) — bigint unsigned — Foreign key → hospital.병원 번호 — NOT NULL — 참조키
- 요일 (day_of_week) — enum — 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday', 'Holiday'
- 오픈 시간 (opening_time) — time
- 마감 시간 (closing_time) — time
- 요일 순서 (sequence) — int — 월요일부터 1
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime
hospital_service (병원 진료서비스)
- 서비스 번호 (idx) — bigint unsigned — Primary key — NOT NULL
- 병원 번호 (hospital_idx) — bigint unsigned — Foreign key → hospital.병원 번호 — 참조키
- 서비스명 (service_nm) — varchar(100)
- 가능여부 (service_status) — char(1) — Y, N, F, M, C
- 비고 (note) — varchar(100)
- 순서 (sequence) — int
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime