from __future__ import annotations
from dataclasses import dataclass, field
from .name_of_class_purpose_of_journey_partition_ref_structure_type import NameOfClassPurposeOfJourneyPartitionRefStructureType
from .type_of_value_ref_structure import TypeOfValueRefStructure

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


@dataclass(slots=True, kw_only=True)
class PurposeOfJourneyPartitionRefStructure(TypeOfValueRefStructure):
    name_of_ref_class: NameOfClassPurposeOfJourneyPartitionRefStructureType = field(
        default=NameOfClassPurposeOfJourneyPartitionRefStructureType.PURPOSE_OF_JOURNEY_PARTITION,
        metadata={
            "name": "nameOfRefClass",
            "type": "Attribute",
        }
    )