HumanDepartment.h
Dosyayı İndir
#ifndef HUMANDEPARTMENT_H_INCLUDED
#define HUMANDEPARTMENT_H_INCLUDED
#include <string>
#include <vector>
#include "HumanEmployee.h"
using namespace std;
class HumanEmployee;
class HumanDepartment{
public:
HumanDepartment()
: HumanDepartment(0,"Ads�z B�l�m")
{
}
HumanDepartment(long departmentId,string departmentName)
:_departmentId(departmentId),_departmentName(departmentName)
{
}
long getDepartmentId() const {
return _departmentId;
}
void setDepartmentId( const long departmentId){
_departmentId=departmentId;
}
string getDepartmentName() const {
return _departmentName;
}
void setDepartmentName( const string departmentName){
_departmentName=departmentName;
}
vector<HumanEmployee> &getEmployeeVector() {
return _employeeVector;
}
void setEmployeeVector(vector<HumanEmployee> &employeeVector){
_employeeVector=employeeVector;
}
private:
long _departmentId;
string _departmentName;
vector<HumanEmployee> _employeeVector;
};
#endif
Dosyayı İndir