payne
2024-04-25 b57f4eca1133a7ecad85abf3cff87fe88c366ec2
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/24下午4:54:43
 * @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,111 +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; }
        /// <summary>
        /// 是否堆垛机库位
        /// </summary>
        [Comment("是否堆垛机库位")]
        public bool? IsSrmPlace { get; set; }
        /// <summary>
        /// 堆垛机库位号
        /// </summary>
        [Comment("堆垛机库位号")]
        [MaxLength(50)]
        public string SrmPlaceNo { get; set; }
        /// <summary>
        /// 是否RGV库位
        /// </summary>
        [Comment("是否RGV库位")]
        public bool? IsRgvPlace { get; set; }
        /// <summary>
        /// RGV库位号
        /// </summary>
        [Comment("RGV库位号")]
        [MaxLength(50)]
        public string RgvPlaceNo { get; set; }
        /// <summary>
        /// 是否AGV库位
        /// </summary>
        [Comment("是否AGV库位")]
        public bool? IsAgvPlace { get; set; }
        /// <summary>
        /// AGV库位号
        /// </summary>
        [Comment("AGV库位号")]
        [MaxLength(50)]
        public string AgvPlaceNo { get; set; }
        /// <summary>
        /// 是否输送线库位
        /// </summary>
        [Comment("是否输送线库位")]
        public bool? IsTransPlace { get; set; }
        /// <summary>
        /// 输送线库位号
        /// </summary>
        [Comment("输送线库位号")]
        [MaxLength(50)]
        public string TransPlaceNo { get; set; }
        public PlaceStatusEnum PlaceStatus { get; set; }
        /// <summary>
@@ -199,6 +96,15 @@
        /// <summary>
        /// 库区编号
        /// </summary>
        [Comment("库区编号")]
        [Required]
        [MaxLength(50)]
        public string AreaCode { get; set; }
        /// <summary>
        /// 所在库区
        /// </summary>
        [Comment("所在库区")]
@@ -211,7 +117,8 @@
        /// 库区名称
        /// </summary>
        [Comment("库区名称")]
        [MaxLength(255)]
        [Required]
        [MaxLength(50)]
        public string AreaName { get; set; }
@@ -317,15 +224,6 @@
        [Required]
        [Column("MaxWeight", TypeName = "decimal(10,3)")]
        public decimal MaxWeight { get; set; }
        /// <summary>
        /// 库位高度属性
        /// </summary>
        [Comment("库位高度属性")]
        [Required]
        public int HeightLevel { get; set; }
        /// <summary>