<?php

namespace Database\Factories;

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

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\SalaryCertificateRequest>
 */
class SalaryCertificateRequestFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'user_id' => User::factory(),
            'status' => 'pending',
            'reason' => $this->faker->sentence(),
            'rejection_reason' => null,
            'approved_by' => null,
            'approved_at' => null,
        ];
    }
}
