using FluentValidation;

namespace Baya.Application.Features.Booking.Commands.RejectBookingRequest;

public sealed class RejectBookingRequestCommandValidator : AbstractValidator<RejectBookingRequestCommand>
{
    public RejectBookingRequestCommandValidator()
    {
        // Id is route-supplied — not validated here (see FluentValidation activation note in server CLAUDE.md).
        RuleFor(x => x.Reason)
            .NotEmpty()
            .MaximumLength(500);
    }
}
