java.lang.Object
com.prog3.ipt.Model.CitizenClasses.User
- Direct Known Subclasses:
Citizen
User is a class that represents a generic user registered into the system
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getEmail()
getName()
int
hashCode()
(package private) void
setBirthDate
(LocalDate birthDate) (package private) void
(package private) void
(package private) void
setPassword
(String password) (package private) void
setSurname
(String surname) toString()
-
Field Details
-
name
-
surname
-
birthDate
-
email
-
password
-
-
Constructor Details
-
User
User constructor- Parameters:
name
- User namesurname
- User surnamebirthDate
- User birthdateemail
- User email which is used to register and login into the systempassword
- User password which is used to log into the system
-
-
Method Details