Class RequestType

java.lang.Object
it.univr.passportease.entity.RequestType

@Entity public class RequestType extends Object
The type Request type entity. Used to store the types of requests that can be made by the workers.
  • Field Details

  • Constructor Details

    • RequestType

      public RequestType()
  • Method Details

    • equals

      public final boolean equals(Object o)
      Two RequestType are equals if they have the same id.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare
      Returns:
      True if the objects have the same id, false otherwise.
    • hashCode

      public final int hashCode()
      The hash code of a RequestType is calculated using the id.
      Overrides:
      hashCode in class Object
      Returns:
      The hash code of the id.