from __future__ import annotations
from dataclasses import dataclass, field
from .name_of_class_companion_profile_ref_structure_type import NameOfClassCompanionProfileRefStructureType
from .user_profile_ref_structure import UserProfileRefStructure

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


@dataclass(slots=True, kw_only=True)
class CompanionProfileRefStructure(UserProfileRefStructure):
    name_of_ref_class: NameOfClassCompanionProfileRefStructureType = field(
        default=NameOfClassCompanionProfileRefStructureType.COMPANION_PROFILE,
        metadata={
            "name": "nameOfRefClass",
            "type": "Attribute",
        }
    )