<?php

namespace Database\Seeders;

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

class EmpCompanyDetailSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        EmpCompanyDetails::create( [
            'employee_email'=>'support@g-techsolutions.com.au',
            'employment_type'=>'1',
            'access_role'=>'A-1',
            'work_permit_type'=>'1',
            'tax_file_no'=>'1300720092',
            'tier_id'=>'1',
            'employment_start_date'=>'2023-11-21',
            'employment_end_date'=>'2023-11-21',
            'attendance_effective_from'=>'2023-11-24',
            'status'=>'1',
            'invited'=>'0',
            'password'=> Hash::make('12345678'), 
            'approved'=>'1',
            'approved_by'=>'1',
            'approved_at'=>'22-11-2023',
            'is_submitted'=>'0',
            'created_by'=>'1',
            'del'=>'0',
            'created_at'=>'2023-11-30 22:38:34',
            'updated_at'=>'2023-11-30 22:38:34',
            'compeleted'=>'1',
            'rejected'=>'0',
            'remember_token'=>'',
            'credentials'=>'0',
            'two_factor'=>'1',
            'force_reset' => '0'
        ]);

        // EmpCompanyDetails::create( [
        //     'employee_email'=>'admin@ezisign.com.au',
        //     'employment_type'=>'1',
        //     'access_role'=>'A-1',
        //     'work_permit_type'=>'1',
        //     'tax_file_no'=>'1300720092',
        //     'tier_id'=>'1',
        //     'employment_start_date'=>'2023-11-21',
        //     'employment_end_date'=>'2023-11-21',
        //     'attendance_effective_from'=>'2023-11-24',
        //     'status'=>'1',
        //     'invited'=>'0',
        //     'password'=> '$2y$10$DjDYZK0Z0lr./4BZDDG4C.FIoV7tl9jgdpP9lvwhvwzdkPwwzG31C', 
        //     'approved'=>'1',
        //     'approved_by'=>'1',
        //     'approved_at'=>'22-11-2023',
        //     'is_submitted'=>'0',
        //     'created_by'=>'1',
        //     'del'=>'0',
        //     'created_at'=>'2023-11-30 22:38:34',
        //     'updated_at'=>'2023-11-30 22:38:34',
        //     'compeleted'=>'1',
        //     'rejected'=>'0',
        //     'remember_token'=>'',
        //     'credentials'=>'0',
        //     'two_factor'=>'1',
        //     'force_reset' => '0'
        // ]);
    }
}
