# This file was generated by liblab | https://liblab.com/

from .utils.json_map import JsonMap
from .base import BaseModel


@JsonMap({"code": "Code", "description": "Description"})
class AdjustedHeightUnitOfMeasurement(BaseModel):
    """Unit of Measurement container for the Adjusted height.

    :param code: Code associated with Unit of Measurement for the Adjusted height. Valid value is IN  Unit of measurement code for Adjusted height is validated only when Handling unit type is SKD = Skid or PLT = Pallet.
    :type code: str
    :param description: Description for Code associated with Unit of Measurement for the Adjusted height.
    :type description: str
    """

    def __init__(self, code: str, description: str):
        self.code = code
        self.description = description
