Package it.univr.passportease.entity
Class RequestType
java.lang.Object
it.univr.passportease.entity.RequestType
The type Request type entity. Used to store the types of requests that can be made by the workers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DateTheDateof creation of theRequestTypeprivate booleanA boolean value that indicates if theRequestTypehas a dependency.private UUIDUnique identifier of theRequestTypeprivate @NonNull StringThe name of theRequestTypeprivate DateTheDateof the last update of theRequestType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanTwoRequestTypeare equals if they have the same id.final inthashCode()The hash code of aRequestTypeis calculated using the id.
-
Field Details
-
id
Unique identifier of theRequestType -
name
The name of theRequestType -
hasDependency
private boolean hasDependencyA boolean value that indicates if theRequestTypehas a dependency. If true, theRequestTypecan be executed only if theRequestTypeon which it depends has been executed by theUser -
createdAt
TheDateof creation of theRequestType -
updatedAt
TheDateof the last update of theRequestType
-
-
Constructor Details
-
RequestType
public RequestType()
-
-
Method Details
-
equals
TwoRequestTypeare equals if they have the same id. -
hashCode
public final int hashCode()The hash code of aRequestTypeis calculated using the id.
-