<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
use Database\Seeders\BannerSeeder;

class DatabaseSeeder extends Seeder
{
    public function run(): void
    {
        // User::factory()->create([
        //     'name' => 'Test User',
        //     'email' => 'test@example.com',
        //     'role' => User::ROLE_CLIENT,
        // ]);

        // User::factory()->create([
        //     'name' => 'Super Admin',
        //     'email' => 'admin@caddiesplus.local',
        //     'password' => Hash::make('password'),
        //     'role' => User::ROLE_SUPER_ADMIN,
        // ]);

        // User::factory()->create([
        //     'name' => 'Livreur Demo',
        //     'email' => 'livreur@caddiesplus.local',
        //     'password' => Hash::make('password'),
        //     'role' => User::ROLE_LIVREUR,
        // ]);

        // $this->call(CategoryProductSeeder::class);
        $this->call(BannerSeeder::class);
    }
}
