<?php

namespace Database\Factories;

use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;

class EmployeeFactory extends Factory
{
    public function definition(): array
    {
        return [
            'user_id' => User::factory(),
            'join_date' => fake()->date(),
            'resign_date' => null,
            'employment_status' => fake()->randomElement(['full_time', 'part_time', 'contract', 'internship', 'resigned']),
            'base_salary' => fake()->numberBetween(1000000, 10000000),
        ];
    }
}
