24 lines
454 B
C#
24 lines
454 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 Il
|
|
|
|
{
|
|
public Il()
|
|
{
|
|
salons = new HashSet<Salon>();
|
|
}
|
|
[Key]
|
|
public int Id { get; set; }
|
|
public string Adi { get; set; }
|
|
|
|
ICollection<Salon>? salons { get; set; }
|
|
}
|
|
}
|