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

from __future__ import annotations

from typing import Annotated

from msgspec import UNSET, Meta, Struct, UnsetType


class Model(Struct):
    ge_field: Annotated[int, Meta(ge=1)] | UnsetType = UNSET
    any_multiple: int | UnsetType = UNSET
    gt_field: Annotated[int, Meta(ge=-1)] | UnsetType = UNSET
    fraction_multiple: Annotated[int, Meta(multiple_of=3)] | UnsetType = UNSET
    le_field: Annotated[int, Meta(le=2)] | UnsetType = UNSET
    lt_field: Annotated[int, Meta(le=2)] | UnsetType = UNSET
    combined_min: Annotated[int, Meta(ge=3)] | UnsetType = UNSET
    combined_max: Annotated[int, Meta(le=2)] | UnsetType = UNSET
