In: Computer Science
Create a Crow’s Foot notation ERD to support the following business operations:
Create a Crowsfoot notation ERD to support the following business operations: -
A friend of yours has opened Marshfield Electronics and Repairs (MER) to repair smartphones, laptops, tablets, and MP3 players. She wants you to create a database to help her run her business.
When a customer brings a device to MER for repair, data must be recorded about the customer, the device, and the repair (also referred to as repair request). Completing each repair request can involve multiple services (e.g. glass replacement, battery replacement, cleaning. Some services require parts.
The customer’s name, address, and a contact phone number must be recorded.
For the device to be repaired, the type of device, model, and serial number are recorded (or verified if the device is already in the system).
Each repair request is given a reference number, which is recorded in the system along with the date of the request, and a description of the problem(s) that the customer wants fixed.
For each Service, there is a service ID number, description, and charge (amount charged for the service)
Part number, Part description and Price are stored for each part.
Each repair request is associated with only one customer. A customer may submit multiple repair requests.
Each repair request is for the repair of one and only one device. It is possible for a device to be brought to the shop for repair many different times,
Completing a repair request may require the performance of many services. Each service can be performed many different times over multiple repairs, but each service is only performed once during the repair of a device.
Each service may or may not require parts. A service may require many parts. A part is used in one or many services. It is also possible that a part is not used in any service.
Hint: Make sure you convert all M-N relationship to two 1-M relationships to receive a full mark.
An Entity Relationship Diagram (ERD) is a
snapshot of data structures. An Entity Relationship Diagram shows
entities (tables) in a database and relationships between tables
within that database. For a good database design it is essential to
have an Entity Relationship Diagram.
Basic ER diagram is named as Crow Foot Notation
Crow's foot diagrams represent entities as boxes, and relationships as lines between the boxes. Different shapes at the ends of these lines represent the relative cardinality of the relationship. Crow's foot notation was used in the consultancy practice CACI. ... With this notation, relationships cannot have attributes.
In the above mentioned details we have the classes
Mobile details
Services Provided
Customer
Service Details
One customer can get any number of services and any number of
devices.
As soon as we request for a service then the shopkeeper informs us the charge taken to provide that particular service.
We have services such as Glass replacement, Battery Replacement, Cleaning