27 lines
545 B
PHP
27 lines
545 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\MedicalReport;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<MedicalReport>
|
|
*/
|
|
class MedicalReportFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => sprintf('МЕД %s', fake()->unique()->numberBetween(2026, 2035)),
|
|
'year' => 2026,
|
|
'input_overrides' => [],
|
|
];
|
|
}
|
|
}
|