<?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()->create(['email' => 'super', 'role' => 1 ,'password' => 'super']);
        \App\Models\User::factory(1)->create(['email' => 'it',    'role' => 2 ,'password' => 'it']);
        \App\Models\User::factory(1)->create(['email' => 'mod',   'role' => 3 ,'password' => 'mod']);
        //\App\Models\User::factory(1)->create(['email' => 'user',  'role' => 4 ,'password' => 'user' ,'jobRole' => '1' ,'setupDone' => '0']);

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