07bd979685
<SRS>SRS02 : Employee Management </SRS> <Changes> - Renamed EmployeeManagememtService to EmployeeManagementService - Added basic employee management service structure - Connected employee management into controller and datastore - Updated project config files - Added auto ID generation across models - Added payroll-related config constants </Changes> <Review> Smitha Mohan </Review>
23 lines
313 B
C++
23 lines
313 B
C++
#include "Payslip.h"
|
|
|
|
int Payslip::m_pid = 0;
|
|
|
|
const std::string& Payslip::getPayslipId() const
|
|
{
|
|
return m_id;
|
|
}
|
|
|
|
double Payslip::getSalary() const
|
|
{
|
|
return m_salary;
|
|
}
|
|
|
|
void Payslip::setPayslipId(const std::string& id)
|
|
{
|
|
m_id = id;
|
|
}
|
|
|
|
void Payslip::setSalary(double salary)
|
|
{
|
|
m_salary = salary;
|
|
} |