Skip to content

Instantly share code, notes, and snippets.

@Malix-Labs
Last active September 9, 2024 15:45
Show Gist options
  • Save Malix-Labs/c1864651f52aa9ba08bb85585b8484b4 to your computer and use it in GitHub Desktop.
Save Malix-Labs/c1864651f52aa9ba08bb85585b8484b4 to your computer and use it in GitHub Desktop.
EFREI 2026 I2 S7 OO Systems Development Labs
@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
@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