Package it.univr.passportease.entity
Class RequestOffice
java.lang.Object
it.univr.passportease.entity.RequestOffice
-
Field Summary
Modifier and TypeFieldDescriptionprivate Date
The date and time when thisRequestOffice
was created.private UUID
The unique identifier of thisRequestOffice
.private @NonNull Office
TheOffice
that is related to thisRequestOffice
.private @NonNull Request
TheRequest
that is related to thisRequestOffice
.private Date
The date and time when thisRequestOffice
was last updated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Equals method for thisRequestOffice
.final int
hashCode()
Hash code method for thisRequestOffice
.
-
Field Details
-
id
The unique identifier of thisRequestOffice
. -
office
TheOffice
that is related to thisRequestOffice
. -
request
TheRequest
that is related to thisRequestOffice
. -
createdAt
The date and time when thisRequestOffice
was created. -
updatedAt
The date and time when thisRequestOffice
was last updated.
-
-
Constructor Details
-
RequestOffice
public RequestOffice()
-
-
Method Details
-
equals
Equals method for thisRequestOffice
.- Overrides:
equals
in classObject
- Parameters:
o
- The object to compare.- Returns:
true
if the given object is an instance ofRequestOffice
and has the sameid
as this one,false
otherwise.
-
hashCode
public final int hashCode()Hash code method for thisRequestOffice
.
-