using FluentValidation;

namespace Baya.Application.Features.Bookings.Commands.TransitionBookingStatus;

public sealed class TransitionBookingStatusCommandValidator : AbstractValidator<TransitionBookingStatusCommand>
{
    public TransitionBookingStatusCommandValidator()
    {
        RuleFor(x => x.TargetStatus).NotEmpty();
        RuleFor(x => x.Reason).MaximumLength(500);
    }
}
