<?php

declare(strict_types=1);

namespace Database\Seeders;

use App\Models\Employee;
use Illuminate\Database\Seeder;

class DemoDataSeeder extends Seeder
{
    public function run(): void
    {
        if (Employee::query()->exists()) {
            return;
        }

        Employee::factory()
            ->count(25)
            ->create();
    }
}
