il, ilce tablosu eklendi.
This commit is contained in:
@@ -10,20 +10,33 @@ namespace DugunSalonu.Models
|
||||
public class Salon
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
public string Adi { get; set; }
|
||||
public string Adres { get; set; }
|
||||
public int IlId { get; set; }
|
||||
public int Ilce { get; set; }
|
||||
public string Eposta { get; set; }
|
||||
public string VergiDairesi { get; set; }
|
||||
public string VergiNumarasi { get; set; }
|
||||
public string Telefon { get; set; }
|
||||
public int id { get; set; }
|
||||
|
||||
[Required]
|
||||
[MaxLength(150)]
|
||||
[MinLength(5)]
|
||||
public required string adi { get; set; }
|
||||
|
||||
[MaxLength(250)]
|
||||
public string? adres { get; set; }
|
||||
public int? ilid { get; set; }
|
||||
public int? ilceid { get; set; }
|
||||
|
||||
[Required]
|
||||
public required string eposta { get; set; }
|
||||
public string? vergidairesi { get; set; }
|
||||
public string? verginumarasi { get; set; }
|
||||
|
||||
|
||||
public string? telefon { get; set; }
|
||||
[Required]
|
||||
[MaxLength(10), MinLength(10)]
|
||||
public string CepTel { get; set; }
|
||||
public string WebAdres { get; set; }
|
||||
public required string CepTel { get; set; }
|
||||
public string? webadres { get; set; }
|
||||
|
||||
public Il? il { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user