feat(dal): Добавлен TemplateNameGeneratorService для генерации имени шаблонов по маске в Job
This commit is contained in:
3786
PARR.DAL/Migrations/20250611043111_tblSettingsAddParamTemplateNameConstantParts.Designer.cs
generated
Normal file
3786
PARR.DAL/Migrations/20250611043111_tblSettingsAddParamTemplateNameConstantParts.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 tblSettingsAddParamTemplateNameConstantParts : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "Settings",
|
||||
columns: new[] { "Name", "Description", "Value" },
|
||||
values: new object[] { "TemplateNameConstantParts", "Список неизменных частей имени шаблона", "[{\"Name\":\"П-1\",\"Value\":\"ЭИТИ\"},{\"Name\":\"П-2\",\"Value\":\"ПАРР\"}]" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "Settings",
|
||||
keyColumn: "Name",
|
||||
keyValue: "TemplateNameConstantParts");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2471,6 +2471,12 @@ namespace PARR.DAL.Migrations
|
||||
Name = "WeekendCacheTtl",
|
||||
Description = "Время хранения в кэше данных о выходных и рабочих днях",
|
||||
Value = "01:00:00"
|
||||
},
|
||||
new
|
||||
{
|
||||
Name = "TemplateNameConstantParts",
|
||||
Description = "Список неизменных частей имени шаблона",
|
||||
Value = "[{\"Name\":\"П-1\",\"Value\":\"ЭИТИ\"},{\"Name\":\"П-2\",\"Value\":\"ПАРР\"}]"
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user