You are on page 1of 3

DATABASE

Assignment # 01
Abstract, Business Rules, ERD
Muteeb & Hamza
10/31/2019

Muteeb Imran SP18-BSE-104

Hamza Akram SP18-BSE-068

Pick-a-Book
Abstract:

The database of this app will consist of 8 tables including Categories to provide
the customers with different genres so that they can buy the book of their taste.
In order to purchase books, user will have to register for an account in the Sign-up
table. There will be a table for Admin which will contain the admin’s information.
Admin will be able to add books into the Book-stock table. There will also be a
Best-Selling table which will contain the books that are frequently sold and which
are highly recommended by the users. If someone feels like that the book he/she
needs isn’t available, he/she can make a request for that book and that
information will be stored in the Request-a-book table so the admin can look it
up and add that book into the book stock. The upcoming books will be into a
Coming-soon table which will notify the users before hands. And if the user wants
to place a pre-order for the upcoming book, that information will be stored in the
Pre-order table.

Business Rules:

User:

 Users can get discount coupons by inviting other people.


 User can’t buy book without signing up for an account.
 User can preview books without logging in.
 User can request for a book if it is not available in the stock.
 User can rate the books.

Admin:

 Admin will manage the user accounts, book stock and categories.
 Admin will add the books into the coming soon section, so user can pre-
order the book.
 Admin can put books on sale with discounted rates.

ER diagram:

You might also like