<?php

namespace Database\Seeders;

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

class DatabaseSeeder extends Seeder
{
    public function run(): void
    {
        User::firstOrCreate(
            ['email' => 'pegaslpgsystem@gmail.com'],
            [
                'name' => 'admin pangkalan',
                'role' => 'admin',
                'password' => Hash::make('Adminpangkalan0!'),
                'email_verified_at' => now(),
            ]
        );
    }
}