using System;
using LeaRun.Application.Code;
namespace LeaRun.Application.Entity.CustomerManage
{
///
/// 版 本
/// Copyright (c) 2013-2016 上海力软信息技术有限公司
/// 创 建:佘赐雄
/// 日 期:2016-03-16 13:54
/// 描 述:订单明细
///
public class OrderEntryEntity : BaseEntity
{
#region 实体成员
///
/// 订单明细主键
///
///
public string OrderEntryId { get; set; }
///
/// 订单主键
///
///
public string OrderId { get; set; }
///
/// 商品Id
///
///
public string ProductId { get; set; }
///
/// 商品编号
///
///
public string ProductCode { get; set; }
///
/// 商品名称
///
///
public string ProductName { get; set; }
///
/// 单位
///
///
public string UnitId { get; set; }
///
/// 数量
///
///
public decimal? Qty { get; set; }
///
/// 单价
///
///
public decimal? Price { get; set; }
///
/// 金额
///
///
public decimal? Amount { get; set; }
///
/// 含税单价
///
///
public decimal? Taxprice { get; set; }
///
/// 税率
///
///
public decimal? TaxRate { get; set; }
///
/// 税额
///
///
public decimal? Tax { get; set; }
///
/// 含税金额
///
///
public decimal? TaxAmount { get; set; }
///
/// 排序码
///
///
public int? SortCode { get; set; }
///
/// 删除标记
///
///
public int? DeleteMark { get; set; }
///
/// 有效标志
///
///
public int? EnabledMark { get; set; }
///
/// 备注
///
///
public string Description { get; set; }
#endregion
#region 扩展操作
///
/// 新增调用
///
public override void Create()
{
this.OrderEntryId = Guid.NewGuid().ToString();
}
///
/// 编辑调用
///
///
public override void Modify(string keyValue)
{
this.OrderEntryId = keyValue;
}
#endregion
}
}