<?php

namespace Database\Seeders\User;

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

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = [
            [
                'firstname'         => "Test",
                'lastname'          => "User",
                'email'             => "user@appdevs.net",
                'username'          => "testuser",
                'status'            => true,
                'password'          => Hash::make("appdevs"),
                'email_verified'    => true,
                'kyc_verified'      => true,
                'sms_verified'      => true,
                'created_at'        => now(),
            ],
            [
                'firstname'         => "App",
                'lastname'          => "Devs",
                'email'             => "user1@appdevs.net",
                'username'          => "appdevs",
                'status'            => true,
                'password'          => Hash::make("appdevs"),
                'email_verified'    => true,
                'kyc_verified'    => true,
                'sms_verified'      => true,
                'created_at'        => now(),
            ],
        ];

        User::insert($data);
    }
}
