Roman_applicant-site/database/factories/DirectionProfileFactory.php

20 lines
404 B
PHP
Raw Normal View History

2024-02-26 10:58:02 +03:00
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class DirectionProfileFactory extends Factory
{
public function definition(): array
{
return [
'name' => fake()->name(),
'description' => fake()->text(),
'slug' => fake()->slug(),
'position' => 1,
'direction_id' => 1,
];
}
}