23 lines
516 B
PHP
23 lines
516 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\FinanceDocumentExercice;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\FinanceDocumentExercice>
|
|
*/
|
|
class FinanceDocumentExerciceFactory extends Factory
|
|
{
|
|
protected $model = FinanceDocumentExercice::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
$title = $this->faker->words(2, true);
|
|
|
|
return [
|
|
'name' => $title . ' FR',
|
|
];
|
|
}
|
|
}
|