from __future__ import annotations
from dataclasses import dataclass, field
from .fare_price_ref_structure import FarePriceRefStructure
from .name_of_class_time_unit_price_ref_structure_type import NameOfClassTimeUnitPriceRefStructureType

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


@dataclass(slots=True, kw_only=True)
class TimeUnitPriceRefStructure(FarePriceRefStructure):
    name_of_ref_class: NameOfClassTimeUnitPriceRefStructureType = field(
        default=NameOfClassTimeUnitPriceRefStructureType.TIME_UNIT_PRICE,
        metadata={
            "name": "nameOfRefClass",
            "type": "Attribute",
        }
    )