30 lines
792 B
C#
30 lines
792 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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; }
|
|
|
|
[MaxLength(10), MinLength(10)]
|
|
public string CepTel { get; set; }
|
|
public string WebAdres { get; set; }
|
|
|
|
public Il? il { get; set; }
|
|
}
|
|
}
|