applicant-site/database/factories/FacultyFactory.php

28 lines
618 B
PHP

<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Faculty>
*/
class FacultyFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'name' => fake()->name(),
'description' => fake()->text(),
'position' => fake()->randomDigit(),
'slug' => fake()->slug(),
'educational_institution_id' => 1,
];
}
}