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