belongsTo(Question::class); } public function questionchoice() { return $this->belongsTo(Questionchoice::class); } public function respondent() { return $this->belongsTo(Respondent::class); } }