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

24 lines
696 B
C#
Raw Normal View History

2011-01-22 12:38:30 +00:00
using System;
using System.Runtime.Serialization;
using FluentNHibernate.Mapping;
using System.Collections.Generic;
using Tanshu.Accounts.Contracts;
2011-01-22 12:38:30 +00:00
namespace Tanshu.Accounts.Entities
2011-01-22 12:38:30 +00:00
{
public class ProductGroup
2011-01-22 12:38:30 +00:00
{
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; }
public ProductGroup()
{
Products = new List<Product>();
}
2011-01-22 12:38:30 +00:00
}
}