17 lines
357 B
C#
17 lines
357 B
C#
using FluentValidation;
|
|
using zero.Core.Entities;
|
|
using zero.Core.Entities.Setup;
|
|
using zero.Core.Extensions;
|
|
|
|
namespace zero.Core.Validation
|
|
{
|
|
public class TranslationValidator : AbstractValidator<Translation>
|
|
{
|
|
public TranslationValidator()
|
|
{
|
|
//RuleFor(x => x.Code).Length(2);
|
|
//RuleFor(x => x.Name).Length(2, 120);
|
|
}
|
|
}
|
|
}
|