Files
DugunSalonu/Models/Il.cs

22 lines
426 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; }
}
}