huangxiaoqiang
7 小时以前 960b33fa24c47a330e51a2c24859d681ae62caeb
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/BasicModel/DtBoxingInfo_Hty.cs
@@ -23,22 +23,25 @@
        public string PalletCode { get; set; }
        /// <summary>
        /// 货位编码
        /// 物料信息
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "货位编码")]
        public string LocationCode { get; set; }
        [Required]
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料信息")]
        public string MaterielName { get; set; }
        /// <summary>
        /// 是否整出
        /// 组盘状态
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "是否整出")]
        public bool IsFullExit { get; set; } = true;
        /// <summary>
        /// 状态
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "状态")]
        [Required]
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "组盘状态")]
        public int StockStatus { get; set; }
        /// <summary>
        /// 是否满盘
        /// </summary>
        [Required]
        [SugarColumn(IsNullable = true, ColumnDescription = "是否满盘")]
        public bool IsFull { get; set; } = true;
        /// <summary>
        /// 备注
@@ -46,9 +49,29 @@
        [SugarColumn(IsNullable = true, ColumnDescription = "备注")]
        public string Remark { get; set; }
        /// <summary>
        /// 生产产线
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "生产产线")]
        public string ProductionLine { get; set; }
        /// <summary>
        /// 当前工序
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "当前工序")]
        public string ProcessCode { get; set; }
        /// <summary>
        /// 下一工序
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "下一工序")]
        public string NextProcessCode { get; set; }
        /// <summary>
        /// 库存明细
        /// </summary>
        [MinItemsCount(1)] // 检测集合元素最少1个
        [SugarColumn(ColumnName = "BoxingInfoDetails")]
        [Navigate(NavigateType.OneToMany, nameof(DtBoxingInfoDetail_Hty.BoxingInfoId))]
        public List<DtBoxingInfoDetail_Hty>? BoxingInfoDetails { get; set; }