0% found this document useful (0 votes)
12 views11 pages

Assignment EAM SYSTEM2

The Employee Attendance Management System is a web-based solution built with ASP.NET MVC that automates employee attendance management, allowing an admin to manage records, attendance, shifts, and payroll. It features modules for employee management, attendance tracking, payroll calculations, and report generation, all secured through role-based access control. The system is designed with a 3-tier architecture and utilizes SQL Server for data management, ensuring scalability and security.

Uploaded by

Priyanka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views11 pages

Assignment EAM SYSTEM2

The Employee Attendance Management System is a web-based solution built with ASP.NET MVC that automates employee attendance management, allowing an admin to manage records, attendance, shifts, and payroll. It features modules for employee management, attendance tracking, payroll calculations, and report generation, all secured through role-based access control. The system is designed with a 3-tier architecture and utilizes SQL Server for data management, ensuring scalability and security.

Uploaded by

Priyanka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Assignment Title

Employee Attendance Management System


The Employee Attendance Management System is a web-based solution
developed using ASP.NET MVC, designed to provide a streamlined and
automated approach to managing employee attendance within an organization.
The system is exclusively managed by an admin who holds the authority to
create employee records, set daily attendance (marking employees as absent or
present), and assign work shifts. This centralized control ensures that the
management of employee attendance is secure, organized, and free from
unauthorized access or errors.
Through the admin interface, administrators can add new employees,
update their profiles, and manage attendance records efficiently. The system
also supports the allocation of various shifts, allowing the admin to manage
different work schedules for employees across departments. Attendance records
are maintained in a structured format, enabling the admin to generate detailed
reports.
Built on the ASP.NET MVC, with C# as the backend logic and SQL
Server for data management, this system offers a scalable and secure
environment for attendance management. Role-based access control ensures that
only authorized personnel (admin) can manage sensitive employee data and
attendance details.
now include a Payroll Module to calculate employee salaries based on attendance
and a new Attendance Report Controller to generate detailed attendance
percentages
1. Modules
Admin Module:
1. Employee Management:
o Add, update, or delete employee records.
o View and manage employee details (name, ID,
department).
2. Attendance Management:
o Set daily attendance for employees (Present or Absent).
o View, update, or correct attendance records as needed.
3. Shift Management:
o Assign work shifts to employees (Morning, Evening,
Night).
o Modify or update shifts based on operational needs.
4. Report Generation:
oGenerate and download attendance and shift reports
based on specific time periods.
5. Payroll Management:
o Set base salary for each employee.
o Calculate and display monthly salary based on
attendance.
o Generate and download salary slips.
6. Attendance Module:
o Admin marks attendance for each employee on a daily
basis (Absent or Present).
o Ability to handle different attendance scenarios (half-
day, overtime, leave).
o Absent employee record.

Employee Module:
 Admin can Add new Employee,Update and Delete the
Record.
 View and Manage the List of Employees.

Attendance Module:
 Admin marks attendance for each employee on a daily basis
(Absent or Present).
 Ability to handle different attendance scenarios such as half-
day, overtime, or leave .
 Absent Employee Record.

Payroll Module:
o Salary Calculation:
 Base salary input for each employee.
 Daily attendance will affect monthly salary calculations.
o Overtime Calculation:
 Option to input overtime hours.
 Overtime rates applied to regular salary.
o Salary Reports:
 Generate and download salary slips for each employee.

Attendance Report Controller:

o Attendance Percentage Calculation:


 Formula: (Total Present Days/Total Working Days)×100(\
text{Total Present Days} / \text{Total Working Days}) \times
100(Total Present Days/Total Working Days)×100
o Report Generation:
 Generate detailed attendance reports for specific time periods.
 Include charts or graphs for better visualization

Shift Module:
 Admin can assign shifts to employees based on work
requirements (e.g., day shift, night shift).

Report Module:
 Employee Attends Report
 Detailed Report
2. System Design
1. Architecture
The system follows a 3-tier architecture, which separates the application into
three logical layers to ensure scalability, maintainability, and security:
1. Presentation Layer (UI):
o Built using ASP.NET MVC.
o Admin interface for creating employees, managing attendance,
assigning shifts, and generating reports.
2. Business Logic Layer (BLL):
o Written in C#, this layer contains all the business logic and rules.
o Handles validation, processing attendance, shift assignments, and
communication between the presentation layer and the data
access layer.
o Ensures that only authorized actions are executed by the admin.
3. Data Access Layer (DAL):
o Manages interactions with the SQL Server database.
o Uses Entity Framework to communicate with the database.
o Contains methods for CRUD operations (Create, Read, Update,
Delete) on employee records, attendance, and shifts.
2. Database Design
The database is designed to store employee records, attendance, shifts, and admin
credentials. The main entities include:
Database Tables:
1. Admin Table:
o AdminID: Unique identifier for the admin (Primary Key).
o Username: Admin login name.
o Password: Admin password.
AdminID Username Password
1 Admin Admin@123

2. Employee Table:
o EmployeeID: Unique identifier for each employee (Primary Key).
o FullName: Full name of the employee.
o Department: Department the employee belongs to.
o Designation: Employee's job title.
o JoinDate: Date the employee joined the company.
o ShiftID: Foreign key linking to the Shift table.
EmployeeID FullName Department Designation JoinDate ShiftID
1 Priyanka IT Staff 2023-06-01 1

