<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<\App\Models\Employee>
 */
class EmployeeFactory extends Factory
{
    public function definition(): array
    {
        return [
            'name' => fake()->name(),
            'email' => fake()->unique()->safeEmail(),
            'phone' => fake()->numerify('98########'),
            'department' => fake()->randomElement([
                'Development',
                'Marketing',
                'Sales',
                'Human Resources',
                'Finance',
            ]),
            'salary' => fake()->numberBetween(25000, 150000),
            'status' => fake()->boolean(85),
        ];
    }
}
