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>
53 lines
902 B
C++
53 lines
902 B
C++
#include "Candidate.h"
|
|
|
|
int Candidate::m_cid = 0;
|
|
|
|
const std::string& Candidate::getCandidateId() const
|
|
{
|
|
return m_id;
|
|
}
|
|
|
|
const std::string& Candidate::getCandidateName() const
|
|
{
|
|
return m_name;
|
|
}
|
|
|
|
long int Candidate::getCandidatePhone() const
|
|
{
|
|
return m_phone;
|
|
}
|
|
|
|
const std::string& Candidate::getCandidateQualification() const
|
|
{
|
|
return m_qualification;
|
|
}
|
|
|
|
Enums::CandidateStatus Candidate::getCandidateStatus() const
|
|
{
|
|
return m_status;
|
|
}
|
|
|
|
void Candidate::setCandidateId(const std::string& id)
|
|
{
|
|
m_id = id;
|
|
}
|
|
|
|
void Candidate::setCandidateName(const std::string& name)
|
|
{
|
|
m_name = name;
|
|
}
|
|
|
|
void Candidate::setCandidatePhone(long int phone)
|
|
{
|
|
m_phone = phone;
|
|
}
|
|
|
|
void Candidate::setCandidateQualification(const std::string& qualification)
|
|
{
|
|
m_qualification = qualification;
|
|
}
|
|
|
|
void Candidate::setCandidateStatus(Enums::CandidateStatus status)
|
|
{
|
|
m_status = status;
|
|
} |