pax {.u-pearl}

Representation of a passenger.

A passenger is each of the people who are part of a reservation{.u-pearl .u-red-hover}.

A reservation{.u-pearl .u-red-hover} will be contain from one passenger to fifteen passengers.

attributes {.u-pearl}

code {.u-pearl}
[int] {.u-lightPearl}

Identifier of the passenger into the room (0 - 2).


name {.u-pearl}
[string] {.u-lightPearl}

It indicates the name of the passenger.


surname {.u-pearl}
[string] {.u-lightPearl}

It indicates the surname of the passenger.


age {.u-pearl}
[int] {.u-lightPearl}

It indicates the passenger age (in years).


passport {.u-pearl}
[string] {.u-lightPearl}

It indicates the passport passenger (only required in Morocco).