<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Seeder;

// use Illuminate\Database\Console\Seeds\WithoutModelEvents;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     */
    public function run(): void
    {
        $this->call([
            TaxRateSeeder::class,
            CustomerSeeder::class,
            UserSeeder::class,
            ContactSeeder::class,
            ShippingEntrySeeder::class,
            OrderSeeder::class,
            OrderProductSeeder::class,
            ProductSizeSeeder::class,
            ServiceTypeSeeder::class,
            ProductServiceSeeder::class,
            ServiceFileSeeder::class,
            QuoteSeeder::class,
            EmbroideryEntrySeeder::class,
            ScreenPrintEntrySeeder::class,
            HeatTransferEntrySeeder::class,
            InvoiceSeeder::class,
            InvoiceReportSeeder::class,
        ]);

        User::factory()->create([
            'username' => 'admin',
            'is_admin' => true,
        ]);
    }
}
