You are on page 1of 4

ABC University Administration Office required a database to assist it with its administration

tasks. The above diagram is a normalized ER-Diagram which is a diagrammatical representation

of the expected database.

The database has ten tables which stores all the necessary information in administration. Below

is a description of what each table does in the database.

Table PK FK Description

AO_Students Student_id Records information of each student

during registration.

AO_Residence_Staff Staff_num Records information of all the

registered staffs.

AO_Appartments/ Apt_num Manager_id Records information of all the

Halls university apartments and halls.

AO_Bedrooms Place_num Type_id Records information about each single

room in an apartment.

AO_Apt_Inspection Inspection_id Place_num Records information about each

inspection done to ensure the

accommodation is well maintained.

AO_Leases Lease_num Place_num Records information of each lease

agreement when a student is renting a

room.

AO_Residence_Type Type_id Apt_num Records information about the flat

hired by a student. i.e. apartment or

halls.
AO_Rent_Apt. Student_id, Student_id, The table is used to store the date when

type_id Type_id the student rents a room in an

apartment or a hall.

AO_Payment_Methods Method_id Keeps a record of the available method

of payments that can be used to pay for

rent.

AO_Invoices Invoice_id payment_method Records information about each

invoice generated.

All the relationships are shown in the ER-Diagram. Below are the meanings for the symbols

used.

Symbol Meaning

Mandatory One-to-Many(1:N) relationship.

1:N relationship with optionality.

Assumptions

1. All halls and apartments have different unique identifies.

2. A student can rent many rooms.

3. A student is allowed to pay the rent as many times as possible use one or different types

of payment methods.

4. Each student and residence staff has a unique identifier.

5. A residence staff can perform bedroom inspection as many times as possible.


6. A bedroom can be leased as many times as possible.

You might also like