payne
2024-04-23 1023b82f2c6992b1495846ce8b2281f3a6019a54
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/23下午6:13:28
 * @desc : 库位表
 */
namespace Admin.NET.Core
@@ -41,16 +41,161 @@
        /// </summary>
        [Comment("库位别名")]
        [MaxLength(255)]
        public string PlaceNickName { get; set; }
        public string PlaceAlias { get; set; }
        /// <summary>
        /// 库位状态
        /// 库位类型
        /// </summary>
        [Comment("库位状态")]
        [Comment("库位类型")]
        [Required]
        public int PlaceType { get; set; }
        /// <summary>
        /// 存放单位
        /// </summary>
        [Comment("存放单位")]
        [MaxLength(255)]
        public string StockUnit { get; set; }
        /// <summary>
        /// 库位类型名称
        /// </summary>
        [Comment("库位类型名称")]
        [MaxLength(50)]
        public string PlaceTypeName { get; set; }
        /// <summary>
        /// 库位属性
        /// </summary>
        [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; }
        /// <summary>
        /// 是否激活与任务调度
        /// </summary>
        [Comment("是否激活与任务调度")]
        public bool? IsActivateWCS { get; set; }
        /// <summary>
        /// 库存环境
        /// </summary>
        [Comment("库存环境")]
        [MaxLength(255)]
        public string Environment { get; set; }
        /// <summary>
@@ -67,7 +212,7 @@
        /// </summary>
        [Comment("库区名称")]
        [MaxLength(255)]
        public string WarehouseName { get; set; }
        public string AreaName { get; set; }
        /// <summary>
@@ -115,18 +260,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 +271,7 @@
        /// 库位Y坐标
        /// </summary>
        [Comment("库位Y坐标")]
        [MaxLength(50)]
        [MaxLength(255)]
        public string Yzb { get; set; }
@@ -142,7 +279,7 @@
        /// 库位Z坐标
        /// </summary>
        [Comment("库位Z坐标")]
        [MaxLength(50)]
        [MaxLength(255)]
        public string Zzb { get; set; }
@@ -151,7 +288,7 @@
        /// </summary>
        [Comment("库位长度")]
        [Required]
        [Column("Length", TypeName = "decimal(18,2)")]
        [Column("Length", TypeName = "decimal(10,3)")]
        public decimal Length { get; set; }
@@ -160,7 +297,7 @@
        /// </summary>
        [Comment("库位宽度")]
        [Required]
        [Column("Width", TypeName = "decimal(18,2)")]
        [Column("Width", TypeName = "decimal(10,3)")]
        public decimal Width { get; set; }
@@ -169,7 +306,7 @@
        /// </summary>
        [Comment("库位高度")]
        [Required]
        [Column("Height", TypeName = "decimal(18,2)")]
        [Column("Height", TypeName = "decimal(10,3)")]
        public decimal Height { get; set; }
@@ -178,7 +315,7 @@
        /// </summary>
        [Comment("最大承重")]
        [Required]
        [Column("MaxWeight", TypeName = "decimal(18,2)")]
        [Column("MaxWeight", TypeName = "decimal(10,3)")]
        public decimal MaxWeight { get; set; }
@@ -192,21 +329,39 @@
        /// <summary>
        /// 优先级
        /// 入库顺序
        /// </summary>
        [Comment("优先级")]
        [Comment("入库顺序")]
        [Required]
        public int Priority { get; set; }
        public int InSequence { get; set; }
        /// <summary>
        /// 逻辑区域
        /// 出库顺序
        /// </summary>
        [Comment("逻辑区域")]
        [Comment("出库顺序")]
        [Required]
        public int LogicalName { get; set; }
        public int OutSequence { get; set; }
        /// <summary>
        /// 是否虚拟
        /// </summary>
        [Comment("是否虚拟")]
        [Required]
        public bool IsVirtually { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        [Comment("是否禁用")]
        [Required]
        public bool IsDisabled { get; set; }