<?php

namespace Database\Seeders;

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

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        User::create([
            'id' => 11541,
            'mobile' => 'admin',
            'role' => 'admin',
            'password' => Hash::make('admin')
        ]);

        User::create([
            'id' => 11542,
            'mobile' => '8376944575',
            'role' => 'user',
            'owncode' => '132456',
            'password' => Hash::make('8376944575')
        ]);
    }
}
