<?php

namespace App\Dto\Input;

use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validator\Constraints as Assert;

class CreateTagInput
{
    #[Assert\NotNull]
    #[Groups(['repository:write'])]
    public ?string $repository = null;

    #[Assert\NotNull]
    #[Groups(['repository:write'])]
    public ?string $commit = null;

    #[Assert\NotNull]
    #[Groups(['repository:write'])]
    public ?string $message = null;

    #[Assert\NotNull]
    #[Groups(['repository:write'])]
    public ?string $name = null;
}