<?php

namespace Database\Seeders;

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

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * @return void
     */
    public function run()
    {
        User::create([
            'name' => 'Admin',
            'email' => "admin@admin.com",
            'password' => 'demo123',
            'user_role' => 'Admin'
            // 'active' => TRUE
        ]);
        User::create([
            'name' => 'Test User',
            'email' => "test@gmail.com",
            'password' => '1234',
            'user_role' => 'USer',
            'mobile'=>'9999999999'
            // 'active' => TRUE
        ]);
        // \App\Models\User::factory(10)->create();

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