<?php

namespace Database\Seeders;

use App\Models\Admin;
use Illuminate\Support\Facades\Hash;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class AdminSeeder extends Seeder
{

    public function run(): void
    {
        Admin::create([
            'id_admin' => '101', 
            'username' => 'chaca',
            'password' => Hash::make('admin123'),
        ]);
    }
}