聚合入库接口
This commit is contained in:
25
NX.ERP.BLL/Model/Inbound.cs
Normal file
25
NX.ERP.BLL/Model/Inbound.cs
Normal 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; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
16
NX.ERP.BLL/Model/InboundDetail.cs
Normal file
16
NX.ERP.BLL/Model/InboundDetail.cs
Normal 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; }
|
||||
|
||||
}
|
||||
}
|
||||
14
NX.ERP.BLL/Model/InboundType.cs
Normal file
14
NX.ERP.BLL/Model/InboundType.cs
Normal 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
|
||||
}
|
||||
}
|
||||
30
NX.ERP.BLL/Model/OutBound.cs
Normal file
30
NX.ERP.BLL/Model/OutBound.cs
Normal 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
|
||||
|
||||
}
|
||||
}
|
||||
22
NX.ERP.BLL/Model/OutBoundDetail.cs
Normal file
22
NX.ERP.BLL/Model/OutBoundDetail.cs
Normal 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
|
||||
|
||||
}
|
||||
}
|
||||
16
NX.ERP.BLL/Model/OutBoundType.cs
Normal file
16
NX.ERP.BLL/Model/OutBoundType.cs
Normal 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:其它出库
|
||||
}
|
||||
}
|
||||
12
NX.ERP.BLL/Model/StoreResult.cs
Normal file
12
NX.ERP.BLL/Model/StoreResult.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user