From 0a4fdc2b4d0f5fb7d16fbd0182bef305105e3eae Mon Sep 17 00:00:00 2001
From: payne <bzrlw2012@163.com>
Date: 周二, 23 4月 2024 18:44:36 +0800
Subject: [PATCH] 调整库位实体 新增容器 容器类型实体

---
 iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsPlace.cs |   84 +++++++++++------------------------------
 1 files changed, 23 insertions(+), 61 deletions(-)

diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsPlace.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsPlace.cs
index 7fd3bab..ce90057 100644
--- a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsPlace.cs
+++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsPlace.cs
@@ -4,7 +4,7 @@
 
 /*
  * @author : 鍒樻枃濂�
- * @date : 2024/4/23涓嬪崍6:13:28
+ * @date : 2024/4/23涓嬪崍6:30:44
  * @desc : 搴撲綅琛�
  */
 namespace Admin.NET.Core
@@ -32,7 +32,7 @@
         /// </summary>
         [Comment("搴撲綅鍚嶇О")]
         [Required]
-        [MaxLength(255)]
+        [MaxLength(50)]
         public string PlaceName { get; set; }
 
 
@@ -40,7 +40,7 @@
         /// 搴撲綅鍒悕
         /// </summary>
         [Comment("搴撲綅鍒悕")]
-        [MaxLength(255)]
+        [MaxLength(50)]
         public string PlaceAlias { get; set; }
 
 
@@ -54,19 +54,20 @@
 
 
         /// <summary>
-        /// 瀛樻斁鍗曚綅
-        /// </summary>
-        [Comment("瀛樻斁鍗曚綅")]
-        [MaxLength(255)]
-        public string StockUnit { get; set; }
-
-
-        /// <summary>
         /// 搴撲綅绫诲瀷鍚嶇О
         /// </summary>
         [Comment("搴撲綅绫诲瀷鍚嶇О")]
+        [Required]
         [MaxLength(50)]
         public string PlaceTypeName { get; set; }
+
+
+        /// <summary>
+        /// 瀛樻斁鍗曚綅
+        /// </summary>
+        [Comment("瀛樻斁鍗曚綅")]
+        [MaxLength(50)]
+        public string StockUnit { get; set; }
 
 
         /// <summary>
@@ -76,46 +77,6 @@
         [Required]
 
         public int PlaceStatus { get; set; }
-
-
-        /// <summary>
-        /// 鏉$爜绾х鎺�
-        /// </summary>
-        [Comment("鏉$爜绾х鎺�")]
-
-        public bool? IsBarcodeLevelControl { get; set; }
-
-
-        /// <summary>
-        /// 鍏佽娣锋穯
-        /// </summary>
-        [Comment("鍏佽娣锋穯")]
-
-        public bool? IsAllowConfusion { get; set; }
-
-
-        /// <summary>
-        /// 鍏佽璐熷簱瀛�
-        /// </summary>
-        [Comment("鍏佽璐熷簱瀛�")]
-
-        public bool? IsAllowNegativeInventory { get; set; }
-
-
-        /// <summary>
-        /// 妫�楠屽厛杩涘厛鍑�
-        /// </summary>
-        [Comment("妫�楠屽厛杩涘厛鍑�")]
-
-        public bool? IsFIFO { get; set; }
-
-
-        /// <summary>
-        /// 闆朵欢绾х鎺�
-        /// </summary>
-        [Comment("闆朵欢绾х鎺�")]
-
-        public bool? IsPartLevelControl { get; set; }
 
 
         /// <summary>
@@ -199,6 +160,15 @@
 
 
         /// <summary>
+        /// 搴撳尯缂栧彿
+        /// </summary>
+        [Comment("搴撳尯缂栧彿")]
+        [Required]
+        [MaxLength(50)]
+        public string AreaCode { get; set; }
+
+
+        /// <summary>
         /// 鎵�鍦ㄥ簱鍖�
         /// </summary>
         [Comment("鎵�鍦ㄥ簱鍖�")]
@@ -211,7 +181,8 @@
         /// 搴撳尯鍚嶇О
         /// </summary>
         [Comment("搴撳尯鍚嶇О")]
-        [MaxLength(255)]
+        [Required]
+        [MaxLength(50)]
         public string AreaName { get; set; }
 
 
@@ -317,15 +288,6 @@
         [Required]
         [Column("MaxWeight", TypeName = "decimal(10,3)")]
         public decimal MaxWeight { get; set; }
-
-
-        /// <summary>
-        /// 搴撲綅楂樺害灞炴��
-        /// </summary>
-        [Comment("搴撲綅楂樺害灞炴��")]
-        [Required]
-
-        public int HeightLevel { get; set; }
 
 
         /// <summary>

--
Gitblit v1.9.3