belongsTo(Section::class); } public function choices() { return $this->hasMany(Questionchoice::class); } public function creator() { return $this->belongsTo(User::class); } public function answers() { return $this->hasMany(Answer::class); } }