feat(dal): в settingsFromDb добавлен параметр JobIdForUnusedTemplates
This commit is contained in:
@@ -203,7 +203,8 @@ namespace PARR.DAL.Context
|
||||
new TemplateNameConstantPart { Name = "П-2", Value = "ПАРР" }
|
||||
}.ToJson()
|
||||
},
|
||||
new { Name = nameof(SettingsFromDb.EsppUnitTag), Description = "Префикс тега в поле ЭК \"Дополнительная информация\"", Value = "ПАРР_" }
|
||||
new { Name = nameof(SettingsFromDb.EsppUnitTag), Description = "Префикс тега в поле ЭК \"Дополнительная информация\"", Value = "ПАРР_" },
|
||||
new { Name = nameof(SettingsFromDb.JobIdForUnusedTemplates), Description = "Job в который перемещаем ниспользованные шаблоны", Value = "8f85a91c-a223-4686-bb69-1f0ee73624f2" }
|
||||
);
|
||||
});
|
||||
#endregion
|
||||
|
||||
@@ -117,6 +117,11 @@ namespace PARR.DAL.Contracts
|
||||
/// </summary>
|
||||
public string EsppUnitTag { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Job в который перемещаем ниспользованные шаблоны
|
||||
/// </summary>
|
||||
public Guid JobIdForUnusedTemplates { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
4091
PARR.DAL/Migrations/20251230021444_settingsAddJobIdForUnusedTemplates.Designer.cs
generated
Normal file
4091
PARR.DAL/Migrations/20251230021444_settingsAddJobIdForUnusedTemplates.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,28 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace PARR.DAL.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class settingsAddJobIdForUnusedTemplates : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "Settings",
|
||||
columns: new[] { "Name", "Description", "Value" },
|
||||
values: new object[] { "JobIdForUnusedTemplates", "Job в который перемещаем ниспользованные шаблоны", "8f85a91c-a223-4686-bb69-1f0ee73624f2" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "Settings",
|
||||
keyColumn: "Name",
|
||||
keyValue: "JobIdForUnusedTemplates");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2659,6 +2659,12 @@ namespace PARR.DAL.Migrations
|
||||
Name = "EsppUnitTag",
|
||||
Description = "Префикс тега в поле ЭК \"Дополнительная информация\"",
|
||||
Value = "ПАРР_"
|
||||
},
|
||||
new
|
||||
{
|
||||
Name = "JobIdForUnusedTemplates",
|
||||
Description = "Job в который перемещаем ниспользованные шаблоны",
|
||||
Value = "8f85a91c-a223-4686-bb69-1f0ee73624f2"
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user