7 lines
305 B
C#
7 lines
305 B
C#
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(); }
|
|
}
|