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 [
|
2024-02-12 10:58:48 +03:00
|
|
|
'name' => fake()->name(),
|
|
|
|
'description' => fake()->text(),
|
|
|
|
'slug' => fake()->slug(),
|
2024-02-14 16:16:44 +03:00
|
|
|
'code' => fake()->text(50),
|
2024-02-12 10:58:48 +03:00
|
|
|
'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
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|