Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!