You are on page 1of 15

DATABASE DESIGN

BITP 2313

PROPOSAL DATABASE SYSTEM


Database for Cats4Life
2BITS Semester 1 2018/2019
No Group Member Matric Number
1. Muhammad Fahmy Akmal Bin Zamri B031710063
2. Muhamad Fariq Bin Mohd Sakri B031710318
3. Muhammad Nadzri Bin Hamzah B031710069
4. Muhammad Azizi Bin Yaapar B031710321
5. Ammar Bin Jamaludin B031710397

LECTURER : Prof Madya Dr Nurul Akmar Binti Emran


Table of Contents

1.0 INTRODUCTION........................................................................................................................... 3
2.0 DATABASE PLANNING .............................................................................................................. 3
2.1 MISSION STATEMENT ............................................................................................................. 3
2.2 MISSION OBJECTIVES.............................................................................................................. 3
3.0 SYSTEM DEFINITION ................................................................................................................. 4
3.1 SYSTEM BOUNDARY ............................................................................................................... 4
3.2 MAIN USERS VIEW ................................................................................................................... 5
4.0 REQUIREMENT COLLECTION AND ANALYSIS ................................................................. 6
4.1 SYSTEM REQUIREMENT SPECIFICATION ........................................................................... 6
4.1.1 FUNCTIONALITY ............................................................................................................... 6
4.1.2 OUTSIDE INTERFACE........................................................................................................ 6
4.1.2 REQUIRED ATTRIBUTE .................................................................................................... 7
4.2 USER REQUIREMENT SPECIFICATION ................................................................................ 7
4.2.1 DATA REQUIREMENT ....................................................................................................... 7
4.2.2 TRANSACTION REQUIREMENT .................................................................................... 10
5.0 DATABASE DESIGN .................................................................................................................. 12
5.1 CONCEPTUAL MODEL ........................................................................................................... 12
5.1.1 EERD ................................................................................................................................... 12
5.1.2 VALIDATION OF EERD AGAINS USER TRANSACTION ........................................... 13
5.2 LOGICAL MODEL .................................................................................................................... 14
6.0 CONCLUSION ............................................................................................................................. 14
7.0 REFERENCES .............................................................................................................................. 15

2
1.0 INTRODUCTION

Cat is the most common pet in Malaysia. Many owner does not have decent knowledge to
ensure the well-being of their cat. Some of them, seek professional knowledge by seeing
veterinarian, however, it is costly. Upon research, there is no centralize database system
regarding cat in Malaysia. We intend to redesign a database system that have decent guide for
each type of cat and how to properly care for each and every single one of them. This database
will be useful for saving the cost for cat shelter and pet owner seeking professional help.
Our motivation to build this database is due to the death of one of our group member beloved
cat due to FLV. The devastation of losing one pet is unbearable. This tragedy due to lack of
knowledge of the member about cat sickness and behavior. May this database help others in
need.

2.0 DATABASE PLANNING

2.1 MISSION STATEMENT

To design a database system that stored information regarding feline home care in Malaysia
and provide online cat hotel booking system.

2.2 MISSION OBJECTIVES

 Invented for the cat lovers, owner who want to learn the proper way of taking care of
their cat.
 For those who want to locate nearest cat hotel in their area and for those who seek
advice on taking care of their cat.
 For the cat product supplier, pet clinic owners and cat hotels owner to use the system
to promote and advertise their business.
 Admin manages the data input from suppliers and customers and maintain the stability
of the system.
 To provide the necessary information of cat care to locate nearest cat hotel and hotel
booking aid, cat accessories advertisement for suppliers and locate the nearest
veterinary in the area of the user.
 It helps to promote cats for adoption.
 It is a cat information system and cat hotel, cat accessories, cat adoption advertisement
and veterinary database.
 Available in Malaysia
 Just search the website on the browser, register an account and everything pops out.
 The user will find what they need for their cat.

3
3.0 SYSTEM DEFINITION

3.1 SYSTEM BOUNDARY

