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
FieldsModifier and TypeFieldDescriptionprivate @NonNull StringThe city of birth of thisCitizen.private Dateprivate @NonNull DateThe date of birth of thisCitizen.private @NonNull StringThe fiscal code of thisCitizen.private @NonNull StringThe health card number of thisCitizen.private UUIDThe unique identifier of thisCitizen.private @NonNull StringThe name of thisCitizen.private @NonNull StringThe surname of thisCitizen.private Date -
Constructor Summary
Constructors -
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