diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/KittingPackagingNotes/KittingPackagingNoteDetail.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/KittingPackagingNotes/KittingPackagingNoteDetail.cs index d71bf4ebf..a195a60a5 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/KittingPackagingNotes/KittingPackagingNoteDetail.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/Notes/KittingPackagingNotes/KittingPackagingNoteDetail.cs @@ -4,7 +4,7 @@ using Win_in.Sfs.Shared.Domain.Entities; namespace Win_in.Sfs.Wms.Store.Domain; -public class KittingPackagingNoteDetail : SfsDetailEntityBase +public class KittingPackagingNoteDetail : SfsStoreDetailEntityBase { /// /// 物品代码 diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.EntityFrameworkCore/Notes/KittingPackagingNotes/KittingPackagingNoteDbContextModelCreatingExtensions.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.EntityFrameworkCore/Notes/KittingPackagingNotes/KittingPackagingNoteDbContextModelCreatingExtensions.cs index dc17b7d52..77c0950d8 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.EntityFrameworkCore/Notes/KittingPackagingNotes/KittingPackagingNoteDbContextModelCreatingExtensions.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.EntityFrameworkCore/Notes/KittingPackagingNotes/KittingPackagingNoteDbContextModelCreatingExtensions.cs @@ -38,10 +38,10 @@ public static class KittingPackagingNoteDbContextModelCreatingExtensions //Configure Job base properties b.ConfigureSfsStoreDetailBase(); //Properties - b.Property(q => q.CountLabel).IsRequired().HasMaxLength(SfsPropertyConst.CodeLength); - b.Property(q => q.InventoryLocationCode).HasMaxLength(SfsPropertyConst.CodeLength); - b.Property(q => q.CountOperator).HasMaxLength(SfsPropertyConst.CodeLength); - b.Property(q => q.CountDescription).HasMaxLength(SfsPropertyConst.CodeLength); + //b.Property(q => q.CountLabel).IsRequired().HasMaxLength(SfsPropertyConst.CodeLength); + //b.Property(q => q.InventoryLocationCode).HasMaxLength(SfsPropertyConst.CodeLength); + //b.Property(q => q.CountOperator).HasMaxLength(SfsPropertyConst.CodeLength); + //b.Property(q => q.CountDescription).HasMaxLength(SfsPropertyConst.CodeLength); //Relations //None