Laravel memilih hanya beberapa hubungan kolom

public function post()
   {
      return $this->hasMany(Post::class)->select(['id','user_id']);
   }
nanaseous