-
-
Save rsrini7/182776f43f4a3bebc170519636d2a3bc to your computer and use it in GitHub Desktop.
airport model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AR \ BC | Check in | Drop L. | Passp. C | Board | Transit | | |
----------+----------+---------+----------+-------+---------+ | |
Passenger | Y | | Y | Y | | | |
----------+----------+---------+----------+-------+---------+ | |
Luggage | Y | Y | | | Y | | |
----------+----------+---------+----------+-------+---------+ | |
Flight | Y | | | | | | |
----------+----------+---------+----------+-------+---------+ | |
Three bounded contexts: | |
* Passenger tracking context | |
* Luggage tracking context | |
* Seat booking context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Passenger-airport interaction lifetime | |
* Passenger buys a ticket | |
* Checks in | |
* Drops luggage | |
* Goes through passport control | |
* Boards the plane | |
* (Takes off) | |
* (Lands) | |
* (Picks up luggage) | |
== Passenger verbs | |
BookPassenger(PassengerId, FlightId) | |
CheckInPassenger(PassengerId, SeatId, NumberOfPackages) | |
SecurityClearPassenger(PassengerId) | |
BoardPassenger(PassengerId) | |
== Flight | |
RegisterFlight(FlightId, DateTime, Destination) | |
FlightTakeOff(FlightId) | |
FlightLand(FlightId) | |
== Luggage | |
RegisterLuggage(LuggageId, PassengerId, Destination) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment