Files
TLA/database/factories/TlaFactory.php
T
Belupeti f84636b31f
Build / Build-image (push) Successful in 53s
backend validation change, frontend changes
2026-08-10 20:39:56 +02:00

27 lines
558 B
PHP

<?php
namespace Database\Factories;
use App\Models\Tla;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<Tla>
*/
class TlaFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'abbreviation' => fake()->word() . ' ' . fake()->word() . ' ' . fake()->word(),
'hint' => fake()->sentence(),
'language' => fake()->randomElement(['hu', 'en']),
];
}
}