<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

use Illuminate\Support\Facades\Hash;
use App\Models\User;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        User::create([
            'name' => 'Clément',
            'email' => 'clement@clement-turlure.fr',
            'password' => Hash::make('wo37oq88&*'),
            'role' => 'admin',
        ]);
    }
}
