<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    use WithoutModelEvents;

    /**
     * Seed the application's database.
     */
    public function run(): void
    {
        User::forceCreate([
            'name' => 'Super Admin',
            'username' => 'admin',
            'phone' => '1',
            'email' => 'admin@admin.com',
            'password' => bcrypt('1'),
            'is_super_admin' => true,
        ]);
    }
}
