- Can manage books, publishers, and authors.
- Has CRUD (Create, Read, Update, Delete) permissions for books, publishers, and authors after logging in.
- Can manage staff.
- Can see the list of staff and create or disable specific staff after logging in.
- UserId (PK) - int
- FullName
- Password
- Role
- Status
- BookId (PK)
- BookName
- AuthorId (FK)
- PublisherId (FK)
- CategoryId (FK)
- Quantity
- Price
- PublisherId (PK)
- PublisherName
- PublisherEmail
- PublisherDescription
- PublisherPhoneNo
- AuthorId (PK)
- AuthorName
- AuthorDescription
- AuthorAge
- CategoryId (PK)
- CategoryName
- CategoryDescription
- Fields: UserId, Password
- Button: "Forget Password?"
- Fields: UserId, Password, Confirm Password
- Button: "Submit"
- Welcome Label
- Buttons: "Book Management", "Publisher Management", "Author Management", "Logout"
- Data of books
- Search bar
- Button: "Add Book"
- Fields to add a book (optional: add Publisher, add Author, add Category)
- Book Information
- Buttons: "Update Book", "Delete Book"
- Fields to update a book (optional: add Publisher, add Author, add Category)
- Data of publishers
- Search bar
- Buttons: "Add Publisher", "Delete Publisher", "Update Publisher"
- Fields to add a publisher
- Fields to update a publisher
- Data of authors
- Search bar
- Buttons: "Add Author", "Delete Author", "Update Author"
- Fields to add an author
- Fields to update an author
- Data of categories
- Search bar
- Buttons: "Add Category", "Delete Category", "Update Category"
- Fields to add a category
- Fields to update a category
- Data of users with role Staff
- Buttons: "Add Staff", "Delete Staff", "Update Staff"
- Fields to update staff and change status
- Data of books, publishers, and authors
- User navigates to the Login screen.
- User enters UserId and Password.
- User clicks "Login".
- System verifies credentials:
- If valid, redirects to the Main Screen.
- If invalid, displays an error message.
- User clicks "Forget Password?" on the Login screen.
- User is redirected to the Forgot Password screen.
- User enters UserId, Password, and Confirm Password.
- User clicks "Submit".
- System updates the password if the UserId is valid and the passwords match.
- User is redirected back to the Login screen.
- User navigates to the Book List screen.
- User selects a book from the list.
- System displays the Book Detail screen with information about the selected book.
- User navigates to the Book List screen.
- User clicks "Add Book".
- User enters book details (optional: add Publisher, add Author, add Category).
- User clicks "Submit".
- System saves the new book and updates the Book List.
- User navigates to the Book List screen.
- User views the list of books.
- User can search and filter books using the search bar.
- User navigates to the Book List screen.
- User selects a book to update.
- System displays the Book Detail screen.
- User clicks "Update Book".
- User updates the book details (optional: add Publisher, add Author, add Category).
- User clicks "Submit".
- System saves the changes and updates the Book List.
- User navigates to the Book List screen.
- User selects a book to delete.
- User clicks "Delete Book".
- System prompts for confirmation.
- User confirms the deletion.
- System deletes the book and updates the Book List.
- User navigates to the Author List screen.
- User clicks "Add Author".
- User enters author details.
- User clicks "Submit".
- System saves the new author and updates the Author List.
- User navigates to the Author List screen.
- User views the list of authors.
- User can search and filter authors using the search bar.
- User navigates to the Author List screen.
- User selects an author to update.
- User clicks "Update Author".
- User updates the author details.
- User clicks "Submit".
- System saves the changes and updates the Author List.
- User navigates to the Author List screen.
- User selects an author to delete.
- User clicks "Delete Author".
- System prompts for confirmation.
- User confirms the deletion.
- System deletes the author and updates the Author List.
- User navigates to the Publisher List screen.
- User clicks "Add Publisher".
- User enters publisher details.
- User clicks "Submit".
- System saves the new publisher and updates the Publisher List.
- User navigates to the Publisher List screen.
- User views the list of publishers.
- User can search and filter publishers using the search bar.
- User navigates to the Publisher List screen.
- User selects a publisher to update.
- User clicks "Update Publisher".
- User updates the publisher details.
- User clicks "Submit".
- System saves the changes and updates the Publisher List.
- User navigates to the Publisher List screen.
- User selects a publisher to delete.
- User clicks "Delete Publisher".
- System prompts for confirmation.
- User confirms the deletion.
- System deletes the publisher and updates the Publisher List.
- User navigates to the Category List screen.
- User clicks "Add Category".
- User enters category details.
- User clicks "Submit".
- System saves the new category and updates the Category List.
- User navigates to the Category List screen.
- User views the list of categories.
- User can search and filter categories using the search bar.
- User navigates to the Category List screen.
- User selects a category to update.
- User clicks "Update Category".
- User updates the category details.
- User clicks "Submit".
- System saves the changes and updates the Category List.
- User navigates to the Category List screen.
- User selects a category to delete.
- User clicks "Delete Category".
- System prompts for confirmation.
- User confirms the deletion.
- System deletes the category and updates the Category List.
- Admin navigates to the Staff List screen.
- Admin selects a staff member to update.
- Admin clicks "Update Staff".
- Admin updates the staff details and changes the status, either “Active” or “Disabled”.
- Admin clicks "Submit".
- System saves the changes and updates the Staff List.