30 lines
654 B
PHP
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),
|
|
];
|
|
}
|
|
}
|