belongsTo(UserRole::class, 'user_roles_id'); } public function category() { return $this->hasMany(Category::class, 'categories_id'); } }