Moved to fluent. Added support for Modifiers. Fixtures to load intial test data

This commit is contained in:
unknown
2011-01-30 12:44:05 +05:30
parent c841dc25f4
commit eb48c3754a
272 changed files with 10470 additions and 47160 deletions

View File

@ -1,13 +1,20 @@
using System;
using System.Runtime.Serialization;
using FluentNHibernate.Mapping;
using System.Collections.Generic;
namespace Tanshu.Accounts.Contracts
namespace Tanshu.Accounts.Entities
{
public class ProductGroupBO
public class ProductGroup
{
public Guid ProductGroupID { get; set; }
public string Name { get; set; }
public decimal DiscountLimit { get; set; }
public bool IsModifierCompulsory { get; set; }
public virtual int ProductGroupID { get; set; }
public virtual string Name { get; set; }
public virtual decimal DiscountLimit { get; set; }
public virtual bool IsModifierCompulsory { get; set; }
public virtual IList<Product> Products { get; set; }
public ProductGroup()
{
Products = new List<Product>();
}
}
}