New England Book Store
Team : Yinzheng Xiong, Teng Li
Table of Contents:
Introduction
Our product is designed to provide a comprehensive system for managing book borrowing, returning, and updating in a bookstore. We aim to create a database that connects the three key personas in this process – customers, employees, and authors – in a seamless and intuitive way. When information about a book is updated in the bookstore, our system will synchronize the relevant data for each persona, ensuring that everyone has access to the latest information. Unlike most current book library management systems, our system also includes a dedicated interface for book authors, recognizing the importance of their involvement in the process. Overall, our goal is to create a user-friendly and efficient solution for managing book data in a bookstore.
Data Modeling
User Interface
Integral interface
Our database project features an integral interface that enables authors, employees, and customers to access the system and perform their respective roles. The interface is tailored to the unique needs of each user group, providing them with the tools and features they need to effectively manage book data in the bookstore.
Customer Interface
As a customer, you can use the database to find your personal information, search for available books, and view your borrowing history. You can use the search function to quickly find books that interest you, and you can view your personal information, such as your contact details and account status, at any time. Additionally, you can check your borrowing history to see which books you have borrowed in the past, and when they are due for return.
Personal Information
If the customer information in the database matches the information provided by the customer, the database will automatically display the customer's information in a table or view.
Available Books ( Borrow Books )
Customers can easily search for books with the status of 'available' directly. To do this, simply navigate to the Borrow Books
page and use the search function to find books that are currently available for borrowing. Customers can search by book name or other criteria, and the database will display a list of available books that match their search. When you see the book you want, simply input the BookId, return Date and click the 'submit' button to initiate the borrowing. The database will automatically update the book's status and record the loan in the customer’s personal borrowing history, making it easy for customers to manage their book borrowing needs.
Borrowing History
Customers can access their book borrowing history by going to the Borrowing History page. This page allows customers to view a list of all the books they have borrowed in the past. Customers can also use the filter conditions on the page to specify the criteria for the books they want to see, such as the year they borrowed the book or the current status of the book (returned, unreturned, or all). This enables customers to easily find the information they need and manage their borrowing history, ensuring that they can keep track of the books they have borrowed and when they are due for return.
Find Book
Customers can search for the books they want by entering the author's ID and book name into our application. The application will then filter the results and show the customers the availability of the books that match their search criteria. This allows customers to easily find the books they are looking for and see whether they are available for purchase or loan.
Author Interface
As an author, you can use the platform to withdraw money that you have earned from book rentals to your specified bank account. You can access your earnings information and initiate a withdrawal through the specified interface. Additionally, the database provides a range of reports and analytics tools that allow you to track the performance and popularity of your books, as well as the overall trends in the book industry. You can use these reports to gain insights into genre trends, profit rankings, and other data, and you can use this information to inform your writing and publishing decisions.
Withdraw Money
If an author's information is verified in the database, their bank account information will be automatically displayed in their profile. Authors can then select the bank account they want to use for withdrawals, and they can initiate a withdrawal by clicking the withdraw_money button in the page. This will transfer all the money from the author's deposit to their selected bank account, allowing them to easily access the funds they have earned from book rentals.
Read Report
As an author, you can use the database to access a range of reports and analytics tools that provide insights into the performance and popularity of your books, as well as the overall trends in the book industry. We offer three options for reports – profit, genre, and authors – each of which provides different information and insights. The profit
option allows you to see which books are currently the most popular and profitable, while the genre
option shows you the trends and patterns in different book genres. The authors
option allows you to see which authors are currently the most popular and successful, providing valuable insights that can help you to make informed decisions about your writing and publishing.
Employee Interface
Employees have full access to the database, enabling them to select the information relevant to their tasks and update customer and author information as needed. They also have the right to update customer, author, and book information in the database as needed. This ensures that the information in the database is accurate and up-to-date. The ability to update the information allows employees to efficiently manage customers and authors, and ensures that authors receive their corresponding profits.
Customer Support
Employees have the ability to update customers' membership status and change their balance based on their borrow record. The customer support system will automatically display the corresponding customer information as long as employees provide the valid customer ID. This allows employees to efficiently manage customers and their accounts, ensuring that the information is accurate and up-to-date.
Author Support
Employees can easily distribute the corresponding revenue to book authors by using the Author Support
page, which automatically displays all borrowing history for the book written by a specific author. This allows employees to accurately calculate the revenue due to each author and ensure that they receive their fair share of profits. This feature improves the overall efficiency of the system and helps support authors.
Add New Members (Authors/Customers)
Employees can easily add new customers or authors to the database by inputting their necessary information. This allows employees to quickly and easily manage the database and keep it up-to-date. The ability to add new members helps ensures that all relevant information is accurately recorded. The table will automatically display the new member's information after they are added to the bookstore's database.
Add New Books
As an employee, you have the ability to easily add new books to the database by inputting the necessary information, such as the author's ID, the price per day, the book name, and the status of the book. The table will automatically refresh to display the new book's information after it is added to the bookstore's database.
Future Work
-
Try to automate the transactions that are currently done manually by employees. For example, the system could be designed to automatically handle the borrowing of books, deduct the appropriate amount from customers' accounts, and distribute revenue to authors based on book borrowing history.
-
Introduce a management structure in the future. This could involve hiring managers to oversee the work of employees and to ensure that the business is running smoothly. The managers could be responsible for tasks such as setting goals and objectives, providing guidance and support to employees, and evaluating their performance.
-
Currently, the book store reports are directly shown to authors. In the future, it may be more secure to have employees generate the reports and decide which reports can be made available to the public. This could help protect the privacy of the bookstore and its customers by ensuring that sensitive information is not accidentally disclosed. The employees could be responsible for carefully reviewing the reports and deciding which ones can be safely shared with the public, while keeping others private.