Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
A passenger at the airport can have multiple flights booked in advance from the given airport. 0.4.1 Create a Domain Model Clas...Question
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.
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.
Answers
There are no human answers yet.
Answered by
GPT 3.5
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)
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)
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.