<?php

namespace Database\Seeders;

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

class UserSeeder extends Seeder
{
    public function run(): void
    {
        User::create([
            'name' => 'Admin Fakultas',
            'email' => 'admin@fh.uncen.ac.id',
            'password' => Hash::make('password'),
            'role' => 'admin',
        ]);

        User::create([
            'name' => 'Ketua Bagian',
            'email' => 'ketuabagian@fh.uncen.ac.id',
            'password' => Hash::make('password'),
            'role' => 'ketua_bagian',
        ]);

        User::create([
            'name' => 'Wakil Dekan 1',
            'email' => 'wadek1@fh.uncen.ac.id',
            'password' => Hash::make('password'),
            'role' => 'wadek1',
        ]);
    }
}
