UITC005
UITC005
TECHNOLOGY
(An Autonomous Institutiom
SNR COIMBATORE-10
Approved by AlCTE, New Delhi- Afihated to Anna Universily. Chennai)
Accredted by NAAC with A Grade and Al LUG Engneeung Prog ammes are Accrechted by NEBA
Submitted by
Aniruddha G 1706003
Certificate
Technology for the FOURTH Semester /B. Tech, Programmes during the year 2018-2019
3. Programming
3.1 Source Code 1
3.2 Output 10
4.1 Conclusion 11
5.1 References 12
SOFTWARE PERSONNEL MANAGEMENT SYSTEM
CHAPTERI
INTRODUCTION
Abstract:
The Sottware Personnel
and the Administrator
Management systenm is an interface belween
Employee responsible for generation of slip. T
aims at improving the etliciency in the generation of Pay slip payment
and reduces the
complexities involved in it to the maximum possible extent. It reduces the burden
on the database administrator and
simplifies the of
processes pay slip generation,
project assignment, updating employee details.
1.1 Problem Analysis and Project Plan
The "Software personnel management system" allows the user (employee)
to view their pay slip, check the projects assigned to them and update their details.
Separate records will have to be maintained to for hours worked, pay per hour,
total pay, employec name, employee id and password. On the admin side, the
database managers' records will also have to be maintained. This includes database
managers name, id, password and authorization.
1.2 Problem Statement
Software personnel management system allows employees to record
time card electronically and automatically generates pay slips based
number of hours worked and total amount of sales.
The system will run on individual employee desktops where the
employee can access and edit only their personal details. The system
will maintain information on the employee in the company in order to
calculate the payroll.
The employees will also be able to know from the system, the number
of hours worked per day and total of all hours spent on a project and
total pay received year-to-date etc.
Payroll administrators keep track of all the information including
adding new employees, deleting employees, and edit information and
run reports. The system will generate records and performanee report
of the employees.
1.3 Purpose
If the entire process of Software personnel management is done in a manual
manner then it would more time for pay slip generation process. Considering the
Tact that the number of employee is increasing every year, a maintenance system is
essential to meet he
demand. So this
database techniques to elucidatle the worksystem uses several
involved in this
programming and
process.
CHAPTER II
ERDIAGRAM
2.1 E R Diagrams
Activity diagram
Step 1: Identify the actors and use cases.
In this system,
Actors: User, admin
Use cases: Login, Jobs assigned, view salary, view employee details,
generate payment slip
Step 2: Build the relationship between actors and use cases.
2
USE-CASE NAME: GENERATE PAYMENT
SLIP
The Administrator generates the pay slip based on the details of the no of hours/ no
of days worked by the employee.
Log
**
JoD As5igned
Rurnu>fato
Vew S.aliay
Empioyee
View LmRoy ec d e t i s
,4
3
lass Diagram:
The class diagram is relerredas object modeling inthe static analysis
diagram. The main task of object modeling is to graphically show what each
hicct will do in the problem domain. The problem domain describes the
structure and the relationships among objects.
I. EMPLOYEE CLASS
It consists of seven attributes and two operations. The attributes are empid,
empname, emppassword, address, mobile number, date, Hours Worked. The
operations of this class are Login( ) and viewsalary( ).
2. ADMINISTRATOR CLASS
It consists of attributes Adminid, Adminname and Adminpassword. The
operations are login ), Generate payroll ) , view payroll (Jand
viewemployeedetail (O).
. DATABASE MANAGER CLASS
Generalepay rol()
iewpay rol)
Viewenployeedelanl)
Employee
ernpd DatabaseManager
enpiame slung DUmanagerd int
emppas sword string
address sthng
RDBmanagornan tring ri
RDBmanagerpassvord. string
mobilenumber nt
date dale Create()
HoursWoiked nt Update)
delotof)
login) displaypayroll()
Mewsalary()
Payment
paymentid: int
empid int
dale
Basicpay int
HRA int
DA
PF n
Netpay : int
Grosspay int
Calc ulateSalary(
GeneratoSlip()
emplayeE UI DBManager
Empoxee
Seek login
Request Job
Allot job
display payroll
Display
Payoll
Class: Administrator
Class: Payment
Primary key: Paymentid
Other attributes: empid, date, BasicPay, HRA, DA, PF, NetPay, GrossPay
CHAPTER III
PROGRAMMING
3.1 Source Code
@roseuid 515D15470203
public employee)
**
@roseuid 515DI509029F
@roseuid 515DI50D031C
view)
public v o i d 7
@roseuid 515D154701AS
public administrator1()
**
@roseuid 515D130F030D
/
public void login()
**
@aroseuid 515D13140271
public void generatePayroll()
9
aroseuid 515D131F0251
/
oublic void viewPayroll)
Output:
Settng
Faymet Irformaton
Select Eployee Job Code
Pey Mode Selet
Employee Type
Employee DEpartmenteez Deoatmert
Accourt iumber Designaion Seec Desgraton
Name
Eank
Desigrahor
Persoral Pay Charge Alcw Seiect Fo03029 MR.MOSTAFA KAMAL GENERAL MAN PLAN
10
Cmusio:
11
References:
1] https://www.vidyarthiplus.com
21 H.F.Korth and A.Silberschatz,"Database System concepts", Mc(iraw-1lill, 6
Edition, 2010.