<?php

namespace Modules\Booking\Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;
use Modules\Booking\Models\Booking;
use Modules\Booking\Models\BookingVehicleOption;
use Modules\Shared\Enums\VehicleOption;

/**
 * @extends Factory<BookingVehicleOption>
 */
class BookingVehicleOptionFactory extends Factory
{
    protected $model = BookingVehicleOption::class;

    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'booking_id' => Booking::factory(),
            'vehicle_option' => VehicleOption::BackSeat,
            'passenger_count' => 1,
            'unit_price' => 9000.00,
            'line_total' => 9000.00,
        ];
    }
}
