59909a5ee7
Must use the Repositories with Using or else bad things will happen.
22 lines
691 B
C#
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; }
|
|
}
|
|
}
|