|
|
@ -14,6 +14,7 @@ public static class BackfluDbContextModelCreatingExtensions |
|
|
|
b.ToTable(options.TablePrefix + "scmout", options.Schema); |
|
|
|
//Configure ABP properties
|
|
|
|
b.ConfigureByConvention(); |
|
|
|
b.Property(q => q.scmout_id).UseMySqlIdentityColumn().ValueGeneratedOnAdd(); |
|
|
|
b.Property(q => q.scmout_dt_w).HasMaxLength(20); |
|
|
|
b.Property(q => q.scmout_type).HasMaxLength(6); |
|
|
|
b.Property(q => q.scmout_nbr).HasMaxLength(20); |
|
|
@ -25,8 +26,7 @@ public static class BackfluDbContextModelCreatingExtensions |
|
|
|
b.Property(q => q.scmout_qty).HasPrecision(10, 2); |
|
|
|
b.Property(q => q.scmout_in_loc).HasMaxLength(10); |
|
|
|
b.Property(q => q.scmout_stat).HasMaxLength(1); |
|
|
|
b.Property(q => q.BOMVer).HasMaxLength(50); |
|
|
|
b.HasKey(x => new { x.scmout_type,x.scmout_nbr,x.scmout_part,x.scmout_no }); |
|
|
|
b.Property(q => q.BOMVer).HasMaxLength(50); |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|