belongsTo('App\User', 'poster_id'); } /** * Get the poster of the post. */ public function thread() { return $this->belongsTo('App\Thread'); } }