Package it.univr.passportease.entity
Class Availability
java.lang.Object
it.univr.passportease.entity.Availability
-
Field Summary
Modifier and TypeFieldDescriptionprivate Date
The creationDate
of theAvailability
.private @NonNull Date
The date of theAvailability
.private UUID
The id of theAvailability
.private @NonNull Office
TheOffice
of theAvailability
.private @NonNull Request
TheRequest
of theAvailability
.private @NonNull Status
The status of theAvailability
.private @NonNull LocalTime
The time of theAvailability
.private Date
The updateDate
of theAvailability
.private User
TheUser
of theAvailability
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Equals method forAvailability
.final int
hashCode()
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
TheRequest
of theAvailability
. -
office
TheOffice
of theAvailability
. -
user
TheUser
of theAvailability
. -
createdAt
The creationDate
of theAvailability
. -
updatedAt
The updateDate
of theAvailability
.
-
-
Constructor Details
-
Availability
public Availability()
-
-
Method Details
-
equals
Equals method forAvailability
.- Overrides:
equals
in classObject
- Parameters:
o
- The object to compare with thisAvailability
.- Returns:
true
if the given object is an instance ofAvailability
and has the sameid
as thisAvailability
,false
otherwise.
-
hashCode
public final int hashCode()Hash code method forAvailability
.- Overrides:
hashCode
in classObject
- Returns:
- The hash code of this
Availability
.
-