<?php

namespace Modules\Vrc\Database\Seeders;

use Illuminate\Database\Seeder;

/**
 * Top-level VRC seeder. Phase 0 is a no-op shell; the demo seeder (ERP
 * customers + VRC vehicles + repair orders across all states, using ERP
 * products/invoices) is built in Phase 12. Mirrors BmsDatabaseSeeder.
 */
class VrcDatabaseSeeder extends Seeder
{
    public function run(): void
    {
        $this->call(VrcPermissionSeeder::class);
        $this->call(VrcVehicleMakeSeeder::class);
        $this->call(VrcCatalogSeeder::class);
        $this->call(VrcInspectionTemplateSeeder::class);

        if (! app()->environment('production')) {
            $this->call(VrcDemoSeeder::class);
            $this->call(VrcExpansionDemoSeeder::class);
            $this->call(VrcFullDemoSeeder::class);
        }
    }
}
