110 likes | 125 Views
This system allows a bank to keep track of loans and payments made. It includes loan details, payment information, product and component information, department and project management, employee details and assignments, and supplier information.
E N D
a1 b1 a2 b2 a3 b3 a4 b4
Consider a bank loan system. The bank wants to keep track of loans and payments made against a loan. A loan has a unique identifying number and an amount indicating the balance due. A payment against a loan has a date the payment was made, and amount of the payment, and a payment number indicating if this was the first payment made, second payment made, etc.
A manufacturing company produces products. The following product information is stored: product name, product ID and quantity on hand. These products are made up of many components. Each component can be supplied by one or more suppliers. The following component information is kept: component ID, name, description, suppliers who supply them, and products in which they are used.
A company is organized into departments. Each department has a unique name, a unique number, and a particular employee who manages the department. We keep track of the start date when that employee began managing the department. A department may have several locations. A department controls a number of projects, each of which has a unique name, a unique number, and a single location. We store each employee’s name, social security number, address, salary, sex, and birthdate. An employee is assigned to one department but may work on several projects, which are not necessarily controlled by the same department. We keep track of the number of hours per week that an employee works on each project. We also keep track of the direct supervisor of each employee. We want to keep track of the dependents of each employee for insurance purposes. We keep each dependent’ name, sex, birthdate, and relationship to the employee.
A supplier has a name, city, and state. A project has a name, city, and state. Projects need parts which have part numbers and descriptions. A supplier supplies parts in a certain quantity to a project.