diff --git a/NX.ERP.Model/Response/Base/Materiel.cs b/NX.ERP.Model/Response/Base/Materiel.cs index 3fe4040..85d533a 100644 --- a/NX.ERP.Model/Response/Base/Materiel.cs +++ b/NX.ERP.Model/Response/Base/Materiel.cs @@ -5,7 +5,7 @@ using System.Text; namespace NX.ERP.Model { - public class Material: BaseModel + public class Material : BaseModel { private string _code; private string _name; @@ -16,11 +16,11 @@ namespace NX.ERP.Model private int weight; private double unitPrice; private string unitCode; - + private int maxStock; private int minStock; - private int aql; - + private string aql; + public string MaterialCode { get => _code; set => _code = value; } public string MaterialName { get => _name; set => _name = value; } @@ -48,16 +48,16 @@ namespace NX.ERP.Model [Newtonsoft.Json.JsonIgnore] public double UnitPrice { get => unitPrice; set => unitPrice = value; } - + public int MaxStock { get => maxStock; set => maxStock = value; } - + public int MinStock { get => minStock; set => minStock = value; } - + public int SafeStock { get; set; } [Newtonsoft.Json.JsonIgnore] - public int Aql { get => aql; set => aql = value; } + public string Aql { get => aql; set => aql = value; } @@ -99,12 +99,12 @@ namespace NX.ERP.Model } } - + public DateTime? ModifyDate { get; set; } - /// - /// 是否采购 - /// + /// + /// 是否采购 + /// public bool IsPurchase { get; set; } [Newtonsoft.Json.JsonIgnore] public bool IsSelf { get; set; } diff --git a/NX.ERP.WebAPi/Web.config b/NX.ERP.WebAPi/Web.config index cede30a..d921d45 100644 --- a/NX.ERP.WebAPi/Web.config +++ b/NX.ERP.WebAPi/Web.config @@ -6,8 +6,8 @@ - - + +