|
| Doctor () |
|
| Doctor (String dni, String name, String surname, LocalDate birthDate, String gender, String phone, String mail, String password, String doctorId, Specialty specialty) |
|
String | getDoctorId () |
|
void | setDoctorId (String doctorId) |
|
Specialty | getSpecialty () |
|
void | setSpecialty (Specialty specialty) |
|
String | toString () |
|
| User () |
|
| User (String dni, String name, String surname, LocalDate birthDate, String gender, String phone, String mail, String password) |
|
String | getDni () |
|
void | setDni (String dni) |
|
String | getName () |
|
void | setName (String name) |
|
String | getSurname () |
|
void | setSurname (String surname) |
|
LocalDate | getBirthDate () |
|
void | setBirthDate (LocalDate birthDate) |
|
String | getGender () |
|
void | setGender (String gender) |
|
String | getPhone () |
|
void | setPhone (String phone) |
|
String | getEmail () |
|
void | setEmail (String mail) |
|
String | getPassword () |
|
void | setPassword (String password) |
|
Represents a doctor user in the hospital portal system. Extends the User
class and adds a unique doctor ID and specialty.
This class is mapped to the "doctors" table in the database.