using FluentValidation;

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

/// <summary>
/// Validator for ArchiveProjectCommand
/// </summary>
public class ArchiveProjectCommandValidator : AbstractValidator<ArchiveProjectCommand>
{
    public ArchiveProjectCommandValidator()
    {
        RuleFor(x => x.ProjectId)
            .NotEmpty()
            .WithMessage("ProjectId is required");
    }
}
