from __future__ import annotations
from dataclasses import dataclass, field
from .fare_product_ref_structure import FareProductRefStructure
from .name_of_class_preassigned_fare_product_ref_structure_type import NameOfClassPreassignedFareProductRefStructureType

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


@dataclass(slots=True, kw_only=True)
class PreassignedFareProductRefStructure(FareProductRefStructure):
    name_of_ref_class: NameOfClassPreassignedFareProductRefStructureType = field(
        default=NameOfClassPreassignedFareProductRefStructureType.PREASSIGNED_FARE_PRODUCT,
        metadata={
            "name": "nameOfRefClass",
            "type": "Attribute",
        }
    )