24 lines
759 B
C#
24 lines
759 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using Resources;
|
|
|
|
namespace Weee.Areas.Admin.ViewModels
|
|
{
|
|
public class AccountChangePasswordViewModel
|
|
{
|
|
public string Id { get; set; }
|
|
[Required]
|
|
[Display(Name = "OriginalPassword", ResourceType = typeof(Resource))]
|
|
public string OriginalPassword { get; set; }
|
|
[Required]
|
|
[Display(Name = "NewPassword", ResourceType = typeof(Resource))]
|
|
public string NewPassword { get; set; }
|
|
[Required]
|
|
[Compare("NewPassword")]
|
|
[Display(Name = "ConfirmPassword", ResourceType = typeof(Resource))]
|
|
public string NewPassword2 { get; set; }
|
|
}
|
|
} |