<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Modules\Accounts\Database\Seeders\AccountsDatabaseSeeder;
use Modules\Approval\Database\Seeders\ApprovalDatabaseSeeder;
use Modules\Auth\Database\Seeders\AuthDatabaseSeeder;
use Modules\Billing\Database\Seeders\BillingDatabaseSeeder;
use Modules\Employee\Database\Seeders\EmployeeDatabaseSeeder;
use Modules\HR\Database\Seeders\HRDatabaseSeeder;
use Modules\Inventory\Database\Seeders\InventoryDatabaseSeeder;
use Modules\Patient\Database\Seeders\PatientDatabaseSeeder;

class DatabaseSeeder extends Seeder
{
    use WithoutModelEvents;

    /**
     * Seed the application's database.
     */
    public function run(): void
    {
        $this->call([
            ModulePermissionSeeder::class,
            AuthDatabaseSeeder::class,
            ApprovalDatabaseSeeder::class,
            EmployeeDatabaseSeeder::class,
            AccountsDatabaseSeeder::class,
            InventoryDatabaseSeeder::class,
            BillingDatabaseSeeder::class,
            PatientDatabaseSeeder::class,
            HRDatabaseSeeder::class,
        ]);
    }
}
