<?php

namespace Database\Factories\Institution;

use App\Models\Dsar\DsarType;
use App\Models\Institution\InstitutionType;
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(),
            'institution_type_id' => InstitutionType::inRandomOrder()->first()->id,
            'dsar_type_id' => DsarType::inRandomOrder()->first()->id,
        ];
    }
}
