Files
wishboard/database/factories/WishFactory.php
T
Belupeti b50b711091
Build / Build-image (push) Failing after 6s
pamp fixed the frontend (yey)
2026-09-23 20:07:12 +02:00

30 lines
654 B
PHP

<?php
namespace Database\Factories;
use App\Models\Wish;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<Model>
*/
class WishFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'title' => fake()->sentence(),
'description' => fake()->paragraph(),
'reward' => fake()->word(),
'rune' => fake()->numberBetween(0, 3),
'type' => fake()->numberBetween(0, 3),
'color' => fake()->numberBetween(0, 255),
];
}
}