<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\User;
use Illuminate\Support\Facades\Hash;

class UserSeeder extends Seeder
{
    public function run(): void
    {
        // Membuat akun admin sekolah untuk uji coba login
        User::create([
            'name' => 'Admin SIMSekolah',
            'email' => 'admin@sekolah.sch.id',
            'password' => Hash::make('password123'), 
        ]);
    }
}