<?php

declare(strict_types=1);

namespace KupShop\GraphQLBundle\ApiAdmin\Types\Content\Article\Input;

use KupShop\GraphQLBundle\ApiAdmin\Types\SeoInput;
use KupShop\GraphQLBundle\ApiShared\Types\Enums\ArticleVisibilityEnum;
use TheCodingMachine\GraphQLite\Annotations\Field;
use TheCodingMachine\GraphQLite\Annotations\Input;

#[Input(update: true)]
class ArticleTranslationInput
{
    #[Field(description: 'ID článku.')]
    public int $articleId;

    #[Field(description: 'Jazyk.')]
    public string $language;

    #[Field(description: 'Název.')]
    public ?string $title;

    #[Field(description: 'Anotace.')]
    public ?string $leadIn;

    #[Field(description: 'URL.')]
    public ?string $url;

    #[Field(description: 'Viditelnost.')]
    public ?ArticleVisibilityEnum $visibility;

    #[Field(description: 'SEO.')]
    public ?SeoInput $seo;
}
