Added payroll persistance and updated Talent Acquisition role
<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>
This commit is contained in:
@@ -11,14 +11,14 @@ static Enums::EmployeeType getEmployeeType(Enums::EmployeeType employeeType)
|
||||
Enums::EmployeeType::IT,
|
||||
Enums::EmployeeType::TEAM,
|
||||
Enums::EmployeeType::FINANCE,
|
||||
Enums::EmployeeType::TAG,
|
||||
Enums::EmployeeType::TALENT_ACQUISITION,
|
||||
Enums::EmployeeType::GENERAL
|
||||
}},
|
||||
{ Enums::EmployeeType::HR, {
|
||||
Enums::EmployeeType::IT,
|
||||
Enums::EmployeeType::TEAM,
|
||||
Enums::EmployeeType::FINANCE,
|
||||
Enums::EmployeeType::TAG,
|
||||
Enums::EmployeeType::TALENT_ACQUISITION,
|
||||
Enums::EmployeeType::GENERAL
|
||||
}}
|
||||
};
|
||||
@@ -27,7 +27,7 @@ static Enums::EmployeeType getEmployeeType(Enums::EmployeeType employeeType)
|
||||
{ Enums::EmployeeType::IT, "IT Executive" },
|
||||
{ Enums::EmployeeType::TEAM, "Team Executive" },
|
||||
{ Enums::EmployeeType::FINANCE, "Finance Executive" },
|
||||
{ Enums::EmployeeType::TAG, "Talent Executive" },
|
||||
{ Enums::EmployeeType::TALENT_ACQUISITION, "Talent Executive" },
|
||||
{ Enums::EmployeeType::GENERAL, "General Employee" }
|
||||
};
|
||||
auto it = employeeTypeOptions.find(employeeType);
|
||||
|
||||
@@ -151,7 +151,7 @@ void UserInterface::login()
|
||||
menu.run();
|
||||
break;
|
||||
}
|
||||
case Enums::EmployeeType::TAG:
|
||||
case Enums::EmployeeType::TALENT_ACQUISITION:
|
||||
{
|
||||
TalentExecutiveMenu menu;
|
||||
menu.run();
|
||||
|
||||
Reference in New Issue
Block a user