<?php

namespace Database\Seeders;

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

class SuperAdminSeeder extends Seeder
{
    public function run()
    {
        // Ensure standard admin role exists if needed, but for now just create user
        User::firstOrCreate(
            ['email' => 'admin@example.com'],
            [
                'name' => 'Super Admin',
                'password' => Hash::make('admin123'),
                'status' => 1,
                'role_id' => 1,
            ]
        );
    }
}
