information system of restaurant osis – term project
TRANSCRIPT
DESCRIPTION OF THE PROBLEM 1/2
• Small restaurant want to have knowledge about its business
• Information system should be able to:
• Place orders and record orders
• Create reports about income of restaurant
• Have evidence about amount of ingredients in local warehouse
• Order missing supplies, when there is lack of it
MINISPECIFICATION – RATE ORDER
READ rating FROM customer.
WRITE rating INTO order_info.
READ ratings FROM order_info, CREATE selected_post FROM ratings, SEND selected_post TO web_page.
DECISION TABLE – SHIFT RECORD
did employee log in? Y Y N N
did employee log out? Y N Y N
write log in date *
write log out date *
empty shift warning *
no action *
USE CASE SCENARIO 1/3
• Use case specification
• Use case name: create web order
• Use case purpose: This use case provides the ability to order food using our web interface.
• Actor: Customer
USE CASE SCENARIO 2/3
• Optimistic flow:
• A. Actor request web order.
• B. System sends appropriate form.
• C. Actor fills form with his name, address, e-mail, phone number and sends it.
• D. System creates new record for order in order info.
• E. System sends notification about successful order.
USE CASE SCENARIO 3/3
• Pragmatic flow:
• Conditions triggering alternate flow:
• Condition : Incorrectly filled web order form.
• D1. System sends notification about incorrectly filled fields in web order form.
• D2. System prompts actor to correct it.
• D3. Actor fills form correctly and sends it.
• D4. If form is filled correctly, perform step D.
• D5. Else, perform step D1.