修改模型定义错误
This commit is contained in:
@@ -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; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user