Initial_commit_SecMPS_v2
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VolPro.Entity;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
public class ApiSys_UserInput
|
||||
{
|
||||
/// <summary>
|
||||
///用户名
|
||||
/// </summary>
|
||||
[Display(Name ="用户名")]
|
||||
[MaxLength(200)]
|
||||
[Column(TypeName="nvarchar(200)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string UserName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///密码
|
||||
/// </summary>
|
||||
[Display(Name ="密码")]
|
||||
[MaxLength(400)]
|
||||
[Column(TypeName="nvarchar(400)")]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string UserPwd { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///手机号
|
||||
/// </summary>
|
||||
[Display(Name ="手机号")]
|
||||
[MaxLength(22)]
|
||||
[Column(TypeName="nvarchar(22)")]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string PhoneNo { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user