17 lines
462 B
C#
Raw Permalink Normal View History

2025-01-24 19:17:26 -03:00
using System.ComponentModel.DataAnnotations;
namespace phronCare.API.Models.Authentication.SingUp
{
public class ResetPassword
{
[Required]
public string Password { get; set; } = null!;
[Compare("Password", ErrorMessage = "Las contraseñas no coinciden.")]
public string ConfirmPassword { get; set; } = null!;
public string Email { get; set; }=null!;
public string Token { get; set; }=null!;
}
}