32 lines
826 B
PHP
32 lines
826 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Dynamic;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<Dynamic>
|
|
*/
|
|
class DynamicFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => $this->faker->randomElement([
|
|
'The Velvet Sanctuary',
|
|
'Obsidian Household Agreement',
|
|
'Crimson Castle Protocol',
|
|
'Dungeon Master-Sub Board',
|
|
'Coffee Club Ledger'
|
|
]),
|
|
'rules' => "1. All rules must be strictly adhered to.\n2. Scores must be updated after every task.\n3. Disputed scores can be discussed in the dedicated chat.",
|
|
];
|
|
}
|
|
}
|