<?php

namespace Database\Seeders;

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

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     */
    public function run(): void
    {
        // User::factory(10)->create();

        \App\Models\User::factory()->create([
            'name' => 'Easia',
            'email' => 'easia@easia.com',
            'password' => bcrypt('easia'),
            'level' => 1,
            'tenant_host' => '127.0.0.1',
            'tenant_database' => 'easia_tenant',
            'tenant_username' => 'root',
            'tenant_password' => '_brUce80!'
        ]);
    }
}
