Design - Vee91/cs5200_summer2018_nightwatch GitHub Wiki

Design

UML:

UML missing

In this design there are 3 user types - Customer who visits website for the purpose of booking flights, Pilots and flight attendants who use the website to check their flight assignments.

A customer can book many itinerary and a flight has many itinerary. Pilots and flight attendants get their assignment from the respective assignment tables. Itinerary also contains passenger details who will be travelling in the flight. Notice customer may be different from the passenger. It also captures card details through which ticket is paid for. Itinerary has flight details through which the passengers will be travelling.

Sequence Diagram:

Sequence Diagram Missing

Sequence diagram shows user requesting the flights information and for this API is used to fetch the flight data. User confirms and selects the itinerary and adds meal option. Checksout and pays. To confirm payment, previously stored card details is used. Once the itineraries are booked it is assigned to the flight crew and crew takes over the flight.