11b47d38c1
- Define models, factory classes, data store, utility classes (timestamp, io helpers, enums, validator) - Define Model Class Structures - Add new model Log - Add new service LogService - Add Factory class - Add Utilities like Timestamp, Validator, Input/Output Helpers.. Co-authored-by: Tinu Johnson <tinu.johnson@trenser.com> Co-authored-by: Princy Jerin <princy.jerin@trenser.com> Co-authored-by: Ajmal Jalaludeen <ajmal.jalaludeen@trenser.com> Co-authored-by: Jissin Sam Mathew <jissin.mathew@trenser.com>
21 lines
288 B
C++
21 lines
288 B
C++
#include "Payslip.h"
|
|
|
|
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;
|
|
} |