|
osurs
0.0.1
|
A reservation. More...
#include <types.h>

Data Fields | |
| char | id [37] |
| int | res_id |
| int | seats |
| struct stop_t * | orig |
| struct stop_t * | dest |
| struct trip_t * | trip |
A reservation.
A reservation is a booked connection. The booked seats have to be smaller or equal to the available seats.
| struct stop_t* reservation_t::dest |
The orig stop of the reservation.
| char reservation_t::id[37] |
Automatically generated UUID of the reservation.
| struct stop_t* reservation_t::orig |
The orig stop of the reservation.
| int reservation_t::res_id |
Reservation id.
| int reservation_t::seats |
Reserved seats.
| struct trip_t* reservation_t::trip |
The trip on which the reservation is placed.