belongsTo('App\Application', 'applicationID', 'id'); } public function user() { return $this->belongsTo('App\User', 'authorID', 'id'); } }