同步金蝶-代码处理提交
This commit is contained in:
53
src/WMS.Web.Core/Dto/Erp/ErpPurchaseInStockSaveDto.cs
Normal file
53
src/WMS.Web.Core/Dto/Erp/ErpPurchaseInStockSaveDto.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto.Erp
|
||||
{
|
||||
/// <summary>
|
||||
/// 修改采购入库单
|
||||
/// </summary>
|
||||
public class ErpPurchaseInStockSaveDto
|
||||
{
|
||||
public ErpPurchaseInStockSaveDto() { }
|
||||
public ErpPurchaseInStockSaveDto(string id)
|
||||
{
|
||||
this.Id = id;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 单据Id
|
||||
/// </summary>
|
||||
[JsonProperty("FID")]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 明细
|
||||
/// </summary>
|
||||
[JsonProperty("FEntity")]
|
||||
public List<ErpPurchaseInStockDetailsSaveDto> Details { get; set; } = new List<ErpPurchaseInStockDetailsSaveDto>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 明细
|
||||
/// </summary>
|
||||
public class ErpPurchaseInStockDetailsSaveDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 明细Id
|
||||
/// </summary>
|
||||
[JsonProperty("FENTRYID")]
|
||||
public string DetailId { get; set; }
|
||||
/// <summary>
|
||||
/// 采购订单明细Id
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public string PurchaseDetailId { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
[JsonProperty("FRealQty")]
|
||||
public decimal Qty { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user