Design and draw UML class diagram with attributes, behavior, and class relationships for the following scenario: Model
Question:
Design and draw UML class diagram with attributes, behavior, and class relationships for the following scenario:
Model a system for an airline management system that manages flights and pilots
a. An airline operates flights.
b. Each airline has an ID.
c. Each flight has an ID, a departure airport, and an arrival airport.
d. An airport as a unique identifier.
e. Each flight has a pilot and a co-pilot, and it uses an aircraft of a certain type.
f. A flight also has a departure time and an arrival time.
g. An airline owns a set of aircrafts of different types.
h. An aircraft can be in a working state, or it can be under repair.
i. In a moment an aircraft can, be landed or airborne.
j. A company has a set of pilots: each pilot has an experience level: 1 is minimum, 3 is maximum.
k. A type of aircraft may need several pilots, with a different role (e.g.: captain, co-pilot, navigator)
Accounting Information Systems
ISBN: 978-1260153156
2nd edition
Authors: Vernon Richardson, Chengyee Chang, Rod Smith