Skip to content

shayanaminaei/Office

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🏒 Office Project by Shayan Aminaei

This project is a simple Employee and Client Management System implemented in Java, following Object-Oriented Programming (OOP) principles such as Inheritance and Encapsulation.
It is designed according to a UML diagram and models a business office scenario with different types of employees and clients.


πŸ“Œ Features

  • Implements inheritance to define various employee and client subclasses.
  • Supports adding multiple employees or clients interactively via console input.
  • Each class handles its own data input (save() method) and information display (showInfo() method).
  • Structured code based on the provided UML diagram to demonstrate class hierarchies and relationships.

πŸ“œ Classes Overview

The system includes:

  1. Retail Client
  2. Wholesale Client
  3. Office Employee
  4. Finance Employee
  5. Finance and Cashier Employee

(Other classes like Sales or Warehouse employees can be added similarly.)


πŸ“Š UML Diagram

The following diagram shows the structure of the classes:

UML Diagram


πŸš€ How to Run

#1 Clone the repository:

git clone https://github.com/shayanaminaei/Office.git
cd Office

#2 Compile the code:

javac src/**/*.java

#3 Run the program:

java Main

πŸ“š Concepts Used

  • Object-Oriented Programming (OOP)
  • Inheritance for class hierarchies
  • Encapsulation of class fields and methods
  • Using Scanner for console input
  • Looping structures to allow multiple entries

✨ Future Improvements will be added

πŸ‘¨β€πŸ’» Author:(@shayanaminaei)

Releases

No releases published

Packages

No packages published

Languages