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>
63 lines
1.1 KiB
C++
63 lines
1.1 KiB
C++
#include "JobListing.h"
|
|
|
|
int JobListing::m_uid = 0;
|
|
|
|
const std::string& JobListing::getJobId() const
|
|
{
|
|
return m_id;
|
|
}
|
|
|
|
const std::string& JobListing::getJobName() const
|
|
{
|
|
return m_name;
|
|
}
|
|
|
|
const std::string& JobListing::getJobDescription() const
|
|
{
|
|
return m_description;
|
|
}
|
|
|
|
Enums::JobListingStatus JobListing::getJobStatus() const
|
|
{
|
|
return m_status;
|
|
}
|
|
|
|
int JobListing::getNumberOfVacancies() const
|
|
{
|
|
return m_numberOfVacancies;
|
|
}
|
|
|
|
const candidateMap& JobListing::getCandidates() const
|
|
{
|
|
return m_candidates;
|
|
}
|
|
|
|
void JobListing::setJobId(const std::string& id)
|
|
{
|
|
m_id = id;
|
|
}
|
|
|
|
void JobListing::setJobName(const std::string& name)
|
|
{
|
|
m_name = name;
|
|
}
|
|
|
|
void JobListing::setJobDescription(const std::string& description)
|
|
{
|
|
m_description = description;
|
|
}
|
|
|
|
void JobListing::setJobStatus(Enums::JobListingStatus status)
|
|
{
|
|
m_status = status;
|
|
}
|
|
|
|
void JobListing::setNumberOfVacancies(int numberOfVacancies)
|
|
{
|
|
m_numberOfVacancies = numberOfVacancies;
|
|
}
|
|
|
|
void JobListing::setCandidates(const candidateMap& candidates)
|
|
{
|
|
m_candidates = candidates;
|
|
} |