<?php

namespace Database\Factories\Claim;

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

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Claim\Claim>
 */
class ClaimFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'slug' => $this->faker->unique()->uuid(),
            'status_id' => 1,
            'solicitor_id' => Solicitor::inRandomOrder()->first()->id,
            'redress_type' => $this->faker->randomElement(['FIXED', 'INDIVIDUAL']),
        ];
    }
}