The system contained information about current cat health issue, pet clinic, adoption shelter,
pet necessity supplier and customer information. It is also promoted cat hotel business.
By combining getting advice regarding cat as pet and booking cat hotel, in a centralize database
system will widen the boundary of the system. Interaction between customer and hotel service
provider are between themselves. Our platform just provides booking placement.
Admin of the database, will insert/update/delete data regarding cat information, pet clinic,
adoption shelter and supplier into the database. Customer data will be insert/update by
customer themselves. The illustration of interaction is shown in Figure 3.1.

Figure 3.1 : Show the pathway of communication between users of database system. Admin
represent central database of the system

4
3.2 MAIN USERS VIEW

Table 3.2 : Show the main user that use the system and their ability upon the system
ACCESS ADMIN CUSTOMER SUPPLIER CLINIC ADOPTION
DATA TYPE SHELTER

ADMIN MAINTAIN X
QUERY X
REPORT X X X X X
ALL MAINTAIN X
CUSTOMER QUERY X X
S REPORT X X X X
ALL MAINTAIN X X
SUPPLIERS QUERY X X
REPORT X X X X X

ALL MAINTAIN X X
CLINICS QUERY X X
REPORT X X X X X
ADOPTION MAINTAIN X X
SHELTER QUERY X X X
REPORT X X X X X

5
4.0 REQUIREMENT COLLECTION AND ANALYSIS

4.1 SYSTEM REQUIREMENT SPECIFICATION1

4.1.1 FUNCTIONALITY

The develop database system must able to hold and contain all the appropriate data needed for
one stop cat-care system centre. This include registering personal account on website,
information on cat breed, information regarding cat health and nearest clinic, current harmful
disease, cat adoption shelter, cat food and additional accessories.
Additional data available is cat hotel booking system. Customer can look up for the nearest cat
hotel available in their area and make a booking. This transaction process needs regular update
regarding cat hotel. It also helps promoting local businesses.

4.1.2 OUTSIDE INTERFACE

The outside interface for the database system is web based. The interface must be able to do all
the transaction process in functionality. Illustration of the transaction flow can be seen in Figure
4.1 below.

EXTREME CAT CARE


DATABASE SYSTEM

1.0 REGISTRATION 2.0 LOGIN 3.0 PROMOTION 4.0 TRANSACTION 5.0 BREED SUPPLIER

2.1 The customer need to


1.1The customer are required 3.1 The customer can choose 4.1 The system will verify 5.1 Add , update , delete the
sign in their username and
to do the registration. any promotion customer account transaction stock of the breeding seed.
password.

1.2. The customer need to fill


required data such as 3.2 Customer can choose 4.2 Once the transaction is
2.2 The system will verify the confirmed, the supplier will
username,password,address either to purchase or put it in
data deliver the breeding seed to
and also bank account wishlist.
information. the customer.

3.3 If the customer choose to


1.3. The system will store all
put in wishlist, the system will 4.3 Record of transaction is
the data.
store the data saved.

Figure 4.1 : Show the transaction process available in website that hold the database

1
(DCSL Software Ltd, 2016)

6
4.1.2 REQUIRED ATTRIBUTE

The database system must able to be maintain only by administration staff. To ensure security
and integrity of the data.
The password for individual user account cannot be made available even to the administrator.
Only user, know their account password.

4.2 USER REQUIREMENT SPECIFICATION2

Admin User view of Cats4Life


4.2.1 DATA REQUIREMENT

Admin
Cats4Life database has administrative team that will handle the transaction process of data.
This team will ensure data integrity and security. The team will constantly update latest data to
be insert into the database. Example of data in needs of constant update or newly insert is type
of cat breed, current cat health issue, latest medication, pet clinic opening time and treatment
available, cat adoption shelter location, available cat for adoption, cat food, cat accessories (eg:
price, usability) and cat hotel.
Manager of the team, will ensure, export, transform and loading process of data is efficiently
executed prior to any queries.

Customer

Cats4Life refer to user of the database system as customer. To become a customer, user must
register their personal information online. Data stored on customer includes, customer unique
ID number, name, telephone number, email, home address and type of cat breed.
Customer then has access to online pet clinic registration and booking, cat hotel booking,
information regarding their cat type of breed and promotion for cat necessity and accessories.

