using System.ComponentModel.DataAnnotations;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Models.Customer;

public partial record PasswordRecoveryConfirmModel : BaseNopModel
{
    [NoTrim]
    [DataType(DataType.Password)]
    [NopResourceDisplayName("Account.PasswordRecovery.NewPassword")]
    public string NewPassword { get; set; }

    [NoTrim]
    [DataType(DataType.Password)]
    [NopResourceDisplayName("Account.PasswordRecovery.ConfirmNewPassword")]
    public string ConfirmNewPassword { get; set; }

    public bool DisablePasswordChanging { get; set; }
    public string Result { get; set; }

    public string ReturnUrl { get; set; }
}