<?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
{
    public function definition(): array
    {
        return [
            'display_name' => $this->faker->company(),
            'dsar_type_id' => DsarType::inRandomOrder()->first()?->id,
        ];
    }
}
