Public Member Functions | |
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) |
String | toString () |
Public Attributes | |
String | dni |
Represents a user in the hospital portal system.
This class is mapped to the "users" table in the database.
|
inline |
Default constructor for JPA.
|
inline |
Constructs a User with the specified details.
dni | the DNI of the user |
name | the name of the user |
surname | the surname of the user |
birthDate | the birth date of the user |
gender | the gender of the user |
phone | the phone number of the user |
the email address of the user | |
password | the password of the user |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Reimplemented in com.hospital.portal.model.Patient.
|
inline |
Reimplemented in com.hospital.portal.model.Patient.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns a string representation of the User.
Reimplemented in com.hospital.portal.model.Admin, and com.hospital.portal.model.Doctor.
String com.hospital.portal.model.User.dni |
Unique identifier for the user (DNI).