using FluentValidation;
using SocialService.API.Application.Commands;

namespace SocialService.API.Application.Validations;

/// <summary>
/// EN: Validator for AdminDeleteBlockCommand.
/// VI: Validator cho AdminDeleteBlockCommand.
/// </summary>
public class AdminDeleteBlockCommandValidator : AbstractValidator<AdminDeleteBlockCommand>
{
    public AdminDeleteBlockCommandValidator()
    {
        RuleFor(x => x.BlockId)
            .NotEmpty().WithMessage("Block ID is required / ID block là bắt buộc");
    }
}
