<?php

namespace Database\Seeders;

// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

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

        \App\Models\User::factory()->create([
            'username' => 'Test_Admin',
            'account' => 'Test_Admin',
            'role' => 'admin',
            'user_id' => '3520',
            'department_id' => 'X05',
        ]);

        \App\Models\User::factory()->create([
            'username' => 'Test_Editor',
            'account' => 'Test_Editor',
            'role' => 'editor',
            'user_id' => '3444',
            'department_id' => 'X05',
        ]);

        \App\Models\User::factory()->create([
            'username' => 'Test_User',
            'account' => 'Test_User',
            'role' => 'user',
            'user_id' => '3606',
            'department_id' => 'X05',
        ]);
    }
}
