Add project files.

This commit is contained in:
2025-05-01 15:18:30 +03:00
parent e058ab8015
commit 774d695414
3094 changed files with 1336814 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System.ComponentModel.DataAnnotations;
namespace ConstructorApp.DtoLayer.AppUserDto
{
public class AppUserEditDto
{
public string? UserName { get; set; }
[Required(ErrorMessage = "Mevcut şifre alanı zorunludur.")]
[Display(Name = "Mevcut Şifre")]
public string? CurrentPassword { get; set; } // Bu alan zorunlu hale getirildi
[StringLength(50), Display(Name = "Yeni Şifre")]
public string? Password { get; set; }
[Compare("Password", ErrorMessage = "Şifreler eşleşmiyor.")]
[StringLength(50), Display(Name = "Şifre Tekrar")]
public string? ConfirmPassword { get; set; }
}
}