public WorkInfo(Worker.WorkType type, int hours) { TypeOfWork = type; Hours = hours; }
public WorkInfo(Worker.WorkType typeOfWork)