hepo has put a lot of thought into the data that he wants to store in the carbon accounting database. He has also spoken to the CEOs of a number of companies in the group to get their inputs. Between them, they have come up with a set of business rules to be used as the basis for the data model design. Project ACME Green – Business Rules 1. A single database will be created that will track the carbon footprints2 of all the companies within the ACME Technologies™ group. 2. All tables in the database must have surrogate primary keys. 3. Each company has a name and consists of one or more departments. 4. Each company has one employee that is the CEO of the company. That employee may only be the CEO of one company, and not all employees are CEOs. 5. Each department must have exactly one employee who is the Green Champion – the person responsible for any initiatives related to the carbon footprint of the department. That employee may only be the Green Champion for a single department, and not all employees are Green Champions. 6. The following data must be recorded for each employee: name and surname. 7. Some departments have products that they are responsible for. Each product must be allocated to exactly one department, and must have a description. 8. The main purpose of the database is to record carbon transactions. Each carbon transaction is accounted for by exactly one department. Optionally, the single product that the carbon transaction relates to can also be recorded. 9. The following data must be recorded for each carbon transaction: date and value. Draw an entity relationship diagram (ERD) in Unified Modelling Language (UML) notation according to these business rules
hepo has put a lot of thought into the data that he wants to store in the carbon accounting
inputs. Between them, they have come up with a set of business rules to be used as the basis for
the data model design.
Project ACME Green – Business Rules
1. A single database will be created that will track the carbon footprints2 of all the companies
within the ACME Technologies™ group.
2. All tables in the database must have surrogate primary keys.
3. Each company has a name and consists of one or more departments.
4. Each company has one employee that is the CEO of the company. That employee may only
be the CEO of one company, and not all employees are CEOs.
5. Each department must have exactly one employee who is the Green Champion – the
person responsible for any initiatives related to the carbon footprint of the department.
That employee may only be the Green Champion for a single department, and not all
employees are Green Champions.
6. The following data must be recorded for each employee: name and surname.
7. Some departments have products that they are responsible for. Each product must be
allocated to exactly one department, and must have a description.
8. The main purpose of the database is to record carbon transactions. Each carbon
transaction is accounted for by exactly one department. Optionally, the single product
that the carbon transaction relates to can also be recorded.
9. The following data must be recorded for each carbon transaction: date and value.
Draw an entity relationship diagram (ERD) in Unified Modelling Language (UML) notation
according to these business rules
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images