Supplier
The supplier details will be stored inside Cats4Life. Data stored will be supplier unique ID,
name, telephone number, email and type of products supplied. For example, cat food, cat house,
cat toys, etc. One supplier may supply many type of product while one product can be supply
by many suppliers.

2
(Begg, 2015)

7
Pet Clinic
The clinic information is stored in Cats4Life. The information can be query by customer as one
of the service provided. Data stored is clinic unique ID, name, phone number, address with
google map location, Doctor available with name and credential and treatment available.
Customer can choose their preferable clinic according to their own accord.

Adoption Shelter
Adoption shelter data is stored in Cats4Life. Data stored is shelter unique ID, name, address
with google map location, telephone number and cat available for adoption with unique ID.
One adoption shelter may have many cats available for adoption. This data can be query by
customer.

Cat Hotel
Cat hotel data is stored in Cats4Life. Data stored is hotel unique ID, name, address with google
map location, telephone number and room availability with premium options. One hotel may
have many room available for rent. This data can be query by customer. Hotel data will be
advertise on the website to help businesses.

Public
Public can access few available open data via website. Open data available are information
regarding cat breed and cat hotel advertisement.

8
DATA FLOW DIAGRAM

Figure 4.2 : Show register module for user to become customer

Figure 4.3 : Show the administration module to entered needed data in database

9
Figure 4.4 : Show Customer transaction module, doing query, booking and buying.

4.2.2 TRANSACTION REQUIREMENT

Data entry
Enter details of new cat information
Enter details of new customer
Enter details of pet clinic
Enter details of cat adoption shelter
Enter details of supplier
Enter details of cat necessity and accessories
Enter details of cat hotel

10
Data update / deletion
Update/delete customer details
Update/delete details of cat information
Update/delete details of pet clinic
Update/delete details of cat adoption shelter
Update/delete details of supplier
Update/delete details of cat necessity and accessories
Update/delete details of cat hotel

Data queries
(a) List of cat disease
(b) List available clinic near certain area
(c) List available cat hotel near certain area
(d) List of cat necessity
(e) Identify cat breed
(f) List of cat accessories available
(g) Give details of cat information for certain breed of cat
(h) Give pet clinic veterinary credential

11
5.0 DATABASE DESIGN

5.1 CONCEPTUAL MODEL

5.1.1 EERD

M 1

1
M

1
1

Figure 4.5 : Show the EERD for Cats4Life database relationship

12
5.1.2 VALIDATION OF EERD AGAINS USER TRANSACTION

USER TRANSACTION
(a) Customer able to made purchase for cat necessity/accessories from supplier
(b) Customer can book session with pet clinic
(c) Customer can book cat hotel
(d) Customer can see or adopt cat from cat shelter

(a)

M 1
1 M
(a)
(b) 1
1

(d)
1

M
(c)

Figure 4.6 : Show the ERD for Cats4Life is check with user transaction pathway.

13
5.2 LOGICAL MODEL

Figure 4.7 : Show the logical model (ERD) of the Cats4Life database system

6.0 CONCLUSION

In conclusion, this system will help the cat owners in Malaysia to learn the best way of
taking care of their cat regardless of what breed. In addition, it promotes cat adoption for the
people. It prove helpful for the inexperienced cat owner as they could learn many important
things just by using the system. As the result of that, this system will help to cater for the
wellbeing of the cat itself and reduce the risk of cats being treated wrongly.
Lastly, local cat hotel business can flourish and well-known by being advertise directly from
the website which hold the database system.

14
7.0 REFERENCES

Begg, T. C. (2015). Database Systems, A Practical Approach to Design, Implementation and


Management . Ediburgh Gate: PEARSON EDUCATION LTD.

DCSL Software Ltd. (2016, December 19). How to Write a System Requirement Specification.
Retrieved from DCSL Softwar: https://www.dcslsoftware.com/how-to-write-a-system-
requirement-specification/

petMD, LLC. (2019). Retrieved from PET MD, VET AUTHORED, VET APPROVED:
https://www.petmd.com/cat/breeds

TotallyHer Media, LLC. (2019). The place for all things feline. Retrieved from Cat Time:
https://cattime.com/cat-breeds

15

You might also like