Is my diagram correct based on this information, and if not, what changes should I make to
Fantastic news! We've Found the answer you've been seeking!
Question:
Is my diagram correct based on this information, and if not, what changes should I make to make it compatible with the entity-entity relationship?
List of Major Entities and Description
- Restaurant: Contains regular information about the restaurant.
- Order: Contains information about how to complete the order, time, ID, type of order, delivery, takeout, or dine-in.
- Employees: Contains information about each employee, such as their names and addresses.
- Menu Items: Contains information about the list of items on the menu, their description, prices, names, and ingredients of each dish.
- Customer: It contains information about all customers who have visited the restaurant once before, such as their names, addresses, and payment information.
- Reservation: Contains information about the date and time of the reservation and how to organize the reservation by giving each reservation and ID.
- Tables: It contains information about the table, divided into different types of tables according to the number of guests, and each table has a number.
- Order Line: Captures the individual items that make up an Order, with details like Menu Item, quantity etc.
Entity to Entity Business Rules
- A customer can make reservations.
- A Reservation is made by one Customer.
- A Table can have many Reservations.
- A Reservation is for one Table.
- An Employee can take multiple Orders.
- An Order is taken by one Employee.
- A Customer places an Order.
- An Order is placed by one Customer.
- A Menu contains many Menus Items
- A Menu Item appears on one Menu.
- An Order contains many Orders Lines
- An Order Line contains one Menu Item.
- An Order Line belongs to one Order.
- A Menu Item can appear on many Orders Lines
Related Book For
Cornerstones of Managerial Accounting
ISBN: 978-0176530884
2nd Canadian edition
Authors: Maryanne M. Mowen, Don Hanson, Dan L. Heitger, David McConomy, Jeffrey Pittman
Posted Date: