public functions questions(){
$instance = $this->newRelatedInstance(Question::class);
$localKey = $this->getKeyName();
$query = $instance->newQuery()
->join('test_question', 'test_question.question_id', '=', 'questions.id')
->join('tests', 'tests.id', '=', 'test_question.test_id')
->join('lessons', 'lessons.id', '=', 'tests.lesson_id')
->join('modules', 'modules.id', '=', 'lessons.module_id')
return $this->newHasMany(
$query, $this, 'modules.course_id', $localKey
);
}