<?php

declare(strict_types=1);

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

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

#[Input(description: 'Filtr historie bodů uživatelů.')]
class UserBonusPointFilterInput
{
    /** @var int[]|null */
    #[Field(description: 'ID.')]
    public ?array $id;

    /** @var int[]|null */
    #[Field(description: 'ID uživatele.')]
    public ?array $userId;

    /** @var int[]|null */
    #[Field(description: 'ID objednávky.')]
    public ?array $orderId;

    /** @var BonusPointStatus[]|null */
    #[Field(description: 'Stav bodů.')]
    public ?array $status;

    #[Field(description: 'Filtr podle data vzniku bodů.')]
    public ?DateFilterInput $dateCreated;
}
