refactor(aihit): удален старый проект синхронизации aihit. Удалены таблицы из БД.
This commit is contained in:
@@ -22,353 +22,6 @@ namespace PARR.DAL.Migrations
|
||||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("PARR.DAL.Models.AIHIT.RawDataEK", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uuid");
|
||||
|
||||
b.Property<int?>("AIHID")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("APPType")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("AdditionalInfo")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("CKBSServerType")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("CTSDirection")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("ClientOS")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("ClientSoftware")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Company")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("CreateTime")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("DBType")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<DateTimeOffset>("DateCreated")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<DateTimeOffset?>("DateModified")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<string>("EKCategory")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("EKFindCode")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("EKRegister")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("EKRevizor")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("EKSubCategory")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("EKType")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("EndExplotationDate")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("FullName")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("IBServerType")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("IP")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("InfrastructureServerType")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("IsActive")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("IsImportant")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<char?>("IsUnreliableData")
|
||||
.HasColumnType("character(1)");
|
||||
|
||||
b.Property<string>("Location")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Metka")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("MonitoringServerType")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("NetworkName")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("NewEKFindCode")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("OSType")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("OldEKFindCode")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("PlannedTimeToRepair")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Prescription")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("ProductCode")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("ResponseArea")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("ResponsibleByEK")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("ServiceCode")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("ShiftWorkGroup")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("ShortName")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("StartExplotationDate")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Status")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("SysModTime")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("SysModUser")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("TargetRepairTime")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("WorkGroup")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("RawDataEKs", "AIHIT");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PARR.DAL.Models.AIHIT.Setting", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uuid");
|
||||
|
||||
b.Property<DateTimeOffset>("DateCreated")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<DateTimeOffset?>("DateModified")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Group")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Value")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Settings", "AIHIT");
|
||||
|
||||
b.HasData(
|
||||
new
|
||||
{
|
||||
Id = new Guid("b16afd06-605b-499f-9e35-a19586de96b0"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "ГВЦ",
|
||||
Value = "00-ГВЦ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("42a2ec03-da3a-45fc-971e-399910fdc5ae"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "ОКТ",
|
||||
Value = "01-ОКТ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("17efaf65-ae8c-45f1-b187-e6cb1bd6385b"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "КЛГ",
|
||||
Value = "10-КЛГ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("51270997-20f6-4a61-85ac-64f6b6dd5dc4"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "МСК",
|
||||
Value = "17-МСК"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("b94f8c38-e78a-494e-81ba-39e4e902ffcc"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "ГОР",
|
||||
Value = "24-ГОР"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("52ba20ea-4e7a-4500-939b-e2cff563809a"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "СЕВ",
|
||||
Value = "28-СЕВ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("cb9da805-29e9-4e08-b1ed-d4b374920f77"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "СКВ",
|
||||
Value = "51-СКВ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("1943a65c-2060-4b5f-af1f-acec74835481"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "ЮВСТ",
|
||||
Value = "58-ЮВСТ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("4d9ef2ee-d4fa-4d28-a93b-6f1fd0a639f9"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "ПРИВ",
|
||||
Value = "61-ПРИВ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("f1a54c25-a93a-4fe3-8268-afbcc435b6e9"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "КБШ",
|
||||
Value = "63-КБШ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("cc839c48-62bb-46a8-924c-85b5e7a3e245"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "СВРД",
|
||||
Value = "76-СВРД"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("c98fb684-ff03-441e-a9c3-ac5071d69857"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "ЮУР",
|
||||
Value = "80-ЮУР"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("f2684a90-6029-4476-bd3d-e713a8a228d6"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "ЗСИБ",
|
||||
Value = "83-ЗСИБ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("b3c73162-21ea-42f0-b0e1-3c5076176f8a"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "КРАСН",
|
||||
Value = "88-КРАСН"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("a8cff6fd-28b7-49f2-a412-9208c10f6516"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "ВСИБ",
|
||||
Value = "92-ВСИБ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("50f66704-4d26-4587-bb1e-dca70c8f4b89"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "ЗАБ",
|
||||
Value = "94-ЗАБ"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("1fd43634-4a06-4237-9727-edfa6f3eebe8"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "ДВС",
|
||||
Value = "96-ДВС"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("77c73c0a-8e4d-4676-b6e2-6a112f20e346"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Статус актуальных ЭК",
|
||||
Group = "Status",
|
||||
Name = "Exploitation",
|
||||
Value = "3-В эксплуатации"
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("PARR.DAL.Models.AgentHistory", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
|
||||
Reference in New Issue
Block a user