You are on page 1of 5

1.

Consultant (with subtypes Business Consultant and Technical Consultant)

 Employee ID (PK)

 Name

 Address (Street, City, State, Zip Code)

 Telephone

 Date Of Birth

 Age

 Business Experience (Number of Years, Type of Business, Degrees Received) [for Business
Consultant]

 Technical Skills, Degrees Received [for Technical Consultant]

2. Customer

 Customer ID (PK)

 Company Name

 Address (Street, City, State, Zip Code)

 Contact Name

 Contact Title

 Contact Telephone

 Business Type

 Number Of Employees

3. Location

 Customer ID (PK, FK)

 Location ID (PK)

 Address (Street, City, State, Zip Code)

 Telephone

 Building Size

4. Service
 Service ID (PK)

 Description

 Cost

 Coverage

 Clearance Required

5. Estimates

 Estimate ID (PK)

 Date

 Amount

 Business Consultant (FK)

 Services (FK)

 Customer (FK)

6. Services Performed

 Service Performed ID (PK)

 Date

 Amount

 Technical Consultant (FK)

 Services (FK)

 Customer (FK)

Relationships:

 Business Consultant and Technical Consultant are subtypes of Consultant.

 Customer and Consultant have a relationship for services offered in the Estimate entity.

 Customer and Consultant have another relationship for services performed in the Services
Performed entity.

 Services and Estimates have a relationship with Business Consultant, Technical Consultant, and
Customer entities.
Cardinalities:

 Customer --< Estimates (1:M)

 Customer --< Services Performed (1:M)

 Consultant <|-- Business Consultant (1:1)

 Consultant <|-- Technical Consultant (1:1)


1. Consultant:

 Business Consultant

 Attributes: Employee ID (identifier), Name, Address (Street, City, State, Zip


Code), Telephone, Date Of Birth, Age, Business Experience (Number of Years,
Type of Business, Degrees Received)

 Technical Consultant

 Attributes: Employee ID (identifier), Name, Address (Street, City, State, Zip


Code), Telephone, Date Of Birth, Age, Technical Skills, Degrees Received

2. Customer:

 Attributes: Customer ID (identifier), Company Name, Address (Street, City, State, Zip
Code), Contact Name, Contact Title, Contact Telephone, Business Type, Number Of
Employees

3. Location:

 Attributes: Customer ID (identifier), Location ID (unique for each Customer ID), Address
(Street, City, State, Zip Code), Telephone, Building Size

4. Service:

 Attributes: Service ID (identifier), Description, Cost, Coverage, Clearance Required

5. Estimates:

 Attributes: Date, Amount, Business Consultant, Services, Customer

6. Services Performed:

 Attributes: Date, Amount, Technical Consultant, Services, Customer

Relationships:

1. Consults:

 Between Business Consultant and Customer

 Participation: Total from Business Consultant side (a business consultant must be


associated with a customer), Partial from Customer side (a customer may not have a
business consultant)

2. Performs:

 Between Technical Consultant and Customer


 Participation: Total from Technical Consultant side (a technical consultant must be
associated with a customer), Partial from Customer side (a customer may not have a
technical consultant)

3. Located At:

 Between Customer and Location

 Participation: Total from Customer side (a customer must have at least one location),
Partial from Location side (a location may not be associated with a customer)

4. Service For:

 Between Service and Customer

 Participation: Partial from both sides (a service may not be performed for a customer,
and a customer may not have any services performed)

5. Offered Services:

 Between Estimate and Customer, Business Consultant, and Service

 Participation: Partial from all sides

6. Performed Services:

 Between Services Performed and Customer, Technical Consultant, and Service

 Participation: Partial from all sides

You might also like