<?php

namespace Database\Seeders;

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

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     */
    public function run(): void
    {
        // Seed default Admin user
        User::firstOrCreate(
            ['email' => 'taskardhsainik@gmail.com'],
            [
                'name' => 'Admin',
                'role' => 'Super Admin',
                'status' => 'Active',
                'password' => Hash::make('Password123'),
            ]
        );
    }
}
