<?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
    {
        User::insert([
            [
                'name' => 'Administrator',
                'username' => 'admin',
                'password' => Hash::make('*skagrisadmin1234#'),
                'role' => 'admin',
            ],
            [
                'name' => 'Panitia SPMB',
                'username' => 'panitia',
                'password' => Hash::make('*panitiaskagris1234#'),
                'role' => 'panitia',
            ]
        ]);
    }
}
