todo/database/factories/DepartmentFactory.php

16 lines
253 B
PHP

<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class DepartmentFactory extends Factory
{
public function definition(): array
{
return [
'name' => fake()->name(),
];
}
}