Post on 07-Dec-2014
description
Our Client
Animal Shelter needs an information system to help keep track of their business.
DESTINATIONSUCCESS
Our Solution
We propose a database that would store all the required information about: clients, employees, activities,animals and their medical recordin a consistent and organized manner.
DESTINATIONSUCCESS
Their Information Requirements
Animal Shelter wants to have: a list of animals, a list of cages, a list of clients, a list of employees.
DESTINATIONSUCCESS
Their Information Requirements
Our database must be able to answer to the following questions:
Which cages hosted animals while they had a contagious disease?
What is the evolution of adoptions and receptions depending on weather, season or special holidays?
DESTINATIONSUCCESS
Their Information Requirements
Our database must be able to answer to the following questions:
Which was the most active employee and which is responsible for a particular reception?
What is the most adopted type of animal?
DESTINATIONSUCCESS
Assumptions
• The veterinary is liable for an animal’s vaccines, diseases list, treatments.
• The veterinary is an employee. • If an animal’s birth year is unknown, the veterinary approximates it.
DESTINATIONSUCCESS
Assumptions
• Each building code cannot be changed and each cage has a standard size.
• Each employee has a job history and an associated salary, but Animal Shelter does not want to keep track of shifts.
• An animal born in the Animal Shelter is taken through a reception procedure.
DESTINATIONSUCCESS
Constraints
• Each start date is not greater than its corresponding end date.
DESTINATIONSUCCESS
Structural Business Rules
• Each adopter can return an animal and take home another.
• Each adopter cannot take home the same animal more than once.
• Some animals have no names, so each animal is assigned an artificial id.
DESTINATIONSUCCESS
Procedural Business Rules
• Each animal must undergo a medical examination when it arrives at the shelter.
• Animal Shelter does not need to know the origin of abandoned animals.
• They do not want to keep track of any dead animal.
DESTINATIONSUCCESS
Procedural Business Rules
• Animal Shelter maintains contact with visitors by using the newsletter.
• There are no adoption taxes.
DESTINATIONSUCCESS
ERD
ANIMAL# animal ido name* birth year* sex
CAT* hair length
DOG* breed* size
OTHERo description
CAGE HISTORY# start dateo end date
CAGE# building id# cage code* size
SHOT LIST# date
VACCINE# name
DISEASE# name* contagiouso description
DISEASELIST# start dateo end date
TREATMENT# treatment id* start dateo end date* quantity
MEDICATION# nameo description
EMPLOYEE# employee id* first name* last nameo addresso phone number
EMPLOYEE HISTORY# start dateo end date* salary* job
RECEPTION LIST
DAY # date* weather* temperatureo holiday
ADOPTIONLISTo end date
CLIENT# client id* first name* last name
VISITOR* e-mail
ADOPTER* address* animals number* children number
for in
for for
for for
for
have
in
have
in
in
in
have
in
in
have
have
for
for
for
in
in
have have
in in
in
for
have
DESTINATIONSUCCESS