todo/database/factories/DepartmentFactory.php

16 lines
253 B
PHP
Raw Permalink Normal View History

2024-04-27 15:14:20 +03:00
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class DepartmentFactory extends Factory
{
public function definition(): array
{
return [
2024-05-02 16:54:51 +03:00
'name' => fake()->name(),
2024-04-27 15:14:20 +03:00
];
}
}