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

namespace SocialService.API.Application.Validations;

/// <summary>
/// EN: Validator for AdminDeleteRelationshipCommand.
/// VI: Validator cho AdminDeleteRelationshipCommand.
/// </summary>
public class AdminDeleteRelationshipCommandValidator : AbstractValidator<AdminDeleteRelationshipCommand>
{
    public AdminDeleteRelationshipCommandValidator()
    {
        RuleFor(x => x.RelationshipId)
            .NotEmpty().WithMessage("Relationship ID is required / ID quan hệ là bắt buộc");
    }
}
