I try to add Model Relation on Laravel. I know how we can make this but I don't understand, I can link all Model I need.

So this is my problem :

I build a exam system and it's work like this :

Evaluation -> Examid -> QuestionCategory -> Question -> Response.

So in Evaluation session, We choose a Examen which has question categories, which has questions, which has response.

So I wrote this :

```
public function testtheorique($session){
    $eval = Evaluation::find($session);
    $caces = $eval->caces_cat;
    $theorique = $eval->theorique;
    $questioncat = $theorique->examcategory;
    $question = $questioncat->categoryQuestions;
}

```

And this is my Models :

```
//Evaluation Model
public function theorique(){
        return $this->belongsTo(TestTheorique::class);
    }

//TestThorique Model
public function examcategory(){
        return $this->hasMany(QuestionCategorie::class, 'exam_id');
    }

//QuestionCategory Model
public function categoryQuestions(){
        return $this->hasMany(Question::class, 'category_id', 'id');
    }

//Question Model
 public function qcategory(){
        return $this->belongsTo(QuestionCategorie::class);
    }

```

So when I make this dd($eval) I have all the data displayed with the relationships but only up to the examcategory. I can't display the Question because I don't have relation.

So I don't know how I can have the question relation. I can't see where I made an error.

Thanks for your help.