24 lines
550 B
C
24 lines
550 B
C
|
#pragma once
|
||
|
#include "Mission.fwd.h"
|
||
|
#include "Center.fwd.h"
|
||
|
#include <string>
|
||
|
|
||
|
// Travel speed 50 km/h
|
||
|
// Max work time 12h/day, 35/week
|
||
|
class Employee
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
static const int MaxWorkTime { 12 * 60 };
|
||
|
static const int MaxWorkTimeWeek { 35 * 60 };
|
||
|
static const int TravelSpeed { 50 };
|
||
|
|
||
|
int id;
|
||
|
Center* center;
|
||
|
//int centerId;
|
||
|
std::string competence;
|
||
|
std::string profession;
|
||
|
Employee(int id, Center* center, std::string competence, std::string profession):
|
||
|
id(id), center(center), competence(competence), profession(profession)
|
||
|
{};
|
||
|
};
|