<?php

namespace Database\Seeders;

use App\Domains\Auth\Models\User;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    use WithoutModelEvents;

    /**
     * Seed the application's database.
     */
    public function run(): void
    {
        // User::factory(10)->create();

        User::factory()->create([
            'nombre_apellido' => 'Test User',
            'email' => 'test@example.com',
        ]);

        $this->call([
            WebsiteTypeSeeder::class,
            AuthorizationSeeder::class,
            SocialMediaSeeder::class,
            TenantSeeder::class,
            DesfilePuraTendenciaSeeder::class,
            AttributeSeeder::class,
            CategorySeeder::class,
            BrandSeeder::class,
            ProductCatalogFromImagesSeeder::class,
            FiestaFutbolInfantilProductSeeder::class,
            TelepagosIntegrationSeeder::class,
            EmailIntegrationSeeder::class,
            MenuSeeder::class,
        ]);
    }
}
