Project Java
Project Java
catalog, members, and user access, with data stored in a SQLite database for
persistence. The application should include a user management system with different
levels of access, ensuring certain actions are restricted to specific user roles.
Requirements
Database Integration:
○ Use a SQLite database to store and manage all data.
○ Ensure that data persists even after the application is closed.
Books: Each book should have a title, author, ISBN, and availability status.
Members: There are different types of members:
○ Regular Members: Can borrow up to 3 books.
○ Premium Members: Can borrow up to 10 books and have priority when
borrowing popular books.
Users:
○ Admin: Full access to all system features.
○ Viewer: Limited access, only able to view lists of books and members,
without modifying data.
Popular Books: Implement a mechanism to flag books as popular and prioritize
borrowing for Premium Members.
Overdue Books:
○ Track overdue books based on borrowing dates and display a list of
overdue books for admins.
○ Include a system to calculate the overdue status (e.g., a 14-day
borrowing limit).
User Authentication:
○ Prompt users to log in with their credentials (username and password).
○ Display menus based on their role (Admin or Viewer).
Menu Options:
○ Admins can perform all actions.
○ Viewers see a restricted menu with options to view books and member
information only.
Viewer Menu
Welcome to library Mnagement System (viewer)
!. list all books
2. find book by title
3.list all mambers
4.viwer mamber detail
5.exit
please choose an option:
Admin Menu
the programme should desplays the following menu
do me this in java rember to create compatible sqlite database with this project, I need you to separate
the code classes, I mean to show me this code if for this class I hope you ander stand, and remember ,
do use polymolophisme, haritance, abstration, ..etc, the project in on console only no interface