<?php

namespace Database\Seeders;

// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use Illuminate\Database\Seeder;
use App\Models\LeaveType;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     */
    public function run(): void
    {
        $this->call([
            PasswordComplexitySeeder::class,
        ]);
        
        // \App\Models\User::factory(10)->create();

        // \App\Models\User::factory()->create([
        //     'name' => 'Test User',
        //     'email' => 'test@example.com',
        // ]);

        // DB::table('users')->insert([
        //     'name' => 'John Doe',
        //     'email' => 'john@doe.com',
        //     'password' => Hash::make('password')
        // ]);

        // $data = [
        //     ["name" => "ANNUAL" ],
        //     ["name" => "COMPASSIONATE/FAMILY/PATERNITY" ],
        //     ["name" => "MATERNITY" ],
        //     ["name" => "SICK" ],
        //     ["name" => "STUDY" ],
        //     ["name" => "UNPAID ANNUAL LEAVE"]
        // ];

        // LeaveType::insert($data);
    }
}
