聚合入库接口

This commit is contained in:
admin
2021-01-21 13:42:23 +08:00
parent 0e95475880
commit 9f9e429205
34 changed files with 722 additions and 15 deletions

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.BLL.Model
{
public class Inbound:NX.ERP.Model.BaseModel
{
public string InboundNo { get; set; }
public DateTime InboundDate { get; set; }
public InboundType InboundType { get; set; }
public string WarehouseCode { get; set; }
public string SourceNo { get; set; }
public string SourceName { get; set; }
public IEnumerable<InboundDetail> InboundDtlLst { get; set; }
public string Maker { get; set; }
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.BLL.Model
{
public class InboundDetail
{
public string MaterialCode { get; set; }
public double Qty { get; set; }
public int SourceDtlId { get; set; }
public string BinCode { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.BLL.Model
{
public enum InboundType
{
PurchaseIn = 1,
productIn = 2,
OtherIn = 3
}
}

View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.BLL.Model
{
public class OutBound
{
public string OutboundNo { get; set; }
public DateTime OutboundDate { get; set; }
public OutBoundType OutBoundType { get; set; }
public string WarehouseCode { get; set; }
public string SourceNo { get; set; }
public string SourceName { get; set; }
public string Maker { get; set; }
public List<OutBoundDetail> OutboundDtlLst { get; set; }
// outbound_no
//outbound_date
//outbound_type
//warehouse_code
//source_no
//source_name
//maker
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.BLL.Model
{
public class OutBoundDetail
{
public string MaterialCode { get; set; }
public double Qty { get; set; }
public string BinCode { get; set; }
public int SourceDtlId { get; set; }
// material_code
//qty
//source_dtl_id
//bin_code
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.BLL.Model
{
public enum OutBoundType
{
SaleOut=1,
MaterielOut=2,
OtherOut=3
//1:销售出库;2:原材料出库;3:其它出库
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.BLL.Model
{
public class StoreResult
{
public int ID { get; set; }
}
}