An element that represents meal codes for airportal.
| name | data type | constraints | description |
|---|---|---|---|
| mealCode | string | required, max size: 2, min size: 1 | One or two character code for each meal type. |
| description | string | Description of the meal type. | |
| position | number | required long | |
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
{
"mealCode" : "...",
"description" : "...",
"position" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}