narsil/Tanshu.Accounts.Contracts/Data Contracts/ProductGroupBO.cs

27 lines
741 B
C#

using System.Collections.Generic;
using Tanshu.Accounts.Contracts;
namespace Tanshu.Accounts.Entities
{
public class ProductGroup
{
public ProductGroup()
{
Products = new List<Product>();
}
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<Product> Products { get; set; }
}
}