Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Domain Model Class Diagram Classes and Attributes Painter painterID: int name: String description: String services: String location: String website: String socialMedia: String isChecked: boolean onTimeGuarantee:

Domain Model Class Diagram
Classes and Attributes
Painter
painterID: int
name: String
description: String
services: String
location: String
website: String
socialMedia: String
isChecked: boolean
onTimeGuarantee: boolean
averageRating: float
Customer
customerID: int
email: String
location: String
JobRequest
requestID: int
category: String
serviceType: String
roomType: String
budget: float
materialsRequired: String
jobDate: Date
additionalInstructions: String
status: String
Quote
quoteID: int
costEstimate: float
additionalInfoRequired: boolean
comments: String
status: String
Credit
creditID: int
purchaseDate: Date
expiryDate: Date
amount: int
Feedback
feedbackID: int
rating: int
comment: String
Report
reportID: int
reportDate: Date
content: String
Transaction
transactionID: int
transactionDate: Date
amount: float
Associations and Multiplicity
Painter "1"---"0..*" JobRequest: AssignedTo
Customer "1"---"0..*" JobRequest: Makes
JobRequest "1"---"0..*" Quote: Generates
Painter "1"---"0..*" Quote: Submits
Customer "1"---"0..*" Feedback: Provides
Feedback "0..*"---"1" Painter: For
Painter "1"---"0..*" Credit: Purchases
Credit "1"---"0..*" Transaction: Has
Admin "1"---"0..*" Report: Generates
Generalisation Hierarchies
Person (superclass)
Attributes: personID, name, email, location
Subclasses:
Painter
Customer
Explanation of Associations
Painter - JobRequest: A painter can be assigned to multiple job requests, but each job request is assigned to one painter at a time.
Customer - JobRequest: A customer can make multiple job requests, each job request is made by one customer.
JobRequest - Quote: A job request can generate multiple quotes, each quote is generated for one job request.
Painter - Quote: A painter can submit multiple quotes, each quote is submitted by one painter.
Customer - Feedback: A customer can provide multiple feedback, each feedback is provided by one customer.
Feedback - Painter: Multiple feedback can be provided for a painter, each feedback is for one painter.
Painter - Credit: A painter can purchase multiple credits, each credit is purchased by one painter.
Credit - Transaction: Each credit can have multiple transactions, each transaction is related to one credit.
Admin - Report: An admin can generate multiple reports, each report is generated by one admin.
BASED ON THAT ANSWER THIS QUESTION: Create a domain model class diagram for the FCP, including all classes, attributes,
associations, and multiplicity. Show association classes and generalisation
hierarchies where appropriate.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Semantics In Databases Second International Workshop Dagstuhl Castle Germany January 2001 Revised Papers Lncs 2582

Authors: Leopoldo Bertossi ,Gyula O.H. Katona ,Klaus-Dieter Schewe ,Bernhard Thalheim

2003rd Edition

3540009574, 978-3540009573

More Books

Students also viewed these Databases questions

Question

Excel caculation on cascade mental health clinic

Answered: 1 week ago