<?php

namespace Database\Factories;

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

class AiHealingLogFactory extends Factory
{
    protected $model = AiHealingLog::class;

    public function definition(): array
    {
        return [
            'error_type'    => 'Exception',
            'error_message' => $this->faker->sentence,
            'stack_trace'   => $this->faker->text,
            'status'        => 'pending',
            'ai_diagnosis'  => $this->faker->paragraph,
            'action_taken'  => $this->faker->sentence,
        ];
    }
}
