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

The classes in the domain model for the statement provided are:

1. Passenger
2. Airport
3. Flight

Attributes for each class:

Passenger:
- Name: string
- ID: int
- ContactInfo: string

Airport:
- Code: string
- Name: string
- Location: string

Flight:
- FlightNumber: string
- DepartureTime: datetime
- ArrivalTime: datetime

Multiplicity:
- A passenger can have multiple flights (1 to many)
- An airport can have multiple flights departing/arriving (1 to many)
- A flight can have multiple passengers booked on it (1 to many)
Similar Questions
    1. answers icon 1 answer
    1. answers icon 1 answer
  1. Assume that the following business rules are in place: One passenger can request the location of one and only one amenity at
    1. answers icon 1 answer
  2. Assume that the following business rules are in place:• One passenger can request the location of one and only one amenity at
    1. answers icon 1 answer
more similar questions