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

from __future__ import annotations

from decimal import Decimal

from pydantic import BaseModel, Field


class Model(BaseModel):
    price: Decimal | None = Field(None, ge=0.5, multiple_of=0.01)
