using System.Collections.Generic; using Tanshu.Accounts.Contracts; namespace Tanshu.Accounts.Entities { public class ProductGroup { public ProductGroup() { Products = new List(); } public virtual int ProductGroupID { get; set; } [NotNull, Unique] public virtual string Name { get; set; } public virtual decimal DiscountLimit { get; set; } public virtual bool IsModifierCompulsory { get; set; } public virtual bool Discontinued { get; set; } public virtual int SortOrder { get; set; } public virtual string GroupType { get; set; } [Inverse] public virtual IList Products { get; set; } } }