修改模型定义错误

This commit is contained in:
gongxh
2021-11-26 10:50:12 +08:00
parent ec80f62af1
commit 5b448c8476

View File

@@ -13,7 +13,7 @@ namespace NX.ERP.Model
private decimal wide; private decimal wide;
private decimal height; private decimal height;
private int volume; private int volume;
private int weight; private float weight;
private double unitPrice; private double unitPrice;
private string unitCode; private string unitCode;
@@ -44,7 +44,7 @@ namespace NX.ERP.Model
[Newtonsoft.Json.JsonIgnore] [Newtonsoft.Json.JsonIgnore]
public int Volume { get => volume; set => volume = value; } public int Volume { get => volume; set => volume = value; }
public int Weight { get => weight; set => weight = value; } public float Weight { get => weight; set => weight = value; }
[Newtonsoft.Json.JsonIgnore] [Newtonsoft.Json.JsonIgnore]
public double UnitPrice { get => unitPrice; set => unitPrice = value; } public double UnitPrice { get => unitPrice; set => unitPrice = value; }