Roman_applicant-site/database/factories/PeriodFactory.php

20 lines
403 B
PHP
Raw Normal View History

2024-02-26 11:34:33 +03:00
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class PeriodFactory extends Factory
{
public function definition(): array
{
return [
'position' => 1,
'description' => fake()->text(),
'period' => fake()->randomDigit(),
'education_form_id' => 1,
'direction_id' => 1,
];
}
}