About Lesson
1. Customer
- Initiates the pizza order.
- Selects pizza type, crust, toppings, and size.
- Can customize the order.
- May track the order or cancel it before preparation starts.
2. Order Management System
- Handles creation, modification, and cancellation of orders.
- Coordinates with the kitchen to start pizza preparation.
- Maintains order history for customers.
3. Kitchen Staff / Chef
- Receives orders from the system.
- Prepares the pizza based on specifications.
- Updates the order status (e.g., “Preparing”, “Ready”, “Dispatched”).
4. Inventory System
- Maintains stock levels of ingredients (e.g., cheese, dough, toppings).
- Notifies when ingredients are low.
- Blocks an order if ingredients are insufficient.
5. Delivery Executive
- Picks up the order from the kitchen once it’s ready.
- Delivers it to the customer.
- Updates delivery status (“Out for Delivery”, “Delivered”).
6. Admin / Manager
- Manages menu items (add/remove/update pizza options).
- Views order statistics and manages staff roles.
- Monitors system health and inventory status.
7. Payment Gateway (External System Actor)
- Processes online payments.
- Sends confirmation/failure status to the system.
- May provide refund APIs.
Summary Table:
Actor | Role |
---|---|
Customer | Places and customizes orders, views status |
Order System | Manages lifecycle of pizza orders |
Kitchen Staff | Prepares pizzas based on orders |
Inventory System | Tracks availability of ingredients |
Delivery Executive | Picks and delivers pizzas |
Admin / Manager | Controls backend operations like menu and inventory |
Payment Gateway | Handles transactions securely |