using FluentValidation; namespace Features.Breweries.Commands.UpdateBrewery; public class UpdateBreweryValidator : AbstractValidator { public UpdateBreweryValidator() { RuleFor(x => x.Timer) .NotEmpty() .WithMessage("Timer is required to detect conflicting concurrent updates."); } }