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
Modifier and TypeFieldDescriptionprivate Date
TheDate
of creation of theRequestType
private boolean
A boolean value that indicates if theRequestType
has a dependency.private UUID
Unique identifier of theRequestType
private @NonNull String
The name of theRequestType
private Date
TheDate
of the last update of theRequestType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
TwoRequestType
are equals if they have the same id.final int
hashCode()
The hash code of aRequestType
is 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 theRequestType
has a dependency. If true, theRequestType
can be executed only if theRequestType
on which it depends has been executed by theUser
-
createdAt
TheDate
of creation of theRequestType
-
updatedAt
TheDate
of the last update of theRequestType
-
-
Constructor Details
-
RequestType
public RequestType()
-
-
Method Details
-
equals
TwoRequestType
are equals if they have the same id. -
hashCode
public final int hashCode()The hash code of aRequestType
is calculated using the id.
-