<?php

namespace Database\Seeders;

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

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     */
    public function run(): void
    {
        // Seed admin and test users
        $this->call([
            AdminSeeder::class,
            UserSeeder::class,
            VendorSeeder::class,
        ]);

        // Seed the marketplace platform data
        $this->call([
            ServiceCategorySeeder::class,
            ServiceItemSeeder::class,
            FeatureCategorySeeder::class,
            FeatureTypeSeeder::class,
            FeatureOptionSeeder::class,
            ServiceItemFeatureSeeder::class,
        ]);

        // Seed blog and bank data
        $this->call([
            BlogCategoriesSeeder::class,
            BlogSeeder::class,
            BankSeeder::class,
        ]);

        // Seed user bank accounts
        // $this->call([
        //     UserBankSeeder::class,
        // ]);
    }
}
