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