Package it.univr.passportease.entity
Class Citizen
java.lang.Object
it.univr.passportease.entity.Citizen
The
Citizen
class is an entity that represents a citizen. It is
used as a white list for the users that can access the system.-
Field Summary
Modifier and TypeFieldDescriptionprivate @NonNull String
The city of birth of thisCitizen
.private Date
private @NonNull Date
The date of birth of thisCitizen
.private @NonNull String
The fiscal code of thisCitizen
.private @NonNull String
The health card number of thisCitizen
.private UUID
The unique identifier of thisCitizen
.private @NonNull String
The name of thisCitizen
.private @NonNull String
The surname of thisCitizen
.private Date
-
Constructor Summary
-
Method Summary
-
Field Details
-
id
The unique identifier of thisCitizen
. -
fiscalCode
The fiscal code of thisCitizen
. -
name
The name of thisCitizen
. -
surname
The surname of thisCitizen
. -
cityOfBirth
The city of birth of thisCitizen
. -
dateOfBirth
The date of birth of thisCitizen
. -
healthCardNumber
The health card number of thisCitizen
. -
createdAt
-
updatedAt
-
-
Constructor Details
-
Citizen
public Citizen()
-
-
Method Details