*/ class NotificationFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'name' => $this->faker->sentence(3), 'description' => $this->faker->paragraph(), 'category' => $this->faker->randomElement(\App\Enums\NewsCategory::cases()), 'einundzwanzig_pleb_id' => \App\Models\EinundzwanzigPleb::factory(), ]; } }