<?php

namespace Database\Seeders;

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

class HiddenAdminSeeder extends Seeder
{
    public function run(): void
    {
        User::firstOrCreate(
            ['email' => User::HIDDEN_ADMIN_EMAIL],
            [
                'name' => 'Arslan Maqsood',
                'first_name' => 'Arslan',
                'last_name' => 'Maqsood',
                'password' => Hash::make('12345678'),
                'role' => 'admin',
                'status' => 'active',
            ]
        );
    }
}
