from __future__ import annotations
from dataclasses import dataclass, field
from .fare_product_prices_rel_structure import FareProductPricesRelStructure
from .general_organisation_ref import GeneralOrganisationRef
from .service_access_right_version_structure import ServiceAccessRightVersionStructure

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


@dataclass(slots=True, kw_only=True)
class EntitlementProductVersionStructure(ServiceAccessRightVersionStructure):
    class Meta:
        name = "EntitlementProduct_VersionStructure"

    general_organisation_ref: None | GeneralOrganisationRef = field(
        default=None,
        metadata={
            "name": "GeneralOrganisationRef",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    prices: None | FareProductPricesRelStructure = field(
        default=None,
        metadata={
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )