belongsTo(User::class); } public function post() { return $this->belongsTo(Post::class); } }