Roman_applicant-site/database/factories/DirectionFactory.php

22 lines
496 B
PHP
Raw Normal View History

2024-02-10 11:23:38 +03:00
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class DirectionFactory extends Factory
{
public function definition(): array
{
return [
'name' => fake()->name(),
'description' => fake()->text(),
'slug' => fake()->slug(),
2024-02-14 16:16:44 +03:00
'code' => fake()->text(50),
'position' => fake()->randomDigit(),
'department_id' => 1,
2024-02-14 16:16:44 +03:00
'education_level_id' => 1
2024-02-10 11:23:38 +03:00
];
}
}