Moved to fluent. Added support for Modifiers. Fixtures to load intial test data
This commit is contained in:
@ -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>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user