"""Domain model for an order."""

import uuid


class Order:
    def __init__(self, product_id: str = "", quantity: int = 1) -> None:
        self.id = str(uuid.uuid4())
        self.product_id = product_id
        self.quantity = quantity
        self.status = "pending"
