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

from __future__ import annotations

from enum import Enum, IntEnum

from pydantic.dataclasses import dataclass


class Status(Enum):
    pending = 'pending'
    processing = 'processing'
    shipped = 'shipped'
    delivered = 'delivered'


class Priority(IntEnum):
    integer_1 = 1
    integer_2 = 2
    integer_3 = 3


@dataclass
class Order:
    order_id: str
    status: Status
    priority: Priority | None = 2
