<?php

namespace Database\Seeders;

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

class AdminUserSeeder extends Seeder
{
    public function run()
    {
        User::updateOrCreate(
            ['email' => 'admin@zomato.com'],
            [
                'name' => 'Super Admin',
                'phone' => '9999999999',
                'role' => 'super_admin',
                'password' => Hash::make('password')
            ]
        );
    }
}
