Last active
September 9, 2024 15:45
-
-
Save Malix-Labs/c1864651f52aa9ba08bb85585b8484b4 to your computer and use it in GitHub Desktop.
EFREI 2026 I2 S7 OO Systems Development Labs
This file contains hidden or 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
@startuml | |
|Customer| | |
start | |
:Order product; | |
|Sales| | |
:Process order; | |
fork | |
|Warehouse| | |
:Take out items; | |
:Ship order; | |
fork again | |
|Sales| | |
:Invoice customer; | |
end fork | |
|Customer| | |
:Pay bill; | |
|Cashier| | |
:Cash client's money; | |
stop | |
@enduml |
This file contains hidden or 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
@startuml | |
|Customer| | |
start | |
:Request room; | |
|Hotel Employee| | |
:Check room availability; | |
:Insert customer data; | |
:Verify credit card; | |
if (Enough credit?) then (yes) | |
:Confirm booking; | |
:Wait for customer arrival; | |
|Hotel System| | |
:Allow modify/cancel reservation; | |
|Customer| | |
if (Customer arrives?) then (yes) | |
:Use room; | |
:Pay for room; | |
else (no - No-show) | |
:Account penalty on credit card; | |
:Cancel booking; | |
endif | |
stop | |
else (no) | |
:Inform customer; | |
stop | |
endif | |
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment