This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="LoginDTO.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="TestArgs.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
21
Api/Ewide.Core/Ewide.Core.Arguments/LoginDTO.cs
Normal file
21
Api/Ewide.Core/Ewide.Core.Arguments/LoginDTO.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ewide.Core.DTO
|
||||
{
|
||||
public class LoginDTO
|
||||
{
|
||||
[DisplayName("登录帐号")]
|
||||
[Required(AllowEmptyStrings = false, ErrorMessage = "登录帐号不可为空")]
|
||||
public string Account { get; set; }
|
||||
|
||||
[DisplayName("登录密码")]
|
||||
[Required(AllowEmptyStrings = false, ErrorMessage = "登录密码不可为空")]
|
||||
public string Password { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user