Sie sind auf Seite 1von 10

Example 01 Shelan Cooray i-core-7(batch 05)

Price

W riten D ate

E dited D ate

S ubject N am e
Book ID

S u bject Include in B o ok E dit

W rite

Specialize
In Supervise

B ook Auth or W ork w ith E d itor

N am e Title N am e T itle

E ditor.ID TP N o.
A uth.ID T P N o.

E -m ail DOB
E-m ail DOB

A ddress
A ddress
Example 01
Shelan Cooray i-core-7(batch 05)
ASSUMPTIONS
*Book has only one subject

*One subject include in many books

*Book must have included a subject

*Subject must have include in a book

*Book author specialized in many subjects

*One subject has many authors

*Subject must have author

*Author must have specialized in subjects

*One book writes only one author

*But author can write many books

*A book must have written an author

*Author unnecessary writes a book

*Author can work with many editors

*Editor can work with many authors

*Author necessary work with editor

*Editor necessary work with author

* Editor edits many books

*One book is edited by many editors

*Editor necessary edits books

*Books necessary edit by editor

*One of employee Supervise many editors & he must supervise editors*Editors must
have supervised by Him
Example 02 Shelan Cooray i-core-7(batch 05)

GP Title

Name

Address

TP
No of Beds
GP Reg No.
Ward No

GP Recommend Addmit in Ward

Title

E-mail

NIC No.
is special

Name

Test Have Patient Get

Speciality
Test ID Name

Assign to
DOB

TP No.
Treatment
Address
Treat. ID
Consultant is special
Date
Give
Time
Name Cons. ID
Description
DOB Title

Name
TP No. E-mail
Doctor
DOB
Address

TP No.

Doc. ID
Address

Title

E-mail
Example 02 Shelan Cooray i-core-7(batch 05)

ASSUMPTIONS
*GP recommends many patients, but a patient is recommended by one GP

*GP necessary recommends a patient & patient must have recommended by GP

*Ward has many patients, but patient admit only in one ward

*Ward unnecessary have any patient but patient necessary admit to ward

* One patient have many test & One test can assign too many patients

*Patient must not have assign to test & Test must not have assign to every patient

*Patient assign to one consultant, but consultant has many patients

*Consultant necessary have a patient & patient necessary assign to consultant

*Patient get many treatments & one treatment can assign to many patients

*Patient unnecessary get treatment & treatments unnecessary assign to patient

*Doctor gives many treatments & one treatment is given by many doctors

*Doctor must have given treatments & treatments unnecessary given by doctor
*Have many special wards & have many specialized doctors

*Doctor must be specialized in his job

*Ward must be specialized about it name


Example 03 Shelan Cooray i-core-7(batch 05)

Service Type

Service Service Price

Range of Service
Service Date
Arange
Garg. Name

Address

TP No. Fuel

Garage Need
Fuel type

Volume

Fuel type Filling Sation


Servise in
Engine Size 1l price

Purchase price

Car Has Insurance

Model
Insu. Type
Car ID
Has
Has
Insu. Company
Year of product
Claim Prices
Purchase Date
Sale Contract Rent Conntract Pay Prices

Closing date
Selling ID
Rent ID

Date
Rent Date

Selling Price
Rent Time
Assign to

Rent Price

Name
Backword Date

Address Customer

TP

Drving Licence No. Custom ID


Example 03 Shelan Cooray i-core-7(batch 05)

ASSUMPTIONS
*One fuel type use for many cars, but one car uses one fuel type

*Car must need fuel & fuel must not need a car

*Car has one insurance policy & one insurance policy assign to one car

*Car must have a insurance, but insurance must not need a car

*One car has only one rent contract & one rent contract assign to one car

* One car has only one selling contract & one selling contract assign to one car

*One customers can assign to many selling or rent contract but one contract assign
to one customer

*Car must need a selling or rent contract & contract must need a car

*One car service in one garage, but garage has many cars

*Car must service in a garage, but garage must not service every car

*Garage arrange many services & one service can arrange in many garages

*Garage unnecessary arrange services & Service unnecessary done in a garage


Example 04 Shelan Cooray i-core-7(batch 05)

Name

Dep. Name Lec ID

Address

Department Employs Lecturer


E-mail

DOB

TP

Lec Type
Teach
Teach with Title

Name

Address
Code
Module Leader
E-mail
Title

DOB
Credit value

Co-ordinate TP

Lec Type

Has Module Lern Title

Student No

Name

DOB

Degree Read for Student


Address

Title
Type
Past Perfornace
TP
Example 04 Shelan Cooray i-core-7(batch 05)

ASSUMPTIONS
*One student can read for many Degrees & One degree is followed by many
students

*Student must read for a degree & Degree unnecessary for every student

*Student can learn about many modules & one module is followed by many
students

* Every student must learn about module & Module unnecessary a student

*One degree has many modules & one module is many degrees

*One module has being teach by one lecturer, but lecturer teach many modules

* Lecturer must teach a module & module must have being taught by lecturer

*Module leader teach with many lecturers & Lecturer teach with many module
leaders

*Module leader must teach with lecturer, but Lecturer unnecessary teach with
module leader

*Module leader coordinate many modules, & one module is coordinated by one
module leader

*Module leader must coordinate module & module must have being coordinated by
module leader

*Department has many lecturers & they must employ in department


Example 05 Shelan Cooray i-core-7(batch 05)

Department Dep Name

Employs Employee
Skill

Name
Name

Employee ID
Employee ID

Address
Team Employee Project Manager Address

Title
Title

E-mail
E-mail
Manage
TP No.
TP No.
Take part
In

Team Name

Project Team Team No.

Project Name
Nu. of Employes

Start Date
Project Present
Finish Date

Discription
Product ID

Has Product Product Name

Manufacture Date

Buy

Name Title

Address Customer E-mail

TP No. DOB
Example 05 Shelan Cooray i-core-7(batch 05)

ASSUMPTIONS
*Employee employs one department, but department has many employees

*Department must have employees & Employees must have being employed in
department

*Team employee take part in one project team & project team has many employees

*Project manager is one of employee in a department but he manage many project


teams but one project team manage by on project manager (he has special skills)

*Team employee must take part in a project team & project team must have many
employees

*Project manager must manage project team & project team must have being
managed by project manager

*Project team present many projects & one project is presented by one team

*Project team must present a project & project necessary presented by team

*Project has many products but one product is produced by one project

*Product must have being produced by project & project must be produced a
product

*Product buy many customers & one customer can buy many products

*Products must buy customers & customers unnecessary to buy products