<?php

namespace Modules\MedBloodBank\Database\Seeders;

use Illuminate\Database\Seeder;

/**
 * Top-level MedBloodBank seeder, run by `module:seed MedBloodBank` from the
 * InstallController. Registers permissions, the MedNotify bloodbank.stock_low
 * event (fail-soft) and the demo data. All rows are idempotent so repair /
 * re-runs are safe. Mirrors MedBillingDatabaseSeeder.
 */
class MedBloodBankDatabaseSeeder extends Seeder
{
    public function run(): void
    {
        $this->call(MbbPermissionSeeder::class);
        $this->call(MbbNotifyEventSeeder::class);
        $this->call(MbbDemoSeeder::class);
    }
}
