Question
Draw use case diagram and class diagram: Draw a use model for the following which include a use case diagram and use case descriptions. BestDining
Draw use case diagram and class diagram:
Draw a use model for the following which include a use case diagram and use case descriptions.
BestDining (BD) is a take-out only restaurant that sells pizza and buffalo wings. The restaurant wants to install a system to record orders from customers. The following is the summary of the business activities at the restaurant.
When an employee takes a customer call on the phone, customer information is validated. The customer is asked his/her phone number. When the number is typed into the system, the customer information (e.g., name, address, and last order date) is automatically brought up on the screen for verification from the CUSTOMER file. When the customer is new, his/her information is added to the CUSTOMER file.
The system processes the orders taken from customers. The order information (e.g., item and quantity ordered) is entered into the system. Once an order is taken, the total amount is calculated. The unit price of the product ordered is retrieved from the PRODUCT file. The processed order information (including order date and total amount) is stored in the ORDER file. Then a receipt is printed.
A cook in the kitchen retrieves the order information and prepares the food. If there are special instructions, they are highlighted on the screen. The receipt is included in the delivery. The order is delivered to the customer. Occasionally, special offers (coupons) are printed from the COUPON file so the customer can get a discount for the next purchase. These coupons are given to customers together with the orders and receipts.
BestStaffing (BS) provides temporary staff to their clients. Using the following case description, help me todraw a class diagramfor BS. Please include all the classes, their data and behaviors, relationships and multiplicity.
A client company submits a staffing request against the contract it had previously negotiated with BS. The client information (such asClientNo, CompanyName, Address and Contact) is maintained in the system.The staffing request includes information such as RequestNo, RequestDate, Description and Status. A contract includes information such as ContractNo, ContractDate, Terms, ExpirationDate and Fee.When a request is received, the contract number referenced on the staffing request is entered into the system. Using the number, the staffing request is validated. The staffing request is valid if the contract has not expired, the type of staff member is listed on the original contract, and the requested fee falls within the negotiated fee range. If the staffing request is not valid, the staffing request is sent back to the client with a letter stating why the staffing request cannot be filled. If the staffing request is valid, the staffing request is entered into the staffing database as an outstanding staffing request.
The staff information (such as StaffNo, FirstName, LastName, Experience, Qualification, StaffingStatus and Phone) are maintained in the system.There are two types of staff - technical staff and administrative staff. For the technical staff, their technical skills and proficiency are additionally stored. For the administrative staff, their certificate information is additionally stored. The system searches the qualified staff. If qualified staff is found, the staff is reserved. Its staffing status is marked as "reserved". If a qualified staff is not found, the system notifies the client of the unavailability. When the staff is actually placed. Staffing status is marked as "placed' and the total fee is calculated.
(Business Rules)
- A staffing request has a contract with BS and each contract is associated with one client.
- A client makes one or more staffing requests. Each staffing request is associated with a client.
- A staffing request involves one or more temporary staff. Each staff is involved in one or more staffing requests. Each temporary staff member's assignment hours to each staffing request need to be recorded.
- If necessary, make explicit assumptions for the relationships and multiplicity.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started