From d1bdafe68cff80d5d38bc892ddcc752916998858 Mon Sep 17 00:00:00 2001 From: gongxh Date: Sat, 28 Aug 2021 09:38:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9AQL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NX.ERP.Model/Response/Base/Materiel.cs | 24 ++++++++++++------------ NX.ERP.WebAPi/Web.config | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) 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 @@ - - + +