修正项目结构
This commit is contained in:
30
NX.ERP.Model/Response/Base/Bin.cs
Normal file
30
NX.ERP.Model/Response/Base/Bin.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class Bin
|
||||
{
|
||||
private string _BinCode;
|
||||
private string _BinName;
|
||||
private string _IsPosGrade;
|
||||
private bool _bPosEnd;
|
||||
private string _WarehouseCode;
|
||||
private int _VolumeLimit;
|
||||
private int _WeightLimit;
|
||||
private string _cMemo;
|
||||
private string _cBarCode;
|
||||
|
||||
public string BinCode { get => _BinCode; set => _BinCode = value; }
|
||||
public string BinName { get => _BinName; set => _BinName = value; }
|
||||
public string IsPosGrade { get => _IsPosGrade; set => _IsPosGrade = value; }
|
||||
public bool BPosEnd { get => _bPosEnd; set => _bPosEnd = value; }
|
||||
public string WarehouseCode { get => _WarehouseCode; set => _WarehouseCode = value; }
|
||||
public int VolumeLimit { get => _VolumeLimit; set => _VolumeLimit = value; }
|
||||
public int WeightLimit { get => _WeightLimit; set => _WeightLimit = value; }
|
||||
public string CMemo { get => _cMemo; set => _cMemo = value; }
|
||||
public string CBarCode { get => _cBarCode; set => _cBarCode = value; }
|
||||
}
|
||||
}
|
||||
23
NX.ERP.Model/Response/Base/Customer.cs
Normal file
23
NX.ERP.Model/Response/Base/Customer.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class Customer
|
||||
{
|
||||
private string customerCode;
|
||||
private string customerName;
|
||||
private string postalCode;
|
||||
private string address;
|
||||
private string contract;
|
||||
private string contractPhone;
|
||||
public string CustomerCode { get => customerCode; set => customerCode = value; }
|
||||
public string PostalCode { get => postalCode; set => postalCode = value; }
|
||||
public string Address { get => address; set => address = value; }
|
||||
public string Contract { get => contract; set => contract = value; }
|
||||
public string ContractPhone { get => contractPhone; set => contractPhone = value; }
|
||||
public string CustomerName { get => customerName; set => customerName = value; }
|
||||
}
|
||||
}
|
||||
39
NX.ERP.Model/Response/Base/Materiel.cs
Normal file
39
NX.ERP.Model/Response/Base/Materiel.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class Materiel
|
||||
{
|
||||
private string materielCode;
|
||||
private string materielName;
|
||||
private decimal length;
|
||||
private decimal wide;
|
||||
private decimal height;
|
||||
private int volume;
|
||||
private int weight;
|
||||
private double unitPrice;
|
||||
private string unitCode;
|
||||
private string specsModel;
|
||||
private int maxStock;
|
||||
private int minStock;
|
||||
private int aql;
|
||||
private int invccode;
|
||||
public string MaterielCode { get => materielCode; set => materielCode = value; }
|
||||
public string MaterielName { get => materielName; set => materielName = value; }
|
||||
public decimal Length { get => length; set => length = value; }
|
||||
public decimal Wide { get => wide; set => wide = value; }
|
||||
public decimal Height { get => height; set => height = value; }
|
||||
public int Volume { get => volume; set => volume = value; }
|
||||
public int Weight { get => weight; set => weight = value; }
|
||||
public double UnitPrice { get => unitPrice; set => unitPrice = value; }
|
||||
public string UnitCode { get => unitCode; set => unitCode = value; }
|
||||
public string SpecsModel { get => specsModel; set => specsModel = value; }
|
||||
public int MaxStock { get => maxStock; set => maxStock = value; }
|
||||
public int MinStock { get => minStock; set => minStock = value; }
|
||||
public int Aql { get => aql; set => aql = value; }
|
||||
public int Invccode { get => invccode; set => invccode = value; }
|
||||
}
|
||||
}
|
||||
16
NX.ERP.Model/Response/Base/MaterielType.cs
Normal file
16
NX.ERP.Model/Response/Base/MaterielType.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class MaterielType
|
||||
{
|
||||
private string materielTypeCode;
|
||||
private string materielTypeName;
|
||||
|
||||
public string MaterielTypeCode { get => materielTypeCode; set => materielTypeCode = value; }
|
||||
public string MaterielTypeName { get => materielTypeName; set => materielTypeName = value; }
|
||||
}
|
||||
}
|
||||
22
NX.ERP.Model/Response/Base/Supplier.cs
Normal file
22
NX.ERP.Model/Response/Base/Supplier.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class Supplier
|
||||
{
|
||||
private string supplierCode;
|
||||
private string supplierName;
|
||||
private string postalCode;
|
||||
private string address;
|
||||
private string contract;
|
||||
|
||||
public string SupplierCode { get => supplierCode; set => supplierCode = value; }
|
||||
public string SupplierName { get => supplierName; set => supplierName = value; }
|
||||
public string PostalCode { get => postalCode; set => postalCode = value; }
|
||||
public string Address { get => address; set => address = value; }
|
||||
public string Contract { get => contract; set => contract = value; }
|
||||
}
|
||||
}
|
||||
20
NX.ERP.Model/Response/Base/Unit.cs
Normal file
20
NX.ERP.Model/Response/Base/Unit.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class Unit
|
||||
{
|
||||
private string unitCode;
|
||||
private string unitName;
|
||||
private bool mainUnit;
|
||||
private string groupCode;
|
||||
|
||||
public string UnitCode { get => unitCode; set => unitCode = value; }
|
||||
public string UnitName { get => unitName; set => unitName = value; }
|
||||
public bool MainUnit { get => mainUnit; set => mainUnit = value; }
|
||||
public string GroupCode { get => groupCode; set => groupCode = value; }
|
||||
}
|
||||
}
|
||||
16
NX.ERP.Model/Response/Base/Warehouse.cs
Normal file
16
NX.ERP.Model/Response/Base/Warehouse.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class Warehouse
|
||||
{
|
||||
private string _WarehouseCode;
|
||||
private string _WarehouseName;
|
||||
|
||||
public string WarehouseCode { get => _WarehouseCode; set => _WarehouseCode = value; }
|
||||
public string WarehouseName { get => _WarehouseName; set => _WarehouseName = value; }
|
||||
}
|
||||
}
|
||||
20
NX.ERP.Model/Response/MOM/MoAllocate.cs
Normal file
20
NX.ERP.Model/Response/MOM/MoAllocate.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.MOM
|
||||
{
|
||||
public class MoAllocate
|
||||
{
|
||||
private int id;
|
||||
private string invCode;
|
||||
private int qty;
|
||||
private int modid;
|
||||
|
||||
public int Id { get => id; set => id = value; }
|
||||
public string InvCode { get => invCode; set => invCode = value; }
|
||||
public int Qty { get => qty; set => qty = value; }
|
||||
public int ModId { get => modid; set => modid = value; }
|
||||
}
|
||||
}
|
||||
20
NX.ERP.Model/Response/MOM/MomDetail.cs
Normal file
20
NX.ERP.Model/Response/MOM/MomDetail.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.MOM
|
||||
{
|
||||
public class MomDetail
|
||||
{
|
||||
private int id;
|
||||
private double qty;
|
||||
private int modid;
|
||||
[JsonIgnore]
|
||||
public ICollection<MoAllocate> moAllocates { get; set; } = new List<MoAllocate>();
|
||||
public int Id { get => id; set => id = value; }
|
||||
public double Qty { get => qty; set => qty = value; }
|
||||
public int Modid { get => modid; set => modid = value; }
|
||||
}
|
||||
}
|
||||
23
NX.ERP.Model/Response/MOM/MomOrder.cs
Normal file
23
NX.ERP.Model/Response/MOM/MomOrder.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Newtonsoft.Json;
|
||||
namespace NX.ERP.Model.MOM
|
||||
{
|
||||
public class MomOrder
|
||||
{
|
||||
private int id;
|
||||
private string code;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
||||
public ICollection<MomDetail> Details { get; set; } = new List<MomDetail>();
|
||||
public int Id { get => id; set => id = value; }
|
||||
public string Code { get => code; set => code = value; }
|
||||
public ICollection<MoAllocate> Allocates { get; set; } = new List<MoAllocate>();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
32
NX.ERP.Model/Response/Purchase/Arrival.cs
Normal file
32
NX.ERP.Model/Response/Purchase/Arrival.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Purchase
|
||||
{
|
||||
/// <summary>
|
||||
/// 到货单
|
||||
/// </summary>
|
||||
public class Arrival
|
||||
{
|
||||
private int id;
|
||||
private string arrivalCode;
|
||||
private DateTime _date;
|
||||
private string supplierCode;
|
||||
|
||||
private ICollection<ArrivalDetail> arrivalDetails = new List<ArrivalDetail>();
|
||||
public int Id { get => id; set => id = value; }
|
||||
public string ArrivalCode { get => arrivalCode; set => arrivalCode = value; }
|
||||
public DateTime Date { get => _date; set => _date = value; }
|
||||
public ICollection<ArrivalDetail> ArrivalDetails { get => arrivalDetails; set => arrivalDetails = value; }
|
||||
public string SupplierCode { get => supplierCode; set => supplierCode = value; }
|
||||
public double ExchRate { get; set; }
|
||||
public string ExchName { get; set; }
|
||||
public string VenCode { get; set; }
|
||||
public double TaxRate { get; set; }
|
||||
public string PTCode { get; set; }
|
||||
public string BusType { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
47
NX.ERP.Model/Response/Purchase/ArrivalDetail.cs
Normal file
47
NX.ERP.Model/Response/Purchase/ArrivalDetail.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Purchase
|
||||
{
|
||||
/// <summary>
|
||||
/// 到货明细
|
||||
/// </summary>
|
||||
public class ArrivalDetail
|
||||
{
|
||||
private int id;
|
||||
private string materielCode;
|
||||
public int Id { get => id; set => id = value; }
|
||||
public int ArrivalID { get => arrivalID; set => arrivalID = value; }
|
||||
public string MaterielCode { get => materielCode; set => materielCode = value; }
|
||||
public string BatchNo { get => batchNo; set => batchNo = value; }
|
||||
public string UnitCode { get => unitCode; set => unitCode = value; }
|
||||
public double Quantity { get => quantity; set => quantity = value; }
|
||||
/// <summary>
|
||||
/// 审批状态2 说明已经审核过了
|
||||
/// </summary>
|
||||
public int Iverifystateex { get => iverifystateex; set => iverifystateex = value; }
|
||||
private int arrivalID;
|
||||
private string batchNo;
|
||||
private string unitCode;
|
||||
private double quantity;
|
||||
private int iverifystateex;
|
||||
|
||||
public int posId { get; set; }
|
||||
|
||||
public string OrderCode { get; set; }
|
||||
public int PoId { get; set; }
|
||||
public double oricost { get; set; }
|
||||
public double oritaxcost { get; set; }
|
||||
public double orimoney { get; set; }
|
||||
public double oritaxprice { get; set; }
|
||||
public double orisum { get; set; }
|
||||
|
||||
|
||||
|
||||
public double cost { get; set; }
|
||||
// b.ioricost as oricost,b.ioritaxcost as oritaxcost ,b.iorimoney as orimoney,b.oritaxprice as oritaxprice,b.iorisum as orisum,
|
||||
|
||||
}
|
||||
}
|
||||
22
NX.ERP.Model/Response/Sale/DispatchList.cs
Normal file
22
NX.ERP.Model/Response/Sale/DispatchList.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Sale
|
||||
{
|
||||
public class DispatchList
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string Code { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
public string CoCode { get; set; }
|
||||
|
||||
public string CusCode { get; set; }
|
||||
|
||||
|
||||
public ICollection<DispatchListDetail> Details { get; set; } = new List<DispatchListDetail>();
|
||||
|
||||
}
|
||||
}
|
||||
20
NX.ERP.Model/Response/Sale/DispatchListDetail.cs
Normal file
20
NX.ERP.Model/Response/Sale/DispatchListDetail.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Sale
|
||||
{
|
||||
public class DispatchListDetail
|
||||
{
|
||||
private int id;
|
||||
private string invCode;
|
||||
private double quantity;
|
||||
private string invName;
|
||||
|
||||
public int Id { get => id; set => id = value; }
|
||||
public string InvCode { get => invCode; set => invCode = value; }
|
||||
public double Quantity { get => quantity; set => quantity = value; }
|
||||
public string InvName { get => invName; set => invName = value; }
|
||||
}
|
||||
}
|
||||
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