Ver código fonte

添加 BillSpoolTrans 和 BillWarehouseScheduling 类

在 BillSpoolTrans.cs 文件中添加了 BarCode 属性。
在 BillWarehouseScheduling.cs 文件中添加了新的类 BillWarehouseScheduling。
BillWarehouseScheduling 类包含多个属性和注释,并使用了 Tenant 和 SugarTable 特性。
BillWarehouseScheduling 类继承自 BaseModel。
添加了必要的 using 语句以引入相关命名空间。
林豪 左 5 meses atrás
pai
commit
863b86839a

+ 6 - 0
wms.sqlsugar/model/fj/BillSpoolTrans.cs

@@ -96,6 +96,12 @@ namespace wms.sqlsugar.model.fj
         [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
         public string BusName { get; set; }
 
+        /// <summary>
+        /// 业务名称
+        /// </summary>
+        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
+        public string BarCode { get; set; }
+
         /// <summary>
         ///  异常描述信息
         /// </summary>

+ 57 - 0
wms.sqlsugar/model/fj/BillWarehouseScheduling.cs

@@ -0,0 +1,57 @@
+using SqlSugar;
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace wms.sqlsugar.model.fj
+{
+    /// <summary>
+    ///  排库表
+    /// </summary>
+    [Tenant("fj")]
+    [SugarTable("Bill_WarehouseScheduling")]
+    public class BillWarehouseScheduling: BaseModel
+    {
+        /// <summary>
+        ///  垛型主信息Id
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "垛型ID")]
+        public long BomSetGrpId { get; set; }
+
+        /// <summary>
+        ///  垛型名称
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "垛型名称")]
+        public string? BomSetGrpName { get; set; }
+
+        /// <summary>
+        ///  垛型主信息
+        /// </summary>
+        [Navigate(NavigateType.OneToOne, nameof(BomSetGrpId))]
+        public BillBomsetgrp? BomSetGrp { get; set; }
+
+        /// <summary>
+        ///  仓库ID
+        /// </summary>
+        [SugarColumn(IsNullable = true, ColumnDescription = "仓库ID")]
+        public long? WarehouseId { get; set; }
+
+        /// <summary>
+        ///  仓库名称
+        /// </summary>
+        [SugarColumn(IsNullable = true, ColumnDescription = "仓库名称")]
+        public string? WarehouseName { get; set; }
+
+        /// <summary>
+        ///  仓库
+        /// </summary>
+        [Navigate(NavigateType.OneToOne,nameof(WarehouseId))]
+        public BaseWarehouse? Warehouse { get; set; }
+
+        /// <summary>
+        ///  分配比例 最大值为10
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "分配比例")]
+        public int AllocationRatio { get; set; }
+    }
+}