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

25 lines
773 B
C#

using System;
using System.Runtime.Serialization;
using FluentNHibernate.Mapping;
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; }
}
}