Browse Source

Merge branch 'dev_DY_CC' of http://dev.ccwin-in.com:3000/BoXu.Zheng/WZC2 into dev_DY_CC

dev_DY_CC
赵新宇 6 months ago
parent
commit
86b1cee17f
  1. 8
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/TransactionTypes/TransactionTypeDbContextModelCreatingExtensions.cs

8
be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/TransactionTypes/TransactionTypeDbContextModelCreatingExtensions.cs

@ -19,11 +19,11 @@ public static class TransactionTypeDbContextModelCreatingExtensions
b.Property(p => p.TransType).HasMaxLength(SfsPropertyConst.NameLength).HasConversion<string>();
b.Property(p => p.TransSubType).HasMaxLength(SfsPropertyConst.NameLength).HasConversion<string>();
b.Property(x => x.Description).IsRequired().HasMaxLength(SfsPropertyConst.DescLength);
b.Property(x => x.OutLocationTypes).HasMaxLength(SfsPropertyConst.NameLength);
b.Property(x => x.InLocationTypes).HasMaxLength(SfsPropertyConst.NameLength);
b.Property(x => x.OutLocationTypes).HasMaxLength(SfsPropertyConst.DescLength);
b.Property(x => x.InLocationTypes).HasMaxLength(SfsPropertyConst.DescLength);
b.Property(x => x.ItemStatuses).HasMaxLength(SfsPropertyConst.NameLength);
b.Property(x => x.OutInventoryStatuses).HasMaxLength(SfsPropertyConst.NameLength);
b.Property(x => x.InInventoryStatuses).HasMaxLength(SfsPropertyConst.NameLength);
b.Property(x => x.OutInventoryStatuses).HasMaxLength(SfsPropertyConst.DescLength);
b.Property(x => x.InInventoryStatuses).HasMaxLength(SfsPropertyConst.DescLength);
b.Property(x => x.ItemTypes).HasMaxLength(SfsPropertyConst.NameLength);
b.HasIndex(x => new { x.TransType, x.TransSubType }).IsUnique();

Loading…
Cancel
Save