|
|
@ -30,7 +30,7 @@ public static class ExchangeDataDbContextModelCreatingExtensions |
|
|
|
b.Property(p => p.ReadTime); |
|
|
|
b.Property(p => p.ErrorCode).IsRequired().HasMaxLength(SfsPropertyConst.NameLength).HasConversion<string>(); |
|
|
|
b.Property(p => p.ErrorMessage).HasMaxLength(SfsPropertyConst.RemarkLength); |
|
|
|
//b.Property(p => p.TyrpNumber).IsRequired().HasDefaultValueSql();
|
|
|
|
b.Property(p => p.TyrpNumber).IsRequired().HasDefaultValueSql(); |
|
|
|
b.Property(p => p.TyrpNumber).IsRequired().HasMaxLength(SfsPropertyConst.CodeLength); |
|
|
|
//Relations
|
|
|
|
|
|
|
|