<?php

namespace Database\Seeders;

use App\Services\BranchContext;
use Illuminate\Database\Seeder;

class FactoryResetSeeder extends Seeder
{
    public function run(BranchContext $context): void
    {
        $context->systemWide(function (): void {
            $this->call([
                BusinessSeeder::class,
                AuthorizationSeeder::class,
                CollateralCategorySeeder::class,
                ExpenseCategorySeeder::class,
                NotificationTemplateSeeder::class,
            ]);
        });
    }
}
