mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-02-15 03:23:17 +00:00
27 lines
686 B
PHP
27 lines
686 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Notification>
|
|
*/
|
|
class NotificationFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
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(),
|
|
];
|
|
}
|
|
}
|