<?php

declare(strict_types=1);

namespace KupShop\GraphQLBundle\ApiAdmin\Types\Catalog\Product\Input;

use TheCodingMachine\GraphQLite\Annotations\Field;
use TheCodingMachine\GraphQLite\Annotations\Input;

#[Input(update: true)]
class ProductSetItemInput
{
    #[Field(description: 'ID setové položky.')]
    public int $productId;

    #[Field(description: 'ID varianty setové položky.')]
    public ?int $variationId = null;

    #[Field(description: 'Počet kusů.')]
    public int $pieces = 1;
}
