mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-03-23 19:08:41 +00:00
- 📦 Upgrade Laravel framework, Livewire, and dependencies to ensure compatibility with version `13.1.1`.
30 lines
729 B
PHP
30 lines
729 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\EinundzwanzigPleb;
|
|
use App\Models\ProjectProposal;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<ProjectProposal>
|
|
*/
|
|
class ProjectProposalFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'einundzwanzig_pleb_id' => EinundzwanzigPleb::factory(),
|
|
'name' => $this->faker->sentence(3),
|
|
'description' => $this->faker->paragraph(),
|
|
'support_in_sats' => $this->faker->numberBetween(10000, 1000000),
|
|
'website' => $this->faker->url(),
|
|
];
|
|
}
|
|
}
|