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!;
    }
}
