Roman_applicant-site/database/factories/PeriodFactory.php

20 lines
403 B
PHP

<?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,
];
}
}