3. Attendance Table:
o AttendanceID: Unique identifier for each attendance record
(Primary Key).
o EmployeeID: Foreign key referencing the Employee table.
o Date: Date of the attendance entry.
o Status: Status of the employee for that date (Present/Absent).
AttendanceID EmployeeID Date Status
1 1 2024-09-01 Present
4. Shift Table:
o ShiftID: Unique identifier for the shift (Primary Key).
o ShiftName: Name of the shift (e.g., Morning, Evening, Night).
o StartTime: Time the shift starts.
o EndTime: Time the shift ends.

ShiftID ShiftName StartTime EndTime


1 Morning 08:00:00 16:00:00

5.AttendenceReport Table:
o AttendanceReportId: Unique identifier for each attendance report
(Primary Key).
o EmployeeID: Unique identifier for the associated employee (Foreign
Key).
o EmployeeName: Name of the employee.
o TotalAttendanceDays: Total number of days the employee was
present.
o TotalAbsenceDays: Total number of days the employee was absent.
o AttendancePercentage: Calculated percentage of attendance.
ReportGeneratedDate: Date when the report was generated.

AttendecndeId EmployeeID EmployeeName TotalADa TAbsentD AP RGD


y
1 1 Priyanka 20 5 80 2024-10-
08

6.PayRoll Table:

Id: Unique identifier for each payroll record (Primary Key).


EmployeeId: Unique identifier for the associated employee (Foreign Key).
BasicSalary: The base salary of the employee.
TransportAllowance: Additional allowance for transport.
HousingAllowance: Additional allowance for housing.
OtherAllowances: Any other allowances applicable to the employee.
Deductions: Total deductions applicable (e.g., tax, insurance).
PayDate: The date on which the payment is made.
NetPay: Final salary after calculating allowances and deductions.

Id EID BS TA HA OA DE PAYDATE NETPAY


1 1 30000 2000 1000 1000 2000 2024-08-10 37000
3. Level 1 (DFD for Admin Operations):
 Admin Login: Admin enters credentials → System validates admin →
Grants access.
 Employee Management: Admin creates or updates employee records →
Data is stored in the Employee table.
 Attendance Management: Admin marks attendance for employees →
Data is updated in the Attendance table.
 Shift Management: Admin assigns shifts to employees → Shift data is
updated in the Shift table.
 Report Generation: Admin requests attendance reports → System
retrieves data from the Attendance and Employee tables and displays it.

4. Workflows
Admin Login Workflow:
1. Admin enters credentials (username and password).
2. System verifies credentials using data from the Admin table.
3. If valid, the admin is redirected to the dashboard; if not, an error message
is displayed.
Employee Creation Workflow:
1. Admin navigates to the “Add Employee” form.
2. Admin enters employee details (name, department, designation, etc.).
3. System validates the input and saves the data in the Employee table.
Confirmation is displayed to the admin.

Mark Attendance Workflow:


1. Admin selects a date and views a list of employees.
2. Admin marks each employee as “Present” or “Absent.”
3. System saves attendance records in the Attendance table for the selected
date.
4. Admin can review or modify attendance records if needed.

Shift Assignment Workflow:


1. Admin navigates to the “Assign Shift” page.
2. Admin selects an employee and assigns a shift.
3. System updates the employee's ShiftID in the Employee table to reflect
the assigned shift.

5. Security Design
1. Authentication:
o Only the admin can log in using secure credentials.
o Passwords are stored using hashing techniques to enhance security.
2. Role-Based Access Control (RBAC):
o Only the admin has access to system features, preventing
unauthorized access.
3. Session Management:
o Secure sessions are used to maintain admin login status. Sessions
expire after inactivity to prevent unauthorized use.

6. User Interface (UI) Design


1. Admin Dashboard:
Overview of employee count, total present, absent employees, and
assigned shifts.
2. Employee Management:
o Form to add or edit employee details.
3. Attendance Management:
o Page for marking employee attendance with a list of all employees
and attendance status for each day.
4. Shift Management:
o Page for assigning or updating employee shifts with a list of
employees and their current shift details.
5. Report Generation:
o Page to generate and download attendance and shift reports in
various formats (PDF, Excel).
6. Attendance Report Management:
 Attendance Report Page:
o List of generated attendance reports with filters for date range and
employee.
o Display of attendance metrics (e.g., Total Attendance Days, Total
Absence Days, Attendance Percentage).
o Option to generate new reports based on selected criteria.
o Download button for reports in PDF/Excel formats.
7.Payroll Management
o Summary of total employees, total payroll processed for the month,
and upcoming payroll dates.
o Quick links to generate new payroll or view previous payroll
records.

8.Technology Stack
 Front-End: ASP.NET (Web Forms or MVC), HTML, CSS,
JavaScript,BootStrap
 Back-End: C#, Entity Framework.
 Database: SQL Server.
 IDE: Visual Studio 2022.
 Version Control: GitHub/Git.

9.Conclusion
The Employee Attendance Management System provides a robust solution
for managing employee attendance, shifts, and related data.
The system allows for efficient tracking of employee attendance, including
the ability to mark employees as present or absent and assign shifts. This
improves overall accuracy in recording attendance data and reduces
administrative overhead.By restricting access to administrative functions, the
system ensures that only authorized personnel can manage employee records
and attendance data. This helps maintain data integrity and security.

You might also like