2011-06-29 20:27:07 +00:00
|
|
|
|
using Tanshu.Accounts.Contracts;
|
2010-03-02 17:56:21 +00:00
|
|
|
|
|
2011-01-30 07:14:05 +00:00
|
|
|
|
namespace Tanshu.Accounts.Entities
|
2010-03-02 17:56:21 +00:00
|
|
|
|
{
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public class Product
|
2010-03-02 17:56:21 +00:00
|
|
|
|
{
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual int ProductID { get; set; }
|
|
|
|
|
public virtual int Code { get; set; }
|
2011-02-18 16:54:48 +00:00
|
|
|
|
[NotNull]
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual string Name { get; set; }
|
|
|
|
|
public virtual string Units { get; set; }
|
2011-02-18 16:54:48 +00:00
|
|
|
|
[NotNull]
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual ProductGroup ProductGroup { get; set; }
|
2011-02-18 16:54:48 +00:00
|
|
|
|
[NotNull]
|
2012-04-08 12:28:15 +00:00
|
|
|
|
public virtual Tax Vat { get; set; }
|
|
|
|
|
public virtual Tax ServiceTax { get; set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual decimal ServiceCharge { get; set; }
|
2012-04-08 12:28:15 +00:00
|
|
|
|
public virtual bool IsScTaxable { get; set; }
|
2011-08-28 12:17:15 +00:00
|
|
|
|
public virtual decimal Price { get; set; }
|
|
|
|
|
public virtual decimal FullPrice { get; set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual bool Discontinued { get; set; }
|
|
|
|
|
public virtual int SortOrder { get; set; }
|
2011-12-05 09:41:02 +00:00
|
|
|
|
[NotNull]
|
|
|
|
|
public virtual int BaseCode { get; set; }
|
|
|
|
|
[NotNull]
|
|
|
|
|
public virtual decimal Quantity { get; set; }
|
2010-03-02 17:56:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|