il, ilce tablosu eklendi.

This commit is contained in:
2025-08-09 23:14:48 +03:00
parent 4796beac49
commit 2ab4d14a58
12 changed files with 773 additions and 126 deletions

View File

@@ -11,27 +11,28 @@ namespace DugunSalonu.Models
internal class Kullanici
{
[Key]
public int Id { get; set; }
public int id { get; set; }
[MaxLength(50), MinLength(5)]
[Required]
public required string kullaniciadi { get; set; }
[Required]
[MaxLength(50)]
public required string adi { get; set; }
[Required]
[MaxLength(50)]
public required string soyadi { get; set; }
public required string KullaniciAdi { get; set; }
public string adisoyadi { get { return $"{adi} {soyadi}"; } }
[Required]
public required string parola { get; set; }
[MaxLength(50)]
public required string Adi { get; set; }
[Required]
[MaxLength(50)]
public required string Soyadi { get; set; }
public string AdiSoyadi { get { return $"{Adi} {Soyadi}"; } }
[Required]
public required string Parola { get; set; }
[MaxLength(50)]
public string? Eposta { get; set; }
public string? eposta { get; set; }
[MaxLength(10), MinLength(10)]
public string? CepTel { get; set; }
public bool Aktif { get; set; }
public bool Admin { get; set; }
public string? ceptel { get; set; }
public bool aktif { get; set; }
public bool admin { get; set; }
}
}