This is a Java-based Employee Management System that allows for managing employee details, attendance, salary, and loans. It provides a comprehensive interface for performing CRUD (Create, Read, Update, Delete) operations on employee records.
- Employee Management: Add, update, and list employee details.
- Attendance Management: Record and update attendance for employees.
- Salary Management: Calculate and update salaries for employees.
- Loan Management: Manage loans taken by employees.
- Report Generation: Generate pay slips and loan slips.
-
Clone the repository:
git clone https://github.com/yourusername/employee-management-system.git cd employee-management-system
-
Set up the database:
- Create a database using the provided
db.sql
script. - Ensure the database connection details in
conn.java
are correctly configured to connect to your database.
- Create a database using the provided
-
Compile the project:
- Open the project in your preferred Java IDE (e.g., IntelliJ IDEA, Eclipse).
- Compile the project to resolve dependencies.
-
Run the project:
- Run the main class
project.java
to start the application.
- Run the main class
-
Login:
- Use the login screen (
login.java
) to enter the system. Default credentials can be set in the database.
- Use the login screen (
-
Employee Management:
- Add a new employee using
New_Employee.java
. - Update existing employee details with
Update_employee.java
. - List all employees using
List_Employee.java
.
- Add a new employee using
-
Attendance Management:
- Record attendance using
TakeAttendence.java
. - List attendance records with
List_Attendence.java
.
- Record attendance using
-
Salary Management:
- Update salary details with
Update_salary.java
. - Generate pay slips using
pay_slip.java
. - Calculate salary in
Salary.java
.
- Update salary details with
-
Loan Management:
- Record new loans with
Loan_Taken.java
. - Update existing loans using
Update_loan.java
. - Generate loan slips using
loan_slip.java
.
- Record new loans with
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
This project is licensed under the MIT License. See the LICENSE file for more details.