添加基础信息查询的接口
This commit is contained in:
29
NX.ERP.Model/BaseModel.cs
Normal file
29
NX.ERP.Model/BaseModel.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class BaseModel
|
||||
{
|
||||
private string remark1;
|
||||
private string remark2;
|
||||
private string remark3;
|
||||
private string remark4;
|
||||
private string remark5;
|
||||
|
||||
public string Remark1 { get => remark1; set => remark1 = value; }
|
||||
public string Remark2 { get => remark2; set => remark2 = value; }
|
||||
public string Remark3 { get => remark3; set => remark3 = value; }
|
||||
public string Remark4 { get => remark4; set => remark4 = value; }
|
||||
public string Remark5 { get => remark5; set => remark5 = value; }
|
||||
|
||||
// remark1
|
||||
//remark2
|
||||
//remark3
|
||||
//remark4
|
||||
//remark5
|
||||
|
||||
}
|
||||
}
|
||||
@@ -60,6 +60,10 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BaseModel.cs" />
|
||||
<Compile Include="Request\Bin.cs" />
|
||||
<Compile Include="Request\Materiel.cs" />
|
||||
<Compile Include="Request\MaterielType.cs" />
|
||||
<Compile Include="Request\OtherStoreIn.cs" />
|
||||
<Compile Include="Request\OtherStoreInDetail.cs" />
|
||||
<Compile Include="Request\OtherStoreOut.cs" />
|
||||
@@ -68,6 +72,7 @@
|
||||
<Compile Include="Request\ProductStoreInDetail.cs" />
|
||||
<Compile Include="Request\SaleStoreOut.cs" />
|
||||
<Compile Include="Request\SaleStoreOutDetail.cs" />
|
||||
<Compile Include="Request\Warehouse.cs" />
|
||||
<Compile Include="Response\Store\MaterielStoreOut.cs" />
|
||||
<Compile Include="Response\Store\MaterielStoreOutDetail.cs" />
|
||||
<Compile Include="Request\PuStoreIn.cs" />
|
||||
|
||||
35
NX.ERP.Model/Request/Bin.cs
Normal file
35
NX.ERP.Model/Request/Bin.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using NX.ERP.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Request
|
||||
{
|
||||
public class Bin : BaseModel
|
||||
{
|
||||
|
||||
|
||||
// warehouse_code
|
||||
//region_code
|
||||
//bin_code
|
||||
|
||||
private string _BinCode;
|
||||
private string _BinName;
|
||||
|
||||
private string _cBarCode;
|
||||
|
||||
|
||||
|
||||
|
||||
public string BinCode { get => _BinCode; set => _BinCode = value; }
|
||||
|
||||
|
||||
public string RegionCode { get; set; }
|
||||
|
||||
public string WarehouseCode { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
25
NX.ERP.Model/Request/Materiel.cs
Normal file
25
NX.ERP.Model/Request/Materiel.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Request
|
||||
{
|
||||
public class Materiel
|
||||
{
|
||||
private string _code;
|
||||
private string _name;
|
||||
|
||||
public string MaterielCode { get => _code; set => _code = value; }
|
||||
public string MaterielName { get => _name; set => _name = value; }
|
||||
|
||||
|
||||
public string MaterielTypeCode { get; set; }
|
||||
|
||||
public string SpecsModel { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
20
NX.ERP.Model/Request/MaterielType.cs
Normal file
20
NX.ERP.Model/Request/MaterielType.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Request
|
||||
{
|
||||
public class MaterielType: BaseModel
|
||||
{
|
||||
private string materielTypeCode;
|
||||
private string materielTypeName;
|
||||
private int? _level;
|
||||
private int? _isEnd;
|
||||
|
||||
public string MaterielTypeCode { get => materielTypeCode; set => materielTypeCode = value; }
|
||||
public string MaterielTypeName { get => materielTypeName; set => materielTypeName = value; }
|
||||
public int? Level { get => _level; set => _level = value; }
|
||||
public int? IsEnd { get => _isEnd; set => _isEnd = value; }
|
||||
}
|
||||
}
|
||||
16
NX.ERP.Model/Request/Warehouse.cs
Normal file
16
NX.ERP.Model/Request/Warehouse.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Request
|
||||
{
|
||||
public class Warehouse : BaseModel
|
||||
{
|
||||
private string warehouse_code;
|
||||
private string warehouse_name;
|
||||
|
||||
public string WarehouseCode { get => warehouse_code; set => warehouse_code = value; }
|
||||
public string WarehouseName { get => warehouse_name; set => warehouse_name = value; }
|
||||
}
|
||||
}
|
||||
@@ -5,26 +5,24 @@ using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class Bin
|
||||
public class Bin:BaseModel
|
||||
{
|
||||
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 Code { get => _BinCode; set => _BinCode = value; }
|
||||
public string Name { get => _BinName; set => _BinName = value; }
|
||||
public string IsPosGrade { get => _IsPosGrade; set => _IsPosGrade = value; }
|
||||
public bool BPosEnd { get => _bPosEnd; set => _bPosEnd = value; }
|
||||
public string WhCode { 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; }
|
||||
|
||||
|
||||
|
||||
public string BinCode { get => _BinCode; set => _BinCode = value; }
|
||||
public string BinName { get => _BinName; set => _BinName = value; }
|
||||
|
||||
public string RegionCode { get; set; }
|
||||
|
||||
public string WarehouseCode { get; set; }
|
||||
|
||||
|
||||
public string BarCode { get => _cBarCode; set => _cBarCode = value; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,30 +16,46 @@ namespace NX.ERP.Model
|
||||
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 Code { get => _code; set => _code = value; }
|
||||
public string Name { get => _name; set => _name = value; }
|
||||
public string MaterielCode { get => _code; set => _code = value; }
|
||||
public string MaterielName { get => _name; set => _name = value; }
|
||||
|
||||
|
||||
public string MaterielTypeCode { get; set; }
|
||||
|
||||
public string SpecsModel { get; set; }
|
||||
|
||||
public string UnitCode { get => unitCode; set => unitCode = value; }
|
||||
|
||||
|
||||
public int MinPackageQty { get; set; }
|
||||
|
||||
public int TaxRate { get; set; }
|
||||
|
||||
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; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public double InvNCost { get; set; }
|
||||
/// <summary>
|
||||
@@ -55,5 +71,6 @@ namespace NX.ERP.Model
|
||||
public double ImpTaxRate { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,12 +5,16 @@ using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class MaterielType
|
||||
public class MaterielType: BaseModel
|
||||
{
|
||||
private string materielTypeCode;
|
||||
private string materielTypeName;
|
||||
private int _level;
|
||||
private bool _isEnd;
|
||||
|
||||
public string Code { get => materielTypeCode; set => materielTypeCode = value; }
|
||||
public string Name { get => materielTypeName; set => materielTypeName = value; }
|
||||
public string MaterielTypeCode { get => materielTypeCode; set => materielTypeCode = value; }
|
||||
public string MaterielTypeName { get => materielTypeName; set => materielTypeName = value; }
|
||||
public int Level { get => _level; set => _level = value; }
|
||||
public bool IsEnd { get => _isEnd; set => _isEnd = value; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,12 +5,12 @@ using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class Warehouse
|
||||
public class Warehouse: BaseModel
|
||||
{
|
||||
private string _WarehouseCode;
|
||||
private string _WarehouseName;
|
||||
|
||||
public string Code { get => _WarehouseCode; set => _WarehouseCode = value; }
|
||||
public string Name { get => _WarehouseName; set => _WarehouseName = value; }
|
||||
public string WarehouseCode { get => _WarehouseCode; set => _WarehouseCode = value; }
|
||||
public string WarehouseName { get => _WarehouseName; set => _WarehouseName = value; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user