<?php

namespace Database\Seeders;

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

class DatabaseSeeder extends Seeder
{
    public function run(): void
    {
        User::factory()->create([
            'name' => 'Admin',
            'email' => 'admin@daragt.tm',
        ]);

        $this->call([
            SiteSettingSeeder::class,
            CategorySeeder::class,
            ProductSeeder::class,
            SignatureItemSeeder::class,
            TimelineEntrySeeder::class,
            FooterNavLinkSeeder::class,
            SocialLinkSeeder::class,
            HeroSlideSeeder::class,
        ]);
    }
}
