Use Case Diagram for Pizza Factory
Actors:
- Customer
- Kitchen Staff
- Delivery Executive
- Admin / Manager
- Inventory System (External)
- Payment Gateway (External)
Use Cases:
- Place Order
- Customize Pizza
- Make Payment
- Track Order
- Cancel Order
- Receive Order (in kitchen)
- Update Order Status
- Manage Inventory
- Assign Delivery
- Update Delivery Status
- Add/Edit Menu
- View Sales Reports
Explanation Points for Students:
- Actors:
Identify human and system actors. Customers interact directly; systems like Inventory and Payment Gateway interact via APIs.
- Use Cases:
Actions the system supports. Each actor is associated with specific functions.
- System Boundaries:
Everything inside the rectangle is handled by the Pizza Factory system. External systems communicate from outside.
- Optional Relationships (Extend / Include):
-
-
Customize Pizza can be an optional extension of Place Order.
-
Make Payment can include interactions with the Payment Gateway.
-