Skip to content

Vijayk176/Java-OOP-Bookstore-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

# Java OOP Bookstore System

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages