<?php

namespace Database\Seeders;

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

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
       User::create([
        'name' => 'Lady Jean Colata',
        'email' => 'ladyjean@gmail.com',
        'username' => 'ladyjeancolata',
        'department'=> 'Diploma in Hotel and Restaurant Technology',
        'password' => Hash::make('ladyjean@pcds2025'),
        'type' => UserType::Author,
        'status' => UserStatus::Active,
       ]);
       
    }
}
