增加接口
This commit is contained in:
@@ -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 =>
|
||||
|
||||
Reference in New Issue
Block a user