ScientificReport
ChangePasswordModel.cs
Go to the documentation of this file.
1 using System;
2 using System.ComponentModel.DataAnnotations;
3 
4 namespace ScientificReport.DTO.Models.UserProfile
5 {
6  public class ChangePasswordModel
7  {
8  [Required]
9  public Guid? Id { get; set; }
10 
11  [Required]
12  [UIHint("password")]
13  public string OldPassword { get; set; }
14 
15  [Required]
16  [UIHint("password")]
17  public string NewPassword { get; set; }
18 
19  [Required]
20  [UIHint("password")]
21  public string NewPasswordRepeat { get; set; }
22  }
23 }