<?php

namespace Database\Seeders;

use App\Classes\ValueObjects\Constants\ApprovalStatus;
use App\Classes\ValueObjects\Constants\RoleTypes;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class AdminUsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('users')->insert([
            [
                'name' => 'Shadow Admin',
                'email' => 'omair@cief-malaysia.com',
                'password' => bcrypt('123456abcabc'),
                'type' => RoleTypes::SHADOW_ADMIN,
                'status' => ApprovalStatus::APPROVED,
            ],
            [
                'name' => 'Admin',
                'email' => 'admin@cief-malaysia.com',
                'password' => bcrypt('123456abcabc'),
                'type' => RoleTypes::ADMIN,
                'status' => ApprovalStatus::APPROVED,
            ]
        ]);
    }
}
