<?php

namespace Database\Seeders;

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

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        User::create(['email' => 'admin@admin', 'name' => 'Administrator', 'password' => Hash::make('!123123'), 'roles' => 1, 'is_active' => true]);
    }
}
