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>
51 lines
852 B
C++
51 lines
852 B
C++
#include "Team.h"
|
|
|
|
const std::string& Team::getTeamId() const
|
|
{
|
|
return m_id;
|
|
}
|
|
|
|
const std::string& Team::getTeamName() const
|
|
{
|
|
return m_name;
|
|
}
|
|
|
|
std::shared_ptr<Employee> Team::getTeamLead() const
|
|
{
|
|
return m_lead;
|
|
}
|
|
|
|
const employeeMap& Team::getEmployeesInTeam() const
|
|
{
|
|
return m_employees;
|
|
}
|
|
|
|
int Team::getMaximumNumberOfEmployeesInTeam() const
|
|
{
|
|
return m_maximumNumberOfEmployees;
|
|
}
|
|
|
|
void Team::setTeamId(const std::string& id)
|
|
{
|
|
m_id = id;
|
|
}
|
|
|
|
void Team::setTeamName(const std::string& name)
|
|
{
|
|
m_name = name;
|
|
}
|
|
|
|
void Team::setTeamLead(std::shared_ptr<Employee> lead)
|
|
{
|
|
m_lead = lead;
|
|
}
|
|
|
|
void Team::setEmployeesInTeam(const employeeMap& employees)
|
|
{
|
|
m_employees = employees;
|
|
}
|
|
|
|
void Team::setMaximumNumberOfEmployeesInTeam(int maximumNumberOfEmployees)
|
|
{
|
|
m_maximumNumberOfEmployees = maximumNumberOfEmployees;
|
|
} |