增加字段
This commit is contained in:
@@ -81,6 +81,10 @@ namespace WMS.Web.Repositories.Configuration
|
||||
ent.ToTable("t_wms_outstock");
|
||||
ent.HasKey(x => x.Id);
|
||||
|
||||
ent.Property(f => f.SuccessSyncFail).HasConversion(
|
||||
v => JsonConvert.SerializeObject(v),
|
||||
v => JsonConvert.DeserializeObject<List<string>>(v));
|
||||
|
||||
ent.HasMany(p => p.Details)
|
||||
.WithOne()
|
||||
.HasForeignKey(p => p.Fid)
|
||||
|
||||
Reference in New Issue
Block a user