forked from aslan/applicant-site
20 lines
416 B
PHP
20 lines
416 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class DepartmentFactory extends Factory
|
|
{
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => fake()->name(),
|
|
'description' => fake()->text(),
|
|
'slug' => fake()->slug(),
|
|
'position' => fake()->randomDigit(),
|
|
'faculty_id' => 1,
|
|
];
|
|
}
|
|
}
|