14 lines
314 B
C#
14 lines
314 B
C#
using Atomx.Common.Entities;
|
|
using FluentValidation;
|
|
|
|
namespace Atomx.Admin.Client.Validators
|
|
{
|
|
public class MaterialValidator : AbstractValidator<Material>
|
|
{
|
|
public MaterialValidator()
|
|
{
|
|
//RuleFor(p => p.Name).NotEmpty().WithMessage("名称不能为空");
|
|
}
|
|
}
|
|
}
|