Added VacancyReference to VacancyDetail Entity and refactor code