Project Report
Project Report
on
EMPLOYEE MANAGEMENT SYSTEM
Submitted By
Yash Pratap Singh – 21SCSE2030168
Yogyata nagayach – 21SCSE2030290
Hamna khan – 21SCSE2030187
Date:
Place:
Abstract
Employee management system is a system developed with an aim to solve the
problem faced by organizations while calculating salary of each employee. This
system aims to maintain proper automatic attendance so that no cheating in
attendance can be done by anyone. This system makes sure that all the important
calculations should be done to calculate salary properly. EMS promotes automatic
use and ensures employees that their salary would be calculated properly without
any cheating.
Employer has to add employee and required details. employer can set public
holiday of an organization a day before. employer can’t edit the holidays that have
passed. employer have to click get salary to get salary of every employee, he will
get a salary of previous month. employer can edit and delete the employee. The
employee has to install the app and follow the described procedure to set up the
app, and then he has to scan the QR code for in at a time of entering the premises.
And, has to scan another QR for Out at a time of leaving the premises.
For the purposes of my project, I chose to work with Visual Studio designed by
Microsoft. We use html/CSS as a language for designing front-end. My choice is
based on the reliable programming environment offered by JavaScript and the
highly cleared syntax of this scripting language as well. We are using MySQL
database for storing employee data.
an information system’s development has been presented. It was emphasized on
the basic steps, consequently taken during the project’s development course as a
particular attention was turned to the basic operative functions performed upon the
data into the database. The report’s content comprises the whole task solution,
starting from the programming environments have been selected, going through the
database, the applications analyze and construction, and finishing with the code-
implementation and test-samples, shown separately in Appendix chapters. As a
future work, some additional stuff could be implemented and integrated into the
application code making it much more reliable and flexible; especially what
concerns a pay-roll module.
List of Tables
Table Page
Table Name
No. Number
1. Table for Student Data 3
Title Page
No.
Abstract I
List of Table II
List of Figures III
Chapter 1 Introduction 1
1.1 Introduction 2
1.2 Formulation of Problem 3
1.2.1 Tool and Technology Used
Chapter 2 Literature Survey/Project Design 5
CHAPTER-1
Introduction
1.2.2:-
Lack of Alignment: Because of several organizational
processes being created in isolation thischallenge is the
absence of alignment. By various groups ofpeople with different
frameworks being used it developed a
link between budgeting, operational planning and
Strategydevelopment. The lacks of alignment has in
performance management system between organizational
delivery,individual performance and departmental performance
thus all frameworks default back to money related estimations.
1.2.3
1.3:- The scripting language which is used to develop this project for frontend is
JavaScript, html CSS, and for backend we use NodeJS, and for database we use
Mongo dB I chose to work with Visual Studio designed by Microsoft. We use
html/CSS as a language for designing front-end. My choice is based on the reliable
programming environment offered by JavaScript and the highly cleared syntax of
this scripting language as well. We are using mongodb database for storing
employee data.
CHAPTER-2
Literature Survey
The other techniques that are in the market are dependent on facial
recognition, biometric scan or card punching. But all of these require an
external device to be installed in the working area, which is again a
costly process and requires regular maintenance
Employee Management System
Problem Statement
Q5: Write a java program to implement “Employee Management System”. In
which you have to include at least three from the given topics as per requirement
of the program: Inheritance, Overriding Methods, Polymorphism, Abstract
Classes, Nested Classes, Interfaces, Lambda Expressions, Exceptional Handling and
I/O Fundamentals. Avoid copying the solutions from any student/website. Try to
implement using the concept covered in the class. Solution must be unique for
each student.
Solution
In this code I have used the concept of Classes and Objects to solve the
problem. I have created a menu for the user which consists of 5 different
features.
1. To add an employee
2. To view details of an employee
3. To remove an employee
4. To update info of an employee
5. To exit the Portal.
For each of these features I have created a separate class to maintain the
decorum of the code. Also I have use the concept of Switch Cases to
automate the task and make it more useful and user friendly. User need
to just enter the numbers as per given and it will perform the task.
CODE
/******************** Importing Essential Libraries
************************/
import java.util.*;
import java.io.*;
/*************************** MENU OF EMS ****************************/
class MainMenu
{
public void menu()
{
System.out.println("*******************************************");
System.out.println("\t EMPLOYEE MANAGEMENT SYSTEM");
System.out.println("*******************************************");
System.out.println("\t\t\t--------------------");
System.out.println("\t\t\t ~Yash thakur");
System.out.println("\t\t\t--------------------");
System.out.println("\n\nPress 1 : To Add an Employee Details");
System.out.println("Press 2 : To See an Employee Details ");
System.out.println("Press 3 : To Remove an Employee");
System.out.println("Press 4 : To Update Employee Details");
System.out.println("Press 5 : To Exit the EMS Portal");
}
}
class Employee_Add
{
public void createFile()
{
Scanner sc=new Scanner(System.in);
class EmployDetail
{
String name;
String father_name;
String email;
String position;
String employ_id;
String employ_salary;
String employ_contact;
public void getInfo()
{
Scanner sc=new Scanner(System.in);
System.out.print("Enter Employee's name --------: ");
name=sc.nextLine();
System.out.print("Enter Employee's Father name -: ");
father_name=sc.nextLine();
System.out.print("Enter Employee's ID ----------: ");
employ_id=sc.nextLine();
System.out.print("Enter Employee's Email ID ----: ");
email=sc.nextLine();
System.out.print("Enter Employee's Position ----: ");
position=sc.nextLine();
System.out.print("Enter Employee contact Info --: ");
employ_contact=sc.nextLine();
System.out.print("Enter Employee's Salary ------: ");
employ_salary=sc.nextLine();
}
}
class Employee_Show
{
public void viewFile(String s) throws Exception
{
File file = new File("file"+s+".txt");
Scanner sc = new Scanner(file);
while (sc.hasNextLine())
{
System.out.println(sc.nextLine());
}
}
}
/***************************** To Remove Employee
*************************/
class Employee_Remove
{
public void removeFile(String ID)
{
class Employee_Update
{
public void updateFile(String s,String o,String n) throws IOException
{
File file = new File("file"+s+".txt");
Scanner sc = new Scanner(file);
String fileContext="";
while (sc.hasNextLine())
{
fileContext =fileContext+"\n"+sc.nextLine();
}
FileWriter myWriter = new FileWriter("file"+s+".txt");
fileContext = fileContext.replaceAll(o,n);
myWriter.write(fileContext);
myWriter.close();
}
}
class CodeExit
{
public void out()
{
System.out.println("\n*****************************************");
System.out.println("$ cat Thank You For Using my Software :) ");
System.out.println("*****************************************");
System.out.println("\t\t/~ <0d3d by Abhinav Dubey\n");
System.exit(0);
}
}
int i=0;
System.out.print("\033[H\033[2J");
obj1.menu();
break;
}
case 2:
{
System.out.print("\nPlease Enter Employee's ID :");
String s=sc.nextLine();
try
{
epv.viewFile(s);}
catch(Exception e){System.out.println(e);}
case 3:
{
System.out.print("\nPlease Enter Employee's ID :");
String s=sc.nextLine();
Employee_Remove epr =new Employee_Remove();
epr.removeFile(s);