<?php

namespace Database\Factories\Institution;

use App\Models\Dsar\DsarType;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Institution\Institution>
 */
class InstitutionFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'display_name' => $this->faker->company(),
            'dsar_type_id' => DsarType::inRandomOrder()->first()?->id ?? 6,
        ];
    }
}
