namespace Monitoring.Features.LockedEventCodes.CreateLockedEventCode;

using FluentValidation;

public sealed class CreateLockedEventCodeValidator : AbstractValidator<CreateLockedEventCodeRequest>
{
	public CreateLockedEventCodeValidator()
	{
		RuleFor(x => x.AssetId)
			.NotEmpty();

		RuleFor(x => x.EventCodeId)
			.NotEmpty();
	}
}