Package it.univr.passportease.entity
Class Availability
java.lang.Object
it.univr.passportease.entity.Availability
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DateThe creationDateof theAvailability.private @NonNull DateThe date of theAvailability.private UUIDThe id of theAvailability.private @NonNull OfficeTheOfficeof theAvailability.private @NonNull RequestTheRequestof theAvailability.private @NonNull StatusThe status of theAvailability.private @NonNull LocalTimeThe time of theAvailability.private DateThe updateDateof theAvailability.private UserTheUserof theAvailability. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanEquals method forAvailability.final inthashCode()Hash code method forAvailability.
-
Field Details
-
id
The id of theAvailability. -
status
The status of theAvailability. -
date
The date of theAvailability. -
time
The time of theAvailability. -
request
TheRequestof theAvailability. -
office
TheOfficeof theAvailability. -
user
TheUserof theAvailability. -
createdAt
The creationDateof theAvailability. -
updatedAt
The updateDateof theAvailability.
-
-
Constructor Details
-
Availability
public Availability()
-
-
Method Details
-
equals
Equals method forAvailability.- Overrides:
equalsin classObject- Parameters:
o- The object to compare with thisAvailability.- Returns:
trueif the given object is an instance ofAvailabilityand has the sameidas thisAvailability,falseotherwise.
-
hashCode
public final int hashCode()Hash code method forAvailability.- Overrides:
hashCodein classObject- Returns:
- The hash code of this
Availability.
-