Files
SAE-BUT2/apps/backend/database/factories/EventFactory.php
T
2026-10-04 00:18:21 +02:00

25 lines
509 B
PHP
Executable File

<?php
namespace database\factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\apps\backend\app\Models\Event>
*/
class EventFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'name' => $this->faker->text(15),
'description' => $this->faker->text(50),
];
}
}