<?php

namespace Modules\ClinicLab\Database\Seeders;

use Illuminate\Database\Seeder;

/**
 * Top-level ClinicLab seeder (run by `module:seed ClinicLab`). Permissions are
 * registered by migration 2026_07_04_1006; outside production this also seeds
 * the Shifa One demo catalogue. Mirrors MedOrganizationDatabaseSeeder.
 */
class ClinicLabDatabaseSeeder extends Seeder
{
    public function run(): void
    {
        if (! app()->environment('production')) {
            $this->call(ClinicLabDemoSeeder::class);
        }
    }
}
