Question
The Choco Shop management would desire to have a database system to keep track of its chocolate items, customers, and employees. Read the following paragraph
The Choco Shop management would desire to have a database system to keep track of its chocolate items, customers, and employees. Read the following paragraph to answer the given questions.
The Choco Shop has registered with a registration number, title, address and phone number. The shop has one or many employees working with it. For each employee, the system keeps an employee ID, first name, last name, address, telephone number, and salary. For each customer, the system needs to keep a customer ID, first name, middle name, last name, title, telephone number, and address. A customer can make zero or more orders. For each order, the system maintains a unique order ID, date, time, and any special discounts offered on the order. Only one employee takes each order. One employee may deal with one or more customers. A single order associated with one or more items. The item details to be stored are item ID, quantity, description, and unit price. The shop inventory stores one or many items.
1- Identify the classes and their attributes from the given paragraph?
2- Draw a Class diagram for the given database. The diagram must show all classes, relationships between classes, and multiplicities?
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