添加项目文件。
This commit is contained in:
12
Entities/DTO/UserForAuthenticationDto.cs
Normal file
12
Entities/DTO/UserForAuthenticationDto.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Entities.DTO
|
||||
{
|
||||
public class UserForAuthenticationDto
|
||||
{
|
||||
[Required(ErrorMessage = "Email is required")]
|
||||
public string? Email { get; set; }
|
||||
[Required(ErrorMessage = "Password is required")]
|
||||
public string? Password { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user