25 lines
455 B
PHP
25 lines
455 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\DepartmentProfile;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<DepartmentProfile>
|
|
*/
|
|
class DepartmentProfileFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => fake()->unique()->jobTitle(),
|
|
];
|
|
}
|
|
}
|