ef5ac42a92
<UserStory>EMP001 Create Employee</UserStory> <Changes> - Updated employee creation flow to support different employee types and designations - Set a default initial password for new employees - Added basic authorization check utility - Cleaned up employee model constructors for better consistency Minor code cleanup and refactoring </Changes> <Review> Smitha Mohan </Review>
17 lines
370 B
C++
17 lines
370 B
C++
#pragma once
|
|
#include "Employee.h"
|
|
|
|
class HRManager : public Employee
|
|
{
|
|
public:
|
|
HRManager() = default;
|
|
HRManager(
|
|
const std::string& name,
|
|
const std::string& phone,
|
|
const std::string& email,
|
|
std::shared_ptr<Payroll> payroll
|
|
) :Employee(name, phone, email, Enums::EmployeeType::HR, payroll) {};
|
|
~HRManager() = default;
|
|
};
|
|
|