19 lines
399 B
C#
19 lines
399 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Marco.Pms.Model.Dtos.Authentication
|
|
{
|
|
public class ResetPasswordDto
|
|
{
|
|
[Required]
|
|
[EmailAddress]
|
|
public string? Email { get; set; }
|
|
|
|
[Required]
|
|
public string Token { get; set; }= string.Empty;
|
|
|
|
[Required]
|
|
[MinLength(6)]
|
|
public string? NewPassword { get; set; }
|
|
}
|
|
}
|