using FluentValidation;

namespace ColaFlow.Modules.IssueManagement.Application.Commands.DeleteIssue;

public sealed class DeleteIssueCommandValidator : AbstractValidator<DeleteIssueCommand>
{
    public DeleteIssueCommandValidator()
    {
        RuleFor(x => x.IssueId)
            .NotEmpty().WithMessage("IssueId is required");
    }
}
