<?php

namespace Database\Seeders;

use App\Services\CurrencyService;
use Illuminate\Database\Seeder;

class GlobalDatabaseSeed extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $this->call(Global\GlobalRoleSeed::class);
        $this->call(Global\SystemOwnerPermissionSeed::class);
        $this->call(Global\ApproveImpersonationPermissionSeed::class);
        $this->call(Global\PrimaryBillableSeed::class);
        $this->call(Global\VehicleTaxonomySeeder::class);
        $this->call(Global\CountrySeeder::class);
        (new CurrencyService())->update();
        $this->call(Global\ApproveContentSyncPermissionSeed::class);
    }
}
