narsil/Tanshu.Accounts.Contracts/Data Contracts/ProductGroupBO.cs
unknown 59909a5ee7 Updated NH, Code Refactoring, made all DB transactions atomic.
Must use the Repositories with Using or else bad things will happen.
2011-06-30 01:57:07 +05:30

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; }
}
}