This commit is contained in:
pbao9
2026-02-07 17:50:36 +07:00
parent 2a6a5d2131
commit e9f2218030
10 changed files with 601 additions and 245 deletions
@@ -81,4 +81,9 @@ class ProductCategoryRepository extends BaseRepository implements ProductCategor
}
return false;
}
public function bulkDelete(array $ids)
{
return $this->model->whereIn('id', $ids)->delete();
}
}
@@ -17,4 +17,6 @@ interface ProductCategoryRepositoryInterface extends BaseRepositoryInterface
public function restore(int $id);
public function forceDelete(int $id);
public function bulkDelete(array $ids);
}