38 lines
980 B
C++
38 lines
980 B
C++
/*
|
|
* File: ITExecutive.h
|
|
* Description: ITExecutive model class.
|
|
* Author: Trenser
|
|
* Created: 31-Mar-2026
|
|
*/
|
|
#pragma once
|
|
#include "Employee.h"
|
|
|
|
class ITExecutive : public Employee
|
|
{
|
|
public:
|
|
ITExecutive() = default;
|
|
ITExecutive(
|
|
const std::string& name,
|
|
const std::string& phone,
|
|
const std::string& email,
|
|
Payroll* payroll
|
|
) :Employee(name, phone, email, Enums::EmployeeType::IT, payroll) {};
|
|
ITExecutive(const std::string& id,
|
|
const std::string& name,
|
|
const std::string& phone,
|
|
const std::string& password,
|
|
const std::string& email,
|
|
const std::string& teamId,
|
|
Enums::TeamStatus teamStatus,
|
|
Enums::AccountStatus accountStatus)
|
|
: Employee(id,
|
|
name,
|
|
phone,
|
|
password,
|
|
email,
|
|
teamId,
|
|
teamStatus,
|
|
Enums::EmployeeType::IT,
|
|
accountStatus) {}
|
|
~ITExecutive() = default;
|
|
}; |