ResetPasswordDto.cs 358 B

1234567891011121314
  1. using System.ComponentModel.DataAnnotations;
  2. namespace MTWorkHR.Application.Models
  3. {
  4. public class ResetPasswordDto
  5. {
  6. [Required(ErrorMessage = "Old Password is required")]
  7. public string OldPassword { get; set; }
  8. [Required(ErrorMessage = "New Password is required")]
  9. public string NewPassword { get; set; }
  10. }
  11. }