Initial commit: Add project files
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
using FluentValidation;
|
||||
namespace KArtSell.Modules.__MODULE__.Features.__FEATURE__;
|
||||
public sealed class Validator : AbstractValidator<Request>
|
||||
{
|
||||
public Validator() { RuleFor(x => x.IdempotencyKey).NotEmpty().MaximumLength(100); RuleFor(x => x.ScopeId).NotEmpty(); RuleFor(x => x.AsOf).NotEmpty(); }
|
||||
}
|
||||
Reference in New Issue
Block a user