feat(dal, aihitSyncer, aihitLoader): добавлена ЗО для РГ. Обновлён список ЗО. Обновлена синхронизация из АИХИТ.
This commit is contained in:
@@ -1666,6 +1666,21 @@ namespace PARR.DAL.Migrations
|
||||
{
|
||||
Code = 99,
|
||||
Name = "00-ГВЦ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Code = 100,
|
||||
Name = "ОБЩЕЕ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Code = 110,
|
||||
Name = "ВП"
|
||||
},
|
||||
new
|
||||
{
|
||||
Code = 111,
|
||||
Name = "ОСК"
|
||||
});
|
||||
});
|
||||
|
||||
@@ -2237,8 +2252,13 @@ namespace PARR.DAL.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<int>("ResponseAreaCode")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("ResponseAreaCode");
|
||||
|
||||
b.ToTable("WorkGroups");
|
||||
});
|
||||
|
||||
@@ -2573,6 +2593,17 @@ namespace PARR.DAL.Migrations
|
||||
b.Navigation("Tnk");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PARR.DAL.Models.WorkGroup", b =>
|
||||
{
|
||||
b.HasOne("PARR.DAL.Models.ResponseArea", "ResponseArea")
|
||||
.WithMany("WorkGroups")
|
||||
.HasForeignKey("ResponseAreaCode")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("ResponseArea");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PARR.DAL.Models.AgentHistoryLevel", b =>
|
||||
{
|
||||
b.Navigation("AgentHistories");
|
||||
@@ -2653,6 +2684,8 @@ namespace PARR.DAL.Migrations
|
||||
modelBuilder.Entity("PARR.DAL.Models.ResponseArea", b =>
|
||||
{
|
||||
b.Navigation("Hosts");
|
||||
|
||||
b.Navigation("WorkGroups");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PARR.DAL.Models.Robot", b =>
|
||||
|
||||
Reference in New Issue
Block a user