using Furion.DependencyInjection;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Core.Service
{
///
/// 注册输入参数
///
[SuppressSniffer]
public class RegistInput
{
///
/// 用户名
///
/// superAdmin
[Required(ErrorMessage = "用户名不能为空"), MinLength(3, ErrorMessage = "用户名不能少于3位字符")]
public string Email { get; set; }
///
/// 公司名
///
/// superAdmin
[Required(ErrorMessage = "公司不能为空"), MinLength(3, ErrorMessage = "公司不能少于3位字符")]
public string CompanyName { get; set; }
///
/// 密码
///
/// 123456
[Required(ErrorMessage = "密码不能为空"), MinLength(5, ErrorMessage = "密码不能少于5位字符")]
public string Password { get; set; }
}
}