Initial commit

This commit is contained in:
Zdeněk Burda
2026-01-09 21:26:40 +01:00
parent e83aec6dca
commit 41e3ce6f25
404 changed files with 61250 additions and 28 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace Database\Factories;
use App\Models\Log;
use App\Models\Round;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Log>
*/
class LogFactory extends Factory
{
protected $model = Log::class;
public function definition(): array
{
return [
'round_id' => Round::factory(),
'pcall' => strtoupper($this->faker->bothify('OK#???')),
'pwwlo' => $this->faker->randomElement(['JN79', 'JN89', 'JO60', 'JN99']),
'psect' => $this->faker->randomElement(['A', 'B', 'C', 'D']),
'pband' => $this->faker->randomElement(['144', '432', '1296']),
'power_watt' => $this->faker->numberBetween(10, 1000),
];
}
}