from __future__ import annotations
from dataclasses import dataclass, field
from .one_to_many_relationship_structure import OneToManyRelationshipStructure
from .vehicle_journey_spot_allocation_ref import VehicleJourneySpotAllocationRef

__NAMESPACE__ = "http://www.netex.org.uk/netex"


@dataclass(slots=True, kw_only=True)
class VehicleJourneySpotAllocationRefsRelStructure(OneToManyRelationshipStructure):
    class Meta:
        name = "vehicleJourneySpotAllocationRefs_RelStructure"

    vehicle_journey_spot_allocation_ref: list[VehicleJourneySpotAllocationRef] = field(
        default_factory=list,
        metadata={
            "name": "VehicleJourneySpotAllocationRef",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
            "min_occurs": 1,
        }
    )