📅  最后修改于: 2022-03-11 14:58:01.427000             🧑  作者: Mango
代码示例1
RuleFor(s => s.Email).NotEmpty().WithMessage("Email address is required")
.EmailAddress().WithMessage("A valid email is required");