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