A full-stack Human Resources Management System built with ASP.NET, C#, and Microsoft SQL Server.
The platform supports multi-role authentication, structured approval workflows, automated payroll generation, and complete attendance/leave lifecycle management.
This project demonstrates production-level backend engineering, enterprise SQL logic, and full-system architecture from data modeling → implementation → UI.
- Admin: system configuration, attendance handling, holidays, replacements
- HR Employee: leave approvals, deduction management, payroll generation
- Academic Employee: leave requests, performance access, attendance & payroll review
- Hierarchical approval chain
Dean → Vice-Dean → Upper Board → HR - Automatic employment status updates
- Attendance initialization + holiday/day off logic
- Deduction engine (missing hours, missing days, unpaid leave)
- Overtime bonus calculation
- Replacement validation system
This system implements:
- 40+ Stored Procedures
- 15+ Table-Valued Functions & Views
- Full Payroll Engine
- Medical, Unpaid, Accidental, Compensation, Annual Leave Logic
- Document Handling System (status, expiration, storage)
All implemented using Microsoft SQL Server with enforced constraints and integrity.
Backend:
- C#, ASP.NET, MVC-style architecture
Database:
- Microsoft SQL Server
- Stored Procedures
- Views
- Table-Valued Functions
Frontend:
- HTML
- CSS
- JavaScript
- 📘 EERD.pdf – complete data modeling
- 📘 Relational Schema – table structures, relations, constraints
- 📘 Business Logic – SQL-driven workflows for payroll, attendance, leaves
- 📘 Hierarchy Engine – rank-based approval architecture
This system mirrors real HR enterprise environments.
- Open the project in Visual Studio.
- Import the database schema into Microsoft SQL Server.
- Create all tables by running:
EXEC createAllTables;
- Insert sample data as needed.
- Run the project through Visual Studio.
- Admin: Username: "aly", Password: "aly123"
- HR Employee: Username: "4", Password: "908"
- Academic Employee: Username: "1", Password: "123"
- EERD.pdf: Enhanced Entity Relationship Diagram for the database
- relational schema final.pdf: Relational Schema for the database