il, ilce tablosu eklendi.
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user