<?php

namespace services\dtos;

class CartProductDto
{
    public readonly ProductDto $product;
    public readonly int $quantity;
    public readonly string $item_key;

    public function __construct(ProductDto $product, int $quantity, string $item_key){
        $this->product = $product;
        $this->quantity = $quantity;
        $this->item_key = $item_key;
    }
}