hasMany(Test::class); } public function results() { return $this->hasMany(Result::class); } }