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