2011-03-11 18:49:48 +00:00
|
|
|
|
using System.Collections.Generic;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
using Tanshu.Accounts.Contracts;
|
2011-01-22 12:38:30 +00:00
|
|
|
|
|
2011-01-30 07:14:05 +00:00
|
|
|
|
namespace Tanshu.Accounts.Entities
|
2011-01-22 12:38:30 +00:00
|
|
|
|
{
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public class ProductGroup
|
2011-01-22 12:38:30 +00:00
|
|
|
|
{
|
2011-03-11 18:49:48 +00:00
|
|
|
|
public ProductGroup()
|
|
|
|
|
{
|
|
|
|
|
Products = new List<Product>();
|
|
|
|
|
}
|
|
|
|
|
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual int ProductGroupID { get; set; }
|
2011-03-11 18:49:48 +00:00
|
|
|
|
|
2011-02-18 16:54:48 +00:00
|
|
|
|
[NotNull, Unique]
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual string Name { get; set; }
|
2011-03-11 18:49:48 +00:00
|
|
|
|
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual decimal DiscountLimit { get; set; }
|
|
|
|
|
public virtual bool IsModifierCompulsory { get; set; }
|
2011-02-09 12:03:22 +00:00
|
|
|
|
public virtual string GroupType { get; set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual IList<Product> Products { get; set; }
|
2011-01-22 12:38:30 +00:00
|
|
|
|
}
|
2011-03-11 18:49:48 +00:00
|
|
|
|
}
|