<?php

namespace Database\Seeders;

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

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $admin = User::query()->create([
            'full_name' => 'Witel Company',
            'username' => 'witel',
            'phone_number' => '09000000000',
            'national_id' => '0150257083',
            'password' => Hash::make('Witel@fani0'),
            'email' => 'witel@gmail.com',
            'position' => 'Software Engineer',
            'province_id' => 9,
            'province_fa' => "تهران",
            'telephone_id' => 0,
            'is_online' => false,
        ]);
    }
}
