Package it.univr.passportease.entity
Class RequestOffice
java.lang.Object
it.univr.passportease.entity.RequestOffice
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DateThe date and time when thisRequestOfficewas created.private UUIDThe unique identifier of thisRequestOffice.private @NonNull OfficeTheOfficethat is related to thisRequestOffice.private @NonNull RequestTheRequestthat is related to thisRequestOffice.private DateThe date and time when thisRequestOfficewas last updated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanEquals method for thisRequestOffice.final inthashCode()Hash code method for thisRequestOffice.
-
Field Details
-
id
The unique identifier of thisRequestOffice. -
office
TheOfficethat is related to thisRequestOffice. -
request
TheRequestthat is related to thisRequestOffice. -
createdAt
The date and time when thisRequestOfficewas created. -
updatedAt
The date and time when thisRequestOfficewas last updated.
-
-
Constructor Details
-
RequestOffice
public RequestOffice()
-
-
Method Details
-
equals
Equals method for thisRequestOffice.- Overrides:
equalsin classObject- Parameters:
o- The object to compare.- Returns:
trueif the given object is an instance ofRequestOfficeand has the sameidas this one,falseotherwise.
-
hashCode
public final int hashCode()Hash code method for thisRequestOffice.
-