调整实体命名

This commit is contained in:
tongfei
2023-10-27 10:36:14 +08:00
parent f26000aabc
commit 47ad16dfb2
5 changed files with 153 additions and 31 deletions

View File

@@ -116,7 +116,7 @@ namespace WMS.Web.Repositories.Configuration
# endregion
#region
builder.Entity<InstockTask>(ent =>
builder.Entity<InStockTask>(ent =>
{
ent.ToTable("t_erp_instock_task");
ent.HasKey(x => x.Id);
@@ -126,7 +126,7 @@ namespace WMS.Web.Repositories.Configuration
.HasForeignKey(p => p.Fid)
.OnDelete(DeleteBehavior.Cascade);
});
builder.Entity<InstockTaskDetails>(ent =>
builder.Entity<InStockTaskDetails>(ent =>
{
ent.ToTable("t_erp_outstock_task_details");
ent.HasKey(x => x.Id);
@@ -192,8 +192,8 @@ namespace WMS.Web.Repositories.Configuration
public DbSet<TakeStock> TakeStock { get; set; }
public DbSet<InStock> Instock { get; set; }
public DbSet<InStockDetails> InStockDetails { get; set; }
public DbSet<InstockTask> InstockTask { get; set; }
public DbSet<InstockTaskDetails> InstockTaskDetails { get; set; }
public DbSet<InStockTask> InStockTask { get; set; }
public DbSet<InStockTaskDetails> InStockTaskDetails { get; set; }
public DbSet<BackRecord> BackRecord { get; set; }
public DbSet<BackRecordDetails> BackRecordDetails { get; set; }
public DbSet<BoxInventory> BoxInventory { get; set; }