payne
2024-04-24 f78f5686e934249f87bc07cb7bef3c3dbcd950c6
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; }
@@ -50,23 +50,24 @@
        [Comment("库位类型")]
        [Required]
        public int PlaceType { get; set; }
        /// <summary>
        /// 存放单位
        /// </summary>
        [Comment("存放单位")]
        [MaxLength(255)]
        public string StockUnit { get; set; }
        public PlaceTypeEnum PlaceType { get; set; }
        /// <summary>
        /// 库位类型名称
        /// </summary>
        [Comment("库位类型名称")]
        [Required]
        [MaxLength(50)]
        public string PlaceTypeName { get; set; }
        /// <summary>
        /// 存放单位
        /// </summary>
        [Comment("存放单位")]
        [MaxLength(50)]
        public string StockUnit { get; set; }
        /// <summary>
@@ -75,47 +76,7 @@
        [Comment("库位属性")]
        [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; }
        public PlaceStatusEnum PlaceStatus { 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>