修改基础资料
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="BaseModel.cs" />
|
||||
<Compile Include="Request\Bin.cs" />
|
||||
<Compile Include="Request\Customer.cs" />
|
||||
<Compile Include="Request\Materiel.cs" />
|
||||
<Compile Include="Request\MaterielType.cs" />
|
||||
<Compile Include="Request\OtherStoreIn.cs" />
|
||||
@@ -72,6 +73,8 @@
|
||||
<Compile Include="Request\ProductStoreInDetail.cs" />
|
||||
<Compile Include="Request\SaleStoreOut.cs" />
|
||||
<Compile Include="Request\SaleStoreOutDetail.cs" />
|
||||
<Compile Include="Request\Supplier.cs" />
|
||||
<Compile Include="Request\Unit.cs" />
|
||||
<Compile Include="Request\Warehouse.cs" />
|
||||
<Compile Include="Response\Store\MaterielStoreOut.cs" />
|
||||
<Compile Include="Response\Store\MaterielStoreOutDetail.cs" />
|
||||
|
||||
17
NX.ERP.Model/Request/Customer.cs
Normal file
17
NX.ERP.Model/Request/Customer.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Request
|
||||
{
|
||||
public class Customer:BaseModel
|
||||
{
|
||||
private string customerCode;
|
||||
private string customerName;
|
||||
|
||||
public string CustomerCode { get => customerCode; set => customerCode = value; }
|
||||
|
||||
public string CustomerName { get => customerName; set => customerName = value; }
|
||||
}
|
||||
}
|
||||
18
NX.ERP.Model/Request/Supplier.cs
Normal file
18
NX.ERP.Model/Request/Supplier.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Request
|
||||
{
|
||||
public class Supplier:BaseModel
|
||||
{
|
||||
private string supplierCode;
|
||||
private string supplierName;
|
||||
|
||||
|
||||
public string SupplierCode { get => supplierCode; set => supplierCode = value; }
|
||||
public string SupplierName { get => supplierName; set => supplierName = value; }
|
||||
|
||||
}
|
||||
}
|
||||
19
NX.ERP.Model/Request/Unit.cs
Normal file
19
NX.ERP.Model/Request/Unit.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NX.ERP.Model.Request
|
||||
{
|
||||
public class Unit:BaseModel
|
||||
{
|
||||
private string unitCode;
|
||||
private string unitName;
|
||||
|
||||
|
||||
|
||||
public string UnitCode { get => unitCode; set => unitCode = value; }
|
||||
public string UnitName { get => unitName; set => unitName = value; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@ using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class Customer
|
||||
public class Customer:BaseModel
|
||||
{
|
||||
private string customerCode;
|
||||
private string customerName;
|
||||
@@ -13,11 +13,11 @@ namespace NX.ERP.Model
|
||||
private string address;
|
||||
private string contract;
|
||||
private string contractPhone;
|
||||
public string Code { get => customerCode; set => customerCode = value; }
|
||||
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 Name { get => customerName; set => customerName = value; }
|
||||
public string CustomerName { get => customerName; set => customerName = value; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,18 +5,20 @@ using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class Supplier
|
||||
public class Supplier:BaseModel
|
||||
{
|
||||
private string supplierCode;
|
||||
private string supplierName;
|
||||
private string postalCode;
|
||||
|
||||
private string address;
|
||||
private string contract;
|
||||
|
||||
public string Code { get => supplierCode; set => supplierCode = value; }
|
||||
public string Name { get => supplierName; set => supplierName = value; }
|
||||
public string PostalCode { get => postalCode; set => postalCode = value; }
|
||||
public string SupplierCode { get => supplierCode; set => supplierCode = value; }
|
||||
public string SupplierName { get => supplierName; set => supplierName = value; }
|
||||
|
||||
public string Address { get => address; set => address = value; }
|
||||
public string Contract { get => contract; set => contract = value; }
|
||||
|
||||
public string ContractPhone { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,16 +5,19 @@ using System.Text;
|
||||
|
||||
namespace NX.ERP.Model
|
||||
{
|
||||
public class Unit
|
||||
public class Unit:BaseModel
|
||||
{
|
||||
private string unitCode;
|
||||
private string unitName;
|
||||
private bool mainUnit;
|
||||
private string groupCode;
|
||||
|
||||
public string Code { get => unitCode; set => unitCode = value; }
|
||||
public string Name { get => unitName; set => unitName = value; }
|
||||
|
||||
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; }
|
||||
|
||||
public decimal Changerate { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user