# generated by datamodel-codegen:
#   filename:  allof_enum_ref.yaml
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from enum import Enum

from pydantic import BaseModel, RootModel


class MassUnit(Enum):
    g = 'g'
    kg = 'kg'
    t = 't'


class QuantityTrunc(RootModel[MassUnit]):
    root: MassUnit


class CreateOrderByEstimateRequest(BaseModel):
    quantity_trunc: QuantityTrunc | None = None
