belongsTo('App\User'); } public function testresults() { return $this->hasMany('App\TestResult'); } public function inputs() { return $this->hasMany('App\Input'); } }