работа с entity.