ReservationTypePojo Data Type

The most basic entity type in our domain. We require that there is a location open to enter violations, so that this information can be returned to the client.

Properties
name data type description
id number
name string
Properties inherited from BaseEntity
violations array of SimpleViolation A list of constraint violations, if any, that this object has.

Example

{
  "id" : 12345,
  "name" : "...",
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}