A hotel night stay that the travelers of the request wish to attend.
| name | data type | constraints | description |
|---|---|---|---|
| position | number | required int | The position that this hotel will be in for displays. |
| date | number | required | The date of the night that the travelers will sleep. |
| queens | number | required int | The number of double queen bed rooms the stay will need. |
| king | number | required int | The number of king beds the stay will need. |
| suite | number | required int | The number of suites the stay will need. |
Properties inherited from BaseHibernateEntity |
|||
| id | number | The unique internal ID of the object. | |
| version | number | For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions. | |
Properties inherited from BaseEntity |
|||
| violations | array of SimpleViolation | A list of constraint violations, if any, that this object has. | |
Example
{
"position" : 12345,
"date" : 12345,
"queens" : 12345,
"king" : 12345,
"suite" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}