<?php

declare(strict_types=1);

namespace KupShop\GraphQLBundle\ApiAdmin\Types\Order;

use KupShop\GraphQLBundle\ApiAdmin\Types\Enums\Order\OrderDocumentType;
use TheCodingMachine\GraphQLite\Annotations\Field;
use TheCodingMachine\GraphQLite\Annotations\Input;
use TheCodingMachine\GraphQLite\Annotations\Type;

#[Type]
#[Input(update: true)]
class OrderDocument
{
    #[Field(description: 'Typ dokumentu.')]
    public OrderDocumentType $type;

    #[Field(description: 'Odkaz na dokument ve formátu PDF.')]
    public string $url;
}
