using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Database.Models { [Table("productgroup")] public class ProductGroupEntity { [Key] public int Id { get; set; } public string Name { get; set; } public bool IsArchived { get; set; } public int Index { get; set; } public ICollection Products { get; set; } } }