23 lines
535 B
PHP
23 lines
535 B
PHP
<?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(),
|
|
'code' => fake()->text(50),
|
|
'position' => fake()->randomDigit(),
|
|
'department_id' => 1,
|
|
'education_level_id' => 1,
|
|
'education_form_id' => 1,
|
|
];
|
|
}
|
|
}
|