<?php

namespace Modules\MedEmergency\Database\Seeders;

use Illuminate\Database\Seeder;

/**
 * Top-level MedEmergency seeder, run by `module:seed MedEmergency` from the
 * InstallController. Registers permissions then the demo data. All rows are
 * idempotent so repair / re-runs are safe. Mirrors MedBillingDatabaseSeeder.
 */
class MedEmergencyDatabaseSeeder extends Seeder
{
    public function run(): void
    {
        $this->call(MederPermissionSeeder::class);
        $this->call(MederDemoSeeder::class);
    }
}
