narsil/Tanshu.Accounts.Contracts/Data Contracts/ProductBO.cs
unknown 59909a5ee7 Updated NH, Code Refactoring, made all DB transactions atomic.
Must use the Repositories with Using or else bad things will happen.
2011-06-30 01:57:07 +05:30

22 lines
691 B
C#

using Tanshu.Accounts.Contracts;
namespace Tanshu.Accounts.Entities
{
public class Product
{
public virtual int ProductID { get; set; }
public virtual int Code { get; set; }
[NotNull]
public virtual string Name { get; set; }
public virtual string Units { get; set; }
[NotNull]
public virtual ProductGroup ProductGroup { get; set; }
[NotNull]
public virtual Tax Tax { get; set; }
public virtual decimal ServiceCharge { get; set; }
public virtual decimal SalePrice { get; set; }
public virtual bool Discontinued { get; set; }
public virtual int SortOrder { get; set; }
}
}