Files
Nyan Lin Paing fa908cdcaf
PHP Tests / php-tests (push) Has been cancelled
add notes/remark and refactor round-trip
2026-08-22 21:43:41 +07:00

30 lines
685 B
PHP

<?php
namespace Modules\Routing\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Modules\Catalog\Models\Destination;
use Modules\Catalog\Models\EvCompany;
use Modules\Routing\Models\EvRoute;
/**
* @extends Factory<EvRoute>
*/
class EvRouteFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'ev_company_id' => EvCompany::factory(),
'from_destination_id' => Destination::factory(),
'to_destination_id' => Destination::factory(),
'is_active' => true,
];
}
}