|
|
@ -44,6 +44,8 @@ namespace Win.Sfs.SettleAccount.Entities.Prices |
|
|
|
public int Type { get; set; } |
|
|
|
|
|
|
|
public Guid ParentId { set; get; } |
|
|
|
[Display(Name = "客户")] |
|
|
|
public string CustomerCode { get; set; } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
@ -57,68 +59,69 @@ namespace Win.Sfs.SettleAccount.Entities.Prices |
|
|
|
[Display(Name = "版本")] |
|
|
|
[ExporterHeader(DisplayName = "版本")] |
|
|
|
public string Version { set; get; } |
|
|
|
/// <summary>
|
|
|
|
///开始时间
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "开始时间")] |
|
|
|
[ImporterHeader(Name = "有效从")] |
|
|
|
public DateTime BeginDate { get; set; } |
|
|
|
/// <summary>
|
|
|
|
///结算时间
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "结算时间")] |
|
|
|
[ImporterHeader(Name = "有效到")] |
|
|
|
public DateTime EndDate { get; set; } |
|
|
|
/// <summary>
|
|
|
|
///价格
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "价格")] |
|
|
|
[ImporterHeader(Name = "*金额")] |
|
|
|
public decimal Price { get; set; } |
|
|
|
/// <summary>
|
|
|
|
///物料编号
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "物料编号")] |
|
|
|
[ImporterHeader(Name = "*物料编码")] |
|
|
|
public string MaterialCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
///价格类型
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "价格类型")] |
|
|
|
[ImporterHeader(Name = "*分销渠道")] |
|
|
|
public int Type { get; set; } |
|
|
|
|
|
|
|
[ImporterHeader(Name = "*客户")] |
|
|
|
public string CustomerCode { get; set; } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[ImportProject(Name = SettleAccountModuleName.PriceList)] |
|
|
|
public class PriceListImportDto |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 版本
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "版本")] |
|
|
|
public string Version { set; get; } |
|
|
|
///// <summary>
|
|
|
|
///// 版本
|
|
|
|
///// </summary>
|
|
|
|
//[Display(Name = "版本")]
|
|
|
|
//public string Version { set; get; }
|
|
|
|
/// <summary>
|
|
|
|
///开始时间
|
|
|
|
/// </summary>
|
|
|
|
[ImporterHeader(Name = "开始时间")] |
|
|
|
[ImporterHeader(Name = "有效从")] |
|
|
|
public DateTime BeginDate { get; set; } |
|
|
|
/// <summary>
|
|
|
|
///结算时间
|
|
|
|
/// </summary>
|
|
|
|
[ImporterHeader(Name = "结算时间")] |
|
|
|
[ImporterHeader(Name = "有效到")] |
|
|
|
public DateTime EndDate { get; set; } |
|
|
|
/// <summary>
|
|
|
|
///价格
|
|
|
|
/// </summary>
|
|
|
|
[ImporterHeader(Name = "价格")] |
|
|
|
[ImporterHeader(Name = "*金额")] |
|
|
|
public decimal Price { get; set; } |
|
|
|
/// <summary>
|
|
|
|
///物料编号
|
|
|
|
/// </summary>
|
|
|
|
[ImporterHeader(Name = "物料编号")] |
|
|
|
[ImporterHeader(Name = "*物料编码")] |
|
|
|
public string MaterialCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
///价格类型
|
|
|
|
/// </summary>
|
|
|
|
[ImporterHeader(Name = "价格类型")] |
|
|
|
[ImporterHeader(Name = "*分销渠道")] |
|
|
|
public int Type { get; set; } |
|
|
|
[ImporterHeader(Name = "*客户")] |
|
|
|
public string CustomerCode { get; set; } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|