You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A comprehensive back-end system developed in Java to manage the operations of a bookstore. This project demonstrates core Object-Oriented Programming principles including **Encapsulation**, **Data Modeling**, and **Business Logic implementation**.
## 🚀 Features
* **Inventory Management**: Track books with unique identifiers, managing stock through automated additions and removals.
* **Transaction Processing**: Robust handling of both 'sale' and 'purchase' operations with real-time inventory updates.
* **Financial Analytics**: Automatic calculation of profit margins per book based on purchase and selling prices.
* **Sales Performance**: Tracks individual salespersons, managing their total sales volume and calculating earned commissions.
* **Encapsulated Data**: All core entities (Book, SalesPerson, Transaction) use private fields with public getters and setters to ensure data integrity.
## 🛠️ Technical Structure
The project is organized into several key classes:
* Book: Models book details including title, author, and pricing.
* Inventory: Manages the collection of books using a static ArrayList for global access.
* SalesPerson: Handles employee data and commission logic.
* Transaction: Processes the logic for buying and selling, linking books to sales staff.
## 💻 How to Run
1. Clone the repository.
2. Open the project in your preferred Java IDE (IntelliJ, Eclipse, or VS Code).
3. Run the Main.java file to see the system demonstration.
About
A Java-based management system leveraging Object-Oriented Programming (OOP) to handle bookstore inventory, sales transactions, and salesperson performance tracking.