from __future__ import annotations
from dataclasses import dataclass, field
from .fare_product_ref_structure import FareProductRefStructure
from .name_of_class_sale_discount_right_ref_structure_type import NameOfClassSaleDiscountRightRefStructureType

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


@dataclass(slots=True, kw_only=True)
class SaleDiscountRightRefStructure(FareProductRefStructure):
    name_of_ref_class: NameOfClassSaleDiscountRightRefStructureType = field(
        default=NameOfClassSaleDiscountRightRefStructureType.SALE_DISCOUNT_RIGHT,
        metadata={
            "name": "nameOfRefClass",
            "type": "Attribute",
        }
    )