payne
2024-04-24 b8055e2fb3c84d32f01c2f6dc4d8bde4536c6f04
iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsPlace.cs
@@ -4,7 +4,7 @@
/*
 * @author : 刘文奇
 * @date : 2024/4/23下午5:35:14
 * @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,17 +40,68 @@
        /// 库位别名
        /// </summary>
        [Comment("库位别名")]
        [MaxLength(255)]
        public string PlaceNickName { get; set; }
        [MaxLength(50)]
        public string PlaceAlias { get; set; }
        /// <summary>
        /// 库位状态
        /// 库位类型
        /// </summary>
        [Comment("库位状态")]
        [Comment("库位类型")]
        [Required]
        public int PlaceStatus { 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>
        /// 库位属性
        /// </summary>
        [Comment("库位属性")]
        [Required]
        public PlaceStatusEnum PlaceStatus { get; set; }
        /// <summary>
        /// 是否激活与任务调度
        /// </summary>
        [Comment("是否激活与任务调度")]
        public bool? IsActivateWCS { get; set; }
        /// <summary>
        /// 库存环境
        /// </summary>
        [Comment("库存环境")]
        [MaxLength(255)]
        public string Environment { get; set; }
        /// <summary>
        /// 库区编号
        /// </summary>
        [Comment("库区编号")]
        [Required]
        [MaxLength(50)]
        public string AreaCode { get; set; }
        /// <summary>
@@ -66,8 +117,9 @@
        /// 库区名称
        /// </summary>
        [Comment("库区名称")]
        [MaxLength(255)]
        public string WarehouseName { get; set; }
        [Required]
        [MaxLength(50)]
        public string AreaName { get; set; }
        /// <summary>
@@ -115,18 +167,10 @@
        /// <summary>
        /// 堆垛机库位号
        /// </summary>
        [Comment("堆垛机库位号")]
        [MaxLength(50)]
        public string SrmNo { get; set; }
        /// <summary>
        /// 库位X坐标
        /// </summary>
        [Comment("库位X坐标")]
        [MaxLength(50)]
        [MaxLength(255)]
        public string Xzb { get; set; }
@@ -134,7 +178,7 @@
        /// 库位Y坐标
        /// </summary>
        [Comment("库位Y坐标")]
        [MaxLength(50)]
        [MaxLength(255)]
        public string Yzb { get; set; }
@@ -142,7 +186,7 @@
        /// 库位Z坐标
        /// </summary>
        [Comment("库位Z坐标")]
        [MaxLength(50)]
        [MaxLength(255)]
        public string Zzb { get; set; }
@@ -151,7 +195,7 @@
        /// </summary>
        [Comment("库位长度")]
        [Required]
        [Column("Length", TypeName = "decimal(18,2)")]
        [Column("Length", TypeName = "decimal(10,3)")]
        public decimal Length { get; set; }
@@ -160,7 +204,7 @@
        /// </summary>
        [Comment("库位宽度")]
        [Required]
        [Column("Width", TypeName = "decimal(18,2)")]
        [Column("Width", TypeName = "decimal(10,3)")]
        public decimal Width { get; set; }
@@ -169,7 +213,7 @@
        /// </summary>
        [Comment("库位高度")]
        [Required]
        [Column("Height", TypeName = "decimal(18,2)")]
        [Column("Height", TypeName = "decimal(10,3)")]
        public decimal Height { get; set; }
@@ -178,35 +222,44 @@
        /// </summary>
        [Comment("最大承重")]
        [Required]
        [Column("MaxWeight", TypeName = "decimal(18,2)")]
        [Column("MaxWeight", TypeName = "decimal(10,3)")]
        public decimal MaxWeight { get; set; }
        /// <summary>
        /// 库位高度属性
        /// 入库顺序
        /// </summary>
        [Comment("库位高度属性")]
        [Comment("入库顺序")]
        [Required]
        public int HeightLevel { get; set; }
        public int InSequence { get; set; }
        /// <summary>
        /// 优先级
        /// 出库顺序
        /// </summary>
        [Comment("优先级")]
        [Comment("出库顺序")]
        [Required]
        public int Priority { get; set; }
        public int OutSequence { get; set; }
        /// <summary>
        /// 逻辑区域
        /// 是否虚拟
        /// </summary>
        [Comment("逻辑区域")]
        [Comment("是否虚拟")]
        [Required]
        public int LogicalName { get; set; }
        public bool IsVirtually { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        [Comment("是否禁用")]
        [Required]
        public bool IsDisabled { get; set; }