)>}]
شركة التطبيقات المتكاملة لتصميم وبرمجة البرمجيات الخاصة ش.ش.و.
Integrated Applications Programming Company
Home » Code Library » ResetPasswordViewModel (Ia.Ftn.Wa.Models.IdentityViewModels)

Public general use code classes and xml files that we've compiled and used over the years:

    1: // Licensed to the .NET Foundation under one or more agreements.
    2: // The .NET Foundation licenses this file to you under the MIT license.
    3:  
    4: using System.ComponentModel.DataAnnotations;
    5:  
    6: namespace Ia.Ftn.Wa.Models.IdentityViewModels
    7: {
    8:     ////////////////////////////////////////////////////////////////////////////
    9:  
   10:     /// <summary publish="true">
   11:     ///
   12:     /// </summary>
   13:     /// 
   14:     /// <remarks> 
   15:     /// Copyright © 2006-2025 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
   16:     /// </remarks> 
   17:     public class ResetPasswordViewModel
   18:     {
   19:         [Required]
   20:         [EmailAddress]
   21:         public string Email { get; set; }
   22:  
   23:         [Required]
   24:         [StringLength(100, ErrorMessage = "The {0} must be at least {2} characters long.", MinimumLength = 6)]
   25:         [DataType(DataType.Password)]
   26:         public string Password { get; set; }
   27:  
   28:         [DataType(DataType.Password)]
   29:         [Display(Name = "Confirm password")]
   30:         [Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
   31:         public string ConfirmPassword { get; set; }
   32:  
   33:         public string Code { get; set; }
   34:     }
   35: }