Passenger
- Name: String
- Passenger ID: int
- Phone Number: String
Flight
- Flight Number: String
- Departure Time: DateTime
- Arrival Time: DateTime
Airport
- Airport Code: String
- Location: String
- Name: String
Multiplicity:
- One Passenger can have multiple Flights booked in advance
- One Flight has one Airport as its departure Airport and one Airport as its arrival Airport
A passenger at the airport can have multiple flights booked in advance from the given airport.
Q.4.1 Create a Domain Model Class diagram that will show the classes contained in the
statement presented at the beginning of the question. Also, indicate multiplicity as well as any three plausible attributes for each class.
1 answer