增加接口

This commit is contained in:
18942506660
2023-12-29 10:37:44 +08:00
parent 6c7dfa8ef9
commit 1554afbbf5
11 changed files with 219 additions and 2 deletions

View File

@@ -50,6 +50,16 @@ namespace WMS.Web.Repositories.Configuration
ent.ToTable("t_wms_movebox_record");
ent.HasKey(x => x.Id);
});
//移箱明细
builder.Entity<MoveBoxRecordDetails>(ent =>
{
ent.ToTable("t_wms_movebox_record_details");
ent.HasKey(x => x.Id);
ent.Property(f => f.SerialNumbers).HasConversion(
v => JsonConvert.SerializeObject(v),
v => JsonConvert.DeserializeObject<List<string>>(v));
});
//序列号
builder.Entity<SerialNumbers>(ent =>