Hospital-Reservation

Tables (4)

Doctor (의사)

  • Doctor ID (의사 번호) — Primary key — NOT NULL
  • Name (이름)
  • Specialization (전공)
  • Consultation StartTime (진료 시작시간)
  • Consultation EndTime (진료 종료시간)

Fee Policy (진료비 정책)

    Patient (환자)

    • Patient ID (환자 번호) — Primary key
    • Name (이름)
    • Age (나이)

    Reservation (예약)

    • Reservation ID (예약 번호) — Primary key
    • Reservation StartTime (예약 시작시간)
    • Reservation EndTime (예약 종료시간)
    • Medical purpose (진료 목적)
    • Doctor ID (의사 번호) — Foreign key → Doctor.Doctor ID — NOT NULL
    • Patient ID (환자 번호) — Foreign key → Patient.Patient ID