How sinoeun-ny/hr_management works
This is an ASP.NET Core point-of-sale and workforce-management application. Users enter through login, then access operational areas such as employee and department administration, payroll, inventory, suppliers, products, sales, reports, settings, and a dashboard. Sampled controllers call a shared SQL stored-procedure helper; inventory also has a service that reads stock and store data. The README gives no workflow detail, and several feature controllers were not sampled, so their internal links are intentionally omitted.
Main entry points: EmployeeController.cs Employees · DbHelper.cs SQL Helper · PayrollController.cs Payroll · InventoryService.cs Stock Service
Components 27
Access and Overview
Workforce Management
- Departments
POS_System/POS_System/Controllers/Department/DepartmentController.cs - Employees
POS_System/POS_System/Controllers/Employee/EmployeeController.cs - Payroll
POS_System/POS_System/Controllers/Payroll/PayrollController.cs
POS Operations
- Point of Sale
POS_System/POS_System/Controllers/Pos/PosController.cs - Products
POS_System/POS_System/Controllers/Product/ProductController.cs - Inventory
POS_System/POS_System/Controllers/Inventory/InventoryController.cs - Stock Service
POS_System/POS_System/Services/Inventory/InventoryService.cs - Suppliers
POS_System/POS_System/Controllers/Supplier/SupplierController.cs - Reports
POS_System/POS_System/Controllers/Report/ReportController.cs - Settings
POS_System/POS_System/Controllers/Setting/SettingController.cs
Data Access
- SQL Helper
POS_System/POS_System/Data/DbHelper.cs - Identity Context
POS_System/POS_System/Data/ApplicationDbContext.cs
Domain Models
- Employee Records
POS_System/POS_System/Models/Employee/Employee.cs - Employee Details
POS_System/POS_System/Models/Employee/EmployeeInfo.cs - Employee Positions
POS_System/POS_System/Models/Employee/EmployeePosition.cs - Employee Documents
POS_System/POS_System/Models/Employee/DocumentStorage.cs - Department Record
POS_System/POS_System/Models/Department/Department.cs - Payroll Records
POS_System/POS_System/Models/Payroll/Payrollinfo.cs - Store Data
POS_System/POS_System/Models/Inventory/StoreModel.cs - Stock Data
POS_System/POS_System/Models/Inventory/stockProductModel.cs - Supplier Record
POS_System/POS_System/Models/Suppliers/Supplier.cs - Login Credentials
POS_System/POS_System/Models/UserLoginModel.cs
Other components
- User
- SQL Server
Connections 23
- User → Login: signs in
POS_System/POS_System/Controllers/Login/LoginController.cs - Login → Login Credentials: accepts credentials
POS_System/POS_System/Controllers/Login/LoginController.cs - Login → Employees: redirects after sign-in
POS_System/POS_System/Controllers/Login/LoginController.cs - Departments → SQL Helper: queries and updates
POS_System/POS_System/Controllers/Department/DepartmentController.cs - Departments → Department Record: accepts department
POS_System/POS_System/Controllers/Department/DepartmentController.cs - Employees → SQL Helper: queries and updates
POS_System/POS_System/Controllers/Employee/EmployeeController.cs - Employees → Employee Records: loads and updates
POS_System/POS_System/Controllers/Employee/EmployeeController.cs - Employees → Employee Details: builds lists
POS_System/POS_System/Controllers/Employee/EmployeeController.cs - Employees → Employee Positions: updates positions
POS_System/POS_System/Controllers/Employee/EmployeeController.cs - Employees → Employee Documents: loads documents
POS_System/POS_System/Controllers/Employee/EmployeeController.cs - Payroll → SQL Helper: queries and saves
POS_System/POS_System/Controllers/Payroll/PayrollController.cs - Payroll → Employee Records: uses employee records
POS_System/POS_System/Controllers/Payroll/PayrollController.cs - Payroll → Payroll Records: accepts payroll data
- Inventory → Supplier Record: references supplier
POS_System/POS_System/Controllers/Inventory/InventoryController.cs - Stock Service → SQL Helper: opens SQL connection
POS_System/POS_System/Services/Inventory/InventoryService.cs - Stock Service → Store Data: returns store data
POS_System/POS_System/Services/Inventory/InventoryService.cs - Stock Service → Stock Data: returns stock data
- Suppliers → SQL Helper: gets connection
POS_System/POS_System/Controllers/Supplier/SupplierController.cs - Suppliers → Supplier Record: accepts supplier
POS_System/POS_System/Controllers/Supplier/SupplierController.cs - SQL Helper → SQL Server: runs commands
POS_System/POS_System/Data/DbHelper.cs - Identity Context → Employee Records: maps entity
POS_System/POS_System/Data/ApplicationDbContext.cs - Identity Context → Employee Positions: maps entity
POS_System/POS_System/Data/ApplicationDbContext.cs - Identity Context → Employee Documents: maps entity
POS_System/POS_System/Data/ApplicationDbContext.cs