from __future__ import annotations
from dataclasses import dataclass, field
from .name_of_class_trailing_rolling_stock_item_ref_structure_type import NameOfClassTrailingRollingStockItemRefStructureType
from .rolling_stock_item_ref_structure import RollingStockItemRefStructure

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


@dataclass(slots=True, kw_only=True)
class TrailingRollingStockItemRefStructure(RollingStockItemRefStructure):
    name_of_ref_class: NameOfClassTrailingRollingStockItemRefStructureType = field(
        default=NameOfClassTrailingRollingStockItemRefStructureType.TRAILING_ROLLING_STOCK_ITEM,
        metadata={
            "name": "nameOfRefClass",
            "type": "Attribute",
        }
    )