# Generated by smithplates HTTP codegen. Do not edit.

from __future__ import annotations

from datetime import datetime

from pydantic import BaseModel, Field

from generated.petstore.api.order_line_detail import OrderLineDetail
from generated.petstore.api.order_priority import OrderPriority
from generated.petstore.api.order_status import OrderStatus


class OrderDetail(BaseModel):
    id: str = Field(...)
    label: str = Field(...)
    status: OrderStatus = Field(...)
    priority: OrderPriority = Field(...)
    created_at: datetime = Field(...)
    updated_at: datetime = Field(...)
    lines: list[OrderLineDetail] = Field(...)
