mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
23 lines
485 B
PHP
23 lines
485 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\CourseEvent;
|
|
use App\Models\Participant;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class RegistrationFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'event_id' => CourseEvent::factory(),
|
|
'participant_id' => Participant::factory(),
|
|
'active' => $this->faker->boolean(),
|
|
];
|
|
}
|
|
}
|