zs
2025-05-11 3322dfd299755416176cd946265577e176cae795
HIAWms/server/src/CMS.Plugin.HIAWms.EntityFrameworkCore/Extensions/CMSPluginEfCoreExtensions.WmsInOutStockRecord.cs
@@ -1,12 +1,6 @@
using CMS.Plugin.HIAWms.Domain;
using CMS.Plugin.HIAWms.Domain.WmsContainerPlaces;
using CMS.Plugin.HIAWms.Domain.WmsInOutStockRecords;
using CMS.Plugin.HIAWms.Domain.WmsInOutStockRecord;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.EntityFrameworkCore.Modeling;
@@ -79,6 +73,10 @@
                    .IsRequired(false)
                    .HasComment("机型");
                b.Property(x => x.MaterialBatch)
                    .HasMaxLength(64)
                    .HasComment("物料批次");
                b.Property(x => x.OperateTime)
                    .IsRequired(false)
                    .HasComment("操作时间");
@@ -108,6 +106,9 @@
                    .IsRequired(false)
                    .HasComment("目标库位");
                b.Property(x => x.Sort).HasComment("排序");
                b.Property(x => x.IsDisabled).IsRequired(false).HasComment("是否禁用");
                // Indexes
                b.HasIndex(x => x.OrderNo);
                b.HasIndex(x => x.MaterialNo);