Skip to content

boddolk/LibraryManager

Repository files navigation

Library Manager v1.1.0 📙

📙Library Manager is implemented in C#. Created for laboratory work #8. Can be used for library management.📙

Project owners ⚡

Identification of system actors 👥

Figure 1 shows the main candidates for actors in the system.

alt text

Figure 1. Analysis of system actors

A brief description of the actors is presented in Table 1.

Table 1. Identification of actors

Actors Brief description
Library administrator the first primary user who interacts directly with the administrative interface. Can perform basic manipulations with books.
Library user the second main user who interacts directly with the user interface. He can change his data and partially manipulate the books.
System administrator a user who administers the system and adds administrators.


Identifying use cases 🕵️

The identification of use cases is shown in Table 2.

Table 2. Identification of use cases

Main actor Use case Definition
Library administrator Login This use case allows the administrator to log in to the system.
Library administrator View book information This use case allows the administrator to view information about a specific book from the database.
Library administrator Add a new book to the database This use case allows the administrator to add a book to the database.
Library administrator Edit a book in the database This use case allows the administrator to edit the book data.
Library administrator Delete book from database This use case allows the administrator to delete a book from the database.
Library administrator Issue a book This use case allows the administrator to issue a book to a library user that has been reserved.
Library administrator Return a book This use case allows the administrator to return a borrowed book to the library.
Library user Login This use case allows the user to log in to the system.
Library user Register This use case allows the user to log in.
Library user View personal data This use case allows the user to view the personal account data.
Library user Edit personal data This use case allows the user to edit the personal account data.
Library user Reserve a book This use case allows the user to reserve a book available in the library for a certain period of time.
Library user View history This use case allows the user to view the history of the library.
System administrator Add Administrator This use case allows the system administrator to add a library administrator to the database.


Developing use case diagrams 💼

All the options for use are shown in Figure 2.

alt text

Figure 2. Diagram of system precedents



Diagram of database tables ✅

All tables in the database are shown in Figure 3.

alt text

Figure 3. Diagram of database tables



Class diagram of the application ☑️

All clases in the application are shown in Figure 4.

alt text

Figure 4. Diagram of clases



How to use this app 🧾

Launching from .exe file

  1. The application is designed for Windows, so avoid using other systems or remake the program to avoid bugs

  2. Download all files and put them in a one directory;

  3. After that, go to the "TestFiles/last_release/"* folder then double-click on libraryMeneger.exe;

  4. The application is running. Next, log in/register. Enjoy your use!

Launching from Visual Studio

  1. The application is designed for Windows, so avoid using other systems or remake the program to avoid bugs

  2. Download all files and put them in a one directory;

  3. Open the libraryMeneger.sln* in Visual Studio and run the project in debug mode;

  4. After that, go to the "TestFiles/test_database/" folder and copy UsersAndBooks.db;

  5. Next, follow this path: "libraryMeneger/bin/Debug/" and paste the previously copied file;

  6. Now your application is ready to run and work from the Visual Studio interface. Enjoy your work!


About

Object orient project for lab work 8

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages