<?php

declare(strict_types=1);

namespace KupShop\GraphQLBundle\ApiAdmin\Types\Sale\Input;

use KupShop\GraphQLBundle\ApiAdmin\Types\DateFilterInput;
use TheCodingMachine\GraphQLite\Annotations\Field;
use TheCodingMachine\GraphQLite\Annotations\Input;

#[Input]
class SaleFilterInput
{
    /**
     * @var int[]|null
     */
    #[Field(description: 'Filtr podle ID prodejek.')]
    public ?array $id;

    /**
     * @var string[]|null
     */
    #[Field(description: 'Filtr podle kódu prodejek.')]
    public ?array $code;

    #[Field(description: 'Filtr podle data vytvoření.')]
    public ?DateFilterInput $dateCreated;
}
