<?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([
            'username' => 'admin_chat',
            'password' => '$2y$10$hT6x2lA.DcnaBCZcv5CV4u.orJPUzhBTzTRdkwrCdi2iRqYTl0m9e',
            'nama_lengkap' => 'Pemilik Chat',
        ]);

        User::create([
            'username' => 'n',
            'password' => '$2y$10$slDv6YeaebgLQWPxde9.FewRkSdhOfBPK0fZCb4qvSoc6kF/rt/82',
            'nama_lengkap' => 'My Wife',
        ]);

        User::create([
            'username' => 'z',
            'password' => '$2y$10$hmhX3pxf.yvENGSE/6ucy.cyPTIzRIkRG7Il4R0.txYTSqnmh2Dve',
            'nama_lengkap' => 'Husband',
        ]);
    }
}
