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
832 B
C++
53 lines
832 B
C++
#include "Ticket.h"
|
|
|
|
int Ticket::m_tid = 0;
|
|
|
|
const std::string& Ticket::getTicketId() const
|
|
{
|
|
return m_id;
|
|
}
|
|
|
|
const std::string& Ticket::getDescription() const
|
|
{
|
|
return m_description;
|
|
}
|
|
|
|
const std::string& Ticket::getEmployeeId() const
|
|
{
|
|
return m_employeeId;
|
|
}
|
|
|
|
Enums::TicketStatus Ticket::getTicketStatus() const
|
|
{
|
|
return m_status;
|
|
}
|
|
|
|
Enums::TicketType Ticket::getTicketType() const
|
|
{
|
|
return m_type;
|
|
}
|
|
|
|
void Ticket::setTicketId(const std::string& id)
|
|
{
|
|
m_id = id;
|
|
}
|
|
|
|
void Ticket::setTicketDescription(const std::string& description)
|
|
{
|
|
m_description = description;
|
|
}
|
|
|
|
void Ticket::setEmployeeId(const std::string& id)
|
|
{
|
|
m_employeeId = id;
|
|
}
|
|
|
|
void Ticket::setTicketStatus(Enums::TicketStatus status)
|
|
{
|
|
m_status = status;
|
|
}
|
|
|
|
void Ticket::setTicketType(Enums::TicketType type)
|
|
{
|
|
m_type = type;
|
|
} |