from datetime import datetime

from beanie import Document


class Order(Document):
    id: str
    client: str
    created_at: datetime
    updated_at: datetime

    class Settings:
        name = "order_collection"
