// EN: FluentValidation validator for DeactivateTherapistCommand.
// VI: FluentValidation validator cho DeactivateTherapistCommand.

using BookingService.API.Application.Commands.Therapist;
using FluentValidation;

namespace BookingService.API.Application.Validations;

/// <summary>
/// EN: Validator for DeactivateTherapistCommand.
/// VI: Validator cho DeactivateTherapistCommand.
/// </summary>
public class DeactivateTherapistCommandValidator : AbstractValidator<DeactivateTherapistCommand>
{
    public DeactivateTherapistCommandValidator()
    {
        RuleFor(x => x.TherapistId)
            .NotEmpty()
            .WithMessage("Therapist ID is required / ID chuyên viên là bắt buộc");
    }
}
