Roman_applicant-site/database/factories/DirectionFactory.php

20 lines
418 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(),
'position' => fake()->randomDigit(),
'department_id' => 1,
2024-02-10 11:23:38 +03:00
];
}
}