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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEmail()getName()inthashCode()(package private) voidsetBirthDate(LocalDate birthDate) (package private) void(package private) void(package private) voidsetPassword(String password) (package private) voidsetSurname(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