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