Roman_applicant-site/database/factories/FacultyFactory.php

20 lines
429 B
PHP
Raw Normal View History

2024-02-07 16:30:49 +03:00
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class FacultyFactory extends Factory
{
public function definition(): array
{
return [
2024-02-12 12:15:46 +03:00
'name' => fake()->name(),
'description' => fake()->text(),
'position' => fake()->randomDigit(),
'slug' => fake()->slug(),
'educational_institution_id' => 1,
2024-02-07 16:30:49 +03:00
];
}
}