0% found this document useful (0 votes)
2 views24 pages

Escova INC.

The document outlines a structured database system designed to manage pet adoptions, training, and medical records efficiently. It includes various entities such as users, pets, and transactions, detailing their attributes and relationships. The system aims to streamline processes like adoption, training sessions, and medical checkups for better management of pet-related activities.

Uploaded by

Ben
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views24 pages

Escova INC.

The document outlines a structured database system designed to manage pet adoptions, training, and medical records efficiently. It includes various entities such as users, pets, and transactions, detailing their attributes and relationships. The system aims to streamline processes like adoption, training sessions, and medical checkups for better management of pet-related activities.

Uploaded by

Ben
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

A ND S C HE M A

"EERD F OR P E T
DE SI GN N IN G
D OPT IO N & TR A I
A S TE M "
SY
D BY: ESCOVA
PRESENTE
"Managing Pet Adoptions & Training
Efficiently"

Problem: Managing pet adoption, training, and


medical records can be inefficient without a
structured system.
Solution: A well-designed database ensures
Hello! seamless user, pet, and record management.
An Overview of our Entities

Users & Pets Transactions

tblAdopter tblTrainingSession
tblTrainer tblAdoptionRecord
tblPet ...
...
USER & PETS
GROUP
tblAdopter (Tracks individuals adopting
pets)
tblPersonnel (Tracks shelter staff members)
tblManager (Supervises shelter operations)
tblTrainer (Handles pet training)
tblPet (Stores pet details)
USER & PETS
GROUP
tblAdopter (Tracks individuals adopting
pets)
tblPersonnel (Tracks shelter staff members)
tblManager (Supervises shelter operations)
tblTrainer (Handles pet training)
tblPet (Stores pet details)
TBL USER
tblUser (Supertype of all user_types)
user_id (PK) – Unique identifier for all users
name– User's full name.
phone – Contact number.
email – Email address.
address – User's address (applicable for adopters).
user_type – Specifies whether the user is an Adopter or Personnel
('Adopter', 'Personnel')
TBLPERSONNEL (SUBTYPE OF TBLUSER, DISJOINT)

personnel_id (PK, FK → tblUser.user_id) – Unique ID for


personnel.
hire_date – Date of employment.
salary – Personnel’s salary. user_id
TBLMANAGER (SUBTYPE OF TBLPERSONNEL,
OVERLAPPING)

manager_id (PK, FK → tblPersonnel.personnel_id) –


Unique ID for managers.
phone – Manager's phone number.
email – Manager's email. personnel_id
TBLTRAINER (SUBTYPE OF TBLPERSONNEL,
OVERLAPPING)

trainer_id (PK, FK → tblPersonnel.personnel_id) –


Unique ID for trainers.
specialization – Area of expertise.
experience_years – Years of experience. personnel_id
TBLPET

pet_id (PK) – Unique ID for each pet. name – Pet’s


name.
species – Type of animal (dog, cat, etc.).
breed – Pet’s breed. age – Pet’s age.
health_status – Pet’s current health condition.
TRANSACTIONS
GROUP
tblTrainingSession (Records training
activities)
tblAdoptionRecord (Tracks pet adoptions)
tblMedicalRecord (Maintains veterinary
history)
1. Adoption Process (tblAdoptionRecord) –
When an adopter selects a pet, a transaction
records the adoption details, linking the
adopter and pet.
2. Training Sessions (tblTrainingSession) –
Each training session recorded is a
transaction that logs the pet, trainer, and
session details.
3. Medical Checkups (tblMedicalRecord) – Each
vet visit or medical treatment is recorded as
a transaction to track pet health history.
TBLTRAININGSESSION

session_id (PK) – Unique ID for the session.


pet_id (FK → tblPet.pet_id) – Pet attending the
session.
trainer_id (FK → tblTrainer.trainer_id) – Trainer
conducting the session.
date – Date of the session.
duration – Session duration (in minutes or hours).
training_type – Type of training (obedience,
socialization, etc.).
TBLADOPTIONRECORD

adoption_id (PK) – Unique ID for the adoption.


pet_id (FK → tblPet.pet_id) – Adopted pet.
adopter_id (FK → tblAdopter.adopter_id) – Adopter.
adoption_date – Date of adoption.
fee_paid – Adoption fee amount.
TBLMEDICALRECORD

record_id (PK) – Unique ID for the medical record.


pet_id (FK → tblPet.pet_id) – Pet’s ID.
checkup_date – Date of the medical checkup.
vet_name – Veterinarian’s name.
diagnosis – Diagnosis from the checkup.
treatment – Treatment given.
ION &
DO PT NG
A RAINI W
T RKFLO
W O
TIO N
DOP
A RKFL OW TBLADOPTER
WO
Adopter Selects a Pet → Matches
with a pet from tblPet.

TBLUSER

User Registers → An Adopter


(tblAdopter) is created.
TBLADOPTION
RECORD
Adoption is Processed →
Adoption details are stored in
tblAdoptionRecord.
TBLPET
Pet is Transferred → The pet’s
status updates in tblPet.
TBLTRAINER

TRAINER IS ASSIGNED → A TRAINER


(TBLTRAINER) IS RESPONSIBLE FOR
TRAINING.
TBLTRAININGSESSI ON
PET IS ENROLLED IN A SESSION →

g
LINKED THROUGH

a inin TBLTRAININGSESSION

Tr rkflow
W o
TBLTRAININGSESSI ON

TRAINING DETAILS ARE RECORDED →


DATE, DURATION, AND TYPE ARE
STORED.
EERD
USER

- USER_ID
- NAME
- PHONE
- EMAIL
- ADDRESS
- USER_TYPE

ADOPTER PERSONNEL
- PERSONNEL_ID
- ADOPTER_ID d - HIRE_DATE
- ADOPTION_DATE - SALARY
- USER_ID - USER_ID
- ISTRAINER
- ISMANAGER
ADOPTION
RECORD
- ADOPTION_ID
O
- PET_ID
- ADOPTER_ID
- ADOPTION_DATE
- FEE_PAID
MANAGER TRAINER

- MANAGER_ID - TRAINER_ID
- PERSONNEL_ID - SPECIALIZATION
- EXPERIENCE_YEARS
- PERSONNEL_ID
PET TRAINING
SESSION
- PET_ID - SESSION_ID
- NAME - PET_ID
- SPECIES - TRAINER_ID
- BREED - DATE
- AGE - DURATION
- HEALTH_STATUS - TRAINING_TYPE

MEDICAL
RECORD
- RECORD_ID
- PET_ID
- CHECKUP_DATE
- VET_NAME
- DIAGNOSIS
- TREATMENT

You might also like