23 lines
616 B
C#
23 lines
616 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 string GroupType { get; set; }
|
|
public virtual IList<Product> Products { get; set; }
|
|
}
|
|
} |