<?php

namespace Database\Seeders;

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

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        // NOTE: This seeder creates demo/test users
        // It should NOT be run during production installation
        // Only use for testing/development purposes
        
        User::create([
            "name"=> "user",
            "email"=> "user@postuno.com",
            "username" =>"user_1",
            "password"=> "123123",
        ]);

        User::factory()->count(10)->create();
    }
}
