This commit is contained in:
gongxh
2021-03-23 15:06:34 +08:00
parent 7e48441739
commit 27fccb1674
18 changed files with 267 additions and 50 deletions

View File

@@ -7,17 +7,17 @@ namespace NX.ERP.Model
{
public class BaseModel
{
private string remark1;
private string remark2;
private string remark3;
private string remark4;
private string remark5;
//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; }
//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

View File

@@ -62,6 +62,8 @@
<ItemGroup>
<Compile Include="BaseBill.cs" />
<Compile Include="BaseModel.cs" />
<Compile Include="Request\BinChange.cs" />
<Compile Include="Response\Store\Stock.cs" />
<Compile Include="TimestampConverter.cs" />
<Compile Include="Request\Arrival.cs" />
<Compile Include="Request\Bin.cs" />

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Request
{
public class BinChangeDetail
{
public string InvCode;
public string SoucePositon;
public string DestPostion;
public float Qty;
}
public class BinChange
{
public string whCode { get; set; }
public IList<BinChangeDetail> binChangeDetails = new List<BinChangeDetail>();
}
}

View File

@@ -45,6 +45,10 @@ namespace NX.ERP.Model.Purchase
public double oritaxprice { get; set; }
[Newtonsoft.Json.JsonIgnore]
public double orisum { get; set; }
[Newtonsoft.Json.JsonIgnore]
public double sum { get; set; }
[Newtonsoft.Json.JsonIgnore]
public int Iverifystateex { get => iverifystateex; set => iverifystateex = value; }

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Response.Store
{
public class Stock
{
//a.cInvCode,a.cPosCode,c.cPosName,(isnull(a.iQuantity,0)-isnull(b.iQuantity,0)) as iQuantity
private string materialCode;
private string binName;
private string _Qty;
public string MaterialCode { get => materialCode; set => materialCode = value; }
public string BinName { get => binName; set => binName = value; }
public string Qty { get => _Qty; set => _Qty = value; }
}
}