<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $name = [
            [
                'Name' => 'نام و نام خانوادگی',
                'Type' => 1,
                'Status' => 3,
                'Col' => '6d0a6b23037a8e4b3f78b3a42c0404a2b47eaa4f',
            ],
            [
                'Name' => 'کدملی',
                'Type' => 2,
                'Status' => 3,
                'Col' => '28ac8da350b288db7aac87d0657553c0e1b0d5da',
            ],
            [
                'Name' => 'مرکز هزینه',
                'Type' => 1,
                'Status' => 3,
                'Col' => 'aa5cb089476d8c330c8d25f1cfb4624593ac9b70',
            ],
            [
                'Name' => 'محل خدمت',
                'Type' => 1,
                'Status' => 3,
                'Col' => 'd05edf5f2b34467aad6ba4c5c602106872f223de',
            ],
            [
                'Name' => 'سال/ماه',
                'Type' => 1,
                'Status' => 3,
                'Col' => '109f1caeaa9b1842b47bfdaf8255fddac6f1e0a3',
            ],
            [
                'Name' => 'کدپرسنلی',
                'Type' => 2,
                'Status' => 3,
                'Col' => '139db701fcb5abff6c356874bb57dac2a611c177',
            ],
            [
                'Name' => 'کل حقوق و مزایا',
                'Type' => 2,
                'Status' => 3,
                'Col' => 'c46707bbbff1edf9d35a69cc9c9b65432a44f6b8',
            ],
            [
                'Name' => 'جمع کسور',
                'Type' => 2,
                'Status' => 3,
                'Col' => 'cc4be00412073cd16008a3a00a3534d7e6da353b',
            ],
            [
                'Name' => 'خالص پرداختی',
                'Type' => 2,
                'Status' => 3,
                'Col' => '8a4c87e4dc7aeb1f88ba656c1ece4992798a1bac',
            ],
        ];
        DB::table('filds')->insert($name);
        DB::table('admins')->insert([
            'name' => 'خانم حسینی',
            'username' => 'mrspakan',
            'password' => Hash::make('12345pakanbakhtar12345'),
        ]);
    }
}
