using FluentValidation;

namespace ColaFlow.Modules.ProjectManagement.Application.Commands.DeleteStory;

/// <summary>
/// Validator for DeleteStoryCommand
/// </summary>
public sealed class DeleteStoryCommandValidator : AbstractValidator<DeleteStoryCommand>
{
    public DeleteStoryCommandValidator()
    {
        RuleFor(x => x.StoryId)
            .NotEmpty().WithMessage("Story ID is required");
    }
}
