|
|
@@ -1,4 +1,5 @@
|
|
|
using Business.Model;
|
|
|
+using Bussiness.Model.Bang;
|
|
|
using Bussiness.Model.Ext;
|
|
|
using Bussiness.Model.MES.IC;
|
|
|
using Bussiness.Model.Production;
|
|
|
@@ -590,6 +591,41 @@ namespace Business.EntityFrameworkCore
|
|
|
{
|
|
|
//TODO:这样太麻烦了,有时间研究一下批量
|
|
|
Check.NotNull(builder, nameof(builder));
|
|
|
+ builder.Entity<b_bom_child_examine>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("b_bom_child_examine");
|
|
|
+ b.ConfigureByConvention();
|
|
|
+ });
|
|
|
+ builder.Entity<b_examine_result>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("b_examine_result");
|
|
|
+ b.ConfigureByConvention();
|
|
|
+ });
|
|
|
+ builder.Entity<b_mo_occupy>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("b_mo_occupy");
|
|
|
+ b.ConfigureByConvention();
|
|
|
+ });
|
|
|
+ builder.Entity<b_mo_order>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("b_mo_order");
|
|
|
+ b.ConfigureByConvention();
|
|
|
+ });
|
|
|
+ builder.Entity<b_ooder>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("b_ooder");
|
|
|
+ b.ConfigureByConvention();
|
|
|
+ });
|
|
|
+ builder.Entity<b_purchase>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("b_purchase");
|
|
|
+ b.ConfigureByConvention();
|
|
|
+ });
|
|
|
+ builder.Entity<b_purchase_occupy>(b =>
|
|
|
+ {
|
|
|
+ b.ToTable("b_purchase_occupy");
|
|
|
+ b.ConfigureByConvention();
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
}
|