<?php

namespace Database\Seeders;

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

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

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

        // User::whereBetween('id', [434, 435])->update([
        //     // 'nis' => 'admin1',
        //     'password' => bcrypt('12345'),
        // ]);

        // User::create([
        //     'nis' => 'admin2',
        //     'nama' => 'Sang Hyang Prabu Admin II',
        //     'nisn' => 'admin',
        //     'gender' => 'L',
        //     'kelas_id' => 37,
        //     'password' => bcrypt('12345'),
        // ]);
    }
}
