using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tnb.WarehouseMgr.Entities.Dto.ErpInputs { public class PurchaseArriveInput { /// /// 入库仓库 /// public string? warehouse { get; set; } /// /// 供应商代码 /// public string? supplier_code { get; set; } /// /// 来源单据ID /// public string? source_id { get; set; } /// /// 来源单据代码 /// public string? source_code { get; set; } /// /// 供货日期 /// public DateTime delivery_date { get; set; } = DateTime.Now; /// /// 运输方式 /// public string? shipping_method { get; set; } public List details { get; set; } } public class PurchaseArriveDetail { /// /// 物品代码 /// public string material_code { get; set; } = string.Empty; /// /// 采购数量 /// public decimal purchase_qty { get; set; } /// /// 已到货数量 /// public decimal purchase_prqty { get; set; } /// /// 批次 /// public string? code_batch { get; set; } /// /// 本次到货数量 /// public decimal purchase_arriveqty { get; set; } /// /// 箱号 /// public string? container_no { get; set; } } }