47b44ccaa0
<SRS> SRS02 : Employee Management </SRS> <Changes> - Added Payroll getHeaders, serialize and deserialize functions - Stored payrolls in DataStore - Loaded and saved payrolls along with employees - Linked payroll to employees during creation and load - Added employeeId to Payroll - Renamed TAG role to TALENT_ACQUISITION across the project - Added missing TalentExecutive case in Employee deserialization - Added constructor to TalentExecutive for FileManager integration - Renamed ID counters to m_uid for consistency - Updated salary values in ApplicationConfig </Changes> <Review> Smitha Mohan </Review>
16 lines
348 B
C++
16 lines
348 B
C++
#pragma once
|
|
#include <string>
|
|
#include<stdexcept>
|
|
#include"DataStore.h"
|
|
|
|
class PayslipManagementService
|
|
{
|
|
private:
|
|
DataStore& m_dataStore;
|
|
public:
|
|
PayslipManagementService() : m_dataStore(DataStore::getInstance()) {};
|
|
void updateSalary(const std::string&, double, double, double, double, double);
|
|
void loadPayrolls();
|
|
void savePayrolls();
|
|
};
|