public EducationForApplicant(EducationAreas educationArea, string institution, string faculty, string specialty) { _educationArea = educationArea; _institution = institution; _faculty = faculty; _specialty = specialty; }
public EducationForApplicant(TypeWorker worker) { _educationArea = (EducationAreas)((int)worker); switch (worker) { case TypeWorker.FactoryWorker: { _institution = "ВГТУ"; _faculty = "Инженерные системы и сооружения"; _specialty = "Теплогазоснабжение и нефтегазовое дело"; break; } case TypeWorker.Builder: { _institution = "ВГТУ"; _faculty = "Строительный"; _specialty = "Металлические и деревянные конструкции"; break; } case TypeWorker.Trader: { _institution = "РЭУ им. Г.В. Плеханова"; _faculty = "Сфера обслуживания и управления"; _specialty = "Коммерция и товароведение"; break; } case TypeWorker.Scientist: { _institution = "РГГРУ им. Серго Орджоникидзе"; _faculty = "Гидрогеологический"; _specialty = "Геотектоника"; break; } } }
public EducationForVacancy(EducationAreas educationArea) { _educationArea = educationArea; }
public EducationForVacancy(TypeWorker worker) { _educationArea = (EducationAreas)((int)worker); }