|
|
@ -16,14 +16,18 @@ namespace Win.Sfs.SettleAccount.Entities.Prices |
|
|
|
|
|
|
|
public decimal SapPrice { set; get; } |
|
|
|
} |
|
|
|
public class PriceList:FullAuditedAggregateRootBase<Guid> |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 销售价格
|
|
|
|
/// </summary>
|
|
|
|
public class PriceList : FullAuditedAggregateRootBase<Guid> |
|
|
|
{ |
|
|
|
public PriceList() |
|
|
|
{ } |
|
|
|
public PriceList(Guid Id,DateTime beginDate, DateTime endDate, decimal price, string materialCode, int type,Guid parentId,string version, string customerCode) :base(Id) |
|
|
|
public PriceList(Guid Id, DateTime beginDate, DateTime endDate, decimal price, string materialCode, int type, Guid parentId, string version, string customerCode) : base(Id) |
|
|
|
{ |
|
|
|
BeginDate = beginDate; |
|
|
|
EndDate = endDate; |
|
|
|
BeginTime = beginDate; |
|
|
|
EndTime = endDate; |
|
|
|
Price = price; |
|
|
|
MaterialCode = materialCode; |
|
|
|
Type = type; |
|
|
@ -32,51 +36,76 @@ namespace Win.Sfs.SettleAccount.Entities.Prices |
|
|
|
CustomerCode = customerCode; |
|
|
|
} |
|
|
|
|
|
|
|
public void Set(DateTime beginDate, DateTime endDate, decimal price, string materialCode, int type,string customerCode) |
|
|
|
public void Set(DateTime beginDate, DateTime endDate, decimal price, string materialCode, int type, string customerCode) |
|
|
|
{ |
|
|
|
BeginDate = beginDate; |
|
|
|
EndDate = endDate; |
|
|
|
BeginTime = beginDate; |
|
|
|
EndTime = endDate; |
|
|
|
Price = price; |
|
|
|
MaterialCode = materialCode; |
|
|
|
Type = type; |
|
|
|
CustomerCode = customerCode; |
|
|
|
} |
|
|
|
public void Update(Guid id,string version) |
|
|
|
public void Update(Guid id, string version) |
|
|
|
{ |
|
|
|
Id = id; |
|
|
|
Version = version; |
|
|
|
} |
|
|
|
[Display(Name = "客户")] |
|
|
|
public string CustomerCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///版本
|
|
|
|
/// 零件号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "版本")] |
|
|
|
public string Version { set; get; } |
|
|
|
[Display(Name = "零件号")] |
|
|
|
public string LU { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 价格
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "价格")] |
|
|
|
public Decimal Price { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 开始时间
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "开始时间")] |
|
|
|
public DateTime BeginDate { set; get; } |
|
|
|
public DateTime BeginTime { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 结束时间
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "结算时间")] |
|
|
|
public DateTime EndDate { set; get; } |
|
|
|
[Display(Name = "结束时间")] |
|
|
|
public DateTime EndTime { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 价格
|
|
|
|
/// 客户编码
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "价格")] |
|
|
|
public Decimal Price { set; get; } |
|
|
|
[Display(Name = "客户编码")] |
|
|
|
public string ClientCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 业务类别
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "业务类别")] |
|
|
|
public string BusinessType { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///版本
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "版本")] |
|
|
|
public string Version { set; get; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Display(Name = "客户")] |
|
|
|
public string CustomerCode { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 物料编号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "物料编号")] |
|
|
|
public string MaterialCode { set; get; } |
|
|
|
public string MaterialCode { set; get; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 类型
|
|
|
|