Public Member Functions | |
Appointment () | |
Appointment (LocalDate date, LocalTime startTime, LocalTime endTime, Patient patient, Doctor doctor, String appointmentPurpose) | |
String | getAppointmentId () |
void | setAppointmentId (String appointmentId) |
LocalDate | getDate () |
void | setDate (LocalDate date) |
LocalTime | getStartTime () |
void | setStartTime (LocalTime startTime) |
LocalTime | getEndTime () |
void | setEndTime (LocalTime endTime) |
Patient | getPatient () |
void | setPatient (Patient patient) |
Doctor | getDoctor () |
void | setDoctor (Doctor doctor) |
String | getAppointmentPurpose () |
void | setAppointmentPurpose (String appointmentPurpose) |
String | getObservations () |
void | setObservations (String observations) |
String | toString () |
Public Attributes | |
String | appointmentId |
Represents an appointment in the hospital portal system. Stores information about the date, time, patient, doctor, purpose, and observations of the appointment.
This class is mapped to the "appointments" table in the database.
|
inline |
Default constructor for JPA.
|
inline |
Constructs an Appointment with the specified details.
date | the date of the appointment |
startTime | the start time of the appointment |
endTime | the end time of the appointment |
patient | the patient associated with the appointment |
doctor | the doctor associated with the appointment |
appointmentPurpose | the purpose of the appointment |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns a string representation of the Appointment
String com.hospital.portal.model.Appointment.appointmentId |
Unique identifier for the appointment.