<?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::create([
            'name' => 'Pentadbir Utama',
            'gender' => 'Lelaki',
            'phone_number' => '0123456789',
            'dob_code' => '800101', // Contoh: 1 Januari 1980
            'dob' => '1980-01-01',
            'role' => 'admin',
        ]);
    }
}
