You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/Platform/Application/Models/ValidateModel.cs

21 lines
587 B

using Infrastructure.Web.DataAnnotations;
using System.ComponentModel.DataAnnotations;
namespace IoT.Shared.Application.Models
{
[Display(Name = "安全验证")]
public class ValidateModel
{
[SelectList]
[Required(ErrorMessage = nameof(RequiredAttribute))]
[Display(Name = "验证方式")]
public string Type { get; set; }
[UIHint("CodeCaptcha")]
[CodeCaptchaAttribute]
[Required(ErrorMessage = nameof(RequiredAttribute))]
[Display(Name = "验证码")]
public string CodeCaptcha { get; set; }
}
}