修正项目结构
This commit is contained in:
28
NX.ERP.Model/Response/Store/MaterielStoreOut.cs
Normal file
28
NX.ERP.Model/Response/Store/MaterielStoreOut.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class MaterielStoreOut
|
||||
{
|
||||
private int id;
|
||||
private string code;
|
||||
private string whcode;
|
||||
private string proorderid;
|
||||
private DateTime date;
|
||||
private string sourceCode;
|
||||
private string source;
|
||||
private IList<MaterielStoreOutDetail> details;
|
||||
|
||||
public int Id { get => id; set => id = value; }
|
||||
public string Code { get => code; set => code = value; }
|
||||
public string Whcode { get => whcode; set => whcode = value; }
|
||||
public string Proorderid { get => proorderid; set => proorderid = value; }
|
||||
public string SourceCode { get => sourceCode; set => sourceCode = value; }
|
||||
public string Source { get => source; set => source = value; }
|
||||
public DateTime Date { get => date; set => date = value; }
|
||||
public IList<MaterielStoreOutDetail> Details { get => details; set => details = value; }
|
||||
}
|
||||
}
|
||||
21
NX.ERP.Model/Response/Store/MaterielStoreOutDetail.cs
Normal file
21
NX.ERP.Model/Response/Store/MaterielStoreOutDetail.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Request
|
||||
{
|
||||
public class MaterielStoreOutDetail
|
||||
{
|
||||
|
||||
private double quantity;
|
||||
private string binCode;
|
||||
private string cinvcode;
|
||||
public int sorceDetailId { get; set; }
|
||||
|
||||
|
||||
public double Quantity { get => quantity; set => quantity = value; }
|
||||
public string Position { get => binCode; set => binCode = value; }
|
||||
public string Cinvcode { get => cinvcode; set => cinvcode = value; }
|
||||
}
|
||||
}
|
||||
15
NX.ERP.Model/Response/Store/OtherStoreIn.cs
Normal file
15
NX.ERP.Model/Response/Store/OtherStoreIn.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class OtherStoreInOut
|
||||
{
|
||||
public string Code { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public string WhCode { get; set; }
|
||||
public IList<OtherStoreInOutDetail> details = new List<OtherStoreInOutDetail>();
|
||||
}
|
||||
}
|
||||
15
NX.ERP.Model/Response/Store/OtherStoreInDetail.cs
Normal file
15
NX.ERP.Model/Response/Store/OtherStoreInDetail.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class OtherStoreInOutDetail
|
||||
{
|
||||
public string InvCode { get; set; }
|
||||
public double Quantity { get; set; }
|
||||
public string Position { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
12
NX.ERP.Model/Response/Store/OtherStoreOut.cs
Normal file
12
NX.ERP.Model/Response/Store/OtherStoreOut.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class OtherStoreOut
|
||||
{
|
||||
public ICollection<OtherStoreOutDetail> details = new List<OtherStoreOutDetail>();
|
||||
}
|
||||
}
|
||||
11
NX.ERP.Model/Response/Store/OtherStoreOutDetail.cs
Normal file
11
NX.ERP.Model/Response/Store/OtherStoreOutDetail.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class OtherStoreOutDetail
|
||||
{
|
||||
}
|
||||
}
|
||||
16
NX.ERP.Model/Response/Store/ProductStoreIn.cs
Normal file
16
NX.ERP.Model/Response/Store/ProductStoreIn.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class ProductStoreIn
|
||||
{
|
||||
public DateTime Date { get; set; }
|
||||
public string Source { get; set; }
|
||||
public string SourceCode { get; set; }
|
||||
public string WhCode { get; set; }
|
||||
public IList<ProductStoreInDetail> Details { get; set; } = new List<ProductStoreInDetail>();
|
||||
}
|
||||
}
|
||||
16
NX.ERP.Model/Response/Store/ProductStoreInDetail.cs
Normal file
16
NX.ERP.Model/Response/Store/ProductStoreInDetail.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class ProductStoreInDetail
|
||||
{
|
||||
public string InvCode { get; set; }
|
||||
public int Quantity { get; set; }
|
||||
public string Batch { get; set; }
|
||||
public string Position { get; set; }
|
||||
public int SourceDetailId { get; set; }
|
||||
}
|
||||
}
|
||||
45
NX.ERP.Model/Response/Store/PuStoreIn.cs
Normal file
45
NX.ERP.Model/Response/Store/PuStoreIn.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
/// <summary>
|
||||
/// 采购入库单
|
||||
/// </summary>
|
||||
public class PuStoreIn
|
||||
{
|
||||
|
||||
private int id;
|
||||
private string code;
|
||||
private DateTime date;
|
||||
private string depcode;
|
||||
private string whcode;
|
||||
private IList<PuStoreInDetail> puStoreInDetails = new List<PuStoreInDetail>();
|
||||
private string _puCode;
|
||||
private string maker;
|
||||
private string personCode;
|
||||
public IList<PuStoreInDetail> Details { get => puStoreInDetails; set => puStoreInDetails = value; }
|
||||
public int Id { get => id; set => id = value; }
|
||||
public string Code { get => code; set => code = value; }
|
||||
public DateTime Date { get => date; set => date = value; }
|
||||
public string Depcode { get => depcode; set => depcode = value; }
|
||||
public string Whcode { get => whcode; set => whcode = value; }
|
||||
public string PuCode { get => _puCode; set => _puCode = value; }
|
||||
public string Maker { get => maker; set => maker = value; }
|
||||
public string PersonCode { get => personCode; set => personCode = value; }
|
||||
public string RdCode { get; set; }
|
||||
public string SupplierName { get; set; }
|
||||
public string SupplierCode { get; set; }
|
||||
/// <summary>
|
||||
/// 源单类别
|
||||
/// </summary>
|
||||
public string Source { get; set; }
|
||||
/// <summary>
|
||||
/// 源单编号
|
||||
/// </summary>
|
||||
public string SourceCode { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
27
NX.ERP.Model/Response/Store/PuStoreInDetail.cs
Normal file
27
NX.ERP.Model/Response/Store/PuStoreInDetail.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class PuStoreInDetail
|
||||
{
|
||||
private int id;
|
||||
private int puStoreInId;
|
||||
private string invcode;
|
||||
private string unit;
|
||||
private double quantity;
|
||||
public string Batch { get; set; }
|
||||
|
||||
public int Id { get => id; set => id = value; }
|
||||
public int PuStoreInId { get => puStoreInId; set => puStoreInId = value; }
|
||||
public string Invcode { get => invcode; set => invcode = value; }
|
||||
public string Unit { get => unit; set => unit = value; }
|
||||
public double Quantity { get => quantity; set => quantity = value; }
|
||||
|
||||
public string Position { get; set; }
|
||||
|
||||
public int SorceDetailId { get; set; }
|
||||
}
|
||||
}
|
||||
17
NX.ERP.Model/Response/Store/SaleStoreOut.cs
Normal file
17
NX.ERP.Model/Response/Store/SaleStoreOut.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class SaleStoreOut
|
||||
{
|
||||
public string Code { get; set; }
|
||||
public string Source { get; set; }
|
||||
public string SourceCode { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public string WhCode { get; set; }
|
||||
public IList<SaleStoreOutDetail> Details { get; set; } = new List<SaleStoreOutDetail>();
|
||||
}
|
||||
}
|
||||
16
NX.ERP.Model/Response/Store/SaleStoreOutDetail.cs
Normal file
16
NX.ERP.Model/Response/Store/SaleStoreOutDetail.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Store
|
||||
{
|
||||
public class SaleStoreOutDetail
|
||||
{
|
||||
public string InvCode { get; set; }
|
||||
public double Quantity { get; set; }
|
||||
public string Position { get; set; }
|
||||
public int SourceDetailId { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user