<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\User;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        \App\Models\User::factory()->count(99)->create();
        $user=  User::create([
            'first_name'=>"admin",
            'last_name'=>"admin",
            'phone' =>"0935121682",
            'email'=>"admin@gmail.com",
            'password'=>bcrypt("12345678"),
            'role'=>"ADM"
        ]);
    }
}
