< Summary

Class:SVETA.Api.Migrations.IREAddConfDataTypeTable
Assembly:SVETA.Api
File(s):/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200520215103_IRE-AddConfDataTypeTable.cs
/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200520215103_IRE-AddConfDataTypeTable.Designer.cs
Covered lines:0
Uncovered lines:14364
Coverable lines:14364
Total lines:14603
Line coverage:0% (0 of 14364)
Covered branches:0
Total branches:268
Branch coverage:0% (0 of 268)

Metrics

MethodLine coverage Branch coverage
Up(...)0%0%
Down(...)0%100%
BuildTargetModel(...)0%0%

File(s)

/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200520215103_IRE-AddConfDataTypeTable.cs

#LineLine coverage
 1using System;
 2using Microsoft.EntityFrameworkCore.Migrations;
 3using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
 4
 5namespace SVETA.Api.Migrations
 6{
 7    public partial class IREAddConfDataTypeTable : Migration
 8    {
 9        protected override void Up(MigrationBuilder migrationBuilder)
 010        {
 011            migrationBuilder.DropColumn(
 012                name: "ValueType",
 013                table: "Configurations");
 14
 015            migrationBuilder.AlterColumn<string>(
 016                name: "Name",
 017                table: "FrontActions",
 018                nullable: false,
 019                oldClrType: typeof(string),
 020                oldType: "text",
 021                oldNullable: true);
 22
 023            migrationBuilder.AddColumn<long>(
 024                name: "ValueTypeId",
 025                table: "Configurations",
 026                nullable: false,
 027                defaultValue: 0L);
 28
 029            migrationBuilder.CreateTable(
 030                name: "ConfigurationsDataTypes",
 031                columns: table => new
 032                {
 033                    Id = table.Column<long>(nullable: false)
 034                        .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultCol
 035                    RecStateId = table.Column<long>(nullable: true),
 036                    CreationDateTime = table.Column<DateTime>(nullable: false),
 037                    ModificationDateTime = table.Column<DateTime>(nullable: true),
 038                    CreatedByUserId = table.Column<long>(nullable: true),
 039                    ModifiedByUserId = table.Column<long>(nullable: true),
 040                    IsDeleted = table.Column<bool>(nullable: false),
 041                    GUID = table.Column<Guid>(nullable: false),
 042                    Name = table.Column<string>(nullable: false),
 043                    Description = table.Column<string>(nullable: true)
 044                },
 045                constraints: table =>
 046                {
 047                    table.PrimaryKey("PK_ConfigurationsDataTypes", x => x.Id);
 048                    table.ForeignKey(
 049                        name: "FK_ConfigurationsDataTypes_Users_CreatedByUserId",
 050                        column: x => x.CreatedByUserId,
 051                        principalTable: "Users",
 052                        principalColumn: "Id",
 053                        onDelete: ReferentialAction.Restrict);
 054                    table.ForeignKey(
 055                        name: "FK_ConfigurationsDataTypes_Users_ModifiedByUserId",
 056                        column: x => x.ModifiedByUserId,
 057                        principalTable: "Users",
 058                        principalColumn: "Id",
 059                        onDelete: ReferentialAction.Restrict);
 060                    table.ForeignKey(
 061                        name: "FK_ConfigurationsDataTypes_RecordsState_RecStateId",
 062                        column: x => x.RecStateId,
 063                        principalTable: "RecordsState",
 064                        principalColumn: "Id",
 065                        onDelete: ReferentialAction.Restrict);
 066                });
 67
 068            migrationBuilder.InsertData(
 069                table: "ConfigurationsDataTypes",
 070                columns: new[] { "Id", "CreatedByUserId", "CreationDateTime", "Description", "IsDeleted", "ModificationD
 071                values: new object[,]
 072                {
 073                   { 1L, null, new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "Строковое значение", fal
 074                    { 2L, null, new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "Целочисленное значение"
 075                    { 3L, null, new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "Дата и время", false, n
 076                    { 4L, null, new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "Логическое значение", f
 077                    { 5L, null, new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "Гуид", false, null, nul
 078                });
 79
 080            migrationBuilder.UpdateData(
 081                table: "ContragentsKind",
 082                keyColumn: "Id",
 083                keyValue: 2L,
 084                column: "ExternalKey",
 085                value: new Guid("1cf9aefe-7a96-4a88-a1c9-072964c7c6a7"));
 86
 087            migrationBuilder.UpdateData(
 088                table: "ContragentsKind",
 089                keyColumn: "Id",
 090                keyValue: 3L,
 091                column: "ExternalKey",
 092                value: new Guid("ccda4192-5492-4a93-9c3e-f2d1f765d4e5"));
 93
 094            migrationBuilder.UpdateData(
 095                table: "ContragentsKind",
 096                keyColumn: "Id",
 097                keyValue: 4L,
 098                column: "ExternalKey",
 099                value: new Guid("31edf71f-4a7f-44f9-a705-869c38b9c70b"));
 100
 0101            migrationBuilder.UpdateData(
 0102                table: "ContragentsKind",
 0103                keyColumn: "Id",
 0104                keyValue: 6L,
 0105                column: "ExternalKey",
 0106                value: new Guid("4cd0458f-9bb0-4417-92b7-8f4004782d5b"));
 107
 0108            migrationBuilder.UpdateData(
 0109                table: "ExchangeTokens",
 0110                keyColumn: "Id",
 0111                keyValue: 1L,
 0112                column: "GUID",
 0113                value: new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588"));
 114
 0115            migrationBuilder.UpdateData(
 0116                table: "Users",
 0117                keyColumn: "Id",
 0118                keyValue: -2L,
 0119                column: "ExternalKey",
 0120                value: new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"));
 121
 0122            migrationBuilder.UpdateData(
 0123                table: "Users",
 0124                keyColumn: "Id",
 0125                keyValue: -1L,
 0126                column: "ExternalKey",
 0127                value: new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"));
 128
 0129            migrationBuilder.UpdateData(
 0130                table: "Configurations",
 0131                keyColumn: "Id",
 0132                keyValue: 3L,
 0133                column: "ValueTypeId",
 0134                value: 4L);
 135
 0136            migrationBuilder.UpdateData(
 0137                table: "Configurations",
 0138                keyColumn: "Id",
 0139                keyValue: 4L,
 0140                column: "ValueTypeId",
 0141                value: 4L);
 142
 0143            migrationBuilder.UpdateData(
 0144                table: "Configurations",
 0145                keyColumn: "Id",
 0146                keyValue: 10L,
 0147                column: "ValueTypeId",
 0148                value: 1L);
 149
 0150            migrationBuilder.UpdateData(
 0151                table: "Configurations",
 0152                keyColumn: "Id",
 0153                keyValue: 11L,
 0154                column: "ValueTypeId",
 0155                value: 2L);
 156
 0157            migrationBuilder.UpdateData(
 0158                table: "Configurations",
 0159                keyColumn: "Id",
 0160                keyValue: 12L,
 0161                column: "ValueTypeId",
 0162                value: 1L);
 163
 0164            migrationBuilder.UpdateData(
 0165                table: "Configurations",
 0166                keyColumn: "Id",
 0167                keyValue: 13L,
 0168                column: "ValueTypeId",
 0169                value: 1L);
 170
 0171            migrationBuilder.UpdateData(
 0172                table: "Configurations",
 0173                keyColumn: "Id",
 0174                keyValue: 14L,
 0175                column: "ValueTypeId",
 0176                value: 1L);
 177
 0178            migrationBuilder.UpdateData(
 0179                table: "Configurations",
 0180                keyColumn: "Id",
 0181                keyValue: 15L,
 0182                column: "ValueTypeId",
 0183                value: 1L);
 184
 0185            migrationBuilder.UpdateData(
 0186                table: "Configurations",
 0187                keyColumn: "Id",
 0188                keyValue: 16L,
 0189                column: "ValueTypeId",
 0190                value: 1L);
 191
 0192            migrationBuilder.UpdateData(
 0193                table: "Configurations",
 0194                keyColumn: "Id",
 0195                keyValue: 17L,
 0196                column: "ValueTypeId",
 0197                value: 1L);
 198
 0199            migrationBuilder.UpdateData(
 0200                table: "Configurations",
 0201                keyColumn: "Id",
 0202                keyValue: 18L,
 0203                column: "ValueTypeId",
 0204                value: 1L);
 205
 0206            migrationBuilder.UpdateData(
 0207                table: "Configurations",
 0208                keyColumn: "Id",
 0209                keyValue: 22L,
 0210                column: "ValueTypeId",
 0211                value: 1L);
 212
 0213            migrationBuilder.UpdateData(
 0214                table: "Configurations",
 0215                keyColumn: "Id",
 0216                keyValue: 23L,
 0217                column: "ValueTypeId",
 0218                value: 1L);
 219
 0220            migrationBuilder.UpdateData(
 0221                table: "Configurations",
 0222                keyColumn: "Id",
 0223                keyValue: 24L,
 0224                column: "ValueTypeId",
 0225                value: 1L);
 226
 0227            migrationBuilder.UpdateData(
 0228                table: "Configurations",
 0229                keyColumn: "Id",
 0230                keyValue: 25L,
 0231                column: "ValueTypeId",
 0232                value: 1L);
 233
 0234            migrationBuilder.UpdateData(
 0235                table: "Configurations",
 0236                keyColumn: "Id",
 0237                keyValue: 26L,
 0238                column: "ValueTypeId",
 0239                value: 5L);
 240
 0241            migrationBuilder.UpdateData(
 0242                table: "Configurations",
 0243                keyColumn: "Id",
 0244                keyValue: 27L,
 0245                column: "ValueTypeId",
 0246                value: 5L);
 247
 0248            migrationBuilder.UpdateData(
 0249                table: "Configurations",
 0250                keyColumn: "Id",
 0251                keyValue: 28L,
 0252                column: "ValueTypeId",
 0253                value: 2L);
 254
 0255            migrationBuilder.UpdateData(
 0256                table: "Configurations",
 0257                keyColumn: "Id",
 0258                keyValue: 29L,
 0259                column: "ValueTypeId",
 0260                value: 3L);
 261
 0262            migrationBuilder.UpdateData(
 0263                table: "Configurations",
 0264                keyColumn: "Id",
 0265                keyValue: 30L,
 0266                column: "ValueTypeId",
 0267                value: 3L);
 268
 0269            migrationBuilder.UpdateData(
 0270                table: "Configurations",
 0271                keyColumn: "Id",
 0272                keyValue: 31L,
 0273                column: "ValueTypeId",
 0274                value: 1L);
 275
 0276            migrationBuilder.UpdateData(
 0277                table: "Configurations",
 0278                keyColumn: "Id",
 0279                keyValue: 32L,
 0280                column: "ValueTypeId",
 0281                value: 1L);
 282
 0283            migrationBuilder.UpdateData(
 0284                table: "Configurations",
 0285                keyColumn: "Id",
 0286                keyValue: 33L,
 0287                column: "ValueTypeId",
 0288                value: 1L);
 289
 0290            migrationBuilder.CreateIndex(
 0291                name: "IX_Configurations_ValueTypeId",
 0292                table: "Configurations",
 0293                column: "ValueTypeId");
 294
 0295            migrationBuilder.CreateIndex(
 0296                name: "IX_ConfigurationsDataTypes_CreatedByUserId",
 0297                table: "ConfigurationsDataTypes",
 0298                column: "CreatedByUserId");
 299
 0300            migrationBuilder.CreateIndex(
 0301                name: "IX_ConfigurationsDataTypes_ModifiedByUserId",
 0302                table: "ConfigurationsDataTypes",
 0303                column: "ModifiedByUserId");
 304
 0305            migrationBuilder.CreateIndex(
 0306                name: "IX_ConfigurationsDataTypes_RecStateId",
 0307                table: "ConfigurationsDataTypes",
 0308                column: "RecStateId");
 309
 0310            migrationBuilder.AddForeignKey(
 0311                name: "FK_Configurations_ConfigurationsDataTypes_ValueTypeId",
 0312                table: "Configurations",
 0313                column: "ValueTypeId",
 0314                principalTable: "ConfigurationsDataTypes",
 0315                principalColumn: "Id",
 0316                onDelete: ReferentialAction.Cascade);
 0317        }
 318
 319        protected override void Down(MigrationBuilder migrationBuilder)
 0320        {
 0321            migrationBuilder.DropForeignKey(
 0322                name: "FK_Configurations_ConfigurationsDataTypes_ValueTypeId",
 0323                table: "Configurations");
 324
 0325            migrationBuilder.DropTable(
 0326                name: "ConfigurationsDataTypes");
 327
 0328            migrationBuilder.DropIndex(
 0329                name: "IX_Configurations_ValueTypeId",
 0330                table: "Configurations");
 331
 0332            migrationBuilder.DropColumn(
 0333                name: "ValueTypeId",
 0334                table: "Configurations");
 335
 0336            migrationBuilder.AlterColumn<string>(
 0337                name: "Name",
 0338                table: "FrontActions",
 0339                type: "text",
 0340                nullable: true,
 0341                oldClrType: typeof(string));
 342
 0343            migrationBuilder.AddColumn<string>(
 0344                name: "ValueType",
 0345                table: "Configurations",
 0346                type: "text",
 0347                nullable: false,
 0348                defaultValue: "");
 349
 0350            migrationBuilder.UpdateData(
 0351                table: "Configurations",
 0352                keyColumn: "Id",
 0353                keyValue: 3L,
 0354                column: "ValueType",
 0355                value: "bool");
 356
 0357            migrationBuilder.UpdateData(
 0358                table: "Configurations",
 0359                keyColumn: "Id",
 0360                keyValue: 4L,
 0361                column: "ValueType",
 0362                value: "bool");
 363
 0364            migrationBuilder.UpdateData(
 0365                table: "Configurations",
 0366                keyColumn: "Id",
 0367                keyValue: 10L,
 0368                column: "ValueType",
 0369                value: "string");
 370
 0371            migrationBuilder.UpdateData(
 0372                table: "Configurations",
 0373                keyColumn: "Id",
 0374                keyValue: 11L,
 0375                column: "ValueType",
 0376                value: "int");
 377
 0378            migrationBuilder.UpdateData(
 0379                table: "Configurations",
 0380                keyColumn: "Id",
 0381                keyValue: 12L,
 0382                column: "ValueType",
 0383                value: "string");
 384
 0385            migrationBuilder.UpdateData(
 0386                table: "Configurations",
 0387                keyColumn: "Id",
 0388                keyValue: 13L,
 0389                column: "ValueType",
 0390                value: "string");
 391
 0392            migrationBuilder.UpdateData(
 0393                table: "Configurations",
 0394                keyColumn: "Id",
 0395                keyValue: 14L,
 0396                column: "ValueType",
 0397                value: "string");
 398
 0399            migrationBuilder.UpdateData(
 0400                table: "Configurations",
 0401                keyColumn: "Id",
 0402                keyValue: 15L,
 0403                column: "ValueType",
 0404                value: "string");
 405
 0406            migrationBuilder.UpdateData(
 0407                table: "Configurations",
 0408                keyColumn: "Id",
 0409                keyValue: 16L,
 0410                column: "ValueType",
 0411                value: "string");
 412
 0413            migrationBuilder.UpdateData(
 0414                table: "Configurations",
 0415                keyColumn: "Id",
 0416                keyValue: 17L,
 0417                column: "ValueType",
 0418                value: "string");
 419
 0420            migrationBuilder.UpdateData(
 0421                table: "Configurations",
 0422                keyColumn: "Id",
 0423                keyValue: 18L,
 0424                column: "ValueType",
 0425                value: "string");
 426
 0427            migrationBuilder.UpdateData(
 0428                table: "Configurations",
 0429                keyColumn: "Id",
 0430                keyValue: 22L,
 0431                column: "ValueType",
 0432                value: "string");
 433
 0434            migrationBuilder.UpdateData(
 0435                table: "Configurations",
 0436                keyColumn: "Id",
 0437                keyValue: 23L,
 0438                column: "ValueType",
 0439                value: "string");
 440
 0441            migrationBuilder.UpdateData(
 0442                table: "Configurations",
 0443                keyColumn: "Id",
 0444                keyValue: 24L,
 0445                column: "ValueType",
 0446                value: "string");
 447
 0448            migrationBuilder.UpdateData(
 0449                table: "Configurations",
 0450                keyColumn: "Id",
 0451                keyValue: 25L,
 0452                column: "ValueType",
 0453                value: "string");
 454
 0455            migrationBuilder.UpdateData(
 0456                table: "Configurations",
 0457                keyColumn: "Id",
 0458                keyValue: 26L,
 0459                column: "ValueType",
 0460                value: "guid");
 461
 0462            migrationBuilder.UpdateData(
 0463                table: "Configurations",
 0464                keyColumn: "Id",
 0465                keyValue: 27L,
 0466                column: "ValueType",
 0467                value: "guid");
 468
 0469            migrationBuilder.UpdateData(
 0470                table: "Configurations",
 0471                keyColumn: "Id",
 0472                keyValue: 28L,
 0473                column: "ValueType",
 0474                value: "int");
 475
 0476            migrationBuilder.UpdateData(
 0477                table: "Configurations",
 0478                keyColumn: "Id",
 0479                keyValue: 29L,
 0480                column: "ValueType",
 0481                value: "datetime");
 482
 0483            migrationBuilder.UpdateData(
 0484                table: "Configurations",
 0485                keyColumn: "Id",
 0486                keyValue: 30L,
 0487                column: "ValueType",
 0488                value: "datetime");
 489
 0490            migrationBuilder.UpdateData(
 0491                table: "Configurations",
 0492                keyColumn: "Id",
 0493                keyValue: 31L,
 0494                column: "ValueType",
 0495                value: "string");
 496
 0497            migrationBuilder.UpdateData(
 0498                table: "Configurations",
 0499                keyColumn: "Id",
 0500                keyValue: 32L,
 0501                column: "ValueType",
 0502                value: "string");
 503
 0504            migrationBuilder.UpdateData(
 0505                table: "Configurations",
 0506                keyColumn: "Id",
 0507                keyValue: 33L,
 0508                column: "ValueType",
 0509                value: "string");
 510
 0511            migrationBuilder.UpdateData(
 0512                table: "ContragentsKind",
 0513                keyColumn: "Id",
 0514                keyValue: 2L,
 0515                column: "ExternalKey",
 0516                value: new Guid("1cf9aefe-7a96-4a88-a1c9-072964c7c6a7"));
 517
 0518            migrationBuilder.UpdateData(
 0519                table: "ContragentsKind",
 0520                keyColumn: "Id",
 0521                keyValue: 3L,
 0522                column: "ExternalKey",
 0523                value: new Guid("ccda4192-5492-4a93-9c3e-f2d1f765d4e5"));
 524
 0525            migrationBuilder.UpdateData(
 0526                table: "ContragentsKind",
 0527                keyColumn: "Id",
 0528                keyValue: 4L,
 0529                column: "ExternalKey",
 0530                value: new Guid("31edf71f-4a7f-44f9-a705-869c38b9c70b"));
 531
 0532            migrationBuilder.UpdateData(
 0533                table: "ContragentsKind",
 0534                keyColumn: "Id",
 0535                keyValue: 6L,
 0536                column: "ExternalKey",
 0537                value: new Guid("4cd0458f-9bb0-4417-92b7-8f4004782d5b"));
 538
 0539            migrationBuilder.UpdateData(
 0540                table: "ExchangeTokens",
 0541                keyColumn: "Id",
 0542                keyValue: 1L,
 0543                column: "GUID",
 0544                value: new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588"));
 545
 0546            migrationBuilder.UpdateData(
 0547                table: "Users",
 0548                keyColumn: "Id",
 0549                keyValue: -2L,
 0550                column: "ExternalKey",
 0551                value: new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"));
 552
 0553            migrationBuilder.UpdateData(
 0554                table: "Users",
 0555                keyColumn: "Id",
 0556                keyValue: -1L,
 0557                column: "ExternalKey",
 0558                value: new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"));
 0559        }
 560    }
 561}

/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200520215103_IRE-AddConfDataTypeTable.Designer.cs

#LineLine coverage
 1// <auto-generated />
 2using System;
 3using Microsoft.EntityFrameworkCore;
 4using Microsoft.EntityFrameworkCore.Infrastructure;
 5using Microsoft.EntityFrameworkCore.Migrations;
 6using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 7using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
 8using WinSolutions.Sveta.Server.Data.DataModel.Contexts;
 9
 10namespace SVETA.Api.Migrations
 11{
 12    [DbContext(typeof(SvetaDbContext))]
 13    [Migration("20200520215103_IRE-AddConfDataTypeTable")]
 14    partial class IREAddConfDataTypeTable
 15    {
 16        protected override void BuildTargetModel(ModelBuilder modelBuilder)
 017        {
 18#pragma warning disable 612, 618
 019            modelBuilder
 020                .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
 021                .HasAnnotation("ProductVersion", "3.1.1")
 022                .HasAnnotation("Relational:MaxIdentifierLength", 63);
 23
 024            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", b =>
 025                {
 026                    b.Property<long>("Id")
 027                        .ValueGeneratedOnAdd()
 028                        .HasColumnType("bigint")
 029                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 030
 031                    b.Property<string>("Building")
 032                        .HasColumnType("text");
 033
 034                    b.Property<string>("City")
 035                        .HasColumnType("text");
 036
 037                    b.Property<long?>("CreatedByUserId")
 038                        .HasColumnType("bigint");
 039
 040                    b.Property<DateTime>("CreationDateTime")
 041                        .HasColumnType("timestamp without time zone");
 042
 043                    b.Property<string>("District")
 044                        .HasColumnType("text");
 045
 046                    b.Property<Guid>("ExternalKey")
 047                        .ValueGeneratedOnAdd()
 048                        .HasColumnType("uuid");
 049
 050                    b.Property<string>("FullAddress")
 051                        .HasColumnType("text");
 052
 053                    b.Property<Guid>("GUID")
 054                        .ValueGeneratedOnAdd()
 055                        .HasColumnType("uuid");
 056
 057                    b.Property<string>("House")
 058                        .HasColumnType("text");
 059
 060                    b.Property<string>("Housing")
 061                        .HasColumnType("text");
 062
 063                    b.Property<string>("Index")
 064                        .HasColumnType("text");
 065
 066                    b.Property<bool>("IsDeleted")
 067                        .HasColumnType("boolean");
 068
 069                    b.Property<string>("Locality")
 070                        .HasColumnType("text");
 071
 072                    b.Property<DateTime?>("ModificationDateTime")
 073                        .HasColumnType("timestamp without time zone");
 074
 075                    b.Property<long?>("ModifiedByUserId")
 076                        .HasColumnType("bigint");
 077
 078                    b.Property<string>("Office")
 079                        .HasColumnType("text");
 080
 081                    b.Property<long?>("RecStateId")
 082                        .HasColumnType("bigint");
 083
 084                    b.Property<string>("Region")
 085                        .HasColumnType("text");
 086
 087                    b.Property<string>("Street")
 088                        .HasColumnType("text");
 089
 090                    b.HasKey("Id");
 091
 092                    b.HasIndex("CreatedByUserId");
 093
 094                    b.HasIndex("ModifiedByUserId");
 095
 096                    b.HasIndex("RecStateId");
 097
 098                    b.ToTable("Address");
 099
 0100                    b.HasData(
 0101                        new
 0102                        {
 0103                            Id = -1L,
 0104                            Building = "1",
 0105                            City = "Краснодар",
 0106                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0107                            District = "Район 9",
 0108                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 0109                            FullAddress = "Краснодар 1",
 0110                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0111                            House = "1",
 0112                            Housing = "1",
 0113                            Index = "1",
 0114                            IsDeleted = false,
 0115                            Locality = "1",
 0116                            Office = "1",
 0117                            Region = "1",
 0118                            Street = "1"
 0119                        });
 0120                });
 121
 0122            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BankAccount", b =>
 0123                {
 0124                    b.Property<long>("Id")
 0125                        .ValueGeneratedOnAdd()
 0126                        .HasColumnType("bigint")
 0127                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0128
 0129                    b.Property<string>("BankName")
 0130                        .IsRequired()
 0131                        .HasColumnType("text");
 0132
 0133                    b.Property<string>("Bik")
 0134                        .IsRequired()
 0135                        .HasColumnType("text");
 0136
 0137                    b.Property<long?>("ContragentId")
 0138                        .HasColumnType("bigint");
 0139
 0140                    b.Property<string>("CorrespondentAccount")
 0141                        .IsRequired()
 0142                        .HasColumnType("text");
 0143
 0144                    b.Property<long?>("CreatedByUserId")
 0145                        .HasColumnType("bigint");
 0146
 0147                    b.Property<DateTime>("CreationDateTime")
 0148                        .HasColumnType("timestamp without time zone");
 0149
 0150                    b.Property<Guid>("GUID")
 0151                        .ValueGeneratedOnAdd()
 0152                        .HasColumnType("uuid");
 0153
 0154                    b.Property<bool>("IsDeleted")
 0155                        .HasColumnType("boolean");
 0156
 0157                    b.Property<DateTime?>("ModificationDateTime")
 0158                        .HasColumnType("timestamp without time zone");
 0159
 0160                    b.Property<long?>("ModifiedByUserId")
 0161                        .HasColumnType("bigint");
 0162
 0163                    b.Property<long?>("RecStateId")
 0164                        .HasColumnType("bigint");
 0165
 0166                    b.Property<string>("SettlementAccount")
 0167                        .IsRequired()
 0168                        .HasColumnType("text");
 0169
 0170                    b.HasKey("Id");
 0171
 0172                    b.HasIndex("ContragentId");
 0173
 0174                    b.HasIndex("CreatedByUserId");
 0175
 0176                    b.HasIndex("ModifiedByUserId");
 0177
 0178                    b.HasIndex("RecStateId");
 0179
 0180                    b.HasIndex("Bik", "SettlementAccount")
 0181                        .IsUnique();
 0182
 0183                    b.ToTable("BankAccounts");
 0184                });
 185
 0186            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BarCode", b =>
 0187                {
 0188                    b.Property<long>("Id")
 0189                        .ValueGeneratedOnAdd()
 0190                        .HasColumnType("bigint")
 0191                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0192
 0193                    b.Property<string>("Code")
 0194                        .HasColumnType("text");
 0195
 0196                    b.Property<long?>("CreatedByUserId")
 0197                        .HasColumnType("bigint");
 0198
 0199                    b.Property<DateTime>("CreationDateTime")
 0200                        .HasColumnType("timestamp without time zone");
 0201
 0202                    b.Property<Guid>("GUID")
 0203                        .ValueGeneratedOnAdd()
 0204                        .HasColumnType("uuid");
 0205
 0206                    b.Property<long?>("GoodId")
 0207                        .HasColumnType("bigint");
 0208
 0209                    b.Property<bool>("IsDeleted")
 0210                        .HasColumnType("boolean");
 0211
 0212                    b.Property<DateTime?>("ModificationDateTime")
 0213                        .HasColumnType("timestamp without time zone");
 0214
 0215                    b.Property<long?>("ModifiedByUserId")
 0216                        .HasColumnType("bigint");
 0217
 0218                    b.Property<long?>("RecStateId")
 0219                        .HasColumnType("bigint");
 0220
 0221                    b.HasKey("Id");
 0222
 0223                    b.HasIndex("Code")
 0224                        .IsUnique();
 0225
 0226                    b.HasIndex("CreatedByUserId");
 0227
 0228                    b.HasIndex("GoodId");
 0229
 0230                    b.HasIndex("ModifiedByUserId");
 0231
 0232                    b.HasIndex("RecStateId");
 0233
 0234                    b.ToTable("BarCodes");
 0235                });
 236
 0237            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", b =>
 0238                {
 0239                    b.Property<long>("Id")
 0240                        .ValueGeneratedOnAdd()
 0241                        .HasColumnType("bigint")
 0242                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0243
 0244                    b.Property<long?>("CreatedByUserId")
 0245                        .HasColumnType("bigint");
 0246
 0247                    b.Property<DateTime>("CreationDateTime")
 0248                        .HasColumnType("timestamp without time zone");
 0249
 0250                    b.Property<Guid>("GUID")
 0251                        .ValueGeneratedOnAdd()
 0252                        .HasColumnType("uuid");
 0253
 0254                    b.Property<bool>("IsDeleted")
 0255                        .HasColumnType("boolean");
 0256
 0257                    b.Property<DateTime?>("ModificationDateTime")
 0258                        .HasColumnType("timestamp without time zone");
 0259
 0260                    b.Property<long?>("ModifiedByUserId")
 0261                        .HasColumnType("bigint");
 0262
 0263                    b.Property<string>("Name")
 0264                        .HasColumnType("text");
 0265
 0266                    b.Property<long?>("ParentId")
 0267                        .HasColumnType("bigint");
 0268
 0269                    b.Property<long?>("RecStateId")
 0270                        .HasColumnType("bigint");
 0271
 0272                    b.HasKey("Id");
 0273
 0274                    b.HasIndex("CreatedByUserId");
 0275
 0276                    b.HasIndex("ModifiedByUserId");
 0277
 0278                    b.HasIndex("Name")
 0279                        .IsUnique();
 0280
 0281                    b.HasIndex("ParentId");
 0282
 0283                    b.HasIndex("RecStateId");
 0284
 0285                    b.ToTable("Brands");
 0286                });
 287
 0288            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", b =>
 0289                {
 0290                    b.Property<long>("Id")
 0291                        .ValueGeneratedOnAdd()
 0292                        .HasColumnType("bigint")
 0293                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0294
 0295                    b.Property<string>("Code")
 0296                        .HasColumnType("text");
 0297
 0298                    b.Property<long?>("CreatedByUserId")
 0299                        .HasColumnType("bigint");
 0300
 0301                    b.Property<DateTime>("CreationDateTime")
 0302                        .HasColumnType("timestamp without time zone");
 0303
 0304                    b.Property<Guid>("GUID")
 0305                        .ValueGeneratedOnAdd()
 0306                        .HasColumnType("uuid");
 0307
 0308                    b.Property<bool>("IsDeleted")
 0309                        .HasColumnType("boolean");
 0310
 0311                    b.Property<DateTime?>("ModificationDateTime")
 0312                        .HasColumnType("timestamp without time zone");
 0313
 0314                    b.Property<long?>("ModifiedByUserId")
 0315                        .HasColumnType("bigint");
 0316
 0317                    b.Property<string>("Name")
 0318                        .HasColumnType("text");
 0319
 0320                    b.Property<long?>("ParentId")
 0321                        .HasColumnType("bigint");
 0322
 0323                    b.Property<long?>("RecStateId")
 0324                        .HasColumnType("bigint");
 0325
 0326                    b.HasKey("Id");
 0327
 0328                    b.HasIndex("Code")
 0329                        .IsUnique();
 0330
 0331                    b.HasIndex("CreatedByUserId");
 0332
 0333                    b.HasIndex("ModifiedByUserId");
 0334
 0335                    b.HasIndex("Name")
 0336                        .IsUnique();
 0337
 0338                    b.HasIndex("ParentId");
 0339
 0340                    b.HasIndex("RecStateId");
 0341
 0342                    b.ToTable("Categories");
 0343                });
 344
 0345            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Cluster", b =>
 0346                {
 0347                    b.Property<long>("Id")
 0348                        .ValueGeneratedOnAdd()
 0349                        .HasColumnType("bigint")
 0350                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0351
 0352                    b.Property<long?>("CreatedByUserId")
 0353                        .HasColumnType("bigint");
 0354
 0355                    b.Property<DateTime>("CreationDateTime")
 0356                        .HasColumnType("timestamp without time zone");
 0357
 0358                    b.Property<Guid>("GUID")
 0359                        .ValueGeneratedOnAdd()
 0360                        .HasColumnType("uuid");
 0361
 0362                    b.Property<bool>("IsDeleted")
 0363                        .HasColumnType("boolean");
 0364
 0365                    b.Property<decimal>("MinOrderSum")
 0366                        .HasColumnType("numeric");
 0367
 0368                    b.Property<DateTime?>("ModificationDateTime")
 0369                        .HasColumnType("timestamp without time zone");
 0370
 0371                    b.Property<long?>("ModifiedByUserId")
 0372                        .HasColumnType("bigint");
 0373
 0374                    b.Property<string>("Name")
 0375                        .IsRequired()
 0376                        .HasColumnType("text");
 0377
 0378                    b.Property<long?>("RecStateId")
 0379                        .HasColumnType("bigint");
 0380
 0381                    b.Property<decimal>("TradeRatio")
 0382                        .HasColumnType("numeric");
 0383
 0384                    b.Property<long>("WarehouseId")
 0385                        .HasColumnType("bigint");
 0386
 0387                    b.HasKey("Id");
 0388
 0389                    b.HasIndex("CreatedByUserId");
 0390
 0391                    b.HasIndex("ModifiedByUserId");
 0392
 0393                    b.HasIndex("Name");
 0394
 0395                    b.HasIndex("RecStateId");
 0396
 0397                    b.HasIndex("WarehouseId");
 0398
 0399                    b.ToTable("Clusters");
 0400                });
 401
 0402            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Configuration", b =>
 0403                {
 0404                    b.Property<long>("Id")
 0405                        .ValueGeneratedOnAdd()
 0406                        .HasColumnType("bigint")
 0407                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0408
 0409                    b.Property<long?>("CreatedByUserId")
 0410                        .HasColumnType("bigint");
 0411
 0412                    b.Property<DateTime>("CreationDateTime")
 0413                        .HasColumnType("timestamp without time zone");
 0414
 0415                    b.Property<bool>("Encrypted")
 0416                        .HasColumnType("boolean");
 0417
 0418                    b.Property<Guid>("GUID")
 0419                        .ValueGeneratedOnAdd()
 0420                        .HasColumnType("uuid");
 0421
 0422                    b.Property<bool>("IsDeleted")
 0423                        .HasColumnType("boolean");
 0424
 0425                    b.Property<string>("Key")
 0426                        .IsRequired()
 0427                        .HasColumnType("text");
 0428
 0429                    b.Property<DateTime?>("ModificationDateTime")
 0430                        .HasColumnType("timestamp without time zone");
 0431
 0432                    b.Property<long?>("ModifiedByUserId")
 0433                        .HasColumnType("bigint");
 0434
 0435                    b.Property<long?>("RecStateId")
 0436                        .HasColumnType("bigint");
 0437
 0438                    b.Property<string>("Section")
 0439                        .HasColumnType("text");
 0440
 0441                    b.Property<string>("Value")
 0442                        .IsRequired()
 0443                        .HasColumnType("text");
 0444
 0445                    b.Property<long>("ValueTypeId")
 0446                        .HasColumnType("bigint");
 0447
 0448                    b.HasKey("Id");
 0449
 0450                    b.HasIndex("CreatedByUserId");
 0451
 0452                    b.HasIndex("ModifiedByUserId");
 0453
 0454                    b.HasIndex("RecStateId");
 0455
 0456                    b.HasIndex("ValueTypeId");
 0457
 0458                    b.HasIndex("Section", "Key")
 0459                        .IsUnique();
 0460
 0461                    b.ToTable("Configurations");
 0462
 0463                    b.HasData(
 0464                        new
 0465                        {
 0466                            Id = 3L,
 0467                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0468                            Encrypted = false,
 0469                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0470                            IsDeleted = false,
 0471                            Key = "CorsOn",
 0472                            Section = "GlobalCorsSettings",
 0473                            Value = "false",
 0474                            ValueTypeId = 4L
 0475                        },
 0476                        new
 0477                        {
 0478                            Id = 4L,
 0479                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0480                            Encrypted = false,
 0481                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0482                            IsDeleted = false,
 0483                            Key = "SyncOn",
 0484                            Section = "CrmSettings",
 0485                            Value = "true",
 0486                            ValueTypeId = 4L
 0487                        },
 0488                        new
 0489                        {
 0490                            Id = 10L,
 0491                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0492                            Encrypted = false,
 0493                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0494                            IsDeleted = false,
 0495                            Key = "SmtpServer",
 0496                            Section = "EmailSettings",
 0497                            Value = "smtp.yandex.ru",
 0498                            ValueTypeId = 1L
 0499                        },
 0500                        new
 0501                        {
 0502                            Id = 11L,
 0503                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0504                            Encrypted = false,
 0505                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0506                            IsDeleted = false,
 0507                            Key = "Port",
 0508                            Section = "EmailSettings",
 0509                            Value = "25",
 0510                            ValueTypeId = 2L
 0511                        },
 0512                        new
 0513                        {
 0514                            Id = 12L,
 0515                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0516                            Encrypted = true,
 0517                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0518                            IsDeleted = false,
 0519                            Key = "Login",
 0520                            Section = "EmailSettings",
 0521                            Value = "5lIZ+UJmaxZ+Ems4VFP5ByQNQK8kk743FoKyi+BKMpk8Osd4CRJtMvUQFF6L+v+v",
 0522                            ValueTypeId = 1L
 0523                        },
 0524                        new
 0525                        {
 0526                            Id = 13L,
 0527                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0528                            Encrypted = true,
 0529                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0530                            IsDeleted = false,
 0531                            Key = "Password",
 0532                            Section = "EmailSettings",
 0533                            Value = "akvA9nIk/tOHCRKgT0MEEi6tTT4MjOOSZbVotPnbr9t4dl62qWqQajO9nQ5z6Oxq",
 0534                            ValueTypeId = 1L
 0535                        },
 0536                        new
 0537                        {
 0538                            Id = 14L,
 0539                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0540                            Encrypted = false,
 0541                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0542                            IsDeleted = false,
 0543                            Key = "From",
 0544                            Section = "EmailSettings",
 0545                            Value = "service@winsolutions.ru",
 0546                            ValueTypeId = 1L
 0547                        },
 0548                        new
 0549                        {
 0550                            Id = 15L,
 0551                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0552                            Encrypted = false,
 0553                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0554                            IsDeleted = false,
 0555                            Key = "ChangeTransaction",
 0556                            Section = "WalletSettings",
 0557                            Value = "transaction/change_deal_distributor",
 0558                            ValueTypeId = 1L
 0559                        },
 0560                        new
 0561                        {
 0562                            Id = 16L,
 0563                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0564                            Encrypted = false,
 0565                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0566                            IsDeleted = false,
 0567                            Key = "CheckChangeTransaction",
 0568                            Section = "WalletSettings",
 0569                            Value = "transaction/change_distributor",
 0570                            ValueTypeId = 1L
 0571                        },
 0572                        new
 0573                        {
 0574                            Id = 17L,
 0575                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0576                            Encrypted = false,
 0577                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0578                            IsDeleted = false,
 0579                            Key = "GetTransaction",
 0580                            Section = "WalletSettings",
 0581                            Value = "transaction/get",
 0582                            ValueTypeId = 1L
 0583                        },
 0584                        new
 0585                        {
 0586                            Id = 18L,
 0587                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0588                            Encrypted = false,
 0589                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0590                            IsDeleted = false,
 0591                            Key = "AccountHistory",
 0592                            Section = "WalletSettings",
 0593                            Value = "record/get_full",
 0594                            ValueTypeId = 1L
 0595                        },
 0596                        new
 0597                        {
 0598                            Id = 22L,
 0599                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0600                            Encrypted = false,
 0601                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0602                            IsDeleted = false,
 0603                            Key = "GetAcc",
 0604                            Section = "WalletSettings",
 0605                            Value = "acc/get",
 0606                            ValueTypeId = 1L
 0607                        },
 0608                        new
 0609                        {
 0610                            Id = 23L,
 0611                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0612                            Encrypted = false,
 0613                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0614                            IsDeleted = false,
 0615                            Key = "GetAccBalanceFree",
 0616                            Section = "WalletSettings",
 0617                            Value = "acc/balance_free",
 0618                            ValueTypeId = 1L
 0619                        },
 0620                        new
 0621                        {
 0622                            Id = 24L,
 0623                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0624                            Encrypted = false,
 0625                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0626                            IsDeleted = false,
 0627                            Key = "ActionTransaction",
 0628                            Section = "WalletSettings",
 0629                            Value = "transaction/action",
 0630                            ValueTypeId = 1L
 0631                        },
 0632                        new
 0633                        {
 0634                            Id = 25L,
 0635                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0636                            Encrypted = false,
 0637                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0638                            IsDeleted = false,
 0639                            Key = "CreateTransaction",
 0640                            Section = "WalletSettings",
 0641                            Value = "transaction/create",
 0642                            ValueTypeId = 1L
 0643                        },
 0644                        new
 0645                        {
 0646                            Id = 26L,
 0647                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0648                            Encrypted = false,
 0649                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0650                            IsDeleted = false,
 0651                            Key = "ServiceUserTID",
 0652                            Section = "AuthenticationSettings",
 0653                            Value = "964c5734-ba34-43d0-8770-b22b665e9abd",
 0654                            ValueTypeId = 5L
 0655                        },
 0656                        new
 0657                        {
 0658                            Id = 27L,
 0659                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0660                            Encrypted = false,
 0661                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0662                            IsDeleted = false,
 0663                            Key = "AnonymUserTID",
 0664                            Section = "AuthenticationSettings",
 0665                            Value = "3ce2ae32-9028-46b6-afbe-ad4feec0a016",
 0666                            ValueTypeId = 5L
 0667                        },
 0668                        new
 0669                        {
 0670                            Id = 28L,
 0671                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0672                            Encrypted = false,
 0673                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0674                            IsDeleted = false,
 0675                            Key = "FrequencyTime",
 0676                            Section = "FeedsSettings",
 0677                            Value = "1",
 0678                            ValueTypeId = 2L
 0679                        },
 0680                        new
 0681                        {
 0682                            Id = 29L,
 0683                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0684                            Encrypted = false,
 0685                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0686                            IsDeleted = false,
 0687                            Key = "YandexTimestamp",
 0688                            Section = "FeedsSettings",
 0689                            Value = "01.01.1900 00:00:00",
 0690                            ValueTypeId = 3L
 0691                        },
 0692                        new
 0693                        {
 0694                            Id = 30L,
 0695                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0696                            Encrypted = false,
 0697                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0698                            IsDeleted = false,
 0699                            Key = "GoogleTimestamp",
 0700                            Section = "FeedsSettings",
 0701                            Value = "01.01.1900 00:00:00",
 0702                            ValueTypeId = 3L
 0703                        },
 0704                        new
 0705                        {
 0706                            Id = 31L,
 0707                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0708                            Encrypted = false,
 0709                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0710                            IsDeleted = false,
 0711                            Key = "FullSizeUrlPlaceholder",
 0712                            Section = "ImageSettings",
 0713                            Value = "fullsizeplaceholder.jpg",
 0714                            ValueTypeId = 1L
 0715                        },
 0716                        new
 0717                        {
 0718                            Id = 32L,
 0719                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0720                            Encrypted = false,
 0721                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0722                            IsDeleted = false,
 0723                            Key = "PreviewUrlPlaceholder",
 0724                            Section = "ImageSettings",
 0725                            Value = "previewplaceholder.jpg",
 0726                            ValueTypeId = 1L
 0727                        },
 0728                        new
 0729                        {
 0730                            Id = 33L,
 0731                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0732                            Encrypted = false,
 0733                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0734                            IsDeleted = false,
 0735                            Key = "AllowedExtensions",
 0736                            Section = "ImageSettings",
 0737                            Value = ".jpg,.png,.jpeg",
 0738                            ValueTypeId = 1L
 0739                        });
 0740                });
 741
 0742            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ConfigurationsDataType", b =>
 0743                {
 0744                    b.Property<long>("Id")
 0745                        .ValueGeneratedOnAdd()
 0746                        .HasColumnType("bigint")
 0747                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0748
 0749                    b.Property<long?>("CreatedByUserId")
 0750                        .HasColumnType("bigint");
 0751
 0752                    b.Property<DateTime>("CreationDateTime")
 0753                        .HasColumnType("timestamp without time zone");
 0754
 0755                    b.Property<string>("Description")
 0756                        .HasColumnType("text");
 0757
 0758                    b.Property<Guid>("GUID")
 0759                        .ValueGeneratedOnAdd()
 0760                        .HasColumnType("uuid");
 0761
 0762                    b.Property<bool>("IsDeleted")
 0763                        .HasColumnType("boolean");
 0764
 0765                    b.Property<DateTime?>("ModificationDateTime")
 0766                        .HasColumnType("timestamp without time zone");
 0767
 0768                    b.Property<long?>("ModifiedByUserId")
 0769                        .HasColumnType("bigint");
 0770
 0771                    b.Property<string>("Name")
 0772                        .IsRequired()
 0773                        .HasColumnType("text");
 0774
 0775                    b.Property<long?>("RecStateId")
 0776                        .HasColumnType("bigint");
 0777
 0778                    b.HasKey("Id");
 0779
 0780                    b.HasIndex("CreatedByUserId");
 0781
 0782                    b.HasIndex("ModifiedByUserId");
 0783
 0784                    b.HasIndex("RecStateId");
 0785
 0786                    b.ToTable("ConfigurationsDataTypes");
 0787
 0788                    b.HasData(
 0789                        new
 0790                        {
 0791                            Id = 1L,
 0792                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0793                            Description = "Строковое значение",
 0794                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0795                            IsDeleted = false,
 0796                            Name = "string"
 0797                        },
 0798                        new
 0799                        {
 0800                            Id = 2L,
 0801                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0802                            Description = "Целочисленное значение",
 0803                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0804                            IsDeleted = false,
 0805                            Name = "int"
 0806                        },
 0807                        new
 0808                        {
 0809                            Id = 3L,
 0810                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0811                            Description = "Дата и время",
 0812                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0813                            IsDeleted = false,
 0814                            Name = "datetime"
 0815                        },
 0816                        new
 0817                        {
 0818                            Id = 4L,
 0819                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0820                            Description = "Логическое значение",
 0821                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0822                            IsDeleted = false,
 0823                            Name = "bool"
 0824                        },
 0825                        new
 0826                        {
 0827                            Id = 5L,
 0828                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0829                            Description = "Гуид",
 0830                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0831                            IsDeleted = false,
 0832                            Name = "guid"
 0833                        });
 0834                });
 835
 0836            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", b =>
 0837                {
 0838                    b.Property<long>("Id")
 0839                        .ValueGeneratedOnAdd()
 0840                        .HasColumnType("bigint")
 0841                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0842
 0843                    b.Property<string>("BankName")
 0844                        .HasColumnType("text");
 0845
 0846                    b.Property<string>("Bik")
 0847                        .HasColumnType("text");
 0848
 0849                    b.Property<string>("ChiefAccountant")
 0850                        .IsRequired()
 0851                        .HasColumnType("text");
 0852
 0853                    b.Property<long>("ContragentsKindId")
 0854                        .HasColumnType("bigint");
 0855
 0856                    b.Property<long?>("CreatedByUserId")
 0857                        .HasColumnType("bigint");
 0858
 0859                    b.Property<DateTime>("CreationDateTime")
 0860                        .HasColumnType("timestamp without time zone");
 0861
 0862                    b.Property<string>("Email")
 0863                        .IsRequired()
 0864                        .HasColumnType("text");
 0865
 0866                    b.Property<Guid>("ExternalKey")
 0867                        .ValueGeneratedOnAdd()
 0868                        .HasColumnType("uuid");
 0869
 0870                    b.Property<string>("FullName")
 0871                        .IsRequired()
 0872                        .HasColumnType("text");
 0873
 0874                    b.Property<Guid>("GUID")
 0875                        .ValueGeneratedOnAdd()
 0876                        .HasColumnType("uuid");
 0877
 0878                    b.Property<string>("Inn")
 0879                        .IsRequired()
 0880                        .HasColumnType("text");
 0881
 0882                    b.Property<bool>("IsDeleted")
 0883                        .HasColumnType("boolean");
 0884
 0885                    b.Property<long>("JuridicAddressId")
 0886                        .HasColumnType("bigint");
 0887
 0888                    b.Property<string>("Kpp")
 0889                        .IsRequired()
 0890                        .HasColumnType("text");
 0891
 0892                    b.Property<DateTime?>("ModificationDateTime")
 0893                        .HasColumnType("timestamp without time zone");
 0894
 0895                    b.Property<long?>("ModifiedByUserId")
 0896                        .HasColumnType("bigint");
 0897
 0898                    b.Property<string>("Ogrn")
 0899                        .IsRequired()
 0900                        .HasColumnType("text");
 0901
 0902                    b.Property<string>("Okato")
 0903                        .HasColumnType("text");
 0904
 0905                    b.Property<string>("Okpo")
 0906                        .HasColumnType("text");
 0907
 0908                    b.Property<string>("Okved")
 0909                        .HasColumnType("text");
 0910
 0911                    b.Property<long>("OwnerId")
 0912                        .HasColumnType("bigint");
 0913
 0914                    b.Property<string>("PhoneNumber")
 0915                        .IsRequired()
 0916                        .HasColumnType("text");
 0917
 0918                    b.Property<long>("PhysicAddressId")
 0919                        .HasColumnType("bigint");
 0920
 0921                    b.Property<long?>("RecStateId")
 0922                        .HasColumnType("bigint");
 0923
 0924                    b.Property<string>("SettlementAccount")
 0925                        .HasColumnType("text");
 0926
 0927                    b.Property<string>("ShortName")
 0928                        .IsRequired()
 0929                        .HasColumnType("text");
 0930
 0931                    b.Property<string>("TaxSystemCRM")
 0932                        .IsRequired()
 0933                        .HasColumnType("text");
 0934
 0935                    b.Property<long?>("TaxSystemId")
 0936                        .HasColumnType("bigint");
 0937
 0938                    b.Property<string>("WalletId")
 0939                        .IsRequired()
 0940                        .HasColumnType("text");
 0941
 0942                    b.Property<string>("WalletShortId")
 0943                        .IsRequired()
 0944                        .HasColumnType("text");
 0945
 0946                    b.Property<string>("WebSite")
 0947                        .HasColumnType("text");
 0948
 0949                    b.Property<string>("СorrespondentAccount")
 0950                        .HasColumnType("text");
 0951
 0952                    b.HasKey("Id");
 0953
 0954                    b.HasIndex("ContragentsKindId");
 0955
 0956                    b.HasIndex("CreatedByUserId");
 0957
 0958                    b.HasIndex("JuridicAddressId");
 0959
 0960                    b.HasIndex("ModifiedByUserId");
 0961
 0962                    b.HasIndex("OwnerId");
 0963
 0964                    b.HasIndex("PhysicAddressId");
 0965
 0966                    b.HasIndex("RecStateId");
 0967
 0968                    b.HasIndex("TaxSystemId");
 0969
 0970                    b.HasIndex("Inn", "Kpp")
 0971                        .IsUnique();
 0972
 0973                    b.ToTable("Contragents");
 0974
 0975                    b.HasData(
 0976                        new
 0977                        {
 0978                            Id = -1L,
 0979                            ChiefAccountant = "1",
 0980                            ContragentsKindId = 2L,
 0981                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0982                            Email = "example@email.ru",
 0983                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 0984                            FullName = "Общество с ограниченной ответственностью Демонстрационный контрагент",
 0985                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0986                            Inn = "2",
 0987                            IsDeleted = false,
 0988                            JuridicAddressId = -1L,
 0989                            Kpp = "2",
 0990                            Ogrn = "2",
 0991                            Okato = "1",
 0992                            Okpo = "1",
 0993                            Okved = "1",
 0994                            OwnerId = -2L,
 0995                            PhoneNumber = "88008008000",
 0996                            PhysicAddressId = -1L,
 0997                            RecStateId = 2L,
 0998                            ShortName = "ООО Демонстрационный контрагент",
 0999                            TaxSystemCRM = "",
 01000                            TaxSystemId = 1L,
 01001                            WalletId = "",
 01002                            WalletShortId = "",
 01003                            WebSite = "www.example.com"
 01004                        },
 01005                        new
 01006                        {
 01007                            Id = -2L,
 01008                            ChiefAccountant = "1",
 01009                            ContragentsKindId = 6L,
 01010                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01011                            Email = "service@email.ru",
 01012                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 01013                            FullName = "ООО Сервисный контрагент",
 01014                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01015                            Inn = "1",
 01016                            IsDeleted = false,
 01017                            JuridicAddressId = -1L,
 01018                            Kpp = "1",
 01019                            Ogrn = "1",
 01020                            Okato = "1",
 01021                            Okpo = "1",
 01022                            Okved = "1",
 01023                            OwnerId = -1L,
 01024                            PhoneNumber = "1",
 01025                            PhysicAddressId = -1L,
 01026                            RecStateId = 2L,
 01027                            ShortName = "Сервисный контрагент",
 01028                            TaxSystemCRM = "",
 01029                            TaxSystemId = 1L,
 01030                            WalletId = "",
 01031                            WalletShortId = "",
 01032                            WebSite = "1"
 01033                        });
 01034                });
 1035
 01036            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ContragentsKind", b =>
 01037                {
 01038                    b.Property<long>("Id")
 01039                        .ValueGeneratedOnAdd()
 01040                        .HasColumnType("bigint")
 01041                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 01042
 01043                    b.Property<string>("Code")
 01044                        .IsRequired()
 01045                        .HasColumnType("text");
 01046
 01047                    b.Property<long?>("CreatedByUserId")
 01048                        .HasColumnType("bigint");
 01049
 01050                    b.Property<DateTime>("CreationDateTime")
 01051                        .HasColumnType("timestamp without time zone");
 01052
 01053                    b.Property<string>("Description")
 01054                        .HasColumnType("text");
 01055
 01056                    b.Property<Guid>("ExternalKey")
 01057                        .ValueGeneratedOnAdd()
 01058                        .HasColumnType("uuid");
 01059
 01060                    b.Property<Guid>("GUID")
 01061                        .ValueGeneratedOnAdd()
 01062                        .HasColumnType("uuid");
 01063
 01064                    b.Property<bool>("IsDeleted")
 01065                        .HasColumnType("boolean");
 01066
 01067                    b.Property<DateTime?>("ModificationDateTime")
 01068                        .HasColumnType("timestamp without time zone");
 01069
 01070                    b.Property<long?>("ModifiedByUserId")
 01071                        .HasColumnType("bigint");
 01072
 01073                    b.Property<string>("Name")
 01074                        .IsRequired()
 01075                        .HasColumnType("text");
 01076
 01077                    b.Property<long?>("RecStateId")
 01078                        .HasColumnType("bigint");
 01079
 01080                    b.HasKey("Id");
 01081
 01082                    b.HasIndex("CreatedByUserId");
 01083
 01084                    b.HasIndex("ModifiedByUserId");
 01085
 01086                    b.HasIndex("RecStateId");
 01087
 01088                    b.ToTable("ContragentsKind");
 01089
 01090                    b.HasData(
 01091                        new
 01092                        {
 01093                            Id = 1L,
 01094                            Code = "Unknown",
 01095                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01096                            Description = "",
 01097                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 01098                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01099                            IsDeleted = false,
 01100                            Name = "Неизвестный"
 01101                        },
 01102                        new
 01103                        {
 01104                            Id = 2L,
 01105                            Code = "Retailer",
 01106                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01107                            Description = "",
 01108                            ExternalKey = new Guid("1cf9aefe-7a96-4a88-a1c9-072964c7c6a7"),
 01109                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01110                            IsDeleted = false,
 01111                            Name = "Магазин"
 01112                        },
 01113                        new
 01114                        {
 01115                            Id = 3L,
 01116                            Code = "Wholesaler",
 01117                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01118                            Description = "",
 01119                            ExternalKey = new Guid("ccda4192-5492-4a93-9c3e-f2d1f765d4e5"),
 01120                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01121                            IsDeleted = false,
 01122                            Name = "Дистрибьютор"
 01123                        },
 01124                        new
 01125                        {
 01126                            Id = 4L,
 01127                            Code = "Manufacturer",
 01128                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01129                            Description = "",
 01130                            ExternalKey = new Guid("31edf71f-4a7f-44f9-a705-869c38b9c70b"),
 01131                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01132                            IsDeleted = false,
 01133                            Name = "Производитель"
 01134                        },
 01135                        new
 01136                        {
 01137                            Id = 5L,
 01138                            Code = "Supplier",
 01139                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01140                            Description = "В будущем надо удалить",
 01141                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 01142                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01143                            IsDeleted = false,
 01144                            Name = "---"
 01145                        },
 01146                        new
 01147                        {
 01148                            Id = 6L,
 01149                            Code = "Platform",
 01150                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01151                            Description = "",
 01152                            ExternalKey = new Guid("4cd0458f-9bb0-4417-92b7-8f4004782d5b"),
 01153                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01154                            IsDeleted = false,
 01155                            Name = "Платформа"
 01156                        });
 01157                });
 1158
 01159            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ControlAccess", b =>
 01160                {
 01161                    b.Property<long>("Id")
 01162                        .ValueGeneratedOnAdd()
 01163                        .HasColumnType("bigint")
 01164                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 01165
 01166                    b.Property<long>("ActionId")
 01167                        .HasColumnType("bigint");
 01168
 01169                    b.Property<bool?>("Available")
 01170                        .HasColumnType("boolean");
 01171
 01172                    b.Property<long?>("CreatedByUserId")
 01173                        .HasColumnType("bigint");
 01174
 01175                    b.Property<DateTime>("CreationDateTime")
 01176                        .HasColumnType("timestamp without time zone");
 01177
 01178                    b.Property<Guid>("GUID")
 01179                        .ValueGeneratedOnAdd()
 01180                        .HasColumnType("uuid");
 01181
 01182                    b.Property<bool>("IsDeleted")
 01183                        .HasColumnType("boolean");
 01184
 01185                    b.Property<DateTime?>("ModificationDateTime")
 01186                        .HasColumnType("timestamp without time zone");
 01187
 01188                    b.Property<long?>("ModifiedByUserId")
 01189                        .HasColumnType("bigint");
 01190
 01191                    b.Property<long?>("RecStateId")
 01192                        .HasColumnType("bigint");
 01193
 01194                    b.Property<long>("RoleId")
 01195                        .HasColumnType("bigint");
 01196
 01197                    b.HasKey("Id");
 01198
 01199                    b.HasIndex("CreatedByUserId");
 01200
 01201                    b.HasIndex("ModifiedByUserId");
 01202
 01203                    b.HasIndex("RecStateId");
 01204
 01205                    b.HasIndex("RoleId");
 01206
 01207                    b.HasIndex("ActionId", "Available", "RoleId")
 01208                        .IsUnique();
 01209
 01210                    b.ToTable("ControlsAccess");
 01211
 01212                    b.HasData(
 01213                        new
 01214                        {
 01215                            Id = 26L,
 01216                            ActionId = 8L,
 01217                            Available = true,
 01218                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01219                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01220                            IsDeleted = false,
 01221                            RoleId = 1L
 01222                        },
 01223                        new
 01224                        {
 01225                            Id = 27L,
 01226                            ActionId = 4L,
 01227                            Available = true,
 01228                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01229                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01230                            IsDeleted = false,
 01231                            RoleId = 1L
 01232                        },
 01233                        new
 01234                        {
 01235                            Id = 28L,
 01236                            ActionId = 9L,
 01237                            Available = true,
 01238                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01239                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01240                            IsDeleted = false,
 01241                            RoleId = 1L
 01242                        },
 01243                        new
 01244                        {
 01245                            Id = 29L,
 01246                            ActionId = 11L,
 01247                            Available = true,
 01248                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01249                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01250                            IsDeleted = false,
 01251                            RoleId = 1L
 01252                        },
 01253                        new
 01254                        {
 01255                            Id = 30L,
 01256                            ActionId = 6L,
 01257                            Available = true,
 01258                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01259                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01260                            IsDeleted = false,
 01261                            RoleId = 1L
 01262                        },
 01263                        new
 01264                        {
 01265                            Id = 31L,
 01266                            ActionId = 13L,
 01267                            Available = true,
 01268                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01269                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01270                            IsDeleted = false,
 01271                            RoleId = 1L
 01272                        },
 01273                        new
 01274                        {
 01275                            Id = 32L,
 01276                            ActionId = 12L,
 01277                            Available = true,
 01278                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01279                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01280                            IsDeleted = false,
 01281                            RoleId = 1L
 01282                        },
 01283                        new
 01284                        {
 01285                            Id = 33L,
 01286                            ActionId = 5L,
 01287                            Available = true,
 01288                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01289                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01290                            IsDeleted = false,
 01291                            RoleId = 1L
 01292                        },
 01293                        new
 01294                        {
 01295                            Id = 34L,
 01296                            ActionId = 8L,
 01297                            Available = true,
 01298                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01299                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01300                            IsDeleted = false,
 01301                            RoleId = 2L
 01302                        },
 01303                        new
 01304                        {
 01305                            Id = 35L,
 01306                            ActionId = 4L,
 01307                            Available = true,
 01308                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01309                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01310                            IsDeleted = false,
 01311                            RoleId = 2L
 01312                        },
 01313                        new
 01314                        {
 01315                            Id = 36L,
 01316                            ActionId = 9L,
 01317                            Available = true,
 01318                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01319                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01320                            IsDeleted = false,
 01321                            RoleId = 2L
 01322                        },
 01323                        new
 01324                        {
 01325                            Id = 37L,
 01326                            ActionId = 11L,
 01327                            Available = true,
 01328                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01329                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01330                            IsDeleted = false,
 01331                            RoleId = 2L
 01332                        },
 01333                        new
 01334                        {
 01335                            Id = 38L,
 01336                            ActionId = 6L,
 01337                            Available = true,
 01338                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01339                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01340                            IsDeleted = false,
 01341                            RoleId = 2L
 01342                        },
 01343                        new
 01344                        {
 01345                            Id = 39L,
 01346                            ActionId = 13L,
 01347                            Available = true,
 01348                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01349                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01350                            IsDeleted = false,
 01351                            RoleId = 2L
 01352                        },
 01353                        new
 01354                        {
 01355                            Id = 40L,
 01356                            ActionId = 12L,
 01357                            Available = true,
 01358                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01359                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01360                            IsDeleted = false,
 01361                            RoleId = 2L
 01362                        },
 01363                        new
 01364                        {
 01365                            Id = 41L,
 01366                            ActionId = 5L,
 01367                            Available = true,
 01368                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01369                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01370                            IsDeleted = false,
 01371                            RoleId = 2L
 01372                        },
 01373                        new
 01374                        {
 01375                            Id = 42L,
 01376                            ActionId = 9L,
 01377                            Available = true,
 01378                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01379                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01380                            IsDeleted = false,
 01381                            RoleId = 6L
 01382                        },
 01383                        new
 01384                        {
 01385                            Id = 43L,
 01386                            ActionId = 11L,
 01387                            Available = true,
 01388                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01389                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01390                            IsDeleted = false,
 01391                            RoleId = 6L
 01392                        },
 01393                        new
 01394                        {
 01395                            Id = 44L,
 01396                            ActionId = 8L,
 01397                            Available = false,
 01398                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01399                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01400                            IsDeleted = false,
 01401                            RoleId = 6L
 01402                        },
 01403                        new
 01404                        {
 01405                            Id = 45L,
 01406                            ActionId = 4L,
 01407                            Available = true,
 01408                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01409                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01410                            IsDeleted = false,
 01411                            RoleId = 6L
 01412                        },
 01413                        new
 01414                        {
 01415                            Id = 46L,
 01416                            ActionId = 6L,
 01417                            Available = true,
 01418                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01419                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01420                            IsDeleted = false,
 01421                            RoleId = 6L
 01422                        },
 01423                        new
 01424                        {
 01425                            Id = 47L,
 01426                            ActionId = 13L,
 01427                            Available = true,
 01428                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01429                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01430                            IsDeleted = false,
 01431                            RoleId = 6L
 01432                        },
 01433                        new
 01434                        {
 01435                            Id = 48L,
 01436                            ActionId = 5L,
 01437                            Available = true,
 01438                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01439                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01440                            IsDeleted = false,
 01441                            RoleId = 6L
 01442                        },
 01443                        new
 01444                        {
 01445                            Id = 49L,
 01446                            ActionId = 9L,
 01447                            Available = true,
 01448                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01449                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01450                            IsDeleted = false,
 01451                            RoleId = 7L
 01452                        },
 01453                        new
 01454                        {
 01455                            Id = 50L,
 01456                            ActionId = 11L,
 01457                            Available = true,
 01458                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01459                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01460                            IsDeleted = false,
 01461                            RoleId = 7L
 01462                        },
 01463                        new
 01464                        {
 01465                            Id = 51L,
 01466                            ActionId = 8L,
 01467                            Available = false,
 01468                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01469                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01470                            IsDeleted = false,
 01471                            RoleId = 7L
 01472                        },
 01473                        new
 01474                        {
 01475                            Id = 52L,
 01476                            ActionId = 4L,
 01477                            Available = true,
 01478                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01479                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01480                            IsDeleted = false,
 01481                            RoleId = 7L
 01482                        },
 01483                        new
 01484                        {
 01485                            Id = 53L,
 01486                            ActionId = 6L,
 01487                            Available = true,
 01488                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01489                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01490                            IsDeleted = false,
 01491                            RoleId = 7L
 01492                        },
 01493                        new
 01494                        {
 01495                            Id = 54L,
 01496                            ActionId = 13L,
 01497                            Available = true,
 01498                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01499                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01500                            IsDeleted = false,
 01501                            RoleId = 7L
 01502                        },
 01503                        new
 01504                        {
 01505                            Id = 55L,
 01506                            ActionId = 5L,
 01507                            Available = true,
 01508                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01509                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01510                            IsDeleted = false,
 01511                            RoleId = 7L
 01512                        },
 01513                        new
 01514                        {
 01515                            Id = 56L,
 01516                            ActionId = 9L,
 01517                            Available = true,
 01518                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01519                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01520                            IsDeleted = false,
 01521                            RoleId = 8L
 01522                        },
 01523                        new
 01524                        {
 01525                            Id = 57L,
 01526                            ActionId = 11L,
 01527                            Available = true,
 01528                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01529                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01530                            IsDeleted = false,
 01531                            RoleId = 8L
 01532                        },
 01533                        new
 01534                        {
 01535                            Id = 58L,
 01536                            ActionId = 8L,
 01537                            Available = false,
 01538                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01539                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01540                            IsDeleted = false,
 01541                            RoleId = 8L
 01542                        },
 01543                        new
 01544                        {
 01545                            Id = 59L,
 01546                            ActionId = 4L,
 01547                            Available = false,
 01548                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01549                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01550                            IsDeleted = false,
 01551                            RoleId = 8L
 01552                        },
 01553                        new
 01554                        {
 01555                            Id = 60L,
 01556                            ActionId = 6L,
 01557                            Available = true,
 01558                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01559                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01560                            IsDeleted = false,
 01561                            RoleId = 8L
 01562                        },
 01563                        new
 01564                        {
 01565                            Id = 61L,
 01566                            ActionId = 13L,
 01567                            Available = false,
 01568                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01569                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01570                            IsDeleted = false,
 01571                            RoleId = 8L
 01572                        },
 01573                        new
 01574                        {
 01575                            Id = 62L,
 01576                            ActionId = 5L,
 01577                            Available = true,
 01578                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01579                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01580                            IsDeleted = false,
 01581                            RoleId = 8L
 01582                        },
 01583                        new
 01584                        {
 01585                            Id = 63L,
 01586                            ActionId = 9L,
 01587                            Available = true,
 01588                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01589                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01590                            IsDeleted = false,
 01591                            RoleId = 3L
 01592                        },
 01593                        new
 01594                        {
 01595                            Id = 64L,
 01596                            ActionId = 11L,
 01597                            Available = true,
 01598                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01599                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01600                            IsDeleted = false,
 01601                            RoleId = 3L
 01602                        },
 01603                        new
 01604                        {
 01605                            Id = 65L,
 01606                            ActionId = 8L,
 01607                            Available = true,
 01608                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01609                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01610                            IsDeleted = false,
 01611                            RoleId = 3L
 01612                        },
 01613                        new
 01614                        {
 01615                            Id = 66L,
 01616                            ActionId = 4L,
 01617                            Available = true,
 01618                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01619                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01620                            IsDeleted = false,
 01621                            RoleId = 3L
 01622                        },
 01623                        new
 01624                        {
 01625                            Id = 67L,
 01626                            ActionId = 5L,
 01627                            Available = true,
 01628                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01629                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01630                            IsDeleted = false,
 01631                            RoleId = 3L
 01632                        },
 01633                        new
 01634                        {
 01635                            Id = 69L,
 01636                            ActionId = 9L,
 01637                            Available = true,
 01638                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01639                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01640                            IsDeleted = false,
 01641                            RoleId = 4L
 01642                        },
 01643                        new
 01644                        {
 01645                            Id = 70L,
 01646                            ActionId = 11L,
 01647                            Available = true,
 01648                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01649                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01650                            IsDeleted = false,
 01651                            RoleId = 4L
 01652                        },
 01653                        new
 01654                        {
 01655                            Id = 71L,
 01656                            ActionId = 8L,
 01657                            Available = true,
 01658                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01659                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01660                            IsDeleted = false,
 01661                            RoleId = 4L
 01662                        },
 01663                        new
 01664                        {
 01665                            Id = 72L,
 01666                            ActionId = 4L,
 01667                            Available = true,
 01668                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01669                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01670                            IsDeleted = false,
 01671                            RoleId = 4L
 01672                        },
 01673                        new
 01674                        {
 01675                            Id = 73L,
 01676                            ActionId = 5L,
 01677                            Available = true,
 01678                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01679                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01680                            IsDeleted = false,
 01681                            RoleId = 4L
 01682                        },
 01683                        new
 01684                        {
 01685                            Id = 75L,
 01686                            ActionId = 9L,
 01687                            Available = true,
 01688                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01689                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01690                            IsDeleted = false,
 01691                            RoleId = 5L
 01692                        },
 01693                        new
 01694                        {
 01695                            Id = 76L,
 01696                            ActionId = 11L,
 01697                            Available = true,
 01698                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01699                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01700                            IsDeleted = false,
 01701                            RoleId = 5L
 01702                        },
 01703                        new
 01704                        {
 01705                            Id = 77L,
 01706                            ActionId = 8L,
 01707                            Available = true,
 01708                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01709                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01710                            IsDeleted = false,
 01711                            RoleId = 5L
 01712                        },
 01713                        new
 01714                        {
 01715                            Id = 78L,
 01716                            ActionId = 4L,
 01717                            Available = true,
 01718                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01719                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01720                            IsDeleted = false,
 01721                            RoleId = 5L
 01722                        },
 01723                        new
 01724                        {
 01725                            Id = 79L,
 01726                            ActionId = 5L,
 01727                            Available = true,
 01728                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01729                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01730                            IsDeleted = false,
 01731                            RoleId = 5L
 01732                        },
 01733                        new
 01734                        {
 01735                            Id = 82L,
 01736                            ActionId = 11L,
 01737                            Available = true,
 01738                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01739                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01740                            IsDeleted = false,
 01741                            RoleId = 9L
 01742                        },
 01743                        new
 01744                        {
 01745                            Id = 83L,
 01746                            ActionId = 3L,
 01747                            Available = true,
 01748                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01749                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01750                            IsDeleted = false,
 01751                            RoleId = 1L
 01752                        },
 01753                        new
 01754                        {
 01755                            Id = 84L,
 01756                            ActionId = 3L,
 01757                            Available = true,
 01758                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01759                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01760                            IsDeleted = false,
 01761                            RoleId = 2L
 01762                        },
 01763                        new
 01764                        {
 01765                            Id = 85L,
 01766                            ActionId = 3L,
 01767                            Available = true,
 01768                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01769                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01770                            IsDeleted = false,
 01771                            RoleId = 3L
 01772                        },
 01773                        new
 01774                        {
 01775                            Id = 86L,
 01776                            ActionId = 3L,
 01777                            Available = true,
 01778                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01779                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01780                            IsDeleted = false,
 01781                            RoleId = 4L
 01782                        },
 01783                        new
 01784                        {
 01785                            Id = 87L,
 01786                            ActionId = 3L,
 01787                            Available = true,
 01788                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01789                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01790                            IsDeleted = false,
 01791                            RoleId = 5L
 01792                        },
 01793                        new
 01794                        {
 01795                            Id = 88L,
 01796                            ActionId = 3L,
 01797                            Available = true,
 01798                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01799                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01800                            IsDeleted = false,
 01801                            RoleId = 6L
 01802                        },
 01803                        new
 01804                        {
 01805                            Id = 89L,
 01806                            ActionId = 3L,
 01807                            Available = true,
 01808                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01809                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01810                            IsDeleted = false,
 01811                            RoleId = 7L
 01812                        },
 01813                        new
 01814                        {
 01815                            Id = 90L,
 01816                            ActionId = 3L,
 01817                            Available = true,
 01818                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01819                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01820                            IsDeleted = false,
 01821                            RoleId = 8L
 01822                        },
 01823                        new
 01824                        {
 01825                            Id = 95L,
 01826                            ActionId = 7L,
 01827                            Available = true,
 01828                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01829                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01830                            IsDeleted = false,
 01831                            RoleId = 7L
 01832                        },
 01833                        new
 01834                        {
 01835                            Id = 96L,
 01836                            ActionId = 2L,
 01837                            Available = true,
 01838                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01839                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01840                            IsDeleted = false,
 01841                            RoleId = 7L
 01842                        },
 01843                        new
 01844                        {
 01845                            Id = 97L,
 01846                            ActionId = 10L,
 01847                            Available = true,
 01848                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01849                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01850                            IsDeleted = false,
 01851                            RoleId = 7L
 01852                        },
 01853                        new
 01854                        {
 01855                            Id = 98L,
 01856                            ActionId = 7L,
 01857                            Available = true,
 01858                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01859                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01860                            IsDeleted = false,
 01861                            RoleId = 1L
 01862                        },
 01863                        new
 01864                        {
 01865                            Id = 99L,
 01866                            ActionId = 2L,
 01867                            Available = true,
 01868                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01869                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01870                            IsDeleted = false,
 01871                            RoleId = 1L
 01872                        },
 01873                        new
 01874                        {
 01875                            Id = 100L,
 01876                            ActionId = 10L,
 01877                            Available = true,
 01878                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01879                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01880                            IsDeleted = false,
 01881                            RoleId = 1L
 01882                        },
 01883                        new
 01884                        {
 01885                            Id = 101L,
 01886                            ActionId = 7L,
 01887                            Available = true,
 01888                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01889                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01890                            IsDeleted = false,
 01891                            RoleId = 2L
 01892                        },
 01893                        new
 01894                        {
 01895                            Id = 102L,
 01896                            ActionId = 2L,
 01897                            Available = true,
 01898                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01899                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01900                            IsDeleted = false,
 01901                            RoleId = 2L
 01902                        },
 01903                        new
 01904                        {
 01905                            Id = 103L,
 01906                            ActionId = 10L,
 01907                            Available = true,
 01908                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01909                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01910                            IsDeleted = false,
 01911                            RoleId = 2L
 01912                        },
 01913                        new
 01914                        {
 01915                            Id = 104L,
 01916                            ActionId = 7L,
 01917                            Available = false,
 01918                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01919                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01920                            IsDeleted = false,
 01921                            RoleId = 3L
 01922                        },
 01923                        new
 01924                        {
 01925                            Id = 105L,
 01926                            ActionId = 2L,
 01927                            Available = false,
 01928                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01929                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01930                            IsDeleted = false,
 01931                            RoleId = 3L
 01932                        },
 01933                        new
 01934                        {
 01935                            Id = 106L,
 01936                            ActionId = 10L,
 01937                            Available = false,
 01938                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01939                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01940                            IsDeleted = false,
 01941                            RoleId = 3L
 01942                        },
 01943                        new
 01944                        {
 01945                            Id = 107L,
 01946                            ActionId = 14L,
 01947                            Available = true,
 01948                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01949                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01950                            IsDeleted = false,
 01951                            RoleId = 1L
 01952                        },
 01953                        new
 01954                        {
 01955                            Id = 108L,
 01956                            ActionId = 14L,
 01957                            Available = false,
 01958                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01959                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01960                            IsDeleted = false,
 01961                            RoleId = 2L
 01962                        },
 01963                        new
 01964                        {
 01965                            Id = 109L,
 01966                            ActionId = 14L,
 01967                            Available = true,
 01968                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01969                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01970                            IsDeleted = false,
 01971                            RoleId = 3L
 01972                        },
 01973                        new
 01974                        {
 01975                            Id = 110L,
 01976                            ActionId = 14L,
 01977                            Available = true,
 01978                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01979                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01980                            IsDeleted = false,
 01981                            RoleId = 7L
 01982                        },
 01983                        new
 01984                        {
 01985                            Id = 111L,
 01986                            ActionId = 14L,
 01987                            Available = true,
 01988                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01989                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01990                            IsDeleted = false,
 01991                            RoleId = 6L
 01992                        },
 01993                        new
 01994                        {
 01995                            Id = 112L,
 01996                            ActionId = 2L,
 01997                            Available = true,
 01998                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01999                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02000                            IsDeleted = false,
 02001                            RoleId = 6L
 02002                        },
 02003                        new
 02004                        {
 02005                            Id = 113L,
 02006                            ActionId = 7L,
 02007                            Available = true,
 02008                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02009                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02010                            IsDeleted = false,
 02011                            RoleId = 6L
 02012                        },
 02013                        new
 02014                        {
 02015                            Id = 114L,
 02016                            ActionId = 10L,
 02017                            Available = true,
 02018                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02019                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02020                            IsDeleted = false,
 02021                            RoleId = 6L
 02022                        },
 02023                        new
 02024                        {
 02025                            Id = 115L,
 02026                            ActionId = 1L,
 02027                            Available = true,
 02028                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02029                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02030                            IsDeleted = false,
 02031                            RoleId = 3L
 02032                        },
 02033                        new
 02034                        {
 02035                            Id = 116L,
 02036                            ActionId = 1L,
 02037                            Available = true,
 02038                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02039                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02040                            IsDeleted = false,
 02041                            RoleId = 4L
 02042                        },
 02043                        new
 02044                        {
 02045                            Id = 117L,
 02046                            ActionId = 1L,
 02047                            Available = true,
 02048                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02049                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02050                            IsDeleted = false,
 02051                            RoleId = 5L
 02052                        },
 02053                        new
 02054                        {
 02055                            Id = 118L,
 02056                            ActionId = 13L,
 02057                            Available = true,
 02058                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02059                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02060                            IsDeleted = false,
 02061                            RoleId = 3L
 02062                        },
 02063                        new
 02064                        {
 02065                            Id = 119L,
 02066                            ActionId = 7L,
 02067                            Available = false,
 02068                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02069                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02070                            IsDeleted = false,
 02071                            RoleId = 4L
 02072                        },
 02073                        new
 02074                        {
 02075                            Id = 120L,
 02076                            ActionId = 2L,
 02077                            Available = false,
 02078                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02079                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02080                            IsDeleted = false,
 02081                            RoleId = 4L
 02082                        },
 02083                        new
 02084                        {
 02085                            Id = 121L,
 02086                            ActionId = 10L,
 02087                            Available = false,
 02088                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02089                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02090                            IsDeleted = false,
 02091                            RoleId = 4L
 02092                        },
 02093                        new
 02094                        {
 02095                            Id = 122L,
 02096                            ActionId = 7L,
 02097                            Available = false,
 02098                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02099                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02100                            IsDeleted = false,
 02101                            RoleId = 5L
 02102                        },
 02103                        new
 02104                        {
 02105                            Id = 123L,
 02106                            ActionId = 2L,
 02107                            Available = false,
 02108                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02109                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02110                            IsDeleted = false,
 02111                            RoleId = 5L
 02112                        },
 02113                        new
 02114                        {
 02115                            Id = 124L,
 02116                            ActionId = 10L,
 02117                            Available = false,
 02118                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02119                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02120                            IsDeleted = false,
 02121                            RoleId = 5L
 02122                        },
 02123                        new
 02124                        {
 02125                            Id = 125L,
 02126                            ActionId = 15L,
 02127                            Available = true,
 02128                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02129                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02130                            IsDeleted = false,
 02131                            RoleId = 1L
 02132                        },
 02133                        new
 02134                        {
 02135                            Id = 126L,
 02136                            ActionId = 15L,
 02137                            Available = true,
 02138                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02139                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02140                            IsDeleted = false,
 02141                            RoleId = 2L
 02142                        },
 02143                        new
 02144                        {
 02145                            Id = 127L,
 02146                            ActionId = 15L,
 02147                            Available = true,
 02148                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02149                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02150                            IsDeleted = false,
 02151                            RoleId = 3L
 02152                        },
 02153                        new
 02154                        {
 02155                            Id = 128L,
 02156                            ActionId = 15L,
 02157                            Available = true,
 02158                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02159                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02160                            IsDeleted = false,
 02161                            RoleId = 4L
 02162                        },
 02163                        new
 02164                        {
 02165                            Id = 129L,
 02166                            ActionId = 15L,
 02167                            Available = true,
 02168                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02169                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02170                            IsDeleted = false,
 02171                            RoleId = 5L
 02172                        },
 02173                        new
 02174                        {
 02175                            Id = 130L,
 02176                            ActionId = 15L,
 02177                            Available = true,
 02178                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02179                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02180                            IsDeleted = false,
 02181                            RoleId = 6L
 02182                        },
 02183                        new
 02184                        {
 02185                            Id = 131L,
 02186                            ActionId = 16L,
 02187                            Available = true,
 02188                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02189                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02190                            IsDeleted = false,
 02191                            RoleId = 1L
 02192                        },
 02193                        new
 02194                        {
 02195                            Id = 132L,
 02196                            ActionId = 16L,
 02197                            Available = true,
 02198                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02199                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02200                            IsDeleted = false,
 02201                            RoleId = 3L
 02202                        },
 02203                        new
 02204                        {
 02205                            Id = 133L,
 02206                            ActionId = 16L,
 02207                            Available = true,
 02208                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02209                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02210                            IsDeleted = false,
 02211                            RoleId = 4L
 02212                        },
 02213                        new
 02214                        {
 02215                            Id = 134L,
 02216                            ActionId = 16L,
 02217                            Available = true,
 02218                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02219                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02220                            IsDeleted = false,
 02221                            RoleId = 5L
 02222                        },
 02223                        new
 02224                        {
 02225                            Id = 135L,
 02226                            ActionId = 16L,
 02227                            Available = true,
 02228                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02229                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02230                            IsDeleted = false,
 02231                            RoleId = 6L
 02232                        },
 02233                        new
 02234                        {
 02235                            Id = 136L,
 02236                            ActionId = 16L,
 02237                            Available = true,
 02238                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02239                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02240                            IsDeleted = false,
 02241                            RoleId = 7L
 02242                        },
 02243                        new
 02244                        {
 02245                            Id = 137L,
 02246                            ActionId = 16L,
 02247                            Available = true,
 02248                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02249                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02250                            IsDeleted = false,
 02251                            RoleId = 8L
 02252                        },
 02253                        new
 02254                        {
 02255                            Id = 138L,
 02256                            ActionId = 17L,
 02257                            Available = true,
 02258                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02259                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02260                            IsDeleted = false,
 02261                            RoleId = 1L
 02262                        },
 02263                        new
 02264                        {
 02265                            Id = 139L,
 02266                            ActionId = 17L,
 02267                            Available = true,
 02268                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02269                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02270                            IsDeleted = false,
 02271                            RoleId = 3L
 02272                        },
 02273                        new
 02274                        {
 02275                            Id = 140L,
 02276                            ActionId = 17L,
 02277                            Available = true,
 02278                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02279                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02280                            IsDeleted = false,
 02281                            RoleId = 4L
 02282                        },
 02283                        new
 02284                        {
 02285                            Id = 141L,
 02286                            ActionId = 17L,
 02287                            Available = true,
 02288                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02289                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02290                            IsDeleted = false,
 02291                            RoleId = 5L
 02292                        },
 02293                        new
 02294                        {
 02295                            Id = 142L,
 02296                            ActionId = 17L,
 02297                            Available = true,
 02298                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02299                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02300                            IsDeleted = false,
 02301                            RoleId = 6L
 02302                        },
 02303                        new
 02304                        {
 02305                            Id = 143L,
 02306                            ActionId = 17L,
 02307                            Available = true,
 02308                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02309                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02310                            IsDeleted = false,
 02311                            RoleId = 7L
 02312                        },
 02313                        new
 02314                        {
 02315                            Id = 144L,
 02316                            ActionId = 17L,
 02317                            Available = true,
 02318                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02319                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02320                            IsDeleted = false,
 02321                            RoleId = 8L
 02322                        },
 02323                        new
 02324                        {
 02325                            Id = 145L,
 02326                            ActionId = 18L,
 02327                            Available = true,
 02328                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02329                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02330                            IsDeleted = false,
 02331                            RoleId = 1L
 02332                        },
 02333                        new
 02334                        {
 02335                            Id = 146L,
 02336                            ActionId = 18L,
 02337                            Available = true,
 02338                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02339                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02340                            IsDeleted = false,
 02341                            RoleId = 3L
 02342                        },
 02343                        new
 02344                        {
 02345                            Id = 147L,
 02346                            ActionId = 18L,
 02347                            Available = true,
 02348                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02349                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02350                            IsDeleted = false,
 02351                            RoleId = 4L
 02352                        },
 02353                        new
 02354                        {
 02355                            Id = 148L,
 02356                            ActionId = 18L,
 02357                            Available = true,
 02358                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02359                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02360                            IsDeleted = false,
 02361                            RoleId = 5L
 02362                        },
 02363                        new
 02364                        {
 02365                            Id = 149L,
 02366                            ActionId = 18L,
 02367                            Available = true,
 02368                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02369                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02370                            IsDeleted = false,
 02371                            RoleId = 6L
 02372                        },
 02373                        new
 02374                        {
 02375                            Id = 150L,
 02376                            ActionId = 18L,
 02377                            Available = true,
 02378                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02379                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02380                            IsDeleted = false,
 02381                            RoleId = 7L
 02382                        },
 02383                        new
 02384                        {
 02385                            Id = 151L,
 02386                            ActionId = 18L,
 02387                            Available = true,
 02388                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02389                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02390                            IsDeleted = false,
 02391                            RoleId = 8L
 02392                        },
 02393                        new
 02394                        {
 02395                            Id = 152L,
 02396                            ActionId = 20L,
 02397                            Available = true,
 02398                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02399                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02400                            IsDeleted = false,
 02401                            RoleId = 1L
 02402                        },
 02403                        new
 02404                        {
 02405                            Id = 153L,
 02406                            ActionId = 20L,
 02407                            Available = true,
 02408                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02409                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02410                            IsDeleted = false,
 02411                            RoleId = 3L
 02412                        },
 02413                        new
 02414                        {
 02415                            Id = 154L,
 02416                            ActionId = 20L,
 02417                            Available = true,
 02418                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02419                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02420                            IsDeleted = false,
 02421                            RoleId = 4L
 02422                        },
 02423                        new
 02424                        {
 02425                            Id = 155L,
 02426                            ActionId = 20L,
 02427                            Available = true,
 02428                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02429                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02430                            IsDeleted = false,
 02431                            RoleId = 5L
 02432                        },
 02433                        new
 02434                        {
 02435                            Id = 156L,
 02436                            ActionId = 20L,
 02437                            Available = true,
 02438                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02439                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02440                            IsDeleted = false,
 02441                            RoleId = 6L
 02442                        },
 02443                        new
 02444                        {
 02445                            Id = 157L,
 02446                            ActionId = 20L,
 02447                            Available = true,
 02448                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02449                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02450                            IsDeleted = false,
 02451                            RoleId = 7L
 02452                        },
 02453                        new
 02454                        {
 02455                            Id = 158L,
 02456                            ActionId = 20L,
 02457                            Available = true,
 02458                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02459                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02460                            IsDeleted = false,
 02461                            RoleId = 8L
 02462                        },
 02463                        new
 02464                        {
 02465                            Id = 159L,
 02466                            ActionId = 21L,
 02467                            Available = true,
 02468                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02469                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02470                            IsDeleted = false,
 02471                            RoleId = 1L
 02472                        },
 02473                        new
 02474                        {
 02475                            Id = 160L,
 02476                            ActionId = 21L,
 02477                            Available = true,
 02478                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02479                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02480                            IsDeleted = false,
 02481                            RoleId = 3L
 02482                        },
 02483                        new
 02484                        {
 02485                            Id = 161L,
 02486                            ActionId = 21L,
 02487                            Available = true,
 02488                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02489                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02490                            IsDeleted = false,
 02491                            RoleId = 4L
 02492                        },
 02493                        new
 02494                        {
 02495                            Id = 162L,
 02496                            ActionId = 21L,
 02497                            Available = true,
 02498                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02499                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02500                            IsDeleted = false,
 02501                            RoleId = 5L
 02502                        },
 02503                        new
 02504                        {
 02505                            Id = 163L,
 02506                            ActionId = 21L,
 02507                            Available = true,
 02508                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02509                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02510                            IsDeleted = false,
 02511                            RoleId = 6L
 02512                        },
 02513                        new
 02514                        {
 02515                            Id = 164L,
 02516                            ActionId = 21L,
 02517                            Available = true,
 02518                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02519                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02520                            IsDeleted = false,
 02521                            RoleId = 7L
 02522                        },
 02523                        new
 02524                        {
 02525                            Id = 165L,
 02526                            ActionId = 21L,
 02527                            Available = true,
 02528                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02529                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02530                            IsDeleted = false,
 02531                            RoleId = 8L
 02532                        },
 02533                        new
 02534                        {
 02535                            Id = 166L,
 02536                            ActionId = 19L,
 02537                            Available = true,
 02538                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02539                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02540                            IsDeleted = false,
 02541                            RoleId = 1L
 02542                        },
 02543                        new
 02544                        {
 02545                            Id = 167L,
 02546                            ActionId = 19L,
 02547                            Available = true,
 02548                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02549                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02550                            IsDeleted = false,
 02551                            RoleId = 2L
 02552                        },
 02553                        new
 02554                        {
 02555                            Id = 168L,
 02556                            ActionId = 19L,
 02557                            Available = true,
 02558                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02559                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02560                            IsDeleted = false,
 02561                            RoleId = 3L
 02562                        },
 02563                        new
 02564                        {
 02565                            Id = 169L,
 02566                            ActionId = 19L,
 02567                            Available = true,
 02568                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02569                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02570                            IsDeleted = false,
 02571                            RoleId = 4L
 02572                        },
 02573                        new
 02574                        {
 02575                            Id = 170L,
 02576                            ActionId = 19L,
 02577                            Available = true,
 02578                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02579                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02580                            IsDeleted = false,
 02581                            RoleId = 5L
 02582                        },
 02583                        new
 02584                        {
 02585                            Id = 171L,
 02586                            ActionId = 19L,
 02587                            Available = true,
 02588                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02589                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02590                            IsDeleted = false,
 02591                            RoleId = 6L
 02592                        },
 02593                        new
 02594                        {
 02595                            Id = 172L,
 02596                            ActionId = 19L,
 02597                            Available = true,
 02598                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02599                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02600                            IsDeleted = false,
 02601                            RoleId = 8L
 02602                        });
 02603                });
 2604
 02605            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", b =>
 02606                {
 02607                    b.Property<long>("Id")
 02608                        .ValueGeneratedOnAdd()
 02609                        .HasColumnType("bigint")
 02610                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 02611
 02612                    b.Property<int>("Code")
 02613                        .HasColumnType("integer");
 02614
 02615                    b.Property<long?>("CreatedByUserId")
 02616                        .HasColumnType("bigint");
 02617
 02618                    b.Property<DateTime>("CreationDateTime")
 02619                        .HasColumnType("timestamp without time zone");
 02620
 02621                    b.Property<Guid>("GUID")
 02622                        .ValueGeneratedOnAdd()
 02623                        .HasColumnType("uuid");
 02624
 02625                    b.Property<bool>("IsDeleted")
 02626                        .HasColumnType("boolean");
 02627
 02628                    b.Property<DateTime?>("ModificationDateTime")
 02629                        .HasColumnType("timestamp without time zone");
 02630
 02631                    b.Property<long?>("ModifiedByUserId")
 02632                        .HasColumnType("bigint");
 02633
 02634                    b.Property<string>("Name")
 02635                        .IsRequired()
 02636                        .HasColumnType("text");
 02637
 02638                    b.Property<long?>("RecStateId")
 02639                        .HasColumnType("bigint");
 02640
 02641                    b.HasKey("Id");
 02642
 02643                    b.HasIndex("CreatedByUserId");
 02644
 02645                    b.HasIndex("ModifiedByUserId");
 02646
 02647                    b.HasIndex("Name")
 02648                        .IsUnique();
 02649
 02650                    b.HasIndex("RecStateId");
 02651
 02652                    b.ToTable("Countries");
 02653
 02654                    b.HasData(
 02655                        new
 02656                        {
 02657                            Id = 2L,
 02658                            Code = 895,
 02659                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02660                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02661                            IsDeleted = false,
 02662                            Name = "Абхазия"
 02663                        },
 02664                        new
 02665                        {
 02666                            Id = 3L,
 02667                            Code = 36,
 02668                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02669                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02670                            IsDeleted = false,
 02671                            Name = "Австралия"
 02672                        },
 02673                        new
 02674                        {
 02675                            Id = 4L,
 02676                            Code = 40,
 02677                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02678                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02679                            IsDeleted = false,
 02680                            Name = "Австрия"
 02681                        },
 02682                        new
 02683                        {
 02684                            Id = 5L,
 02685                            Code = 31,
 02686                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02687                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02688                            IsDeleted = false,
 02689                            Name = "Азербайджан"
 02690                        },
 02691                        new
 02692                        {
 02693                            Id = 6L,
 02694                            Code = 8,
 02695                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02696                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02697                            IsDeleted = false,
 02698                            Name = "Албания"
 02699                        },
 02700                        new
 02701                        {
 02702                            Id = 7L,
 02703                            Code = 12,
 02704                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02705                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02706                            IsDeleted = false,
 02707                            Name = "Алжир"
 02708                        },
 02709                        new
 02710                        {
 02711                            Id = 8L,
 02712                            Code = 16,
 02713                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02714                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02715                            IsDeleted = false,
 02716                            Name = "Американское Самоа"
 02717                        },
 02718                        new
 02719                        {
 02720                            Id = 9L,
 02721                            Code = 660,
 02722                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02723                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02724                            IsDeleted = false,
 02725                            Name = "Ангилья"
 02726                        },
 02727                        new
 02728                        {
 02729                            Id = 10L,
 02730                            Code = 24,
 02731                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02732                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02733                            IsDeleted = false,
 02734                            Name = "Ангола"
 02735                        },
 02736                        new
 02737                        {
 02738                            Id = 11L,
 02739                            Code = 20,
 02740                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02741                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02742                            IsDeleted = false,
 02743                            Name = "Андорра"
 02744                        },
 02745                        new
 02746                        {
 02747                            Id = 12L,
 02748                            Code = 10,
 02749                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02750                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02751                            IsDeleted = false,
 02752                            Name = "Антарктида"
 02753                        },
 02754                        new
 02755                        {
 02756                            Id = 13L,
 02757                            Code = 28,
 02758                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02759                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02760                            IsDeleted = false,
 02761                            Name = "Антигуа и Барбуда"
 02762                        },
 02763                        new
 02764                        {
 02765                            Id = 14L,
 02766                            Code = 32,
 02767                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02768                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02769                            IsDeleted = false,
 02770                            Name = "Аргентина"
 02771                        },
 02772                        new
 02773                        {
 02774                            Id = 15L,
 02775                            Code = 51,
 02776                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02777                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02778                            IsDeleted = false,
 02779                            Name = "Армения"
 02780                        },
 02781                        new
 02782                        {
 02783                            Id = 16L,
 02784                            Code = 533,
 02785                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02786                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02787                            IsDeleted = false,
 02788                            Name = "Аруба"
 02789                        },
 02790                        new
 02791                        {
 02792                            Id = 17L,
 02793                            Code = 4,
 02794                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02795                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02796                            IsDeleted = false,
 02797                            Name = "Афганистан"
 02798                        },
 02799                        new
 02800                        {
 02801                            Id = 18L,
 02802                            Code = 44,
 02803                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02804                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02805                            IsDeleted = false,
 02806                            Name = "Багамы"
 02807                        },
 02808                        new
 02809                        {
 02810                            Id = 19L,
 02811                            Code = 50,
 02812                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02813                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02814                            IsDeleted = false,
 02815                            Name = "Бангладеш"
 02816                        },
 02817                        new
 02818                        {
 02819                            Id = 20L,
 02820                            Code = 52,
 02821                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02822                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02823                            IsDeleted = false,
 02824                            Name = "Барбадос"
 02825                        },
 02826                        new
 02827                        {
 02828                            Id = 21L,
 02829                            Code = 48,
 02830                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02831                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02832                            IsDeleted = false,
 02833                            Name = "Бахрейн"
 02834                        },
 02835                        new
 02836                        {
 02837                            Id = 22L,
 02838                            Code = 112,
 02839                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02840                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02841                            IsDeleted = false,
 02842                            Name = "Беларусь"
 02843                        },
 02844                        new
 02845                        {
 02846                            Id = 23L,
 02847                            Code = 84,
 02848                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02849                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02850                            IsDeleted = false,
 02851                            Name = "Белиз"
 02852                        },
 02853                        new
 02854                        {
 02855                            Id = 24L,
 02856                            Code = 56,
 02857                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02858                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02859                            IsDeleted = false,
 02860                            Name = "Бельгия"
 02861                        },
 02862                        new
 02863                        {
 02864                            Id = 25L,
 02865                            Code = 204,
 02866                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02867                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02868                            IsDeleted = false,
 02869                            Name = "Бенин"
 02870                        },
 02871                        new
 02872                        {
 02873                            Id = 26L,
 02874                            Code = 60,
 02875                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02876                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02877                            IsDeleted = false,
 02878                            Name = "Бермуды"
 02879                        },
 02880                        new
 02881                        {
 02882                            Id = 27L,
 02883                            Code = 100,
 02884                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02885                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02886                            IsDeleted = false,
 02887                            Name = "Болгария"
 02888                        },
 02889                        new
 02890                        {
 02891                            Id = 28L,
 02892                            Code = 68,
 02893                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02894                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02895                            IsDeleted = false,
 02896                            Name = "Боливия, Многонациональное Государство"
 02897                        },
 02898                        new
 02899                        {
 02900                            Id = 29L,
 02901                            Code = 535,
 02902                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02903                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02904                            IsDeleted = false,
 02905                            Name = "Бонэйр, Синт-Эстатиус и Саба"
 02906                        },
 02907                        new
 02908                        {
 02909                            Id = 30L,
 02910                            Code = 70,
 02911                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02912                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02913                            IsDeleted = false,
 02914                            Name = "Босния и Герцеговина"
 02915                        },
 02916                        new
 02917                        {
 02918                            Id = 31L,
 02919                            Code = 72,
 02920                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02921                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02922                            IsDeleted = false,
 02923                            Name = "Ботсвана"
 02924                        },
 02925                        new
 02926                        {
 02927                            Id = 32L,
 02928                            Code = 76,
 02929                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02930                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02931                            IsDeleted = false,
 02932                            Name = "Бразилия"
 02933                        },
 02934                        new
 02935                        {
 02936                            Id = 33L,
 02937                            Code = 86,
 02938                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02939                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02940                            IsDeleted = false,
 02941                            Name = "Британская территория в Индийском океане"
 02942                        },
 02943                        new
 02944                        {
 02945                            Id = 34L,
 02946                            Code = 96,
 02947                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02948                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02949                            IsDeleted = false,
 02950                            Name = "Бруней-Даруссалам"
 02951                        },
 02952                        new
 02953                        {
 02954                            Id = 35L,
 02955                            Code = 854,
 02956                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02957                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02958                            IsDeleted = false,
 02959                            Name = "Буркина-Фасо"
 02960                        },
 02961                        new
 02962                        {
 02963                            Id = 36L,
 02964                            Code = 108,
 02965                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02966                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02967                            IsDeleted = false,
 02968                            Name = "Бурунди"
 02969                        },
 02970                        new
 02971                        {
 02972                            Id = 37L,
 02973                            Code = 64,
 02974                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02975                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02976                            IsDeleted = false,
 02977                            Name = "Бутан"
 02978                        },
 02979                        new
 02980                        {
 02981                            Id = 38L,
 02982                            Code = 548,
 02983                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02984                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02985                            IsDeleted = false,
 02986                            Name = "Вануату"
 02987                        },
 02988                        new
 02989                        {
 02990                            Id = 39L,
 02991                            Code = 348,
 02992                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02993                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02994                            IsDeleted = false,
 02995                            Name = "Венгрия"
 02996                        },
 02997                        new
 02998                        {
 02999                            Id = 40L,
 03000                            Code = 862,
 03001                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03002                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03003                            IsDeleted = false,
 03004                            Name = "Венесуэла Боливарианская Республика"
 03005                        },
 03006                        new
 03007                        {
 03008                            Id = 41L,
 03009                            Code = 92,
 03010                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03011                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03012                            IsDeleted = false,
 03013                            Name = "Виргинские острова (Британские)"
 03014                        },
 03015                        new
 03016                        {
 03017                            Id = 42L,
 03018                            Code = 850,
 03019                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03020                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03021                            IsDeleted = false,
 03022                            Name = "Виргинские острова (США)"
 03023                        },
 03024                        new
 03025                        {
 03026                            Id = 43L,
 03027                            Code = 704,
 03028                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03029                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03030                            IsDeleted = false,
 03031                            Name = "Вьетнам"
 03032                        },
 03033                        new
 03034                        {
 03035                            Id = 44L,
 03036                            Code = 266,
 03037                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03038                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03039                            IsDeleted = false,
 03040                            Name = "Габон"
 03041                        },
 03042                        new
 03043                        {
 03044                            Id = 45L,
 03045                            Code = 332,
 03046                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03047                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03048                            IsDeleted = false,
 03049                            Name = "Гаити"
 03050                        },
 03051                        new
 03052                        {
 03053                            Id = 46L,
 03054                            Code = 328,
 03055                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03056                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03057                            IsDeleted = false,
 03058                            Name = "Гайана"
 03059                        },
 03060                        new
 03061                        {
 03062                            Id = 47L,
 03063                            Code = 270,
 03064                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03065                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03066                            IsDeleted = false,
 03067                            Name = "Гамбия"
 03068                        },
 03069                        new
 03070                        {
 03071                            Id = 48L,
 03072                            Code = 288,
 03073                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03074                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03075                            IsDeleted = false,
 03076                            Name = "Гана"
 03077                        },
 03078                        new
 03079                        {
 03080                            Id = 49L,
 03081                            Code = 312,
 03082                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03083                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03084                            IsDeleted = false,
 03085                            Name = "Гваделупа"
 03086                        },
 03087                        new
 03088                        {
 03089                            Id = 50L,
 03090                            Code = 320,
 03091                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03092                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03093                            IsDeleted = false,
 03094                            Name = "Гватемала"
 03095                        },
 03096                        new
 03097                        {
 03098                            Id = 51L,
 03099                            Code = 324,
 03100                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03101                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03102                            IsDeleted = false,
 03103                            Name = "Гвинея"
 03104                        },
 03105                        new
 03106                        {
 03107                            Id = 52L,
 03108                            Code = 624,
 03109                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03110                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03111                            IsDeleted = false,
 03112                            Name = "Гвинея-Бисау"
 03113                        },
 03114                        new
 03115                        {
 03116                            Id = 53L,
 03117                            Code = 276,
 03118                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03119                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03120                            IsDeleted = false,
 03121                            Name = "Германия"
 03122                        },
 03123                        new
 03124                        {
 03125                            Id = 54L,
 03126                            Code = 831,
 03127                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03128                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03129                            IsDeleted = false,
 03130                            Name = "Гернси"
 03131                        },
 03132                        new
 03133                        {
 03134                            Id = 55L,
 03135                            Code = 292,
 03136                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03137                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03138                            IsDeleted = false,
 03139                            Name = "Гибралтар"
 03140                        },
 03141                        new
 03142                        {
 03143                            Id = 56L,
 03144                            Code = 340,
 03145                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03146                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03147                            IsDeleted = false,
 03148                            Name = "Гондурас"
 03149                        },
 03150                        new
 03151                        {
 03152                            Id = 57L,
 03153                            Code = 344,
 03154                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03155                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03156                            IsDeleted = false,
 03157                            Name = "Гонконг"
 03158                        },
 03159                        new
 03160                        {
 03161                            Id = 58L,
 03162                            Code = 308,
 03163                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03164                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03165                            IsDeleted = false,
 03166                            Name = "Гренада"
 03167                        },
 03168                        new
 03169                        {
 03170                            Id = 59L,
 03171                            Code = 304,
 03172                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03173                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03174                            IsDeleted = false,
 03175                            Name = "Гренландия"
 03176                        },
 03177                        new
 03178                        {
 03179                            Id = 60L,
 03180                            Code = 300,
 03181                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03182                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03183                            IsDeleted = false,
 03184                            Name = "Греция"
 03185                        },
 03186                        new
 03187                        {
 03188                            Id = 61L,
 03189                            Code = 268,
 03190                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03191                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03192                            IsDeleted = false,
 03193                            Name = "Грузия"
 03194                        },
 03195                        new
 03196                        {
 03197                            Id = 62L,
 03198                            Code = 316,
 03199                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03200                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03201                            IsDeleted = false,
 03202                            Name = "Гуам"
 03203                        },
 03204                        new
 03205                        {
 03206                            Id = 63L,
 03207                            Code = 208,
 03208                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03209                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03210                            IsDeleted = false,
 03211                            Name = "Дания"
 03212                        },
 03213                        new
 03214                        {
 03215                            Id = 64L,
 03216                            Code = 832,
 03217                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03218                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03219                            IsDeleted = false,
 03220                            Name = "Джерси"
 03221                        },
 03222                        new
 03223                        {
 03224                            Id = 65L,
 03225                            Code = 262,
 03226                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03227                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03228                            IsDeleted = false,
 03229                            Name = "Джибути"
 03230                        },
 03231                        new
 03232                        {
 03233                            Id = 66L,
 03234                            Code = 212,
 03235                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03236                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03237                            IsDeleted = false,
 03238                            Name = "Доминика"
 03239                        },
 03240                        new
 03241                        {
 03242                            Id = 67L,
 03243                            Code = 214,
 03244                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03245                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03246                            IsDeleted = false,
 03247                            Name = "Доминиканская Республика"
 03248                        },
 03249                        new
 03250                        {
 03251                            Id = 68L,
 03252                            Code = 818,
 03253                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03254                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03255                            IsDeleted = false,
 03256                            Name = "Египет"
 03257                        },
 03258                        new
 03259                        {
 03260                            Id = 69L,
 03261                            Code = 894,
 03262                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03263                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03264                            IsDeleted = false,
 03265                            Name = "Замбия"
 03266                        },
 03267                        new
 03268                        {
 03269                            Id = 70L,
 03270                            Code = 732,
 03271                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03272                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03273                            IsDeleted = false,
 03274                            Name = "Западная Сахара"
 03275                        },
 03276                        new
 03277                        {
 03278                            Id = 71L,
 03279                            Code = 716,
 03280                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03281                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03282                            IsDeleted = false,
 03283                            Name = "Зимбабве"
 03284                        },
 03285                        new
 03286                        {
 03287                            Id = 72L,
 03288                            Code = 376,
 03289                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03290                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03291                            IsDeleted = false,
 03292                            Name = "Израиль"
 03293                        },
 03294                        new
 03295                        {
 03296                            Id = 73L,
 03297                            Code = 356,
 03298                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03299                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03300                            IsDeleted = false,
 03301                            Name = "Индия"
 03302                        },
 03303                        new
 03304                        {
 03305                            Id = 74L,
 03306                            Code = 360,
 03307                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03308                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03309                            IsDeleted = false,
 03310                            Name = "Индонезия"
 03311                        },
 03312                        new
 03313                        {
 03314                            Id = 75L,
 03315                            Code = 400,
 03316                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03317                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03318                            IsDeleted = false,
 03319                            Name = "Иордания"
 03320                        },
 03321                        new
 03322                        {
 03323                            Id = 76L,
 03324                            Code = 368,
 03325                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03326                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03327                            IsDeleted = false,
 03328                            Name = "Ирак"
 03329                        },
 03330                        new
 03331                        {
 03332                            Id = 77L,
 03333                            Code = 364,
 03334                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03335                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03336                            IsDeleted = false,
 03337                            Name = "Иран (Исламская Республика)"
 03338                        },
 03339                        new
 03340                        {
 03341                            Id = 78L,
 03342                            Code = 372,
 03343                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03344                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03345                            IsDeleted = false,
 03346                            Name = "Ирландия"
 03347                        },
 03348                        new
 03349                        {
 03350                            Id = 79L,
 03351                            Code = 352,
 03352                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03353                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03354                            IsDeleted = false,
 03355                            Name = "Исландия"
 03356                        },
 03357                        new
 03358                        {
 03359                            Id = 80L,
 03360                            Code = 724,
 03361                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03362                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03363                            IsDeleted = false,
 03364                            Name = "Испания"
 03365                        },
 03366                        new
 03367                        {
 03368                            Id = 81L,
 03369                            Code = 380,
 03370                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03371                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03372                            IsDeleted = false,
 03373                            Name = "Италия"
 03374                        },
 03375                        new
 03376                        {
 03377                            Id = 82L,
 03378                            Code = 887,
 03379                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03380                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03381                            IsDeleted = false,
 03382                            Name = "Йемен"
 03383                        },
 03384                        new
 03385                        {
 03386                            Id = 83L,
 03387                            Code = 132,
 03388                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03389                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03390                            IsDeleted = false,
 03391                            Name = "Кабо-Верде"
 03392                        },
 03393                        new
 03394                        {
 03395                            Id = 84L,
 03396                            Code = 398,
 03397                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03398                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03399                            IsDeleted = false,
 03400                            Name = "Казахстан"
 03401                        },
 03402                        new
 03403                        {
 03404                            Id = 85L,
 03405                            Code = 116,
 03406                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03407                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03408                            IsDeleted = false,
 03409                            Name = "Камбоджа"
 03410                        },
 03411                        new
 03412                        {
 03413                            Id = 86L,
 03414                            Code = 120,
 03415                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03416                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03417                            IsDeleted = false,
 03418                            Name = "Камерун"
 03419                        },
 03420                        new
 03421                        {
 03422                            Id = 87L,
 03423                            Code = 124,
 03424                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03425                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03426                            IsDeleted = false,
 03427                            Name = "Канада"
 03428                        },
 03429                        new
 03430                        {
 03431                            Id = 88L,
 03432                            Code = 634,
 03433                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03434                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03435                            IsDeleted = false,
 03436                            Name = "Катар"
 03437                        },
 03438                        new
 03439                        {
 03440                            Id = 89L,
 03441                            Code = 404,
 03442                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03443                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03444                            IsDeleted = false,
 03445                            Name = "Кения"
 03446                        },
 03447                        new
 03448                        {
 03449                            Id = 90L,
 03450                            Code = 196,
 03451                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03452                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03453                            IsDeleted = false,
 03454                            Name = "Кипр"
 03455                        },
 03456                        new
 03457                        {
 03458                            Id = 91L,
 03459                            Code = 417,
 03460                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03461                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03462                            IsDeleted = false,
 03463                            Name = "Киргизия"
 03464                        },
 03465                        new
 03466                        {
 03467                            Id = 92L,
 03468                            Code = 296,
 03469                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03470                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03471                            IsDeleted = false,
 03472                            Name = "Кирибати"
 03473                        },
 03474                        new
 03475                        {
 03476                            Id = 93L,
 03477                            Code = 156,
 03478                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03479                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03480                            IsDeleted = false,
 03481                            Name = "Китай"
 03482                        },
 03483                        new
 03484                        {
 03485                            Id = 94L,
 03486                            Code = 166,
 03487                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03488                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03489                            IsDeleted = false,
 03490                            Name = "Кокосовые (Килинг) острова"
 03491                        },
 03492                        new
 03493                        {
 03494                            Id = 95L,
 03495                            Code = 170,
 03496                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03497                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03498                            IsDeleted = false,
 03499                            Name = "Колумбия"
 03500                        },
 03501                        new
 03502                        {
 03503                            Id = 96L,
 03504                            Code = 174,
 03505                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03506                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03507                            IsDeleted = false,
 03508                            Name = "Коморы"
 03509                        },
 03510                        new
 03511                        {
 03512                            Id = 97L,
 03513                            Code = 178,
 03514                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03515                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03516                            IsDeleted = false,
 03517                            Name = "Конго"
 03518                        },
 03519                        new
 03520                        {
 03521                            Id = 98L,
 03522                            Code = 180,
 03523                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03524                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03525                            IsDeleted = false,
 03526                            Name = "Конго, Демократическая Республика"
 03527                        },
 03528                        new
 03529                        {
 03530                            Id = 99L,
 03531                            Code = 408,
 03532                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03533                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03534                            IsDeleted = false,
 03535                            Name = "Корея, Народно-Демократическая Республика"
 03536                        },
 03537                        new
 03538                        {
 03539                            Id = 100L,
 03540                            Code = 410,
 03541                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03542                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03543                            IsDeleted = false,
 03544                            Name = "Корея, Республика"
 03545                        },
 03546                        new
 03547                        {
 03548                            Id = 101L,
 03549                            Code = 188,
 03550                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03551                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03552                            IsDeleted = false,
 03553                            Name = "Коста-Рика"
 03554                        },
 03555                        new
 03556                        {
 03557                            Id = 102L,
 03558                            Code = 384,
 03559                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03560                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03561                            IsDeleted = false,
 03562                            Name = "Кот д'Ивуар"
 03563                        },
 03564                        new
 03565                        {
 03566                            Id = 103L,
 03567                            Code = 192,
 03568                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03569                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03570                            IsDeleted = false,
 03571                            Name = "Куба"
 03572                        },
 03573                        new
 03574                        {
 03575                            Id = 104L,
 03576                            Code = 414,
 03577                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03578                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03579                            IsDeleted = false,
 03580                            Name = "Кувейт"
 03581                        },
 03582                        new
 03583                        {
 03584                            Id = 105L,
 03585                            Code = 531,
 03586                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03587                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03588                            IsDeleted = false,
 03589                            Name = "Кюрасао"
 03590                        },
 03591                        new
 03592                        {
 03593                            Id = 106L,
 03594                            Code = 418,
 03595                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03596                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03597                            IsDeleted = false,
 03598                            Name = "Лаос"
 03599                        },
 03600                        new
 03601                        {
 03602                            Id = 107L,
 03603                            Code = 428,
 03604                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03605                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03606                            IsDeleted = false,
 03607                            Name = "Латвия"
 03608                        },
 03609                        new
 03610                        {
 03611                            Id = 108L,
 03612                            Code = 426,
 03613                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03614                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03615                            IsDeleted = false,
 03616                            Name = "Лесото"
 03617                        },
 03618                        new
 03619                        {
 03620                            Id = 109L,
 03621                            Code = 422,
 03622                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03623                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03624                            IsDeleted = false,
 03625                            Name = "Ливан"
 03626                        },
 03627                        new
 03628                        {
 03629                            Id = 110L,
 03630                            Code = 434,
 03631                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03632                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03633                            IsDeleted = false,
 03634                            Name = "Ливия"
 03635                        },
 03636                        new
 03637                        {
 03638                            Id = 111L,
 03639                            Code = 430,
 03640                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03641                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03642                            IsDeleted = false,
 03643                            Name = "Либерия"
 03644                        },
 03645                        new
 03646                        {
 03647                            Id = 112L,
 03648                            Code = 438,
 03649                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03650                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03651                            IsDeleted = false,
 03652                            Name = "Лихтенштейн"
 03653                        },
 03654                        new
 03655                        {
 03656                            Id = 113L,
 03657                            Code = 440,
 03658                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03659                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03660                            IsDeleted = false,
 03661                            Name = "Литва"
 03662                        },
 03663                        new
 03664                        {
 03665                            Id = 114L,
 03666                            Code = 442,
 03667                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03668                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03669                            IsDeleted = false,
 03670                            Name = "Люксембург"
 03671                        },
 03672                        new
 03673                        {
 03674                            Id = 115L,
 03675                            Code = 480,
 03676                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03677                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03678                            IsDeleted = false,
 03679                            Name = "Маврикий"
 03680                        },
 03681                        new
 03682                        {
 03683                            Id = 116L,
 03684                            Code = 478,
 03685                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03686                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03687                            IsDeleted = false,
 03688                            Name = "Мавритания"
 03689                        },
 03690                        new
 03691                        {
 03692                            Id = 117L,
 03693                            Code = 450,
 03694                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03695                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03696                            IsDeleted = false,
 03697                            Name = "Мадагаскар"
 03698                        },
 03699                        new
 03700                        {
 03701                            Id = 118L,
 03702                            Code = 175,
 03703                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03704                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03705                            IsDeleted = false,
 03706                            Name = "Майотта"
 03707                        },
 03708                        new
 03709                        {
 03710                            Id = 119L,
 03711                            Code = 446,
 03712                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03713                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03714                            IsDeleted = false,
 03715                            Name = "Макао"
 03716                        },
 03717                        new
 03718                        {
 03719                            Id = 120L,
 03720                            Code = 454,
 03721                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03722                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03723                            IsDeleted = false,
 03724                            Name = "Малави"
 03725                        },
 03726                        new
 03727                        {
 03728                            Id = 121L,
 03729                            Code = 458,
 03730                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03731                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03732                            IsDeleted = false,
 03733                            Name = "Малайзия"
 03734                        },
 03735                        new
 03736                        {
 03737                            Id = 122L,
 03738                            Code = 466,
 03739                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03740                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03741                            IsDeleted = false,
 03742                            Name = "Мали"
 03743                        },
 03744                        new
 03745                        {
 03746                            Id = 123L,
 03747                            Code = 581,
 03748                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03749                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03750                            IsDeleted = false,
 03751                            Name = "Малые Тихоокеанские отдаленные острова Соединенных Штатов"
 03752                        },
 03753                        new
 03754                        {
 03755                            Id = 124L,
 03756                            Code = 462,
 03757                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03758                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03759                            IsDeleted = false,
 03760                            Name = "Мальдивы"
 03761                        },
 03762                        new
 03763                        {
 03764                            Id = 125L,
 03765                            Code = 470,
 03766                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03767                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03768                            IsDeleted = false,
 03769                            Name = "Мальта"
 03770                        },
 03771                        new
 03772                        {
 03773                            Id = 126L,
 03774                            Code = 504,
 03775                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03776                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03777                            IsDeleted = false,
 03778                            Name = "Марокко"
 03779                        },
 03780                        new
 03781                        {
 03782                            Id = 127L,
 03783                            Code = 474,
 03784                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03785                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03786                            IsDeleted = false,
 03787                            Name = "Мартиника"
 03788                        },
 03789                        new
 03790                        {
 03791                            Id = 128L,
 03792                            Code = 584,
 03793                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03794                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03795                            IsDeleted = false,
 03796                            Name = "Маршалловы острова"
 03797                        },
 03798                        new
 03799                        {
 03800                            Id = 129L,
 03801                            Code = 484,
 03802                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03803                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03804                            IsDeleted = false,
 03805                            Name = "Мексика"
 03806                        },
 03807                        new
 03808                        {
 03809                            Id = 130L,
 03810                            Code = 583,
 03811                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03812                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03813                            IsDeleted = false,
 03814                            Name = "Микронезия, Федеративные Штаты"
 03815                        },
 03816                        new
 03817                        {
 03818                            Id = 131L,
 03819                            Code = 508,
 03820                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03821                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03822                            IsDeleted = false,
 03823                            Name = "Мозамбик"
 03824                        },
 03825                        new
 03826                        {
 03827                            Id = 132L,
 03828                            Code = 498,
 03829                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03830                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03831                            IsDeleted = false,
 03832                            Name = "Молдова, Республика"
 03833                        },
 03834                        new
 03835                        {
 03836                            Id = 133L,
 03837                            Code = 492,
 03838                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03839                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03840                            IsDeleted = false,
 03841                            Name = "Монако"
 03842                        },
 03843                        new
 03844                        {
 03845                            Id = 134L,
 03846                            Code = 496,
 03847                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03848                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03849                            IsDeleted = false,
 03850                            Name = "Монголия"
 03851                        },
 03852                        new
 03853                        {
 03854                            Id = 135L,
 03855                            Code = 500,
 03856                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03857                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03858                            IsDeleted = false,
 03859                            Name = "Монтсеррат"
 03860                        },
 03861                        new
 03862                        {
 03863                            Id = 136L,
 03864                            Code = 104,
 03865                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03866                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03867                            IsDeleted = false,
 03868                            Name = "Мьянма"
 03869                        },
 03870                        new
 03871                        {
 03872                            Id = 137L,
 03873                            Code = 516,
 03874                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03875                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03876                            IsDeleted = false,
 03877                            Name = "Намибия"
 03878                        },
 03879                        new
 03880                        {
 03881                            Id = 138L,
 03882                            Code = 520,
 03883                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03884                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03885                            IsDeleted = false,
 03886                            Name = "Науру"
 03887                        },
 03888                        new
 03889                        {
 03890                            Id = 139L,
 03891                            Code = 524,
 03892                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03893                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03894                            IsDeleted = false,
 03895                            Name = "Непал"
 03896                        },
 03897                        new
 03898                        {
 03899                            Id = 140L,
 03900                            Code = 562,
 03901                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03902                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03903                            IsDeleted = false,
 03904                            Name = "Нигер"
 03905                        },
 03906                        new
 03907                        {
 03908                            Id = 141L,
 03909                            Code = 566,
 03910                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03911                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03912                            IsDeleted = false,
 03913                            Name = "Нигерия"
 03914                        },
 03915                        new
 03916                        {
 03917                            Id = 142L,
 03918                            Code = 528,
 03919                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03920                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03921                            IsDeleted = false,
 03922                            Name = "Нидерланды"
 03923                        },
 03924                        new
 03925                        {
 03926                            Id = 143L,
 03927                            Code = 558,
 03928                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03929                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03930                            IsDeleted = false,
 03931                            Name = "Никарагуа"
 03932                        },
 03933                        new
 03934                        {
 03935                            Id = 144L,
 03936                            Code = 570,
 03937                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03938                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03939                            IsDeleted = false,
 03940                            Name = "Ниуэ"
 03941                        },
 03942                        new
 03943                        {
 03944                            Id = 145L,
 03945                            Code = 554,
 03946                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03947                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03948                            IsDeleted = false,
 03949                            Name = "Новая Зеландия"
 03950                        },
 03951                        new
 03952                        {
 03953                            Id = 146L,
 03954                            Code = 540,
 03955                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03956                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03957                            IsDeleted = false,
 03958                            Name = "Новая Каледония"
 03959                        },
 03960                        new
 03961                        {
 03962                            Id = 147L,
 03963                            Code = 578,
 03964                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03965                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03966                            IsDeleted = false,
 03967                            Name = "Норвегия"
 03968                        },
 03969                        new
 03970                        {
 03971                            Id = 148L,
 03972                            Code = 784,
 03973                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03974                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03975                            IsDeleted = false,
 03976                            Name = "Объединенные Арабские Эмираты"
 03977                        },
 03978                        new
 03979                        {
 03980                            Id = 149L,
 03981                            Code = 512,
 03982                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03983                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03984                            IsDeleted = false,
 03985                            Name = "Оман"
 03986                        },
 03987                        new
 03988                        {
 03989                            Id = 150L,
 03990                            Code = 74,
 03991                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03992                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03993                            IsDeleted = false,
 03994                            Name = "Остров Буве"
 03995                        },
 03996                        new
 03997                        {
 03998                            Id = 151L,
 03999                            Code = 833,
 04000                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04001                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04002                            IsDeleted = false,
 04003                            Name = "Остров Мэн"
 04004                        },
 04005                        new
 04006                        {
 04007                            Id = 152L,
 04008                            Code = 574,
 04009                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04010                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04011                            IsDeleted = false,
 04012                            Name = "Остров Норфолк"
 04013                        },
 04014                        new
 04015                        {
 04016                            Id = 153L,
 04017                            Code = 162,
 04018                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04019                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04020                            IsDeleted = false,
 04021                            Name = "Остров Рождества"
 04022                        },
 04023                        new
 04024                        {
 04025                            Id = 154L,
 04026                            Code = 334,
 04027                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04028                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04029                            IsDeleted = false,
 04030                            Name = "Остров Херд и острова Макдональд"
 04031                        },
 04032                        new
 04033                        {
 04034                            Id = 155L,
 04035                            Code = 136,
 04036                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04037                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04038                            IsDeleted = false,
 04039                            Name = "Острова Кайман"
 04040                        },
 04041                        new
 04042                        {
 04043                            Id = 156L,
 04044                            Code = 184,
 04045                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04046                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04047                            IsDeleted = false,
 04048                            Name = "Острова Кука"
 04049                        },
 04050                        new
 04051                        {
 04052                            Id = 157L,
 04053                            Code = 796,
 04054                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04055                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04056                            IsDeleted = false,
 04057                            Name = "Острова Теркс и Кайкос"
 04058                        },
 04059                        new
 04060                        {
 04061                            Id = 158L,
 04062                            Code = 586,
 04063                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04064                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04065                            IsDeleted = false,
 04066                            Name = "Пакистан"
 04067                        },
 04068                        new
 04069                        {
 04070                            Id = 159L,
 04071                            Code = 585,
 04072                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04073                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04074                            IsDeleted = false,
 04075                            Name = "Палау"
 04076                        },
 04077                        new
 04078                        {
 04079                            Id = 160L,
 04080                            Code = 275,
 04081                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04082                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04083                            IsDeleted = false,
 04084                            Name = "Палестина, Государство"
 04085                        },
 04086                        new
 04087                        {
 04088                            Id = 161L,
 04089                            Code = 591,
 04090                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04091                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04092                            IsDeleted = false,
 04093                            Name = "Панама"
 04094                        },
 04095                        new
 04096                        {
 04097                            Id = 162L,
 04098                            Code = 336,
 04099                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04100                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04101                            IsDeleted = false,
 04102                            Name = "Папский Престол (Государство-город Ватикан)"
 04103                        },
 04104                        new
 04105                        {
 04106                            Id = 163L,
 04107                            Code = 598,
 04108                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04109                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04110                            IsDeleted = false,
 04111                            Name = "Папуа-Новая Гвинея"
 04112                        },
 04113                        new
 04114                        {
 04115                            Id = 164L,
 04116                            Code = 600,
 04117                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04118                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04119                            IsDeleted = false,
 04120                            Name = "Парагвай"
 04121                        },
 04122                        new
 04123                        {
 04124                            Id = 165L,
 04125                            Code = 604,
 04126                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04127                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04128                            IsDeleted = false,
 04129                            Name = "Перу"
 04130                        },
 04131                        new
 04132                        {
 04133                            Id = 166L,
 04134                            Code = 612,
 04135                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04136                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04137                            IsDeleted = false,
 04138                            Name = "Питкерн"
 04139                        },
 04140                        new
 04141                        {
 04142                            Id = 167L,
 04143                            Code = 616,
 04144                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04145                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04146                            IsDeleted = false,
 04147                            Name = "Польша"
 04148                        },
 04149                        new
 04150                        {
 04151                            Id = 168L,
 04152                            Code = 620,
 04153                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04154                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04155                            IsDeleted = false,
 04156                            Name = "Португалия"
 04157                        },
 04158                        new
 04159                        {
 04160                            Id = 169L,
 04161                            Code = 630,
 04162                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04163                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04164                            IsDeleted = false,
 04165                            Name = "Пуэрто-Рико"
 04166                        },
 04167                        new
 04168                        {
 04169                            Id = 170L,
 04170                            Code = 807,
 04171                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04172                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04173                            IsDeleted = false,
 04174                            Name = "Северная Македония"
 04175                        },
 04176                        new
 04177                        {
 04178                            Id = 171L,
 04179                            Code = 638,
 04180                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04181                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04182                            IsDeleted = false,
 04183                            Name = "Реюньон"
 04184                        },
 04185                        new
 04186                        {
 04187                            Id = 172L,
 04188                            Code = 643,
 04189                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04190                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04191                            IsDeleted = false,
 04192                            Name = "Россия"
 04193                        },
 04194                        new
 04195                        {
 04196                            Id = 173L,
 04197                            Code = 646,
 04198                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04199                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04200                            IsDeleted = false,
 04201                            Name = "Руанда"
 04202                        },
 04203                        new
 04204                        {
 04205                            Id = 174L,
 04206                            Code = 642,
 04207                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04208                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04209                            IsDeleted = false,
 04210                            Name = "Румыния"
 04211                        },
 04212                        new
 04213                        {
 04214                            Id = 175L,
 04215                            Code = 882,
 04216                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04217                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04218                            IsDeleted = false,
 04219                            Name = "Самоа"
 04220                        },
 04221                        new
 04222                        {
 04223                            Id = 176L,
 04224                            Code = 674,
 04225                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04226                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04227                            IsDeleted = false,
 04228                            Name = "Сан-Марино"
 04229                        },
 04230                        new
 04231                        {
 04232                            Id = 177L,
 04233                            Code = 678,
 04234                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04235                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04236                            IsDeleted = false,
 04237                            Name = "Сан-Томе и Принсипи"
 04238                        },
 04239                        new
 04240                        {
 04241                            Id = 178L,
 04242                            Code = 682,
 04243                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04244                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04245                            IsDeleted = false,
 04246                            Name = "Саудовская Аравия"
 04247                        },
 04248                        new
 04249                        {
 04250                            Id = 179L,
 04251                            Code = 748,
 04252                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04253                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04254                            IsDeleted = false,
 04255                            Name = "Эсватини"
 04256                        },
 04257                        new
 04258                        {
 04259                            Id = 180L,
 04260                            Code = 654,
 04261                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04262                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04263                            IsDeleted = false,
 04264                            Name = "Святая Елена, Остров вознесения, Тристан-да-Кунья"
 04265                        },
 04266                        new
 04267                        {
 04268                            Id = 181L,
 04269                            Code = 580,
 04270                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04271                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04272                            IsDeleted = false,
 04273                            Name = "Северные Марианские острова"
 04274                        },
 04275                        new
 04276                        {
 04277                            Id = 182L,
 04278                            Code = 652,
 04279                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04280                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04281                            IsDeleted = false,
 04282                            Name = "Сен-Бартелеми"
 04283                        },
 04284                        new
 04285                        {
 04286                            Id = 183L,
 04287                            Code = 663,
 04288                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04289                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04290                            IsDeleted = false,
 04291                            Name = "Сен-Мартен (французская часть)"
 04292                        },
 04293                        new
 04294                        {
 04295                            Id = 184L,
 04296                            Code = 686,
 04297                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04298                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04299                            IsDeleted = false,
 04300                            Name = "Сенегал"
 04301                        },
 04302                        new
 04303                        {
 04304                            Id = 185L,
 04305                            Code = 670,
 04306                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04307                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04308                            IsDeleted = false,
 04309                            Name = "Сент-Винсент и Гренадины"
 04310                        },
 04311                        new
 04312                        {
 04313                            Id = 186L,
 04314                            Code = 659,
 04315                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04316                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04317                            IsDeleted = false,
 04318                            Name = "Сент-Китс и Невис"
 04319                        },
 04320                        new
 04321                        {
 04322                            Id = 187L,
 04323                            Code = 662,
 04324                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04325                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04326                            IsDeleted = false,
 04327                            Name = "Сент-Люсия"
 04328                        },
 04329                        new
 04330                        {
 04331                            Id = 188L,
 04332                            Code = 666,
 04333                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04334                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04335                            IsDeleted = false,
 04336                            Name = "Сен-Пьер и Микелон"
 04337                        },
 04338                        new
 04339                        {
 04340                            Id = 189L,
 04341                            Code = 688,
 04342                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04343                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04344                            IsDeleted = false,
 04345                            Name = "Сербия"
 04346                        },
 04347                        new
 04348                        {
 04349                            Id = 190L,
 04350                            Code = 690,
 04351                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04352                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04353                            IsDeleted = false,
 04354                            Name = "Сейшелы"
 04355                        },
 04356                        new
 04357                        {
 04358                            Id = 191L,
 04359                            Code = 702,
 04360                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04361                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04362                            IsDeleted = false,
 04363                            Name = "Сингапур"
 04364                        },
 04365                        new
 04366                        {
 04367                            Id = 192L,
 04368                            Code = 534,
 04369                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04370                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04371                            IsDeleted = false,
 04372                            Name = "Сен-Мартен (нидерландская часть)"
 04373                        },
 04374                        new
 04375                        {
 04376                            Id = 193L,
 04377                            Code = 760,
 04378                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04379                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04380                            IsDeleted = false,
 04381                            Name = "Сирийская Арабская Республика"
 04382                        },
 04383                        new
 04384                        {
 04385                            Id = 194L,
 04386                            Code = 703,
 04387                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04388                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04389                            IsDeleted = false,
 04390                            Name = "Словакия"
 04391                        },
 04392                        new
 04393                        {
 04394                            Id = 195L,
 04395                            Code = 705,
 04396                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04397                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04398                            IsDeleted = false,
 04399                            Name = "Словения"
 04400                        },
 04401                        new
 04402                        {
 04403                            Id = 196L,
 04404                            Code = 826,
 04405                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04406                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04407                            IsDeleted = false,
 04408                            Name = "Соединенное Королевство"
 04409                        },
 04410                        new
 04411                        {
 04412                            Id = 197L,
 04413                            Code = 840,
 04414                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04415                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04416                            IsDeleted = false,
 04417                            Name = "Соединенные Штаты"
 04418                        },
 04419                        new
 04420                        {
 04421                            Id = 198L,
 04422                            Code = 90,
 04423                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04424                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04425                            IsDeleted = false,
 04426                            Name = "Соломоновы острова"
 04427                        },
 04428                        new
 04429                        {
 04430                            Id = 199L,
 04431                            Code = 706,
 04432                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04433                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04434                            IsDeleted = false,
 04435                            Name = "Сомали"
 04436                        },
 04437                        new
 04438                        {
 04439                            Id = 200L,
 04440                            Code = 729,
 04441                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04442                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04443                            IsDeleted = false,
 04444                            Name = "Судан"
 04445                        },
 04446                        new
 04447                        {
 04448                            Id = 201L,
 04449                            Code = 740,
 04450                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04451                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04452                            IsDeleted = false,
 04453                            Name = "Суринам"
 04454                        },
 04455                        new
 04456                        {
 04457                            Id = 202L,
 04458                            Code = 694,
 04459                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04460                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04461                            IsDeleted = false,
 04462                            Name = "Сьерра-Леоне"
 04463                        },
 04464                        new
 04465                        {
 04466                            Id = 203L,
 04467                            Code = 762,
 04468                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04469                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04470                            IsDeleted = false,
 04471                            Name = "Таджикистан"
 04472                        },
 04473                        new
 04474                        {
 04475                            Id = 204L,
 04476                            Code = 764,
 04477                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04478                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04479                            IsDeleted = false,
 04480                            Name = "Таиланд"
 04481                        },
 04482                        new
 04483                        {
 04484                            Id = 205L,
 04485                            Code = 158,
 04486                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04487                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04488                            IsDeleted = false,
 04489                            Name = "Тайвань (Китай)"
 04490                        },
 04491                        new
 04492                        {
 04493                            Id = 206L,
 04494                            Code = 834,
 04495                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04496                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04497                            IsDeleted = false,
 04498                            Name = "Танзания, Объединенная Республика"
 04499                        },
 04500                        new
 04501                        {
 04502                            Id = 207L,
 04503                            Code = 626,
 04504                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04505                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04506                            IsDeleted = false,
 04507                            Name = "Тимор-Лесте"
 04508                        },
 04509                        new
 04510                        {
 04511                            Id = 208L,
 04512                            Code = 768,
 04513                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04514                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04515                            IsDeleted = false,
 04516                            Name = "Того"
 04517                        },
 04518                        new
 04519                        {
 04520                            Id = 209L,
 04521                            Code = 772,
 04522                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04523                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04524                            IsDeleted = false,
 04525                            Name = "Токелау"
 04526                        },
 04527                        new
 04528                        {
 04529                            Id = 210L,
 04530                            Code = 776,
 04531                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04532                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04533                            IsDeleted = false,
 04534                            Name = "Тонга"
 04535                        },
 04536                        new
 04537                        {
 04538                            Id = 211L,
 04539                            Code = 780,
 04540                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04541                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04542                            IsDeleted = false,
 04543                            Name = "Тринидад и Тобаго"
 04544                        },
 04545                        new
 04546                        {
 04547                            Id = 212L,
 04548                            Code = 798,
 04549                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04550                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04551                            IsDeleted = false,
 04552                            Name = "Тувалу"
 04553                        },
 04554                        new
 04555                        {
 04556                            Id = 213L,
 04557                            Code = 788,
 04558                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04559                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04560                            IsDeleted = false,
 04561                            Name = "Тунис"
 04562                        },
 04563                        new
 04564                        {
 04565                            Id = 214L,
 04566                            Code = 795,
 04567                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04568                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04569                            IsDeleted = false,
 04570                            Name = "Туркменистан"
 04571                        },
 04572                        new
 04573                        {
 04574                            Id = 215L,
 04575                            Code = 792,
 04576                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04577                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04578                            IsDeleted = false,
 04579                            Name = "Турция"
 04580                        },
 04581                        new
 04582                        {
 04583                            Id = 216L,
 04584                            Code = 800,
 04585                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04586                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04587                            IsDeleted = false,
 04588                            Name = "Уганда"
 04589                        },
 04590                        new
 04591                        {
 04592                            Id = 217L,
 04593                            Code = 860,
 04594                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04595                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04596                            IsDeleted = false,
 04597                            Name = "Узбекистан"
 04598                        },
 04599                        new
 04600                        {
 04601                            Id = 218L,
 04602                            Code = 804,
 04603                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04604                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04605                            IsDeleted = false,
 04606                            Name = "Украина"
 04607                        },
 04608                        new
 04609                        {
 04610                            Id = 219L,
 04611                            Code = 876,
 04612                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04613                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04614                            IsDeleted = false,
 04615                            Name = "Уоллис и Футуна"
 04616                        },
 04617                        new
 04618                        {
 04619                            Id = 220L,
 04620                            Code = 858,
 04621                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04622                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04623                            IsDeleted = false,
 04624                            Name = "Уругвай"
 04625                        },
 04626                        new
 04627                        {
 04628                            Id = 221L,
 04629                            Code = 234,
 04630                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04631                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04632                            IsDeleted = false,
 04633                            Name = "Фарерские острова"
 04634                        },
 04635                        new
 04636                        {
 04637                            Id = 222L,
 04638                            Code = 242,
 04639                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04640                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04641                            IsDeleted = false,
 04642                            Name = "Фиджи"
 04643                        },
 04644                        new
 04645                        {
 04646                            Id = 223L,
 04647                            Code = 608,
 04648                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04649                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04650                            IsDeleted = false,
 04651                            Name = "Филиппины"
 04652                        },
 04653                        new
 04654                        {
 04655                            Id = 224L,
 04656                            Code = 246,
 04657                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04658                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04659                            IsDeleted = false,
 04660                            Name = "Финляндия"
 04661                        },
 04662                        new
 04663                        {
 04664                            Id = 225L,
 04665                            Code = 238,
 04666                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04667                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04668                            IsDeleted = false,
 04669                            Name = "Фолклендские острова (Мальвинские)"
 04670                        },
 04671                        new
 04672                        {
 04673                            Id = 226L,
 04674                            Code = 250,
 04675                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04676                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04677                            IsDeleted = false,
 04678                            Name = "Франция"
 04679                        },
 04680                        new
 04681                        {
 04682                            Id = 227L,
 04683                            Code = 254,
 04684                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04685                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04686                            IsDeleted = false,
 04687                            Name = "Французская Гвиана"
 04688                        },
 04689                        new
 04690                        {
 04691                            Id = 228L,
 04692                            Code = 258,
 04693                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04694                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04695                            IsDeleted = false,
 04696                            Name = "Французская Полинезия"
 04697                        },
 04698                        new
 04699                        {
 04700                            Id = 229L,
 04701                            Code = 260,
 04702                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04703                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04704                            IsDeleted = false,
 04705                            Name = "Французские Южные территории"
 04706                        },
 04707                        new
 04708                        {
 04709                            Id = 230L,
 04710                            Code = 191,
 04711                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04712                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04713                            IsDeleted = false,
 04714                            Name = "Хорватия"
 04715                        },
 04716                        new
 04717                        {
 04718                            Id = 231L,
 04719                            Code = 140,
 04720                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04721                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04722                            IsDeleted = false,
 04723                            Name = "Центрально-Африканская Республика"
 04724                        },
 04725                        new
 04726                        {
 04727                            Id = 232L,
 04728                            Code = 148,
 04729                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04730                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04731                            IsDeleted = false,
 04732                            Name = "Чад"
 04733                        },
 04734                        new
 04735                        {
 04736                            Id = 233L,
 04737                            Code = 499,
 04738                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04739                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04740                            IsDeleted = false,
 04741                            Name = "Черногория"
 04742                        },
 04743                        new
 04744                        {
 04745                            Id = 234L,
 04746                            Code = 203,
 04747                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04748                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04749                            IsDeleted = false,
 04750                            Name = "Чешская Республика"
 04751                        },
 04752                        new
 04753                        {
 04754                            Id = 235L,
 04755                            Code = 152,
 04756                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04757                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04758                            IsDeleted = false,
 04759                            Name = "Чили"
 04760                        },
 04761                        new
 04762                        {
 04763                            Id = 236L,
 04764                            Code = 756,
 04765                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04766                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04767                            IsDeleted = false,
 04768                            Name = "Швейцария"
 04769                        },
 04770                        new
 04771                        {
 04772                            Id = 237L,
 04773                            Code = 752,
 04774                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04775                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04776                            IsDeleted = false,
 04777                            Name = "Швеция"
 04778                        },
 04779                        new
 04780                        {
 04781                            Id = 238L,
 04782                            Code = 744,
 04783                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04784                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04785                            IsDeleted = false,
 04786                            Name = "Шпицберген и Ян Майен"
 04787                        },
 04788                        new
 04789                        {
 04790                            Id = 239L,
 04791                            Code = 144,
 04792                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04793                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04794                            IsDeleted = false,
 04795                            Name = "Шри-Ланка"
 04796                        },
 04797                        new
 04798                        {
 04799                            Id = 240L,
 04800                            Code = 218,
 04801                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04802                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04803                            IsDeleted = false,
 04804                            Name = "Эквадор"
 04805                        },
 04806                        new
 04807                        {
 04808                            Id = 241L,
 04809                            Code = 226,
 04810                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04811                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04812                            IsDeleted = false,
 04813                            Name = "Экваториальная Гвинея"
 04814                        },
 04815                        new
 04816                        {
 04817                            Id = 242L,
 04818                            Code = 248,
 04819                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04820                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04821                            IsDeleted = false,
 04822                            Name = "Эландские острова"
 04823                        },
 04824                        new
 04825                        {
 04826                            Id = 243L,
 04827                            Code = 222,
 04828                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04829                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04830                            IsDeleted = false,
 04831                            Name = "Эль-Сальвадор"
 04832                        },
 04833                        new
 04834                        {
 04835                            Id = 244L,
 04836                            Code = 232,
 04837                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04838                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04839                            IsDeleted = false,
 04840                            Name = "Эритрея"
 04841                        },
 04842                        new
 04843                        {
 04844                            Id = 245L,
 04845                            Code = 233,
 04846                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04847                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04848                            IsDeleted = false,
 04849                            Name = "Эстония"
 04850                        },
 04851                        new
 04852                        {
 04853                            Id = 246L,
 04854                            Code = 231,
 04855                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04856                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04857                            IsDeleted = false,
 04858                            Name = "Эфиопия"
 04859                        },
 04860                        new
 04861                        {
 04862                            Id = 247L,
 04863                            Code = 710,
 04864                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04865                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04866                            IsDeleted = false,
 04867                            Name = "Южная Африка"
 04868                        },
 04869                        new
 04870                        {
 04871                            Id = 248L,
 04872                            Code = 239,
 04873                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04874                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04875                            IsDeleted = false,
 04876                            Name = "Южная Джорджия и Южные Сандвичевы острова"
 04877                        },
 04878                        new
 04879                        {
 04880                            Id = 249L,
 04881                            Code = 896,
 04882                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04883                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04884                            IsDeleted = false,
 04885                            Name = "Южная Осетия"
 04886                        },
 04887                        new
 04888                        {
 04889                            Id = 250L,
 04890                            Code = 728,
 04891                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04892                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04893                            IsDeleted = false,
 04894                            Name = "Южный Судан"
 04895                        },
 04896                        new
 04897                        {
 04898                            Id = 251L,
 04899                            Code = 388,
 04900                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04901                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04902                            IsDeleted = false,
 04903                            Name = "Ямайка"
 04904                        },
 04905                        new
 04906                        {
 04907                            Id = 252L,
 04908                            Code = 392,
 04909                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04910                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04911                            IsDeleted = false,
 04912                            Name = "Япония"
 04913                        });
 04914                });
 4915
 04916            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Currency", b =>
 04917                {
 04918                    b.Property<long>("Id")
 04919                        .ValueGeneratedOnAdd()
 04920                        .HasColumnType("bigint")
 04921                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 04922
 04923                    b.Property<string>("CODE")
 04924                        .IsRequired()
 04925                        .HasColumnType("text");
 04926
 04927                    b.Property<string>("COUNTRY")
 04928                        .IsRequired()
 04929                        .HasColumnType("text");
 04930
 04931                    b.Property<long?>("CreatedByUserId")
 04932                        .HasColumnType("bigint");
 04933
 04934                    b.Property<DateTime>("CreationDateTime")
 04935                        .HasColumnType("timestamp without time zone");
 04936
 04937                    b.Property<Guid>("GUID")
 04938                        .ValueGeneratedOnAdd()
 04939                        .HasColumnType("uuid");
 04940
 04941                    b.Property<bool>("IsDeleted")
 04942                        .HasColumnType("boolean");
 04943
 04944                    b.Property<DateTime?>("ModificationDateTime")
 04945                        .HasColumnType("timestamp without time zone");
 04946
 04947                    b.Property<long?>("ModifiedByUserId")
 04948                        .HasColumnType("bigint");
 04949
 04950                    b.Property<string>("NAME")
 04951                        .IsRequired()
 04952                        .HasColumnType("text");
 04953
 04954                    b.Property<decimal>("Rate")
 04955                        .HasColumnType("numeric");
 04956
 04957                    b.Property<long?>("RecStateId")
 04958                        .HasColumnType("bigint");
 04959
 04960                    b.Property<string>("STRCODE")
 04961                        .IsRequired()
 04962                        .HasColumnType("text");
 04963
 04964                    b.Property<string>("global_id")
 04965                        .HasColumnType("text");
 04966
 04967                    b.Property<string>("system_object_id")
 04968                        .HasColumnType("text");
 04969
 04970                    b.HasKey("Id");
 04971
 04972                    b.HasIndex("CODE")
 04973                        .IsUnique();
 04974
 04975                    b.HasIndex("CreatedByUserId");
 04976
 04977                    b.HasIndex("ModifiedByUserId");
 04978
 04979                    b.HasIndex("NAME")
 04980                        .IsUnique();
 04981
 04982                    b.HasIndex("RecStateId");
 04983
 04984                    b.HasIndex("STRCODE")
 04985                        .IsUnique();
 04986
 04987                    b.ToTable("Currency");
 04988
 04989                    b.HasData(
 04990                        new
 04991                        {
 04992                            Id = 1L,
 04993                            CODE = "643",
 04994                            COUNTRY = "Россия",
 04995                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04996                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04997                            IsDeleted = false,
 04998                            NAME = "Российский рубль",
 04999                            Rate = 1m,
 05000                            STRCODE = "RUB",
 05001                            global_id = "62838439",
 05002                            system_object_id = "643"
 05003                        });
 05004                });
 5005
 05006            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", b =>
 05007                {
 05008                    b.Property<long>("Id")
 05009                        .ValueGeneratedOnAdd()
 05010                        .HasColumnType("bigint")
 05011                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05012
 05013                    b.Property<long?>("ActualAddressId")
 05014                        .HasColumnType("bigint");
 05015
 05016                    b.Property<decimal>("Area")
 05017                        .HasColumnType("numeric");
 05018
 05019                    b.Property<long?>("ClusterId")
 05020                        .HasColumnType("bigint");
 05021
 05022                    b.Property<long>("ContragentId")
 05023                        .HasColumnType("bigint");
 05024
 05025                    b.Property<long?>("CreatedByUserId")
 05026                        .HasColumnType("bigint");
 05027
 05028                    b.Property<DateTime>("CreationDateTime")
 05029                        .HasColumnType("timestamp without time zone");
 05030
 05031                    b.Property<string>("Email")
 05032                        .HasColumnType("text");
 05033
 05034                    b.Property<Guid>("GUID")
 05035                        .ValueGeneratedOnAdd()
 05036                        .HasColumnType("uuid");
 05037
 05038                    b.Property<bool>("IsDeleted")
 05039                        .HasColumnType("boolean");
 05040
 05041                    b.Property<long?>("KindId")
 05042                        .HasColumnType("bigint");
 05043
 05044                    b.Property<string>("Kpp")
 05045                        .HasColumnType("text");
 05046
 05047                    b.Property<DateTime?>("ModificationDateTime")
 05048                        .HasColumnType("timestamp without time zone");
 05049
 05050                    b.Property<long?>("ModifiedByUserId")
 05051                        .HasColumnType("bigint");
 05052
 05053                    b.Property<string>("Name")
 05054                        .IsRequired()
 05055                        .HasColumnType("text");
 05056
 05057                    b.Property<string>("PhoneNumber")
 05058                        .IsRequired()
 05059                        .HasColumnType("text");
 05060
 05061                    b.Property<long?>("RecStateId")
 05062                        .HasColumnType("bigint");
 05063
 05064                    b.Property<long?>("StatusId")
 05065                        .HasColumnType("bigint");
 05066
 05067                    b.HasKey("Id");
 05068
 05069                    b.HasIndex("ActualAddressId");
 05070
 05071                    b.HasIndex("ClusterId");
 05072
 05073                    b.HasIndex("ContragentId");
 05074
 05075                    b.HasIndex("CreatedByUserId");
 05076
 05077                    b.HasIndex("KindId");
 05078
 05079                    b.HasIndex("ModifiedByUserId");
 05080
 05081                    b.HasIndex("Name")
 05082                        .IsUnique();
 05083
 05084                    b.HasIndex("PhoneNumber");
 05085
 05086                    b.HasIndex("RecStateId");
 05087
 05088                    b.HasIndex("StatusId");
 05089
 05090                    b.ToTable("Departments");
 05091
 05092                    b.HasData(
 05093                        new
 05094                        {
 05095                            Id = -1L,
 05096                            ActualAddressId = -1L,
 05097                            Area = 100.0m,
 05098                            ContragentId = -1L,
 05099                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05100                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05101                            IsDeleted = false,
 05102                            KindId = 2L,
 05103                            Kpp = "3",
 05104                            Name = "Демонстрационный магазин №1",
 05105                            PhoneNumber = "88008008000",
 05106                            StatusId = 2L
 05107                        });
 05108                });
 5109
 05110            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentCategoryRatio", b =>
 05111                {
 05112                    b.Property<long>("Id")
 05113                        .ValueGeneratedOnAdd()
 05114                        .HasColumnType("bigint")
 05115                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05116
 05117                    b.Property<long>("CategoryId")
 05118                        .HasColumnType("bigint");
 05119
 05120                    b.Property<long?>("CreatedByUserId")
 05121                        .HasColumnType("bigint");
 05122
 05123                    b.Property<DateTime>("CreationDateTime")
 05124                        .HasColumnType("timestamp without time zone");
 05125
 05126                    b.Property<long>("DepartmentId")
 05127                        .HasColumnType("bigint");
 05128
 05129                    b.Property<Guid>("GUID")
 05130                        .ValueGeneratedOnAdd()
 05131                        .HasColumnType("uuid");
 05132
 05133                    b.Property<bool>("IsDeleted")
 05134                        .HasColumnType("boolean");
 05135
 05136                    b.Property<DateTime?>("ModificationDateTime")
 05137                        .HasColumnType("timestamp without time zone");
 05138
 05139                    b.Property<long?>("ModifiedByUserId")
 05140                        .HasColumnType("bigint");
 05141
 05142                    b.Property<long?>("RecStateId")
 05143                        .HasColumnType("bigint");
 05144
 05145                    b.Property<decimal>("TradeRatio")
 05146                        .HasColumnType("numeric");
 05147
 05148                    b.HasKey("Id");
 05149
 05150                    b.HasIndex("CategoryId");
 05151
 05152                    b.HasIndex("CreatedByUserId");
 05153
 05154                    b.HasIndex("ModifiedByUserId");
 05155
 05156                    b.HasIndex("RecStateId");
 05157
 05158                    b.HasIndex("DepartmentId", "CategoryId")
 05159                        .IsUnique();
 05160
 05161                    b.ToTable("DepartmentCategoryRatio");
 05162                });
 5163
 05164            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentGoodSetting", b =>
 05165                {
 05166                    b.Property<long>("Id")
 05167                        .ValueGeneratedOnAdd()
 05168                        .HasColumnType("bigint")
 05169                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05170
 05171                    b.Property<long?>("CreatedByUserId")
 05172                        .HasColumnType("bigint");
 05173
 05174                    b.Property<DateTime>("CreationDateTime")
 05175                        .HasColumnType("timestamp without time zone");
 05176
 05177                    b.Property<long>("DepartmentId")
 05178                        .HasColumnType("bigint");
 05179
 05180                    b.Property<Guid>("GUID")
 05181                        .ValueGeneratedOnAdd()
 05182                        .HasColumnType("uuid");
 05183
 05184                    b.Property<long>("GoodId")
 05185                        .HasColumnType("bigint");
 05186
 05187                    b.Property<bool>("IsDeleted")
 05188                        .HasColumnType("boolean");
 05189
 05190                    b.Property<decimal>("MinQuantity")
 05191                        .HasColumnType("numeric");
 05192
 05193                    b.Property<DateTime?>("ModificationDateTime")
 05194                        .HasColumnType("timestamp without time zone");
 05195
 05196                    b.Property<long?>("ModifiedByUserId")
 05197                        .HasColumnType("bigint");
 05198
 05199                    b.Property<decimal>("PickingQuantum")
 05200                        .HasColumnType("numeric");
 05201
 05202                    b.Property<long?>("RecStateId")
 05203                        .HasColumnType("bigint");
 05204
 05205                    b.HasKey("Id");
 05206
 05207                    b.HasIndex("CreatedByUserId");
 05208
 05209                    b.HasIndex("DepartmentId");
 05210
 05211                    b.HasIndex("ModifiedByUserId");
 05212
 05213                    b.HasIndex("RecStateId");
 05214
 05215                    b.HasIndex("GoodId", "DepartmentId")
 05216                        .IsUnique();
 05217
 05218                    b.ToTable("DepartmentGoodSetting");
 05219                });
 5220
 05221            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", b =>
 05222                {
 05223                    b.Property<long>("Id")
 05224                        .ValueGeneratedOnAdd()
 05225                        .HasColumnType("bigint")
 05226                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05227
 05228                    b.Property<string>("Code")
 05229                        .IsRequired()
 05230                        .HasColumnType("text");
 05231
 05232                    b.Property<long?>("CreatedByUserId")
 05233                        .HasColumnType("bigint");
 05234
 05235                    b.Property<DateTime>("CreationDateTime")
 05236                        .HasColumnType("timestamp without time zone");
 05237
 05238                    b.Property<string>("Description")
 05239                        .HasColumnType("text");
 05240
 05241                    b.Property<Guid>("GUID")
 05242                        .ValueGeneratedOnAdd()
 05243                        .HasColumnType("uuid");
 05244
 05245                    b.Property<bool>("IsDeleted")
 05246                        .HasColumnType("boolean");
 05247
 05248                    b.Property<DateTime?>("ModificationDateTime")
 05249                        .HasColumnType("timestamp without time zone");
 05250
 05251                    b.Property<long?>("ModifiedByUserId")
 05252                        .HasColumnType("bigint");
 05253
 05254                    b.Property<string>("Name")
 05255                        .IsRequired()
 05256                        .HasColumnType("text");
 05257
 05258                    b.Property<long?>("RecStateId")
 05259                        .HasColumnType("bigint");
 05260
 05261                    b.HasKey("Id");
 05262
 05263                    b.HasIndex("CreatedByUserId");
 05264
 05265                    b.HasIndex("ModifiedByUserId");
 05266
 05267                    b.HasIndex("RecStateId");
 05268
 05269                    b.ToTable("DepartmentsKind");
 05270
 05271                    b.HasData(
 05272                        new
 05273                        {
 05274                            Id = 1L,
 05275                            Code = "Warehouse",
 05276                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05277                            Description = "",
 05278                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05279                            IsDeleted = false,
 05280                            Name = "Склад"
 05281                        },
 05282                        new
 05283                        {
 05284                            Id = 2L,
 05285                            Code = "Shop",
 05286                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05287                            Description = "",
 05288                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05289                            IsDeleted = false,
 05290                            Name = "Магазин"
 05291                        },
 05292                        new
 05293                        {
 05294                            Id = 3L,
 05295                            Code = "Plant",
 05296                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05297                            Description = "",
 05298                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05299                            IsDeleted = false,
 05300                            Name = "Завод"
 05301                        });
 05302                });
 5303
 05304            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsStatus", b =>
 05305                {
 05306                    b.Property<long>("Id")
 05307                        .ValueGeneratedOnAdd()
 05308                        .HasColumnType("bigint")
 05309                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05310
 05311                    b.Property<string>("Code")
 05312                        .IsRequired()
 05313                        .HasColumnType("text");
 05314
 05315                    b.Property<long?>("CreatedByUserId")
 05316                        .HasColumnType("bigint");
 05317
 05318                    b.Property<DateTime>("CreationDateTime")
 05319                        .HasColumnType("timestamp without time zone");
 05320
 05321                    b.Property<string>("Description")
 05322                        .HasColumnType("text");
 05323
 05324                    b.Property<Guid>("GUID")
 05325                        .ValueGeneratedOnAdd()
 05326                        .HasColumnType("uuid");
 05327
 05328                    b.Property<bool>("IsDeleted")
 05329                        .HasColumnType("boolean");
 05330
 05331                    b.Property<DateTime?>("ModificationDateTime")
 05332                        .HasColumnType("timestamp without time zone");
 05333
 05334                    b.Property<long?>("ModifiedByUserId")
 05335                        .HasColumnType("bigint");
 05336
 05337                    b.Property<string>("Name")
 05338                        .IsRequired()
 05339                        .HasColumnType("text");
 05340
 05341                    b.Property<long?>("RecStateId")
 05342                        .HasColumnType("bigint");
 05343
 05344                    b.HasKey("Id");
 05345
 05346                    b.HasIndex("CreatedByUserId");
 05347
 05348                    b.HasIndex("ModifiedByUserId");
 05349
 05350                    b.HasIndex("RecStateId");
 05351
 05352                    b.ToTable("DepartmentsStatus");
 05353
 05354                    b.HasData(
 05355                        new
 05356                        {
 05357                            Id = 1L,
 05358                            Code = "New",
 05359                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05360                            Description = "",
 05361                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05362                            IsDeleted = false,
 05363                            Name = "Новый"
 05364                        },
 05365                        new
 05366                        {
 05367                            Id = 2L,
 05368                            Code = "Active",
 05369                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05370                            Description = "",
 05371                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05372                            IsDeleted = false,
 05373                            Name = "Активный"
 05374                        },
 05375                        new
 05376                        {
 05377                            Id = 3L,
 05378                            Code = "Inactive",
 05379                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05380                            Description = "",
 05381                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05382                            IsDeleted = false,
 05383                            Name = "Неактивный"
 05384                        },
 05385                        new
 05386                        {
 05387                            Id = 4L,
 05388                            Code = "Paused",
 05389                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05390                            Description = "",
 05391                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05392                            IsDeleted = false,
 05393                            Name = "На паузе"
 05394                        });
 05395                });
 5396
 05397            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DiscountColor", b =>
 05398                {
 05399                    b.Property<long>("Id")
 05400                        .ValueGeneratedOnAdd()
 05401                        .HasColumnType("bigint")
 05402                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05403
 05404                    b.Property<long?>("CreatedByUserId")
 05405                        .HasColumnType("bigint");
 05406
 05407                    b.Property<DateTime>("CreationDateTime")
 05408                        .HasColumnType("timestamp without time zone");
 05409
 05410                    b.Property<int>("DiscountLevel")
 05411                        .HasColumnType("integer");
 05412
 05413                    b.Property<Guid>("GUID")
 05414                        .ValueGeneratedOnAdd()
 05415                        .HasColumnType("uuid");
 05416
 05417                    b.Property<bool>("IsDeleted")
 05418                        .HasColumnType("boolean");
 05419
 05420                    b.Property<string>("LabelColor")
 05421                        .IsRequired()
 05422                        .HasColumnType("text");
 05423
 05424                    b.Property<DateTime?>("ModificationDateTime")
 05425                        .HasColumnType("timestamp without time zone");
 05426
 05427                    b.Property<long?>("ModifiedByUserId")
 05428                        .HasColumnType("bigint");
 05429
 05430                    b.Property<long?>("RecStateId")
 05431                        .HasColumnType("bigint");
 05432
 05433                    b.HasKey("Id");
 05434
 05435                    b.HasIndex("CreatedByUserId");
 05436
 05437                    b.HasIndex("ModifiedByUserId");
 05438
 05439                    b.HasIndex("RecStateId");
 05440
 05441                    b.HasIndex("DiscountLevel", "LabelColor")
 05442                        .IsUnique();
 05443
 05444                    b.ToTable("DiscountColors");
 05445
 05446                    b.HasData(
 05447                        new
 05448                        {
 05449                            Id = 1L,
 05450                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05451                            DiscountLevel = 10,
 05452                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05453                            IsDeleted = false,
 05454                            LabelColor = "EA6B6A"
 05455                        });
 05456                });
 5457
 05458            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Email", b =>
 05459                {
 05460                    b.Property<long>("Id")
 05461                        .ValueGeneratedOnAdd()
 05462                        .HasColumnType("bigint")
 05463                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05464
 05465                    b.Property<string>("Attachment")
 05466                        .HasColumnType("text");
 05467
 05468                    b.Property<string>("Body")
 05469                        .IsRequired()
 05470                        .HasColumnType("text");
 05471
 05472                    b.Property<long?>("CreatedByUserId")
 05473                        .HasColumnType("bigint");
 05474
 05475                    b.Property<DateTime>("CreationDateTime")
 05476                        .HasColumnType("timestamp without time zone");
 05477
 05478                    b.Property<string>("Error")
 05479                        .HasColumnType("text");
 05480
 05481                    b.Property<Guid>("GUID")
 05482                        .ValueGeneratedOnAdd()
 05483                        .HasColumnType("uuid");
 05484
 05485                    b.Property<bool>("IsDeleted")
 05486                        .HasColumnType("boolean");
 05487
 05488                    b.Property<DateTime?>("ModificationDateTime")
 05489                        .HasColumnType("timestamp without time zone");
 05490
 05491                    b.Property<long?>("ModifiedByUserId")
 05492                        .HasColumnType("bigint");
 05493
 05494                    b.Property<long?>("RecStateId")
 05495                        .HasColumnType("bigint");
 05496
 05497                    b.Property<string>("Receiver")
 05498                        .IsRequired()
 05499                        .HasColumnType("text");
 05500
 05501                    b.Property<bool>("Sent")
 05502                        .HasColumnType("boolean");
 05503
 05504                    b.Property<string>("Subject")
 05505                        .IsRequired()
 05506                        .HasColumnType("text");
 05507
 05508                    b.HasKey("Id");
 05509
 05510                    b.HasIndex("CreatedByUserId");
 05511
 05512                    b.HasIndex("ModifiedByUserId");
 05513
 05514                    b.HasIndex("RecStateId");
 05515
 05516                    b.ToTable("Emails");
 05517                });
 5518
 05519            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Event", b =>
 05520                {
 05521                    b.Property<long>("Id")
 05522                        .ValueGeneratedOnAdd()
 05523                        .HasColumnType("bigint")
 05524                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05525
 05526                    b.Property<long?>("CreatedByUserId")
 05527                        .HasColumnType("bigint");
 05528
 05529                    b.Property<DateTime>("CreationDateTime")
 05530                        .HasColumnType("timestamp without time zone");
 05531
 05532                    b.Property<DateTime>("DtCreated")
 05533                        .HasColumnType("timestamp without time zone");
 05534
 05535                    b.Property<string>("Entity")
 05536                        .IsRequired()
 05537                        .HasColumnType("text");
 05538
 05539                    b.Property<long>("EventsKindId")
 05540                        .HasColumnType("bigint");
 05541
 05542                    b.Property<Guid>("GUID")
 05543                        .ValueGeneratedOnAdd()
 05544                        .HasColumnType("uuid");
 05545
 05546                    b.Property<bool>("IsDeleted")
 05547                        .HasColumnType("boolean");
 05548
 05549                    b.Property<DateTime?>("ModificationDateTime")
 05550                        .HasColumnType("timestamp without time zone");
 05551
 05552                    b.Property<long?>("ModifiedByUserId")
 05553                        .HasColumnType("bigint");
 05554
 05555                    b.Property<string>("ReasonJson")
 05556                        .HasColumnType("text");
 05557
 05558                    b.Property<long?>("RecStateId")
 05559                        .HasColumnType("bigint");
 05560
 05561                    b.Property<Guid>("RecordGuid")
 05562                        .HasColumnType("uuid");
 05563
 05564                    b.Property<long>("UserId")
 05565                        .HasColumnType("bigint");
 05566
 05567                    b.HasKey("Id");
 05568
 05569                    b.HasIndex("CreatedByUserId");
 05570
 05571                    b.HasIndex("Entity");
 05572
 05573                    b.HasIndex("EventsKindId");
 05574
 05575                    b.HasIndex("ModifiedByUserId");
 05576
 05577                    b.HasIndex("ReasonJson");
 05578
 05579                    b.HasIndex("RecStateId");
 05580
 05581                    b.HasIndex("UserId");
 05582
 05583                    b.ToTable("Events");
 05584                });
 5585
 05586            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", b =>
 05587                {
 05588                    b.Property<long>("Id")
 05589                        .ValueGeneratedOnAdd()
 05590                        .HasColumnType("bigint")
 05591                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05592
 05593                    b.Property<string>("Code")
 05594                        .IsRequired()
 05595                        .HasColumnType("text");
 05596
 05597                    b.Property<long?>("CreatedByUserId")
 05598                        .HasColumnType("bigint");
 05599
 05600                    b.Property<DateTime>("CreationDateTime")
 05601                        .HasColumnType("timestamp without time zone");
 05602
 05603                    b.Property<string>("Description")
 05604                        .HasColumnType("text");
 05605
 05606                    b.Property<Guid>("GUID")
 05607                        .ValueGeneratedOnAdd()
 05608                        .HasColumnType("uuid");
 05609
 05610                    b.Property<bool>("IsDeleted")
 05611                        .HasColumnType("boolean");
 05612
 05613                    b.Property<DateTime?>("ModificationDateTime")
 05614                        .HasColumnType("timestamp without time zone");
 05615
 05616                    b.Property<long?>("ModifiedByUserId")
 05617                        .HasColumnType("bigint");
 05618
 05619                    b.Property<string>("Name")
 05620                        .IsRequired()
 05621                        .HasColumnType("text");
 05622
 05623                    b.Property<long?>("RecStateId")
 05624                        .HasColumnType("bigint");
 05625
 05626                    b.HasKey("Id");
 05627
 05628                    b.HasIndex("CreatedByUserId");
 05629
 05630                    b.HasIndex("ModifiedByUserId");
 05631
 05632                    b.HasIndex("RecStateId");
 05633
 05634                    b.ToTable("EventsKind");
 05635
 05636                    b.HasData(
 05637                        new
 05638                        {
 05639                            Id = 1L,
 05640                            Code = "Unknown",
 05641                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05642                            Description = "",
 05643                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05644                            IsDeleted = false,
 05645                            Name = "Неизвестно"
 05646                        },
 05647                        new
 05648                        {
 05649                            Id = 2L,
 05650                            Code = "Create",
 05651                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05652                            Description = "",
 05653                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05654                            IsDeleted = false,
 05655                            Name = "Создание"
 05656                        },
 05657                        new
 05658                        {
 05659                            Id = 3L,
 05660                            Code = "Update",
 05661                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05662                            Description = "",
 05663                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05664                            IsDeleted = false,
 05665                            Name = "Обновление"
 05666                        },
 05667                        new
 05668                        {
 05669                            Id = 4L,
 05670                            Code = "Delete",
 05671                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05672                            Description = "",
 05673                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05674                            IsDeleted = false,
 05675                            Name = "Удаление"
 05676                        });
 05677                });
 5678
 05679            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ExchangeToken", b =>
 05680                {
 05681                    b.Property<long>("Id")
 05682                        .ValueGeneratedOnAdd()
 05683                        .HasColumnType("bigint")
 05684                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05685
 05686                    b.Property<long>("ContragentId")
 05687                        .HasColumnType("bigint");
 05688
 05689                    b.Property<long?>("CreatedByUserId")
 05690                        .HasColumnType("bigint");
 05691
 05692                    b.Property<DateTime>("CreationDateTime")
 05693                        .HasColumnType("timestamp without time zone");
 05694
 05695                    b.Property<string>("Description")
 05696                        .HasColumnType("text");
 05697
 05698                    b.Property<Guid>("GUID")
 05699                        .ValueGeneratedOnAdd()
 05700                        .HasColumnType("uuid");
 05701
 05702                    b.Property<bool>("IsDeleted")
 05703                        .HasColumnType("boolean");
 05704
 05705                    b.Property<DateTime?>("ModificationDateTime")
 05706                        .HasColumnType("timestamp without time zone");
 05707
 05708                    b.Property<long?>("ModifiedByUserId")
 05709                        .HasColumnType("bigint");
 05710
 05711                    b.Property<long?>("RecStateId")
 05712                        .HasColumnType("bigint");
 05713
 05714                    b.HasKey("Id");
 05715
 05716                    b.HasIndex("ContragentId");
 05717
 05718                    b.HasIndex("CreatedByUserId");
 05719
 05720                    b.HasIndex("ModifiedByUserId");
 05721
 05722                    b.HasIndex("RecStateId");
 05723
 05724                    b.ToTable("ExchangeTokens");
 05725
 05726                    b.HasData(
 05727                        new
 05728                        {
 05729                            Id = 1L,
 05730                            ContragentId = -2L,
 05731                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05732                            Description = "Для синхронизации с CRM",
 05733                            GUID = new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588"),
 05734                            IsDeleted = false,
 05735                            RecStateId = 2L
 05736                        });
 05737                });
 5738
 05739            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", b =>
 05740                {
 05741                    b.Property<long>("Id")
 05742                        .ValueGeneratedOnAdd()
 05743                        .HasColumnType("bigint")
 05744                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05745
 05746                    b.Property<long?>("CreatedByUserId")
 05747                        .HasColumnType("bigint");
 05748
 05749                    b.Property<DateTime>("CreationDateTime")
 05750                        .HasColumnType("timestamp without time zone");
 05751
 05752                    b.Property<string>("Description")
 05753                        .HasColumnType("text");
 05754
 05755                    b.Property<Guid>("GUID")
 05756                        .ValueGeneratedOnAdd()
 05757                        .HasColumnType("uuid");
 05758
 05759                    b.Property<bool>("IsDeleted")
 05760                        .HasColumnType("boolean");
 05761
 05762                    b.Property<DateTime?>("ModificationDateTime")
 05763                        .HasColumnType("timestamp without time zone");
 05764
 05765                    b.Property<long?>("ModifiedByUserId")
 05766                        .HasColumnType("bigint");
 05767
 05768                    b.Property<string>("Name")
 05769                        .IsRequired()
 05770                        .HasColumnType("text");
 05771
 05772                    b.Property<long?>("RecStateId")
 05773                        .HasColumnType("bigint");
 05774
 05775                    b.HasKey("Id");
 05776
 05777                    b.HasIndex("CreatedByUserId");
 05778
 05779                    b.HasIndex("ModifiedByUserId");
 05780
 05781                    b.HasIndex("RecStateId");
 05782
 05783                    b.ToTable("FrontActions");
 05784
 05785                    b.HasData(
 05786                        new
 05787                        {
 05788                            Id = 1L,
 05789                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05790                            Description = "Доступ к черновикам",
 05791                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05792                            IsDeleted = false,
 05793                            Name = "viewOrderDraft"
 05794                        },
 05795                        new
 05796                        {
 05797                            Id = 2L,
 05798                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05799                            Description = "Доступ к ценообразованию",
 05800                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05801                            IsDeleted = false,
 05802                            Name = "viewPricing"
 05803                        },
 05804                        new
 05805                        {
 05806                            Id = 3L,
 05807                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05808                            Description = "Доступ к уведомлениям",
 05809                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05810                            IsDeleted = false,
 05811                            Name = "viewNotifications"
 05812                        },
 05813                        new
 05814                        {
 05815                            Id = 4L,
 05816                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05817                            Description = "Доступ к отгрузкам",
 05818                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05819                            IsDeleted = false,
 05820                            Name = "viewShipments"
 05821                        },
 05822                        new
 05823                        {
 05824                            Id = 5L,
 05825                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05826                            Description = "Доступ к поддержке",
 05827                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05828                            IsDeleted = false,
 05829                            Name = "viewSupport"
 05830                        },
 05831                        new
 05832                        {
 05833                            Id = 6L,
 05834                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05835                            Description = "Доступ к аналитике",
 05836                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05837                            IsDeleted = false,
 05838                            Name = "viewAnalytics"
 05839                        },
 05840                        new
 05841                        {
 05842                            Id = 7L,
 05843                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05844                            Description = "Доступ к товарному запасу",
 05845                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05846                            IsDeleted = false,
 05847                            Name = "viewRests"
 05848                        },
 05849                        new
 05850                        {
 05851                            Id = 8L,
 05852                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05853                            Description = "Доступ к заявкам",
 05854                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05855                            IsDeleted = false,
 05856                            Name = "viewOrders"
 05857                        },
 05858                        new
 05859                        {
 05860                            Id = 9L,
 05861                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05862                            Description = "Доступ к профилю пользователя",
 05863                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05864                            IsDeleted = false,
 05865                            Name = "viewUser"
 05866                        },
 05867                        new
 05868                        {
 05869                            Id = 10L,
 05870                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05871                            Description = "Доступ к параметрам отборки",
 05872                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05873                            IsDeleted = false,
 05874                            Name = "viewSelectionParameters"
 05875                        },
 05876                        new
 05877                        {
 05878                            Id = 11L,
 05879                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05880                            Description = "Доступ к витрине",
 05881                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05882                            IsDeleted = false,
 05883                            Name = "viewShowcase"
 05884                        },
 05885                        new
 05886                        {
 05887                            Id = 12L,
 05888                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05889                            Description = "Доступ к управлению платформой",
 05890                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05891                            IsDeleted = false,
 05892                            Name = "viewSystemManagement"
 05893                        },
 05894                        new
 05895                        {
 05896                            Id = 13L,
 05897                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05898                            Description = "Доступ к настройкам",
 05899                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05900                            IsDeleted = false,
 05901                            Name = "viewSettings"
 05902                        },
 05903                        new
 05904                        {
 05905                            Id = 14L,
 05906                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05907                            Description = "Доступ к подразделениям",
 05908                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05909                            IsDeleted = false,
 05910                            Name = "viewDepartments"
 05911                        },
 05912                        new
 05913                        {
 05914                            Id = 15L,
 05915                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05916                            Description = "Доступ к профилю кошелька",
 05917                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05918                            IsDeleted = false,
 05919                            Name = "viewOrganisationPaymentAccount"
 05920                        },
 05921                        new
 05922                        {
 05923                            Id = 16L,
 05924                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05925                            Description = "Доступ к номенклатуре",
 05926                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05927                            IsDeleted = false,
 05928                            Name = "viewNomenclature"
 05929                        },
 05930                        new
 05931                        {
 05932                            Id = 17L,
 05933                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05934                            Description = "Доступ к брендам",
 05935                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05936                            IsDeleted = false,
 05937                            Name = "viewBrands"
 05938                        },
 05939                        new
 05940                        {
 05941                            Id = 18L,
 05942                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05943                            Description = "Доступ к товарной иерархии",
 05944                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05945                            IsDeleted = false,
 05946                            Name = "viewGoodsHierarchy"
 05947                        },
 05948                        new
 05949                        {
 05950                            Id = 19L,
 05951                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05952                            Description = "Доступ к добавлению подразделений",
 05953                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05954                            IsDeleted = false,
 05955                            Name = "addDepartment"
 05956                        },
 05957                        new
 05958                        {
 05959                            Id = 20L,
 05960                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05961                            Description = "Доступ к редактированию контрактов",
 05962                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05963                            IsDeleted = false,
 05964                            Name = "editContracts"
 05965                        },
 05966                        new
 05967                        {
 05968                            Id = 21L,
 05969                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05970                            Description = "Доступ к удалению контрактов",
 05971                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05972                            IsDeleted = false,
 05973                            Name = "deleteContracts"
 05974                        });
 05975                });
 5976
 05977            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", b =>
 05978                {
 05979                    b.Property<long>("Id")
 05980                        .ValueGeneratedOnAdd()
 05981                        .HasColumnType("bigint")
 05982                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05983
 05984                    b.Property<long?>("BrandId")
 05985                        .HasColumnType("bigint");
 05986
 05987                    b.Property<long>("CategoryId")
 05988                        .HasColumnType("bigint");
 05989
 05990                    b.Property<string>("ConformityCertNumber")
 05991                        .IsRequired()
 05992                        .HasColumnType("text");
 05993
 05994                    b.Property<long?>("CountryId")
 05995                        .HasColumnType("bigint");
 05996
 05997                    b.Property<long?>("CreatedByUserId")
 05998                        .HasColumnType("bigint");
 05999
 06000                    b.Property<DateTime>("CreationDateTime")
 06001                        .HasColumnType("timestamp without time zone");
 06002
 06003                    b.Property<string>("CustomDeclarationNumber")
 06004                        .IsRequired()
 06005                        .HasColumnType("text");
 06006
 06007                    b.Property<int>("ExpirationDays")
 06008                        .HasColumnType("integer");
 06009
 06010                    b.Property<Guid>("GUID")
 06011                        .ValueGeneratedOnAdd()
 06012                        .HasColumnType("uuid");
 06013
 06014                    b.Property<decimal>("GroupPackHeight")
 06015                        .HasColumnType("numeric");
 06016
 06017                    b.Property<int>("GroupPackNesting")
 06018                        .HasColumnType("integer");
 06019
 06020                    b.Property<decimal>("GroupPackThickness")
 06021                        .HasColumnType("numeric");
 06022
 06023                    b.Property<decimal>("GroupPackWidth")
 06024                        .HasColumnType("numeric");
 06025
 06026                    b.Property<decimal>("Height")
 06027                        .HasColumnType("numeric");
 06028
 06029                    b.Property<bool>("IsDeleted")
 06030                        .HasColumnType("boolean");
 06031
 06032                    b.Property<long>("MainBarcodeId")
 06033                        .HasColumnType("bigint");
 06034
 06035                    b.Property<long?>("ManufacturerId")
 06036                        .HasColumnType("bigint");
 06037
 06038                    b.Property<decimal>("MinDeliveryLot")
 06039                        .HasColumnType("numeric");
 06040
 06041                    b.Property<DateTime?>("ModificationDateTime")
 06042                        .HasColumnType("timestamp without time zone");
 06043
 06044                    b.Property<long?>("ModifiedByUserId")
 06045                        .HasColumnType("bigint");
 06046
 06047                    b.Property<string>("Name")
 06048                        .IsRequired()
 06049                        .HasColumnType("text");
 06050
 06051                    b.Property<int>("PalletNesting")
 06052                        .HasColumnType("integer");
 06053
 06054                    b.Property<long?>("RecStateId")
 06055                        .HasColumnType("bigint");
 06056
 06057                    b.Property<long?>("SubBrandId")
 06058                        .HasColumnType("bigint");
 06059
 06060                    b.Property<long?>("SupplierId")
 06061                        .HasColumnType("bigint");
 06062
 06063                    b.Property<decimal>("Thickness")
 06064                        .HasColumnType("numeric");
 06065
 06066                    b.Property<long>("UnitsKindId")
 06067                        .HasColumnType("bigint");
 06068
 06069                    b.Property<long>("VatsKindId")
 06070                        .HasColumnType("bigint");
 06071
 06072                    b.Property<string>("VendorCode")
 06073                        .IsRequired()
 06074                        .HasColumnType("text");
 06075
 06076                    b.Property<decimal>("Weight")
 06077                        .HasColumnType("numeric");
 06078
 06079                    b.Property<decimal>("Width")
 06080                        .HasColumnType("numeric");
 06081
 06082                    b.HasKey("Id");
 06083
 06084                    b.HasIndex("BrandId");
 06085
 06086                    b.HasIndex("CategoryId");
 06087
 06088                    b.HasIndex("CountryId");
 06089
 06090                    b.HasIndex("CreatedByUserId");
 06091
 06092                    b.HasIndex("MainBarcodeId");
 06093
 06094                    b.HasIndex("ManufacturerId");
 06095
 06096                    b.HasIndex("ModifiedByUserId");
 06097
 06098                    b.HasIndex("Name");
 06099
 06100                    b.HasIndex("RecStateId");
 06101
 06102                    b.HasIndex("SubBrandId");
 06103
 06104                    b.HasIndex("SupplierId");
 06105
 06106                    b.HasIndex("UnitsKindId");
 06107
 06108                    b.HasIndex("VatsKindId");
 06109
 06110                    b.ToTable("Goods");
 06111                });
 6112
 06113            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Incident", b =>
 06114                {
 06115                    b.Property<long>("Id")
 06116                        .ValueGeneratedOnAdd()
 06117                        .HasColumnType("bigint")
 06118                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06119
 06120                    b.Property<string>("Body")
 06121                        .HasColumnType("text");
 06122
 06123                    b.Property<long?>("CreatedByUserId")
 06124                        .HasColumnType("bigint");
 06125
 06126                    b.Property<DateTime>("CreationDateTime")
 06127                        .HasColumnType("timestamp without time zone");
 06128
 06129                    b.Property<DateTime>("DtCreated")
 06130                        .HasColumnType("timestamp without time zone");
 06131
 06132                    b.Property<Guid>("GUID")
 06133                        .ValueGeneratedOnAdd()
 06134                        .HasColumnType("uuid");
 06135
 06136                    b.Property<bool>("IsDeleted")
 06137                        .HasColumnType("boolean");
 06138
 06139                    b.Property<long?>("KindId")
 06140                        .HasColumnType("bigint");
 06141
 06142                    b.Property<DateTime?>("ModificationDateTime")
 06143                        .HasColumnType("timestamp without time zone");
 06144
 06145                    b.Property<long?>("ModifiedByUserId")
 06146                        .HasColumnType("bigint");
 06147
 06148                    b.Property<long?>("RecStateId")
 06149                        .HasColumnType("bigint");
 06150
 06151                    b.Property<long?>("StatusId")
 06152                        .HasColumnType("bigint");
 06153
 06154                    b.Property<string>("Subject")
 06155                        .HasColumnType("text");
 06156
 06157                    b.Property<string>("Ticket")
 06158                        .HasColumnType("text");
 06159
 06160                    b.Property<long>("UserId")
 06161                        .HasColumnType("bigint");
 06162
 06163                    b.HasKey("Id");
 06164
 06165                    b.HasIndex("CreatedByUserId");
 06166
 06167                    b.HasIndex("KindId");
 06168
 06169                    b.HasIndex("ModifiedByUserId");
 06170
 06171                    b.HasIndex("RecStateId");
 06172
 06173                    b.HasIndex("StatusId");
 06174
 06175                    b.HasIndex("UserId");
 06176
 06177                    b.ToTable("Incidents");
 06178                });
 6179
 06180            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsKind", b =>
 06181                {
 06182                    b.Property<long>("Id")
 06183                        .ValueGeneratedOnAdd()
 06184                        .HasColumnType("bigint")
 06185                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06186
 06187                    b.Property<string>("Code")
 06188                        .IsRequired()
 06189                        .HasColumnType("text");
 06190
 06191                    b.Property<long?>("CreatedByUserId")
 06192                        .HasColumnType("bigint");
 06193
 06194                    b.Property<DateTime>("CreationDateTime")
 06195                        .HasColumnType("timestamp without time zone");
 06196
 06197                    b.Property<string>("Description")
 06198                        .HasColumnType("text");
 06199
 06200                    b.Property<Guid>("GUID")
 06201                        .ValueGeneratedOnAdd()
 06202                        .HasColumnType("uuid");
 06203
 06204                    b.Property<bool>("IsDeleted")
 06205                        .HasColumnType("boolean");
 06206
 06207                    b.Property<DateTime?>("ModificationDateTime")
 06208                        .HasColumnType("timestamp without time zone");
 06209
 06210                    b.Property<long?>("ModifiedByUserId")
 06211                        .HasColumnType("bigint");
 06212
 06213                    b.Property<string>("Name")
 06214                        .IsRequired()
 06215                        .HasColumnType("text");
 06216
 06217                    b.Property<long?>("RecStateId")
 06218                        .HasColumnType("bigint");
 06219
 06220                    b.HasKey("Id");
 06221
 06222                    b.HasIndex("CreatedByUserId");
 06223
 06224                    b.HasIndex("ModifiedByUserId");
 06225
 06226                    b.HasIndex("RecStateId");
 06227
 06228                    b.ToTable("IncidentsKind");
 06229
 06230                    b.HasData(
 06231                        new
 06232                        {
 06233                            Id = 1L,
 06234                            Code = "Unknown",
 06235                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06236                            Description = "",
 06237                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06238                            IsDeleted = false,
 06239                            Name = "Неизвестно"
 06240                        },
 06241                        new
 06242                        {
 06243                            Id = 2L,
 06244                            Code = "Error",
 06245                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06246                            Description = "",
 06247                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06248                            IsDeleted = false,
 06249                            Name = "Ошибка"
 06250                        },
 06251                        new
 06252                        {
 06253                            Id = 3L,
 06254                            Code = "Question",
 06255                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06256                            Description = "",
 06257                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06258                            IsDeleted = false,
 06259                            Name = "Вопрос"
 06260                        },
 06261                        new
 06262                        {
 06263                            Id = 4L,
 06264                            Code = "Suggestion",
 06265                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06266                            Description = "",
 06267                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06268                            IsDeleted = false,
 06269                            Name = "Предложение"
 06270                        });
 06271                });
 6272
 06273            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", b =>
 06274                {
 06275                    b.Property<long>("Id")
 06276                        .ValueGeneratedOnAdd()
 06277                        .HasColumnType("bigint")
 06278                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06279
 06280                    b.Property<string>("Code")
 06281                        .IsRequired()
 06282                        .HasColumnType("text");
 06283
 06284                    b.Property<long?>("CreatedByUserId")
 06285                        .HasColumnType("bigint");
 06286
 06287                    b.Property<DateTime>("CreationDateTime")
 06288                        .HasColumnType("timestamp without time zone");
 06289
 06290                    b.Property<string>("Description")
 06291                        .HasColumnType("text");
 06292
 06293                    b.Property<Guid>("GUID")
 06294                        .ValueGeneratedOnAdd()
 06295                        .HasColumnType("uuid");
 06296
 06297                    b.Property<bool>("IsDeleted")
 06298                        .HasColumnType("boolean");
 06299
 06300                    b.Property<DateTime?>("ModificationDateTime")
 06301                        .HasColumnType("timestamp without time zone");
 06302
 06303                    b.Property<long?>("ModifiedByUserId")
 06304                        .HasColumnType("bigint");
 06305
 06306                    b.Property<string>("Name")
 06307                        .IsRequired()
 06308                        .HasColumnType("text");
 06309
 06310                    b.Property<long?>("RecStateId")
 06311                        .HasColumnType("bigint");
 06312
 06313                    b.HasKey("Id");
 06314
 06315                    b.HasIndex("CreatedByUserId");
 06316
 06317                    b.HasIndex("ModifiedByUserId");
 06318
 06319                    b.HasIndex("RecStateId");
 06320
 06321                    b.ToTable("IncidentsStatus");
 06322
 06323                    b.HasData(
 06324                        new
 06325                        {
 06326                            Id = 1L,
 06327                            Code = "Open",
 06328                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06329                            Description = "",
 06330                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06331                            IsDeleted = false,
 06332                            Name = "Открыт"
 06333                        },
 06334                        new
 06335                        {
 06336                            Id = 2L,
 06337                            Code = "InWork",
 06338                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06339                            Description = "",
 06340                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06341                            IsDeleted = false,
 06342                            Name = "В работе"
 06343                        },
 06344                        new
 06345                        {
 06346                            Id = 3L,
 06347                            Code = "Resolved",
 06348                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06349                            Description = "",
 06350                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06351                            IsDeleted = false,
 06352                            Name = "Решен"
 06353                        },
 06354                        new
 06355                        {
 06356                            Id = 4L,
 06357                            Code = "Canceled",
 06358                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06359                            Description = "",
 06360                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06361                            IsDeleted = false,
 06362                            Name = "Отменен"
 06363                        },
 06364                        new
 06365                        {
 06366                            Id = 5L,
 06367                            Code = "Closed",
 06368                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06369                            Description = "",
 06370                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06371                            IsDeleted = false,
 06372                            Name = "Закрыт"
 06373                        });
 06374                });
 6375
 06376            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.JobLogger", b =>
 06377                {
 06378                    b.Property<long>("Id")
 06379                        .ValueGeneratedOnAdd()
 06380                        .HasColumnType("bigint")
 06381                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06382
 06383                    b.Property<long?>("CreatedByUserId")
 06384                        .HasColumnType("bigint");
 06385
 06386                    b.Property<DateTime>("CreationDateTime")
 06387                        .HasColumnType("timestamp without time zone");
 06388
 06389                    b.Property<Guid>("GUID")
 06390                        .ValueGeneratedOnAdd()
 06391                        .HasColumnType("uuid");
 06392
 06393                    b.Property<bool>("IsDeleted")
 06394                        .HasColumnType("boolean");
 06395
 06396                    b.Property<string>("JobName")
 06397                        .HasColumnType("text");
 06398
 06399                    b.Property<string>("Log")
 06400                        .HasColumnType("text");
 06401
 06402                    b.Property<string>("LogLevel")
 06403                        .HasColumnType("text");
 06404
 06405                    b.Property<DateTime?>("ModificationDateTime")
 06406                        .HasColumnType("timestamp without time zone");
 06407
 06408                    b.Property<long?>("ModifiedByUserId")
 06409                        .HasColumnType("bigint");
 06410
 06411                    b.Property<long?>("RecStateId")
 06412                        .HasColumnType("bigint");
 06413
 06414                    b.HasKey("Id");
 06415
 06416                    b.HasIndex("CreatedByUserId");
 06417
 06418                    b.HasIndex("ModifiedByUserId");
 06419
 06420                    b.HasIndex("RecStateId");
 06421
 06422                    b.ToTable("JobLoggers");
 06423                });
 6424
 06425            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MethodRole", b =>
 06426                {
 06427                    b.Property<long>("RoleId")
 06428                        .HasColumnType("bigint");
 06429
 06430                    b.Property<long>("MethodId")
 06431                        .HasColumnType("bigint");
 06432
 06433                    b.Property<long?>("CreatedByUserId")
 06434                        .HasColumnType("bigint");
 06435
 06436                    b.Property<DateTime>("CreationDateTime")
 06437                        .HasColumnType("timestamp without time zone");
 06438
 06439                    b.Property<Guid>("GUID")
 06440                        .ValueGeneratedOnAdd()
 06441                        .HasColumnType("uuid");
 06442
 06443                    b.HasKey("RoleId", "MethodId");
 06444
 06445                    b.HasIndex("MethodId");
 06446
 06447                    b.ToTable("MethodRole");
 06448                });
 6449
 06450            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", b =>
 06451                {
 06452                    b.Property<long>("Id")
 06453                        .ValueGeneratedOnAdd()
 06454                        .HasColumnType("bigint")
 06455                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06456
 06457                    b.Property<long?>("CreatedByUserId")
 06458                        .HasColumnType("bigint");
 06459
 06460                    b.Property<DateTime>("CreationDateTime")
 06461                        .HasColumnType("timestamp without time zone");
 06462
 06463                    b.Property<string>("Description")
 06464                        .HasColumnType("text");
 06465
 06466                    b.Property<Guid>("GUID")
 06467                        .ValueGeneratedOnAdd()
 06468                        .HasColumnType("uuid");
 06469
 06470                    b.Property<bool>("IsDeleted")
 06471                        .HasColumnType("boolean");
 06472
 06473                    b.Property<string>("MethodName")
 06474                        .IsRequired()
 06475                        .HasColumnType("text");
 06476
 06477                    b.Property<DateTime?>("ModificationDateTime")
 06478                        .HasColumnType("timestamp without time zone");
 06479
 06480                    b.Property<long?>("ModifiedByUserId")
 06481                        .HasColumnType("bigint");
 06482
 06483                    b.Property<long?>("RecStateId")
 06484                        .HasColumnType("bigint");
 06485
 06486                    b.HasKey("Id");
 06487
 06488                    b.HasIndex("CreatedByUserId");
 06489
 06490                    b.HasIndex("ModifiedByUserId");
 06491
 06492                    b.HasIndex("RecStateId");
 06493
 06494                    b.ToTable("Methods");
 06495                });
 6496
 06497            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", b =>
 06498                {
 06499                    b.Property<long>("Id")
 06500                        .ValueGeneratedOnAdd()
 06501                        .HasColumnType("bigint")
 06502                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06503
 06504                    b.Property<string>("Attachment")
 06505                        .HasColumnType("text");
 06506
 06507                    b.Property<long?>("CreatedByUserId")
 06508                        .HasColumnType("bigint");
 06509
 06510                    b.Property<DateTime>("CreationDateTime")
 06511                        .HasColumnType("timestamp without time zone");
 06512
 06513                    b.Property<long>("CustomerId")
 06514                        .HasColumnType("bigint");
 06515
 06516                    b.Property<string>("DocumentNumber")
 06517                        .IsRequired()
 06518                        .HasColumnType("text");
 06519
 06520                    b.Property<DateTime>("DtCreated")
 06521                        .HasColumnType("timestamp without time zone");
 06522
 06523                    b.Property<Guid>("GUID")
 06524                        .ValueGeneratedOnAdd()
 06525                        .HasColumnType("uuid");
 06526
 06527                    b.Property<bool>("IsDeleted")
 06528                        .HasColumnType("boolean");
 06529
 06530                    b.Property<DateTime?>("ModificationDateTime")
 06531                        .HasColumnType("timestamp without time zone");
 06532
 06533                    b.Property<long?>("ModifiedByUserId")
 06534                        .HasColumnType("bigint");
 06535
 06536                    b.Property<long>("MovementStatusId")
 06537                        .HasColumnType("bigint");
 06538
 06539                    b.Property<long>("MovementTypeId")
 06540                        .HasColumnType("bigint");
 06541
 06542                    b.Property<long?>("ParentId")
 06543                        .HasColumnType("bigint");
 06544
 06545                    b.Property<decimal>("PrepaimentPercent")
 06546                        .HasColumnType("numeric");
 06547
 06548                    b.Property<decimal>("PrepaimentSum")
 06549                        .HasColumnType("numeric");
 06550
 06551                    b.Property<long?>("RecStateId")
 06552                        .HasColumnType("bigint");
 06553
 06554                    b.Property<long>("ReceiverId")
 06555                        .HasColumnType("bigint");
 06556
 06557                    b.Property<long?>("SenderId")
 06558                        .HasColumnType("bigint");
 06559
 06560                    b.Property<long>("SupplierId")
 06561                        .HasColumnType("bigint");
 06562
 06563                    b.Property<DateTime?>("SupplierTransferDate")
 06564                        .HasColumnType("timestamp without time zone");
 06565
 06566                    b.HasKey("Id");
 06567
 06568                    b.HasIndex("CreatedByUserId");
 06569
 06570                    b.HasIndex("CustomerId");
 06571
 06572                    b.HasIndex("ModifiedByUserId");
 06573
 06574                    b.HasIndex("MovementStatusId");
 06575
 06576                    b.HasIndex("MovementTypeId");
 06577
 06578                    b.HasIndex("ParentId");
 06579
 06580                    b.HasIndex("RecStateId");
 06581
 06582                    b.HasIndex("ReceiverId");
 06583
 06584                    b.HasIndex("SenderId");
 06585
 06586                    b.HasIndex("SupplierId");
 06587
 06588                    b.ToTable("Movements");
 06589                });
 6590
 06591            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementItem", b =>
 06592                {
 06593                    b.Property<long>("Id")
 06594                        .ValueGeneratedOnAdd()
 06595                        .HasColumnType("bigint")
 06596                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06597
 06598                    b.Property<string>("Comment")
 06599                        .HasColumnType("text");
 06600
 06601                    b.Property<long?>("CreatedByUserId")
 06602                        .HasColumnType("bigint");
 06603
 06604                    b.Property<DateTime>("CreationDateTime")
 06605                        .HasColumnType("timestamp without time zone");
 06606
 06607                    b.Property<Guid>("GUID")
 06608                        .ValueGeneratedOnAdd()
 06609                        .HasColumnType("uuid");
 06610
 06611                    b.Property<long>("GoodId")
 06612                        .HasColumnType("bigint");
 06613
 06614                    b.Property<bool>("IsDeleted")
 06615                        .HasColumnType("boolean");
 06616
 06617                    b.Property<DateTime?>("ModificationDateTime")
 06618                        .HasColumnType("timestamp without time zone");
 06619
 06620                    b.Property<long?>("ModifiedByUserId")
 06621                        .HasColumnType("bigint");
 06622
 06623                    b.Property<long?>("MovementId")
 06624                        .HasColumnType("bigint");
 06625
 06626                    b.Property<decimal>("Price")
 06627                        .HasColumnType("numeric");
 06628
 06629                    b.Property<decimal>("Quantity")
 06630                        .HasColumnType("numeric");
 06631
 06632                    b.Property<long?>("RecStateId")
 06633                        .HasColumnType("bigint");
 06634
 06635                    b.HasKey("Id");
 06636
 06637                    b.HasIndex("CreatedByUserId");
 06638
 06639                    b.HasIndex("GoodId");
 06640
 06641                    b.HasIndex("ModifiedByUserId");
 06642
 06643                    b.HasIndex("MovementId");
 06644
 06645                    b.HasIndex("RecStateId");
 06646
 06647                    b.ToTable("MovementItems");
 06648                });
 6649
 06650            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementNote", b =>
 06651                {
 06652                    b.Property<long>("Id")
 06653                        .ValueGeneratedOnAdd()
 06654                        .HasColumnType("bigint")
 06655                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06656
 06657                    b.Property<string>("Body")
 06658                        .IsRequired()
 06659                        .HasColumnType("text");
 06660
 06661                    b.Property<long?>("CreatedByUserId")
 06662                        .HasColumnType("bigint");
 06663
 06664                    b.Property<DateTime>("CreationDateTime")
 06665                        .HasColumnType("timestamp without time zone");
 06666
 06667                    b.Property<Guid>("GUID")
 06668                        .ValueGeneratedOnAdd()
 06669                        .HasColumnType("uuid");
 06670
 06671                    b.Property<bool>("IsDeleted")
 06672                        .HasColumnType("boolean");
 06673
 06674                    b.Property<DateTime?>("ModificationDateTime")
 06675                        .HasColumnType("timestamp without time zone");
 06676
 06677                    b.Property<long?>("ModifiedByUserId")
 06678                        .HasColumnType("bigint");
 06679
 06680                    b.Property<long?>("MovementId")
 06681                        .HasColumnType("bigint");
 06682
 06683                    b.Property<long?>("RecStateId")
 06684                        .HasColumnType("bigint");
 06685
 06686                    b.HasKey("Id");
 06687
 06688                    b.HasIndex("CreatedByUserId");
 06689
 06690                    b.HasIndex("ModifiedByUserId");
 06691
 06692                    b.HasIndex("MovementId");
 06693
 06694                    b.HasIndex("RecStateId");
 06695
 06696                    b.ToTable("MovementNotes");
 06697                });
 6698
 06699            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementRouteAction", b =>
 06700                {
 06701                    b.Property<long>("Id")
 06702                        .ValueGeneratedOnAdd()
 06703                        .HasColumnType("bigint")
 06704                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06705
 06706                    b.Property<string>("Action")
 06707                        .HasColumnType("text");
 06708
 06709                    b.Property<string>("Caption")
 06710                        .HasColumnType("text");
 06711
 06712                    b.Property<string>("Code")
 06713                        .HasColumnType("text");
 06714
 06715                    b.Property<long?>("CreatedByUserId")
 06716                        .HasColumnType("bigint");
 06717
 06718                    b.Property<DateTime>("CreationDateTime")
 06719                        .HasColumnType("timestamp without time zone");
 06720
 06721                    b.Property<Guid>("GUID")
 06722                        .ValueGeneratedOnAdd()
 06723                        .HasColumnType("uuid");
 06724
 06725                    b.Property<bool>("IsDeleted")
 06726                        .HasColumnType("boolean");
 06727
 06728                    b.Property<DateTime?>("ModificationDateTime")
 06729                        .HasColumnType("timestamp without time zone");
 06730
 06731                    b.Property<long?>("ModifiedByUserId")
 06732                        .HasColumnType("bigint");
 06733
 06734                    b.Property<long>("OwnerActionId")
 06735                        .HasColumnType("bigint");
 06736
 06737                    b.Property<long?>("RecStateId")
 06738                        .HasColumnType("bigint");
 06739
 06740                    b.Property<long>("StatusId")
 06741                        .HasColumnType("bigint");
 06742
 06743                    b.Property<string>("Type")
 06744                        .HasColumnType("text");
 06745
 06746                    b.HasKey("Id");
 06747
 06748                    b.HasIndex("CreatedByUserId");
 06749
 06750                    b.HasIndex("ModifiedByUserId");
 06751
 06752                    b.HasIndex("OwnerActionId");
 06753
 06754                    b.HasIndex("RecStateId");
 06755
 06756                    b.HasIndex("StatusId");
 06757
 06758                    b.ToTable("MovementRouteActions");
 06759
 06760                    b.HasData(
 06761                        new
 06762                        {
 06763                            Id = 1L,
 06764                            Action = "Orders/{id}/DownloadOrderToFile",
 06765                            Caption = "Скачать CSV",
 06766                            Code = "Csv",
 06767                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06768                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06769                            IsDeleted = false,
 06770                            OwnerActionId = 1L,
 06771                            StatusId = 1L,
 06772                            Type = "GET"
 06773                        },
 06774                        new
 06775                        {
 06776                            Id = 2L,
 06777                            Action = "Orders/{id}",
 06778                            Caption = "Изменить",
 06779                            Code = "Edit",
 06780                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06781                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06782                            IsDeleted = false,
 06783                            OwnerActionId = 1L,
 06784                            StatusId = 1L,
 06785                            Type = "GET"
 06786                        },
 06787                        new
 06788                        {
 06789                            Id = 3L,
 06790                            Action = "Orders/{id}",
 06791                            Caption = "Удалить",
 06792                            Code = "Delete",
 06793                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06794                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06795                            IsDeleted = false,
 06796                            OwnerActionId = 1L,
 06797                            StatusId = 1L,
 06798                            Type = "DELETE"
 06799                        },
 06800                        new
 06801                        {
 06802                            Id = 4L,
 06803                            Action = "Orders/{id}/Send",
 06804                            Caption = "Отправить заявку",
 06805                            Code = "Send",
 06806                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06807                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06808                            IsDeleted = false,
 06809                            OwnerActionId = 1L,
 06810                            StatusId = 1L,
 06811                            Type = "POST"
 06812                        },
 06813                        new
 06814                        {
 06815                            Id = 5L,
 06816                            Action = "Orders/{id}/DownloadOrderToFile",
 06817                            Caption = "Скачать CSV",
 06818                            Code = "Csv",
 06819                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06820                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06821                            IsDeleted = false,
 06822                            OwnerActionId = 1L,
 06823                            StatusId = 2L,
 06824                            Type = "GET"
 06825                        },
 06826                        new
 06827                        {
 06828                            Id = 6L,
 06829                            Action = "Orders/{id}/Clone",
 06830                            Caption = "Создать копию",
 06831                            Code = "Clone",
 06832                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06833                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06834                            IsDeleted = false,
 06835                            OwnerActionId = 1L,
 06836                            StatusId = 2L,
 06837                            Type = "POST"
 06838                        },
 06839                        new
 06840                        {
 06841                            Id = 7L,
 06842                            Action = "Orders/{id}/Reject",
 06843                            Caption = "Отказаться",
 06844                            Code = "Reject",
 06845                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06846                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06847                            IsDeleted = false,
 06848                            OwnerActionId = 1L,
 06849                            StatusId = 2L,
 06850                            Type = "POST"
 06851                        },
 06852                        new
 06853                        {
 06854                            Id = 8L,
 06855                            Action = "Orders/{id}",
 06856                            Caption = "Принять",
 06857                            Code = "Confirm",
 06858                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06859                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06860                            IsDeleted = false,
 06861                            OwnerActionId = 3L,
 06862                            StatusId = 2L,
 06863                            Type = "POST"
 06864                        },
 06865                        new
 06866                        {
 06867                            Id = 85L,
 06868                            Action = "Orders/{id}/Reject",
 06869                            Caption = "Отказать",
 06870                            Code = "Reject",
 06871                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06872                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06873                            IsDeleted = false,
 06874                            OwnerActionId = 3L,
 06875                            StatusId = 2L,
 06876                            Type = "POST"
 06877                        },
 06878                        new
 06879                        {
 06880                            Id = 9L,
 06881                            Action = "Orders/{id}/DownloadOrderToFile",
 06882                            Caption = "Скачать CSV",
 06883                            Code = "Csv",
 06884                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06885                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06886                            IsDeleted = false,
 06887                            OwnerActionId = 3L,
 06888                            StatusId = 2L,
 06889                            Type = "GET"
 06890                        },
 06891                        new
 06892                        {
 06893                            Id = 10L,
 06894                            Action = "Orders/{id}/DownloadOrderToFile",
 06895                            Caption = "Скачать CSV",
 06896                            Code = "Csv",
 06897                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06898                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06899                            IsDeleted = false,
 06900                            OwnerActionId = 1L,
 06901                            StatusId = 3L,
 06902                            Type = "GET"
 06903                        },
 06904                        new
 06905                        {
 06906                            Id = 11L,
 06907                            Action = "Orders/{id}/Clone",
 06908                            Caption = "Создать копию",
 06909                            Code = "Clone",
 06910                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06911                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06912                            IsDeleted = false,
 06913                            OwnerActionId = 1L,
 06914                            StatusId = 3L,
 06915                            Type = "POST"
 06916                        },
 06917                        new
 06918                        {
 06919                            Id = 86L,
 06920                            Action = "Orders/{id}/Reject",
 06921                            Caption = "Отказаться",
 06922                            Code = "Reject",
 06923                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06924                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06925                            IsDeleted = false,
 06926                            OwnerActionId = 1L,
 06927                            StatusId = 3L,
 06928                            Type = "POST"
 06929                        },
 06930                        new
 06931                        {
 06932                            Id = 12L,
 06933                            Action = "Orders/{id}/DownloadOrderToFile",
 06934                            Caption = "Скачать CSV",
 06935                            Code = "Csv",
 06936                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06937                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06938                            IsDeleted = false,
 06939                            OwnerActionId = 1L,
 06940                            StatusId = 4L,
 06941                            Type = "GET"
 06942                        },
 06943                        new
 06944                        {
 06945                            Id = 13L,
 06946                            Action = "Orders/{id}/Clone",
 06947                            Caption = "Создать копию",
 06948                            Code = "Clone",
 06949                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06950                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06951                            IsDeleted = false,
 06952                            OwnerActionId = 1L,
 06953                            StatusId = 4L,
 06954                            Type = "POST"
 06955                        },
 06956                        new
 06957                        {
 06958                            Id = 87L,
 06959                            Action = "Orders/{id}/DownloadOrderToFile",
 06960                            Caption = "Скачать CSV",
 06961                            Code = "Csv",
 06962                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06963                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06964                            IsDeleted = false,
 06965                            OwnerActionId = 3L,
 06966                            StatusId = 4L,
 06967                            Type = "GET"
 06968                        },
 06969                        new
 06970                        {
 06971                            Id = 14L,
 06972                            Action = "Orders/{id}/DownloadOrderToFile",
 06973                            Caption = "Скачать CSV",
 06974                            Code = "Csv",
 06975                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06976                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06977                            IsDeleted = false,
 06978                            OwnerActionId = 1L,
 06979                            StatusId = 5L,
 06980                            Type = "GET"
 06981                        },
 06982                        new
 06983                        {
 06984                            Id = 15L,
 06985                            Action = "Orders/{id}/Clone",
 06986                            Caption = "Создать копию",
 06987                            Code = "Clone",
 06988                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06989                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06990                            IsDeleted = false,
 06991                            OwnerActionId = 1L,
 06992                            StatusId = 5L,
 06993                            Type = "POST"
 06994                        },
 06995                        new
 06996                        {
 06997                            Id = 16L,
 06998                            Action = "Shipments/{id}/DownloadShipmentToFile",
 06999                            Caption = "Скачать CSV",
 07000                            Code = "Csv",
 07001                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07002                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07003                            IsDeleted = false,
 07004                            OwnerActionId = 2L,
 07005                            StatusId = 6L,
 07006                            Type = "GET"
 07007                        },
 07008                        new
 07009                        {
 07010                            Id = 17L,
 07011                            Action = "Shipments/{id}/PaymentReserve",
 07012                            Caption = "Принять",
 07013                            Code = "PaymentReserve",
 07014                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07015                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07016                            IsDeleted = false,
 07017                            OwnerActionId = 2L,
 07018                            StatusId = 6L,
 07019                            Type = "POST"
 07020                        },
 07021                        new
 07022                        {
 07023                            Id = 83L,
 07024                            Action = "Shipments/{id}/SupplierReject",
 07025                            Caption = "Отказать",
 07026                            Code = "RejectBySupplier",
 07027                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07028                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07029                            IsDeleted = false,
 07030                            OwnerActionId = 2L,
 07031                            StatusId = 6L,
 07032                            Type = "POST"
 07033                        },
 07034                        new
 07035                        {
 07036                            Id = 18L,
 07037                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07038                            Caption = "Скачать CSV",
 07039                            Code = "Csv",
 07040                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07041                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07042                            IsDeleted = false,
 07043                            OwnerActionId = 3L,
 07044                            StatusId = 6L,
 07045                            Type = "GET"
 07046                        },
 07047                        new
 07048                        {
 07049                            Id = 19L,
 07050                            Action = "Shipments/{id}/Payment",
 07051                            Caption = "Оплатить",
 07052                            Code = "Payment",
 07053                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07054                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07055                            IsDeleted = false,
 07056                            OwnerActionId = 1L,
 07057                            StatusId = 8L,
 07058                            Type = "POST"
 07059                        },
 07060                        new
 07061                        {
 07062                            Id = 45L,
 07063                            Action = "Shipments/{id}/CustomerReject",
 07064                            Caption = "Отказаться",
 07065                            Code = "RejectByCustomer",
 07066                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07067                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07068                            IsDeleted = false,
 07069                            OwnerActionId = 1L,
 07070                            StatusId = 8L,
 07071                            Type = "POST"
 07072                        },
 07073                        new
 07074                        {
 07075                            Id = 20L,
 07076                            Action = "Orders/CreateOnBase",
 07077                            Caption = "Создать заявку на основе",
 07078                            Code = "CreateOnBase",
 07079                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07080                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07081                            IsDeleted = false,
 07082                            OwnerActionId = 1L,
 07083                            StatusId = 8L,
 07084                            Type = "POST"
 07085                        },
 07086                        new
 07087                        {
 07088                            Id = 136L,
 07089                            Action = "Orders/{parentId}",
 07090                            Caption = "Перейти к заявке-основанию",
 07091                            Code = "GetOnBase",
 07092                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07093                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07094                            IsDeleted = false,
 07095                            OwnerActionId = 1L,
 07096                            StatusId = 8L,
 07097                            Type = "Get"
 07098                        },
 07099                        new
 07100                        {
 07101                            Id = 21L,
 07102                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07103                            Caption = "Скачать CSV",
 07104                            Code = "Csv",
 07105                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07106                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07107                            IsDeleted = false,
 07108                            OwnerActionId = 1L,
 07109                            StatusId = 8L,
 07110                            Type = "GET"
 07111                        },
 07112                        new
 07113                        {
 07114                            Id = 22L,
 07115                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07116                            Caption = "Скачать CSV",
 07117                            Code = "Csv",
 07118                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07119                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07120                            IsDeleted = false,
 07121                            OwnerActionId = 2L,
 07122                            StatusId = 8L,
 07123                            Type = "GET"
 07124                        },
 07125                        new
 07126                        {
 07127                            Id = 23L,
 07128                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07129                            Caption = "Скачать CSV",
 07130                            Code = "Csv",
 07131                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07132                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07133                            IsDeleted = false,
 07134                            OwnerActionId = 3L,
 07135                            StatusId = 8L,
 07136                            Type = "GET"
 07137                        },
 07138                        new
 07139                        {
 07140                            Id = 137L,
 07141                            Action = "Orders/{parentId}",
 07142                            Caption = "Перейти к заявке-основанию",
 07143                            Code = "GetOnBase",
 07144                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07145                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07146                            IsDeleted = false,
 07147                            OwnerActionId = 3L,
 07148                            StatusId = 8L,
 07149                            Type = "Get"
 07150                        },
 07151                        new
 07152                        {
 07153                            Id = 24L,
 07154                            Action = "Orders/CreateOnBase",
 07155                            Caption = "Создать заявку на основе",
 07156                            Code = "CreateOnBase",
 07157                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07158                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07159                            IsDeleted = false,
 07160                            OwnerActionId = 1L,
 07161                            StatusId = 9L,
 07162                            Type = "POST"
 07163                        },
 07164                        new
 07165                        {
 07166                            Id = 25L,
 07167                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07168                            Caption = "Скачать CSV",
 07169                            Code = "Csv",
 07170                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07171                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07172                            IsDeleted = false,
 07173                            OwnerActionId = 1L,
 07174                            StatusId = 9L,
 07175                            Type = "GET"
 07176                        },
 07177                        new
 07178                        {
 07179                            Id = 88L,
 07180                            Action = "Shipments/{id}/CustomerReject",
 07181                            Caption = "Отказаться",
 07182                            Code = "RejectByCustomer",
 07183                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07184                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07185                            IsDeleted = false,
 07186                            OwnerActionId = 1L,
 07187                            StatusId = 9L,
 07188                            Type = "POST"
 07189                        },
 07190                        new
 07191                        {
 07192                            Id = 138L,
 07193                            Action = "Orders/{parentId}",
 07194                            Caption = "Перейти к заявке-основанию",
 07195                            Code = "GetOnBase",
 07196                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07197                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07198                            IsDeleted = false,
 07199                            OwnerActionId = 1L,
 07200                            StatusId = 9L,
 07201                            Type = "Get"
 07202                        },
 07203                        new
 07204                        {
 07205                            Id = 26L,
 07206                            Action = "Shipments/{id}/ReadyToShip",
 07207                            Caption = "Подготовить к выдаче",
 07208                            Code = "ReadyToShip",
 07209                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07210                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07211                            IsDeleted = false,
 07212                            OwnerActionId = 2L,
 07213                            StatusId = 9L,
 07214                            Type = "POST"
 07215                        },
 07216                        new
 07217                        {
 07218                            Id = 27L,
 07219                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07220                            Caption = "Скачать CSV",
 07221                            Code = "Csv",
 07222                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07223                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07224                            IsDeleted = false,
 07225                            OwnerActionId = 2L,
 07226                            StatusId = 9L,
 07227                            Type = "GET"
 07228                        },
 07229                        new
 07230                        {
 07231                            Id = 43L,
 07232                            Action = "Shipments/{id}/SupplierReject",
 07233                            Caption = "Отказать",
 07234                            Code = "RejectBySupplier",
 07235                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07236                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07237                            IsDeleted = false,
 07238                            OwnerActionId = 2L,
 07239                            StatusId = 9L,
 07240                            Type = "POST"
 07241                        },
 07242                        new
 07243                        {
 07244                            Id = 28L,
 07245                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07246                            Caption = "Скачать CSV",
 07247                            Code = "Csv",
 07248                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07249                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07250                            IsDeleted = false,
 07251                            OwnerActionId = 3L,
 07252                            StatusId = 9L,
 07253                            Type = "GET"
 07254                        },
 07255                        new
 07256                        {
 07257                            Id = 139L,
 07258                            Action = "Orders/{parentId}",
 07259                            Caption = "Перейти к заявке-основанию",
 07260                            Code = "GetOnBase",
 07261                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07262                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07263                            IsDeleted = false,
 07264                            OwnerActionId = 3L,
 07265                            StatusId = 9L,
 07266                            Type = "Get"
 07267                        },
 07268                        new
 07269                        {
 07270                            Id = 29L,
 07271                            Action = "Orders/CreateOnBase",
 07272                            Caption = "Создать заявку на основе",
 07273                            Code = "CreateOnBase",
 07274                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07275                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07276                            IsDeleted = false,
 07277                            OwnerActionId = 1L,
 07278                            StatusId = 10L,
 07279                            Type = "POST"
 07280                        },
 07281                        new
 07282                        {
 07283                            Id = 30L,
 07284                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07285                            Caption = "Скачать CSV",
 07286                            Code = "Csv",
 07287                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07288                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07289                            IsDeleted = false,
 07290                            OwnerActionId = 1L,
 07291                            StatusId = 10L,
 07292                            Type = "GET"
 07293                        },
 07294                        new
 07295                        {
 07296                            Id = 34L,
 07297                            Action = "Shipments/{id}/Print",
 07298                            Caption = "Распечатать УПД",
 07299                            Code = "Pdf",
 07300                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07301                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07302                            IsDeleted = false,
 07303                            OwnerActionId = 1L,
 07304                            StatusId = 10L,
 07305                            Type = "GET"
 07306                        },
 07307                        new
 07308                        {
 07309                            Id = 89L,
 07310                            Action = "Shipments/{id}/CustomerReject",
 07311                            Caption = "Отказаться",
 07312                            Code = "RejectByCustomer",
 07313                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07314                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07315                            IsDeleted = false,
 07316                            OwnerActionId = 1L,
 07317                            StatusId = 10L,
 07318                            Type = "POST"
 07319                        },
 07320                        new
 07321                        {
 07322                            Id = 140L,
 07323                            Action = "Orders/{parentId}",
 07324                            Caption = "Перейти к заявке-основанию",
 07325                            Code = "GetOnBase",
 07326                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07327                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07328                            IsDeleted = false,
 07329                            OwnerActionId = 1L,
 07330                            StatusId = 10L,
 07331                            Type = "Get"
 07332                        },
 07333                        new
 07334                        {
 07335                            Id = 31L,
 07336                            Action = "Shipments/{id}/Ship",
 07337                            Caption = "Выдать",
 07338                            Code = "Ship",
 07339                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07340                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07341                            IsDeleted = false,
 07342                            OwnerActionId = 2L,
 07343                            StatusId = 10L,
 07344                            Type = "POST"
 07345                        },
 07346                        new
 07347                        {
 07348                            Id = 35L,
 07349                            Action = "Shipments/{id}/Correction",
 07350                            Caption = "Редактировать",
 07351                            Code = "Edit",
 07352                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07353                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07354                            IsDeleted = false,
 07355                            OwnerActionId = 2L,
 07356                            StatusId = 10L,
 07357                            Type = "POST"
 07358                        },
 07359                        new
 07360                        {
 07361                            Id = 44L,
 07362                            Action = "Shipments/{id}/SupplierReject",
 07363                            Caption = "Отказать",
 07364                            Code = "RejectBySupplier",
 07365                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07366                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07367                            IsDeleted = false,
 07368                            OwnerActionId = 2L,
 07369                            StatusId = 10L,
 07370                            Type = "POST"
 07371                        },
 07372                        new
 07373                        {
 07374                            Id = 32L,
 07375                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07376                            Caption = "Скачать CSV",
 07377                            Code = "Csv",
 07378                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07379                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07380                            IsDeleted = false,
 07381                            OwnerActionId = 2L,
 07382                            StatusId = 10L,
 07383                            Type = "GET"
 07384                        },
 07385                        new
 07386                        {
 07387                            Id = 33L,
 07388                            Action = "Shipments/{id}/Print",
 07389                            Caption = "Распечатать УПД",
 07390                            Code = "Pdf",
 07391                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07392                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07393                            IsDeleted = false,
 07394                            OwnerActionId = 2L,
 07395                            StatusId = 10L,
 07396                            Type = "GET"
 07397                        },
 07398                        new
 07399                        {
 07400                            Id = 98L,
 07401                            Action = "Shipments/{id}/Print",
 07402                            Caption = "Распечатать УПД",
 07403                            Code = "Pdf",
 07404                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07405                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07406                            IsDeleted = false,
 07407                            OwnerActionId = 3L,
 07408                            StatusId = 10L,
 07409                            Type = "GET"
 07410                        },
 07411                        new
 07412                        {
 07413                            Id = 97L,
 07414                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07415                            Caption = "Скачать CSV",
 07416                            Code = "Csv",
 07417                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07418                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07419                            IsDeleted = false,
 07420                            OwnerActionId = 3L,
 07421                            StatusId = 10L,
 07422                            Type = "GET"
 07423                        },
 07424                        new
 07425                        {
 07426                            Id = 141L,
 07427                            Action = "Orders/{parentId}",
 07428                            Caption = "Перейти к заявке-основанию",
 07429                            Code = "GetOnBase",
 07430                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07431                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07432                            IsDeleted = false,
 07433                            OwnerActionId = 3L,
 07434                            StatusId = 10L,
 07435                            Type = "Get"
 07436                        },
 07437                        new
 07438                        {
 07439                            Id = 36L,
 07440                            Action = "Orders/CreateOnBase",
 07441                            Caption = "Создать заявку на основе",
 07442                            Code = "CreateOnBase",
 07443                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07444                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07445                            IsDeleted = false,
 07446                            OwnerActionId = 1L,
 07447                            StatusId = 11L,
 07448                            Type = "POST"
 07449                        },
 07450                        new
 07451                        {
 07452                            Id = 37L,
 07453                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07454                            Caption = "Скачать CSV",
 07455                            Code = "Csv",
 07456                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07457                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07458                            IsDeleted = false,
 07459                            OwnerActionId = 1L,
 07460                            StatusId = 11L,
 07461                            Type = "GET"
 07462                        },
 07463                        new
 07464                        {
 07465                            Id = 90L,
 07466                            Action = "Shipments/{id}/CustomerReject",
 07467                            Caption = "Отказаться",
 07468                            Code = "RejectByCustomer",
 07469                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07470                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07471                            IsDeleted = false,
 07472                            OwnerActionId = 1L,
 07473                            StatusId = 11L,
 07474                            Type = "POST"
 07475                        },
 07476                        new
 07477                        {
 07478                            Id = 142L,
 07479                            Action = "Orders/{parentId}",
 07480                            Caption = "Перейти к заявке-основанию",
 07481                            Code = "GetOnBase",
 07482                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07483                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07484                            IsDeleted = false,
 07485                            OwnerActionId = 1L,
 07486                            StatusId = 11L,
 07487                            Type = "Get"
 07488                        },
 07489                        new
 07490                        {
 07491                            Id = 38L,
 07492                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07493                            Caption = "Скачать CSV",
 07494                            Code = "Csv",
 07495                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07496                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07497                            IsDeleted = false,
 07498                            OwnerActionId = 2L,
 07499                            StatusId = 11L,
 07500                            Type = "GET"
 07501                        },
 07502                        new
 07503                        {
 07504                            Id = 39L,
 07505                            Action = "Shipments/{id}/ReadyToShip",
 07506                            Caption = "Подготовить к выдаче",
 07507                            Code = "ReadyToShip",
 07508                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07509                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07510                            IsDeleted = false,
 07511                            OwnerActionId = 2L,
 07512                            StatusId = 11L,
 07513                            Type = "POST"
 07514                        },
 07515                        new
 07516                        {
 07517                            Id = 81L,
 07518                            Action = "Shipments/{id}/SupplierReject",
 07519                            Caption = "Отказать",
 07520                            Code = "RejectBySupplier",
 07521                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07522                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07523                            IsDeleted = false,
 07524                            OwnerActionId = 2L,
 07525                            StatusId = 11L,
 07526                            Type = "POST"
 07527                        },
 07528                        new
 07529                        {
 07530                            Id = 40L,
 07531                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07532                            Caption = "Скачать CSV",
 07533                            Code = "Csv",
 07534                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07535                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07536                            IsDeleted = false,
 07537                            OwnerActionId = 3L,
 07538                            StatusId = 11L,
 07539                            Type = "GET"
 07540                        },
 07541                        new
 07542                        {
 07543                            Id = 143L,
 07544                            Action = "Orders/{parentId}",
 07545                            Caption = "Перейти к заявке-основанию",
 07546                            Code = "GetOnBase",
 07547                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07548                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07549                            IsDeleted = false,
 07550                            OwnerActionId = 3L,
 07551                            StatusId = 11L,
 07552                            Type = "Get"
 07553                        },
 07554                        new
 07555                        {
 07556                            Id = 41L,
 07557                            Action = "Orders/CreateOnBase",
 07558                            Caption = "Создать заявку на основе",
 07559                            Code = "CreateOnBase",
 07560                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07561                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07562                            IsDeleted = false,
 07563                            OwnerActionId = 1L,
 07564                            StatusId = 12L,
 07565                            Type = "POST"
 07566                        },
 07567                        new
 07568                        {
 07569                            Id = 42L,
 07570                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07571                            Caption = "Скачать CSV",
 07572                            Code = "Csv",
 07573                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07574                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07575                            IsDeleted = false,
 07576                            OwnerActionId = 1L,
 07577                            StatusId = 12L,
 07578                            Type = "GET"
 07579                        },
 07580                        new
 07581                        {
 07582                            Id = 144L,
 07583                            Action = "Orders/{parentId}",
 07584                            Caption = "Перейти к заявке-основанию",
 07585                            Code = "GetOnBase",
 07586                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07587                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07588                            IsDeleted = false,
 07589                            OwnerActionId = 1L,
 07590                            StatusId = 12L,
 07591                            Type = "Get"
 07592                        },
 07593                        new
 07594                        {
 07595                            Id = 46L,
 07596                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07597                            Caption = "Скачать CSV",
 07598                            Code = "Csv",
 07599                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07600                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07601                            IsDeleted = false,
 07602                            OwnerActionId = 2L,
 07603                            StatusId = 12L,
 07604                            Type = "GET"
 07605                        },
 07606                        new
 07607                        {
 07608                            Id = 47L,
 07609                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07610                            Caption = "Скачать CSV",
 07611                            Code = "Csv",
 07612                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07613                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07614                            IsDeleted = false,
 07615                            OwnerActionId = 3L,
 07616                            StatusId = 12L,
 07617                            Type = "GET"
 07618                        },
 07619                        new
 07620                        {
 07621                            Id = 145L,
 07622                            Action = "Orders/{parentId}",
 07623                            Caption = "Перейти к заявке-основанию",
 07624                            Code = "GetOnBase",
 07625                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07626                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07627                            IsDeleted = false,
 07628                            OwnerActionId = 3L,
 07629                            StatusId = 12L,
 07630                            Type = "Get"
 07631                        },
 07632                        new
 07633                        {
 07634                            Id = 48L,
 07635                            Action = "Orders/CreateOnBase",
 07636                            Caption = "Создать заявку на основе",
 07637                            Code = "CreateOnBase",
 07638                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07639                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07640                            IsDeleted = false,
 07641                            OwnerActionId = 1L,
 07642                            StatusId = 13L,
 07643                            Type = "POST"
 07644                        },
 07645                        new
 07646                        {
 07647                            Id = 49L,
 07648                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07649                            Caption = "Скачать CSV",
 07650                            Code = "Csv",
 07651                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07652                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07653                            IsDeleted = false,
 07654                            OwnerActionId = 1L,
 07655                            StatusId = 13L,
 07656                            Type = "GET"
 07657                        },
 07658                        new
 07659                        {
 07660                            Id = 91L,
 07661                            Action = "Shipments/{id}/Print",
 07662                            Caption = "Распечатать УПД",
 07663                            Code = "Pdf",
 07664                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07665                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07666                            IsDeleted = false,
 07667                            OwnerActionId = 1L,
 07668                            StatusId = 13L,
 07669                            Type = "GET"
 07670                        },
 07671                        new
 07672                        {
 07673                            Id = 82L,
 07674                            Action = "Shipments/{id}/Accept",
 07675                            Caption = "Принять",
 07676                            Code = "Accept",
 07677                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07678                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07679                            IsDeleted = false,
 07680                            OwnerActionId = 1L,
 07681                            StatusId = 13L,
 07682                            Type = "PUT"
 07683                        },
 07684                        new
 07685                        {
 07686                            Id = 84L,
 07687                            Action = "Shipments/{id}/CustomerReject",
 07688                            Caption = "Отказаться",
 07689                            Code = "RejectByCustomer",
 07690                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07691                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07692                            IsDeleted = false,
 07693                            OwnerActionId = 1L,
 07694                            StatusId = 13L,
 07695                            Type = "POST"
 07696                        },
 07697                        new
 07698                        {
 07699                            Id = 146L,
 07700                            Action = "Orders/{parentId}",
 07701                            Caption = "Перейти к заявке-основанию",
 07702                            Code = "GetOnBase",
 07703                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07704                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07705                            IsDeleted = false,
 07706                            OwnerActionId = 1L,
 07707                            StatusId = 13L,
 07708                            Type = "Get"
 07709                        },
 07710                        new
 07711                        {
 07712                            Id = 50L,
 07713                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07714                            Caption = "Скачать CSV",
 07715                            Code = "Csv",
 07716                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07717                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07718                            IsDeleted = false,
 07719                            OwnerActionId = 2L,
 07720                            StatusId = 13L,
 07721                            Type = "GET"
 07722                        },
 07723                        new
 07724                        {
 07725                            Id = 51L,
 07726                            Action = "Shipments/{id}/Print",
 07727                            Caption = "Распечатать УПД",
 07728                            Code = "Pdf",
 07729                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07730                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07731                            IsDeleted = false,
 07732                            OwnerActionId = 2L,
 07733                            StatusId = 13L,
 07734                            Type = "GET"
 07735                        },
 07736                        new
 07737                        {
 07738                            Id = 52L,
 07739                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07740                            Caption = "Скачать CSV",
 07741                            Code = "Csv",
 07742                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07743                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07744                            IsDeleted = false,
 07745                            OwnerActionId = 3L,
 07746                            StatusId = 13L,
 07747                            Type = "GET"
 07748                        },
 07749                        new
 07750                        {
 07751                            Id = 53L,
 07752                            Action = "Shipments/{id}/Print",
 07753                            Caption = "Распечатать УПД",
 07754                            Code = "Pdf",
 07755                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07756                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07757                            IsDeleted = false,
 07758                            OwnerActionId = 3L,
 07759                            StatusId = 13L,
 07760                            Type = "GET"
 07761                        },
 07762                        new
 07763                        {
 07764                            Id = 147L,
 07765                            Action = "Orders/{parentId}",
 07766                            Caption = "Перейти к заявке-основанию",
 07767                            Code = "GetOnBase",
 07768                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07769                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07770                            IsDeleted = false,
 07771                            OwnerActionId = 3L,
 07772                            StatusId = 13L,
 07773                            Type = "Get"
 07774                        },
 07775                        new
 07776                        {
 07777                            Id = 54L,
 07778                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07779                            Caption = "Скачать CSV",
 07780                            Code = "Csv",
 07781                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07782                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07783                            IsDeleted = false,
 07784                            OwnerActionId = 1L,
 07785                            StatusId = 14L,
 07786                            Type = "GET"
 07787                        },
 07788                        new
 07789                        {
 07790                            Id = 55L,
 07791                            Action = "Shipments/{id}/Print",
 07792                            Caption = "Распечатать УПД",
 07793                            Code = "Pdf",
 07794                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07795                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07796                            IsDeleted = false,
 07797                            OwnerActionId = 1L,
 07798                            StatusId = 14L,
 07799                            Type = "GET"
 07800                        },
 07801                        new
 07802                        {
 07803                            Id = 148L,
 07804                            Action = "Orders/{parentId}",
 07805                            Caption = "Перейти к заявке-основанию",
 07806                            Code = "GetOnBase",
 07807                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07808                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07809                            IsDeleted = false,
 07810                            OwnerActionId = 1L,
 07811                            StatusId = 14L,
 07812                            Type = "Get"
 07813                        },
 07814                        new
 07815                        {
 07816                            Id = 56L,
 07817                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07818                            Caption = "Скачать CSV",
 07819                            Code = "Csv",
 07820                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07821                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07822                            IsDeleted = false,
 07823                            OwnerActionId = 2L,
 07824                            StatusId = 14L,
 07825                            Type = "GET"
 07826                        },
 07827                        new
 07828                        {
 07829                            Id = 57L,
 07830                            Action = "Shipments/{id}/Print",
 07831                            Caption = "Распечатать УПД",
 07832                            Code = "Pdf",
 07833                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07834                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07835                            IsDeleted = false,
 07836                            OwnerActionId = 2L,
 07837                            StatusId = 14L,
 07838                            Type = "GET"
 07839                        },
 07840                        new
 07841                        {
 07842                            Id = 58L,
 07843                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07844                            Caption = "Скачать CSV",
 07845                            Code = "Csv",
 07846                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07847                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07848                            IsDeleted = false,
 07849                            OwnerActionId = 3L,
 07850                            StatusId = 14L,
 07851                            Type = "GET"
 07852                        },
 07853                        new
 07854                        {
 07855                            Id = 92L,
 07856                            Action = "Shipments/{id}/Print",
 07857                            Caption = "Распечатать УПД",
 07858                            Code = "Pdf",
 07859                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07860                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07861                            IsDeleted = false,
 07862                            OwnerActionId = 3L,
 07863                            StatusId = 14L,
 07864                            Type = "GET"
 07865                        },
 07866                        new
 07867                        {
 07868                            Id = 149L,
 07869                            Action = "Orders/{parentId}",
 07870                            Caption = "Перейти к заявке-основанию",
 07871                            Code = "GetOnBase",
 07872                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07873                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07874                            IsDeleted = false,
 07875                            OwnerActionId = 3L,
 07876                            StatusId = 14L,
 07877                            Type = "Get"
 07878                        },
 07879                        new
 07880                        {
 07881                            Id = 59L,
 07882                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07883                            Caption = "Скачать CSV",
 07884                            Code = "Csv",
 07885                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07886                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07887                            IsDeleted = false,
 07888                            OwnerActionId = 1L,
 07889                            StatusId = 15L,
 07890                            Type = "GET"
 07891                        },
 07892                        new
 07893                        {
 07894                            Id = 60L,
 07895                            Action = "Shipments/{id}/Print",
 07896                            Caption = "Распечатать УПД",
 07897                            Code = "Pdf",
 07898                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07899                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07900                            IsDeleted = false,
 07901                            OwnerActionId = 1L,
 07902                            StatusId = 15L,
 07903                            Type = "GET"
 07904                        },
 07905                        new
 07906                        {
 07907                            Id = 150L,
 07908                            Action = "Orders/{parentId}",
 07909                            Caption = "Перейти к заявке-основанию",
 07910                            Code = "GetOnBase",
 07911                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07912                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07913                            IsDeleted = false,
 07914                            OwnerActionId = 1L,
 07915                            StatusId = 15L,
 07916                            Type = "Get"
 07917                        },
 07918                        new
 07919                        {
 07920                            Id = 61L,
 07921                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07922                            Caption = "Скачать CSV",
 07923                            Code = "Csv",
 07924                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07925                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07926                            IsDeleted = false,
 07927                            OwnerActionId = 2L,
 07928                            StatusId = 15L,
 07929                            Type = "GET"
 07930                        },
 07931                        new
 07932                        {
 07933                            Id = 62L,
 07934                            Action = "Shipments/{id}/Print",
 07935                            Caption = "Распечатать УПД",
 07936                            Code = "Pdf",
 07937                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07938                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07939                            IsDeleted = false,
 07940                            OwnerActionId = 2L,
 07941                            StatusId = 15L,
 07942                            Type = "GET"
 07943                        },
 07944                        new
 07945                        {
 07946                            Id = 63L,
 07947                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07948                            Caption = "Скачать CSV",
 07949                            Code = "Csv",
 07950                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07951                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07952                            IsDeleted = false,
 07953                            OwnerActionId = 3L,
 07954                            StatusId = 15L,
 07955                            Type = "GET"
 07956                        },
 07957                        new
 07958                        {
 07959                            Id = 93L,
 07960                            Action = "Shipments/{id}/Print",
 07961                            Caption = "Распечатать УПД",
 07962                            Code = "Pdf",
 07963                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07964                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07965                            IsDeleted = false,
 07966                            OwnerActionId = 3L,
 07967                            StatusId = 15L,
 07968                            Type = "GET"
 07969                        },
 07970                        new
 07971                        {
 07972                            Id = 151L,
 07973                            Action = "Orders/{parentId}",
 07974                            Caption = "Перейти к заявке-основанию",
 07975                            Code = "GetOnBase",
 07976                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07977                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07978                            IsDeleted = false,
 07979                            OwnerActionId = 3L,
 07980                            StatusId = 15L,
 07981                            Type = "Get"
 07982                        },
 07983                        new
 07984                        {
 07985                            Id = 64L,
 07986                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07987                            Caption = "Скачать CSV",
 07988                            Code = "Csv",
 07989                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07990                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07991                            IsDeleted = false,
 07992                            OwnerActionId = 1L,
 07993                            StatusId = 16L,
 07994                            Type = "GET"
 07995                        },
 07996                        new
 07997                        {
 07998                            Id = 65L,
 07999                            Action = "Shipments/{id}/Print",
 08000                            Caption = "Распечатать УПД",
 08001                            Code = "Pdf",
 08002                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08003                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08004                            IsDeleted = false,
 08005                            OwnerActionId = 1L,
 08006                            StatusId = 16L,
 08007                            Type = "GET"
 08008                        },
 08009                        new
 08010                        {
 08011                            Id = 152L,
 08012                            Action = "Orders/{parentId}",
 08013                            Caption = "Перейти к заявке-основанию",
 08014                            Code = "GetOnBase",
 08015                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08016                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08017                            IsDeleted = false,
 08018                            OwnerActionId = 1L,
 08019                            StatusId = 16L,
 08020                            Type = "Get"
 08021                        },
 08022                        new
 08023                        {
 08024                            Id = 66L,
 08025                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08026                            Caption = "Скачать CSV",
 08027                            Code = "Csv",
 08028                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08029                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08030                            IsDeleted = false,
 08031                            OwnerActionId = 2L,
 08032                            StatusId = 16L,
 08033                            Type = "GET"
 08034                        },
 08035                        new
 08036                        {
 08037                            Id = 67L,
 08038                            Action = "Shipments/{id}/Print",
 08039                            Caption = "Распечатать УПД",
 08040                            Code = "Pdf",
 08041                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08042                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08043                            IsDeleted = false,
 08044                            OwnerActionId = 2L,
 08045                            StatusId = 16L,
 08046                            Type = "GET"
 08047                        },
 08048                        new
 08049                        {
 08050                            Id = 68L,
 08051                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08052                            Caption = "Скачать CSV",
 08053                            Code = "Csv",
 08054                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08055                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08056                            IsDeleted = false,
 08057                            OwnerActionId = 3L,
 08058                            StatusId = 16L,
 08059                            Type = "GET"
 08060                        },
 08061                        new
 08062                        {
 08063                            Id = 94L,
 08064                            Action = "Shipments/{id}/Print",
 08065                            Caption = "Распечатать УПД",
 08066                            Code = "Pdf",
 08067                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08068                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08069                            IsDeleted = false,
 08070                            OwnerActionId = 3L,
 08071                            StatusId = 16L,
 08072                            Type = "GET"
 08073                        },
 08074                        new
 08075                        {
 08076                            Id = 69L,
 08077                            Action = "Shipments/{id}/AcceptClaim",
 08078                            Caption = "Принять",
 08079                            Code = "AcceptClaim",
 08080                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08081                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08082                            IsDeleted = false,
 08083                            OwnerActionId = 3L,
 08084                            StatusId = 16L,
 08085                            Type = "POST"
 08086                        },
 08087                        new
 08088                        {
 08089                            Id = 70L,
 08090                            Action = "Shipments/{id}/DeclineClaim",
 08091                            Caption = "Отказать",
 08092                            Code = "DeclineClaim",
 08093                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08094                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08095                            IsDeleted = false,
 08096                            OwnerActionId = 3L,
 08097                            StatusId = 16L,
 08098                            Type = "POST"
 08099                        },
 08100                        new
 08101                        {
 08102                            Id = 153L,
 08103                            Action = "Orders/{parentId}",
 08104                            Caption = "Перейти к заявке-основанию",
 08105                            Code = "GetOnBase",
 08106                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08107                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08108                            IsDeleted = false,
 08109                            OwnerActionId = 3L,
 08110                            StatusId = 16L,
 08111                            Type = "Get"
 08112                        },
 08113                        new
 08114                        {
 08115                            Id = 71L,
 08116                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08117                            Caption = "Скачать CSV",
 08118                            Code = "Csv",
 08119                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08120                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08121                            IsDeleted = false,
 08122                            OwnerActionId = 1L,
 08123                            StatusId = 17L,
 08124                            Type = "GET"
 08125                        },
 08126                        new
 08127                        {
 08128                            Id = 72L,
 08129                            Action = "Shipments/{id}/Print",
 08130                            Caption = "Распечатать УПД",
 08131                            Code = "Pdf",
 08132                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08133                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08134                            IsDeleted = false,
 08135                            OwnerActionId = 1L,
 08136                            StatusId = 17L,
 08137                            Type = "GET"
 08138                        },
 08139                        new
 08140                        {
 08141                            Id = 154L,
 08142                            Action = "Orders/{parentId}",
 08143                            Caption = "Перейти к заявке-основанию",
 08144                            Code = "GetOnBase",
 08145                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08146                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08147                            IsDeleted = false,
 08148                            OwnerActionId = 1L,
 08149                            StatusId = 17L,
 08150                            Type = "Get"
 08151                        },
 08152                        new
 08153                        {
 08154                            Id = 73L,
 08155                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08156                            Caption = "Скачать CSV",
 08157                            Code = "Csv",
 08158                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08159                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08160                            IsDeleted = false,
 08161                            OwnerActionId = 2L,
 08162                            StatusId = 17L,
 08163                            Type = "GET"
 08164                        },
 08165                        new
 08166                        {
 08167                            Id = 74L,
 08168                            Action = "Shipments/{id}/Print",
 08169                            Caption = "Распечатать УПД",
 08170                            Code = "Pdf",
 08171                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08172                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08173                            IsDeleted = false,
 08174                            OwnerActionId = 2L,
 08175                            StatusId = 17L,
 08176                            Type = "GET"
 08177                        },
 08178                        new
 08179                        {
 08180                            Id = 75L,
 08181                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08182                            Caption = "Скачать CSV",
 08183                            Code = "Csv",
 08184                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08185                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08186                            IsDeleted = false,
 08187                            OwnerActionId = 3L,
 08188                            StatusId = 17L,
 08189                            Type = "GET"
 08190                        },
 08191                        new
 08192                        {
 08193                            Id = 95L,
 08194                            Action = "Shipments/{id}/Print",
 08195                            Caption = "Распечатать УПД",
 08196                            Code = "Pdf",
 08197                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08198                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08199                            IsDeleted = false,
 08200                            OwnerActionId = 3L,
 08201                            StatusId = 17L,
 08202                            Type = "GET"
 08203                        },
 08204                        new
 08205                        {
 08206                            Id = 155L,
 08207                            Action = "Orders/{parentId}",
 08208                            Caption = "Перейти к заявке-основанию",
 08209                            Code = "GetOnBase",
 08210                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08211                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08212                            IsDeleted = false,
 08213                            OwnerActionId = 3L,
 08214                            StatusId = 17L,
 08215                            Type = "Get"
 08216                        },
 08217                        new
 08218                        {
 08219                            Id = 76L,
 08220                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08221                            Caption = "Скачать CSV",
 08222                            Code = "Csv",
 08223                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08224                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08225                            IsDeleted = false,
 08226                            OwnerActionId = 1L,
 08227                            StatusId = 18L,
 08228                            Type = "GET"
 08229                        },
 08230                        new
 08231                        {
 08232                            Id = 77L,
 08233                            Action = "Shipments/{id}/Print",
 08234                            Caption = "Распечатать УПД",
 08235                            Code = "Pdf",
 08236                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08237                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08238                            IsDeleted = false,
 08239                            OwnerActionId = 1L,
 08240                            StatusId = 18L,
 08241                            Type = "GET"
 08242                        },
 08243                        new
 08244                        {
 08245                            Id = 156L,
 08246                            Action = "Orders/{parentId}",
 08247                            Caption = "Перейти к заявке-основанию",
 08248                            Code = "GetOnBase",
 08249                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08250                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08251                            IsDeleted = false,
 08252                            OwnerActionId = 1L,
 08253                            StatusId = 18L,
 08254                            Type = "Get"
 08255                        },
 08256                        new
 08257                        {
 08258                            Id = 78L,
 08259                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08260                            Caption = "Скачать CSV",
 08261                            Code = "Csv",
 08262                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08263                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08264                            IsDeleted = false,
 08265                            OwnerActionId = 2L,
 08266                            StatusId = 18L,
 08267                            Type = "GET"
 08268                        },
 08269                        new
 08270                        {
 08271                            Id = 79L,
 08272                            Action = "Shipments/{id}/Print",
 08273                            Caption = "Распечатать УПД",
 08274                            Code = "Pdf",
 08275                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08276                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08277                            IsDeleted = false,
 08278                            OwnerActionId = 2L,
 08279                            StatusId = 18L,
 08280                            Type = "GET"
 08281                        },
 08282                        new
 08283                        {
 08284                            Id = 80L,
 08285                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08286                            Caption = "Скачать CSV",
 08287                            Code = "Csv",
 08288                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08289                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08290                            IsDeleted = false,
 08291                            OwnerActionId = 3L,
 08292                            StatusId = 18L,
 08293                            Type = "GET"
 08294                        },
 08295                        new
 08296                        {
 08297                            Id = 96L,
 08298                            Action = "Shipments/{id}/Print",
 08299                            Caption = "Распечатать УПД",
 08300                            Code = "Pdf",
 08301                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08302                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08303                            IsDeleted = false,
 08304                            OwnerActionId = 3L,
 08305                            StatusId = 18L,
 08306                            Type = "GET"
 08307                        },
 08308                        new
 08309                        {
 08310                            Id = 157L,
 08311                            Action = "Orders/{parentId}",
 08312                            Caption = "Перейти к заявке-основанию",
 08313                            Code = "GetOnBase",
 08314                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08315                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08316                            IsDeleted = false,
 08317                            OwnerActionId = 3L,
 08318                            StatusId = 18L,
 08319                            Type = "Get"
 08320                        },
 08321                        new
 08322                        {
 08323                            Id = 99L,
 08324                            Action = "Orders/{id}/Print",
 08325                            Caption = "Скачать PDF",
 08326                            Code = "SimpleOrderPdf",
 08327                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08328                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08329                            IsDeleted = false,
 08330                            OwnerActionId = 1L,
 08331                            StatusId = 1L,
 08332                            Type = "GET"
 08333                        },
 08334                        new
 08335                        {
 08336                            Id = 100L,
 08337                            Action = "Orders/{id}/Print",
 08338                            Caption = "Скачать PDF",
 08339                            Code = "SimpleOrderPdf",
 08340                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08341                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08342                            IsDeleted = false,
 08343                            OwnerActionId = 1L,
 08344                            StatusId = 2L,
 08345                            Type = "GET"
 08346                        },
 08347                        new
 08348                        {
 08349                            Id = 101L,
 08350                            Action = "Orders/{id}/Print",
 08351                            Caption = "Скачать PDF",
 08352                            Code = "SimpleOrderPdf",
 08353                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08354                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08355                            IsDeleted = false,
 08356                            OwnerActionId = 3L,
 08357                            StatusId = 2L,
 08358                            Type = "GET"
 08359                        },
 08360                        new
 08361                        {
 08362                            Id = 102L,
 08363                            Action = "Orders/{id}/Print",
 08364                            Caption = "Скачать PDF",
 08365                            Code = "SimpleOrderPdf",
 08366                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08367                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08368                            IsDeleted = false,
 08369                            OwnerActionId = 1L,
 08370                            StatusId = 3L,
 08371                            Type = "GET"
 08372                        },
 08373                        new
 08374                        {
 08375                            Id = 103L,
 08376                            Action = "Shipments/{id}/SimplePrint",
 08377                            Caption = "Скачать PDF",
 08378                            Code = "SimpleShipmentPdf",
 08379                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08380                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08381                            IsDeleted = false,
 08382                            OwnerActionId = 2L,
 08383                            StatusId = 6L,
 08384                            Type = "GET"
 08385                        },
 08386                        new
 08387                        {
 08388                            Id = 104L,
 08389                            Action = "Shipments/{id}/SimplePrint",
 08390                            Caption = "Скачать PDF",
 08391                            Code = "SimpleShipmentPdf",
 08392                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08393                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08394                            IsDeleted = false,
 08395                            OwnerActionId = 3L,
 08396                            StatusId = 6L,
 08397                            Type = "GET"
 08398                        },
 08399                        new
 08400                        {
 08401                            Id = 105L,
 08402                            Action = "Orders/{id}/Print",
 08403                            Caption = "Скачать PDF",
 08404                            Code = "SimpleOrderPdf",
 08405                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08406                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08407                            IsDeleted = false,
 08408                            OwnerActionId = 1L,
 08409                            StatusId = 4L,
 08410                            Type = "GET"
 08411                        },
 08412                        new
 08413                        {
 08414                            Id = 106L,
 08415                            Action = "Orders/{id}/Print",
 08416                            Caption = "Скачать PDF",
 08417                            Code = "SimpleOrderPdf",
 08418                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08419                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08420                            IsDeleted = false,
 08421                            OwnerActionId = 3L,
 08422                            StatusId = 4L,
 08423                            Type = "GET"
 08424                        },
 08425                        new
 08426                        {
 08427                            Id = 107L,
 08428                            Action = "Orders/{id}/Print",
 08429                            Caption = "Скачать PDF",
 08430                            Code = "SimpleOrderPdf",
 08431                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08432                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08433                            IsDeleted = false,
 08434                            OwnerActionId = 1L,
 08435                            StatusId = 5L,
 08436                            Type = "GET"
 08437                        },
 08438                        new
 08439                        {
 08440                            Id = 108L,
 08441                            Action = "Orders/{id}/Print",
 08442                            Caption = "Скачать PDF",
 08443                            Code = "SimpleOrderPdf",
 08444                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08445                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08446                            IsDeleted = false,
 08447                            OwnerActionId = 3L,
 08448                            StatusId = 5L,
 08449                            Type = "GET"
 08450                        },
 08451                        new
 08452                        {
 08453                            Id = 109L,
 08454                            Action = "Shipments/{id}/SimplePrint",
 08455                            Caption = "Скачать PDF",
 08456                            Code = "SimpleShipmentPdf",
 08457                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08458                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08459                            IsDeleted = false,
 08460                            OwnerActionId = 1L,
 08461                            StatusId = 8L,
 08462                            Type = "GET"
 08463                        },
 08464                        new
 08465                        {
 08466                            Id = 110L,
 08467                            Action = "Shipments/{id}/SimplePrint",
 08468                            Caption = "Скачать PDF",
 08469                            Code = "SimpleShipmentPdf",
 08470                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08471                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08472                            IsDeleted = false,
 08473                            OwnerActionId = 2L,
 08474                            StatusId = 8L,
 08475                            Type = "GET"
 08476                        },
 08477                        new
 08478                        {
 08479                            Id = 111L,
 08480                            Action = "Shipments/{id}/SimplePrint",
 08481                            Caption = "Скачать PDF",
 08482                            Code = "SimpleShipmentPdf",
 08483                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08484                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08485                            IsDeleted = false,
 08486                            OwnerActionId = 3L,
 08487                            StatusId = 8L,
 08488                            Type = "GET"
 08489                        },
 08490                        new
 08491                        {
 08492                            Id = 112L,
 08493                            Action = "Shipments/{id}/SimplePrint",
 08494                            Caption = "Скачать PDF",
 08495                            Code = "SimpleShipmentPdf",
 08496                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08497                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08498                            IsDeleted = false,
 08499                            OwnerActionId = 1L,
 08500                            StatusId = 9L,
 08501                            Type = "GET"
 08502                        },
 08503                        new
 08504                        {
 08505                            Id = 113L,
 08506                            Action = "Shipments/{id}/SimplePrint",
 08507                            Caption = "Скачать PDF",
 08508                            Code = "SimpleShipmentPdf",
 08509                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08510                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08511                            IsDeleted = false,
 08512                            OwnerActionId = 3L,
 08513                            StatusId = 9L,
 08514                            Type = "GET"
 08515                        },
 08516                        new
 08517                        {
 08518                            Id = 114L,
 08519                            Action = "Shipments/{id}/Attachment",
 08520                            Caption = "Скачать вложение",
 08521                            Code = "GetAttachment",
 08522                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08523                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08524                            IsDeleted = false,
 08525                            OwnerActionId = 1L,
 08526                            StatusId = 10L,
 08527                            Type = "GET"
 08528                        },
 08529                        new
 08530                        {
 08531                            Id = 115L,
 08532                            Action = "Shipments/{id}/Attachment",
 08533                            Caption = "Приложить файл",
 08534                            Code = "SetAttachment",
 08535                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08536                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08537                            IsDeleted = false,
 08538                            OwnerActionId = 2L,
 08539                            StatusId = 10L,
 08540                            Type = "POST"
 08541                        },
 08542                        new
 08543                        {
 08544                            Id = 116L,
 08545                            Action = "Shipments/{id}/Attachment",
 08546                            Caption = "Удалить вложение",
 08547                            Code = "DeleteAttachment",
 08548                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08549                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08550                            IsDeleted = false,
 08551                            OwnerActionId = 2L,
 08552                            StatusId = 11L,
 08553                            Type = "DELETE"
 08554                        },
 08555                        new
 08556                        {
 08557                            Id = 117L,
 08558                            Action = "Shipments/{id}/Attachment",
 08559                            Caption = "Скачать вложение",
 08560                            Code = "GetAttachment",
 08561                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08562                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08563                            IsDeleted = false,
 08564                            OwnerActionId = 1L,
 08565                            StatusId = 13L,
 08566                            Type = "GET"
 08567                        },
 08568                        new
 08569                        {
 08570                            Id = 118L,
 08571                            Action = "Shipments/{id}/Attachment",
 08572                            Caption = "Скачать вложение",
 08573                            Code = "GetAttachment",
 08574                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08575                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08576                            IsDeleted = false,
 08577                            OwnerActionId = 2L,
 08578                            StatusId = 13L,
 08579                            Type = "GET"
 08580                        },
 08581                        new
 08582                        {
 08583                            Id = 119L,
 08584                            Action = "Shipments/{id}/Attachment",
 08585                            Caption = "Приложить файл",
 08586                            Code = "SetAttachment",
 08587                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08588                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08589                            IsDeleted = false,
 08590                            OwnerActionId = 2L,
 08591                            StatusId = 13L,
 08592                            Type = "POST"
 08593                        },
 08594                        new
 08595                        {
 08596                            Id = 120L,
 08597                            Action = "Shipments/{id}/Attachment",
 08598                            Caption = "Скачать вложение",
 08599                            Code = "GetAttachment",
 08600                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08601                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08602                            IsDeleted = false,
 08603                            OwnerActionId = 3L,
 08604                            StatusId = 13L,
 08605                            Type = "GET"
 08606                        },
 08607                        new
 08608                        {
 08609                            Id = 121L,
 08610                            Action = "Shipments/{id}/Attachment",
 08611                            Caption = "Скачать вложение",
 08612                            Code = "GetAttachment",
 08613                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08614                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08615                            IsDeleted = false,
 08616                            OwnerActionId = 1L,
 08617                            StatusId = 14L,
 08618                            Type = "GET"
 08619                        },
 08620                        new
 08621                        {
 08622                            Id = 122L,
 08623                            Action = "Shipments/{id}/Attachment",
 08624                            Caption = "Скачать вложение",
 08625                            Code = "GetAttachment",
 08626                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08627                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08628                            IsDeleted = false,
 08629                            OwnerActionId = 2L,
 08630                            StatusId = 14L,
 08631                            Type = "GET"
 08632                        },
 08633                        new
 08634                        {
 08635                            Id = 123L,
 08636                            Action = "Shipments/{id}/Attachment",
 08637                            Caption = "Скачать вложение",
 08638                            Code = "GetAttachment",
 08639                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08640                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08641                            IsDeleted = false,
 08642                            OwnerActionId = 3L,
 08643                            StatusId = 14L,
 08644                            Type = "GET"
 08645                        },
 08646                        new
 08647                        {
 08648                            Id = 124L,
 08649                            Action = "Shipments/{id}/Attachment",
 08650                            Caption = "Скачать вложение",
 08651                            Code = "GetAttachment",
 08652                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08653                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08654                            IsDeleted = false,
 08655                            OwnerActionId = 1L,
 08656                            StatusId = 15L,
 08657                            Type = "GET"
 08658                        },
 08659                        new
 08660                        {
 08661                            Id = 125L,
 08662                            Action = "Shipments/{id}/Attachment",
 08663                            Caption = "Скачать вложение",
 08664                            Code = "GetAttachment",
 08665                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08666                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08667                            IsDeleted = false,
 08668                            OwnerActionId = 2L,
 08669                            StatusId = 15L,
 08670                            Type = "GET"
 08671                        },
 08672                        new
 08673                        {
 08674                            Id = 126L,
 08675                            Action = "Shipments/{id}/Attachment",
 08676                            Caption = "Скачать вложение",
 08677                            Code = "GetAttachment",
 08678                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08679                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08680                            IsDeleted = false,
 08681                            OwnerActionId = 3L,
 08682                            StatusId = 15L,
 08683                            Type = "GET"
 08684                        },
 08685                        new
 08686                        {
 08687                            Id = 127L,
 08688                            Action = "Shipments/{id}/Attachment",
 08689                            Caption = "Скачать вложение",
 08690                            Code = "GetAttachment",
 08691                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08692                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08693                            IsDeleted = false,
 08694                            OwnerActionId = 1L,
 08695                            StatusId = 16L,
 08696                            Type = "GET"
 08697                        },
 08698                        new
 08699                        {
 08700                            Id = 128L,
 08701                            Action = "Shipments/{id}/Attachment",
 08702                            Caption = "Скачать вложение",
 08703                            Code = "GetAttachment",
 08704                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08705                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08706                            IsDeleted = false,
 08707                            OwnerActionId = 2L,
 08708                            StatusId = 16L,
 08709                            Type = "GET"
 08710                        },
 08711                        new
 08712                        {
 08713                            Id = 129L,
 08714                            Action = "Shipments/{id}/Attachment",
 08715                            Caption = "Скачать вложение",
 08716                            Code = "GetAttachment",
 08717                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08718                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08719                            IsDeleted = false,
 08720                            OwnerActionId = 3L,
 08721                            StatusId = 16L,
 08722                            Type = "GET"
 08723                        },
 08724                        new
 08725                        {
 08726                            Id = 130L,
 08727                            Action = "Shipments/{id}/Attachment",
 08728                            Caption = "Скачать вложение",
 08729                            Code = "GetAttachment",
 08730                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08731                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08732                            IsDeleted = false,
 08733                            OwnerActionId = 1L,
 08734                            StatusId = 17L,
 08735                            Type = "GET"
 08736                        },
 08737                        new
 08738                        {
 08739                            Id = 131L,
 08740                            Action = "Shipments/{id}/Attachment",
 08741                            Caption = "Скачать вложение",
 08742                            Code = "GetAttachment",
 08743                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08744                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08745                            IsDeleted = false,
 08746                            OwnerActionId = 2L,
 08747                            StatusId = 17L,
 08748                            Type = "GET"
 08749                        },
 08750                        new
 08751                        {
 08752                            Id = 132L,
 08753                            Action = "Shipments/{id}/Attachment",
 08754                            Caption = "Скачать вложение",
 08755                            Code = "GetAttachment",
 08756                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08757                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08758                            IsDeleted = false,
 08759                            OwnerActionId = 3L,
 08760                            StatusId = 17L,
 08761                            Type = "GET"
 08762                        },
 08763                        new
 08764                        {
 08765                            Id = 133L,
 08766                            Action = "Shipments/{id}/Attachment",
 08767                            Caption = "Скачать вложение",
 08768                            Code = "GetAttachment",
 08769                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08770                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08771                            IsDeleted = false,
 08772                            OwnerActionId = 1L,
 08773                            StatusId = 18L,
 08774                            Type = "GET"
 08775                        },
 08776                        new
 08777                        {
 08778                            Id = 134L,
 08779                            Action = "Shipments/{id}/Attachment",
 08780                            Caption = "Скачать вложение",
 08781                            Code = "GetAttachment",
 08782                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08783                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08784                            IsDeleted = false,
 08785                            OwnerActionId = 2L,
 08786                            StatusId = 18L,
 08787                            Type = "GET"
 08788                        },
 08789                        new
 08790                        {
 08791                            Id = 135L,
 08792                            Action = "Shipments/{id}/Attachment",
 08793                            Caption = "Скачать вложение",
 08794                            Code = "GetAttachment",
 08795                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08796                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08797                            IsDeleted = false,
 08798                            OwnerActionId = 3L,
 08799                            StatusId = 18L,
 08800                            Type = "GET"
 08801                        });
 08802                });
 8803
 08804            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", b =>
 08805                {
 08806                    b.Property<long>("Id")
 08807                        .ValueGeneratedOnAdd()
 08808                        .HasColumnType("bigint")
 08809                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 08810
 08811                    b.Property<string>("Code")
 08812                        .IsRequired()
 08813                        .HasColumnType("text");
 08814
 08815                    b.Property<long?>("CreatedByUserId")
 08816                        .HasColumnType("bigint");
 08817
 08818                    b.Property<DateTime>("CreationDateTime")
 08819                        .HasColumnType("timestamp without time zone");
 08820
 08821                    b.Property<string>("Description")
 08822                        .HasColumnType("text");
 08823
 08824                    b.Property<Guid>("GUID")
 08825                        .ValueGeneratedOnAdd()
 08826                        .HasColumnType("uuid");
 08827
 08828                    b.Property<bool>("IsDeleted")
 08829                        .HasColumnType("boolean");
 08830
 08831                    b.Property<DateTime?>("ModificationDateTime")
 08832                        .HasColumnType("timestamp without time zone");
 08833
 08834                    b.Property<long?>("ModifiedByUserId")
 08835                        .HasColumnType("bigint");
 08836
 08837                    b.Property<long>("MovementTypeId")
 08838                        .HasColumnType("bigint");
 08839
 08840                    b.Property<string>("Name")
 08841                        .IsRequired()
 08842                        .HasColumnType("text");
 08843
 08844                    b.Property<long?>("RecStateId")
 08845                        .HasColumnType("bigint");
 08846
 08847                    b.Property<long>("StatusOwnerId")
 08848                        .HasColumnType("bigint");
 08849
 08850                    b.HasKey("Id");
 08851
 08852                    b.HasIndex("CreatedByUserId");
 08853
 08854                    b.HasIndex("ModifiedByUserId");
 08855
 08856                    b.HasIndex("MovementTypeId");
 08857
 08858                    b.HasIndex("RecStateId");
 08859
 08860                    b.HasIndex("StatusOwnerId");
 08861
 08862                    b.ToTable("MovementStatus");
 08863
 08864                    b.HasData(
 08865                        new
 08866                        {
 08867                            Id = 1L,
 08868                            Code = "Draft",
 08869                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08870                            Description = "",
 08871                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08872                            IsDeleted = false,
 08873                            MovementTypeId = 1L,
 08874                            Name = "Черновик",
 08875                            StatusOwnerId = 1L
 08876                        },
 08877                        new
 08878                        {
 08879                            Id = 2L,
 08880                            Code = "InQueue",
 08881                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08882                            Description = "",
 08883                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08884                            IsDeleted = false,
 08885                            MovementTypeId = 1L,
 08886                            Name = "В очереди на обработку",
 08887                            StatusOwnerId = 3L
 08888                        },
 08889                        new
 08890                        {
 08891                            Id = 3L,
 08892                            Code = "InProgress",
 08893                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08894                            Description = "",
 08895                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08896                            IsDeleted = false,
 08897                            MovementTypeId = 1L,
 08898                            Name = "В обработке",
 08899                            StatusOwnerId = 2L
 08900                        },
 08901                        new
 08902                        {
 08903                            Id = 4L,
 08904                            Code = "Reject",
 08905                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08906                            Description = "",
 08907                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08908                            IsDeleted = false,
 08909                            MovementTypeId = 1L,
 08910                            Name = "Отказ",
 08911                            StatusOwnerId = 3L
 08912                        },
 08913                        new
 08914                        {
 08915                            Id = 5L,
 08916                            Code = "Finished",
 08917                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08918                            Description = "",
 08919                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08920                            IsDeleted = false,
 08921                            MovementTypeId = 1L,
 08922                            Name = "Обработано",
 08923                            StatusOwnerId = 2L
 08924                        },
 08925                        new
 08926                        {
 08927                            Id = 6L,
 08928                            Code = "Draft",
 08929                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08930                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08931                            IsDeleted = false,
 08932                            MovementTypeId = 2L,
 08933                            Name = "Черновик",
 08934                            StatusOwnerId = 2L
 08935                        },
 08936                        new
 08937                        {
 08938                            Id = 7L,
 08939                            Code = "Reject",
 08940                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08941                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08942                            IsDeleted = false,
 08943                            MovementTypeId = 2L,
 08944                            Name = "Отказ",
 08945                            StatusOwnerId = 1L
 08946                        },
 08947                        new
 08948                        {
 08949                            Id = 8L,
 08950                            Code = "PaymentAwaiting",
 08951                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08952                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08953                            IsDeleted = false,
 08954                            MovementTypeId = 2L,
 08955                            Name = "Ожидает оплаты",
 08956                            StatusOwnerId = 1L
 08957                        },
 08958                        new
 08959                        {
 08960                            Id = 9L,
 08961                            Code = "Picking",
 08962                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08963                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08964                            IsDeleted = false,
 08965                            MovementTypeId = 2L,
 08966                            Name = "Сборка заказа",
 08967                            StatusOwnerId = 2L
 08968                        },
 08969                        new
 08970                        {
 08971                            Id = 10L,
 08972                            Code = "ReadyForShipment",
 08973                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08974                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08975                            IsDeleted = false,
 08976                            MovementTypeId = 2L,
 08977                            Name = "Готово к выдаче",
 08978                            StatusOwnerId = 2L
 08979                        },
 08980                        new
 08981                        {
 08982                            Id = 11L,
 08983                            Code = "Correction",
 08984                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08985                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08986                            IsDeleted = false,
 08987                            MovementTypeId = 2L,
 08988                            Name = "Корректировка",
 08989                            StatusOwnerId = 2L
 08990                        },
 08991                        new
 08992                        {
 08993                            Id = 12L,
 08994                            Code = "SupplierReject",
 08995                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08996                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08997                            IsDeleted = false,
 08998                            MovementTypeId = 2L,
 08999                            Name = "Отказ поставщика",
 09000                            StatusOwnerId = 2L
 09001                        },
 09002                        new
 09003                        {
 09004                            Id = 13L,
 09005                            Code = "Shipped",
 09006                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09007                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09008                            IsDeleted = false,
 09009                            MovementTypeId = 2L,
 09010                            Name = "Выдано",
 09011                            StatusOwnerId = 1L
 09012                        },
 09013                        new
 09014                        {
 09015                            Id = 14L,
 09016                            Code = "Received",
 09017                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09018                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09019                            IsDeleted = false,
 09020                            MovementTypeId = 2L,
 09021                            Name = "Принято",
 09022                            StatusOwnerId = 1L
 09023                        },
 09024                        new
 09025                        {
 09026                            Id = 15L,
 09027                            Code = "CustomerReject",
 09028                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09029                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09030                            IsDeleted = false,
 09031                            MovementTypeId = 2L,
 09032                            Name = "Отказ покупателя",
 09033                            StatusOwnerId = 1L
 09034                        },
 09035                        new
 09036                        {
 09037                            Id = 16L,
 09038                            Code = "ClaimInProgress",
 09039                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09040                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09041                            IsDeleted = false,
 09042                            MovementTypeId = 2L,
 09043                            Name = "Претензия разбор",
 09044                            StatusOwnerId = 3L
 09045                        },
 09046                        new
 09047                        {
 09048                            Id = 17L,
 09049                            Code = "ClaimDeclined",
 09050                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09051                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09052                            IsDeleted = false,
 09053                            MovementTypeId = 2L,
 09054                            Name = "Претензия отказано",
 09055                            StatusOwnerId = 3L
 09056                        },
 09057                        new
 09058                        {
 09059                            Id = 18L,
 09060                            Code = "ClaimAccepted",
 09061                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09062                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09063                            IsDeleted = false,
 09064                            MovementTypeId = 2L,
 09065                            Name = "Претензия подтверждено",
 09066                            StatusOwnerId = 3L
 09067                        });
 09068                });
 9069
 09070            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusJournal", b =>
 09071                {
 09072                    b.Property<long>("Id")
 09073                        .ValueGeneratedOnAdd()
 09074                        .HasColumnType("bigint")
 09075                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09076
 09077                    b.Property<long?>("CreatedByUserId")
 09078                        .HasColumnType("bigint");
 09079
 09080                    b.Property<DateTime>("CreationDateTime")
 09081                        .HasColumnType("timestamp without time zone");
 09082
 09083                    b.Property<Guid>("GUID")
 09084                        .ValueGeneratedOnAdd()
 09085                        .HasColumnType("uuid");
 09086
 09087                    b.Property<bool>("IsDeleted")
 09088                        .HasColumnType("boolean");
 09089
 09090                    b.Property<DateTime?>("ModificationDateTime")
 09091                        .HasColumnType("timestamp without time zone");
 09092
 09093                    b.Property<long?>("ModifiedByUserId")
 09094                        .HasColumnType("bigint");
 09095
 09096                    b.Property<long?>("MovementId")
 09097                        .HasColumnType("bigint");
 09098
 09099                    b.Property<long?>("RecStateId")
 09100                        .HasColumnType("bigint");
 09101
 09102                    b.Property<long?>("StatusCurrentId")
 09103                        .HasColumnType("bigint");
 09104
 09105                    b.HasKey("Id");
 09106
 09107                    b.HasIndex("CreatedByUserId");
 09108
 09109                    b.HasIndex("ModifiedByUserId");
 09110
 09111                    b.HasIndex("MovementId");
 09112
 09113                    b.HasIndex("RecStateId");
 09114
 09115                    b.HasIndex("StatusCurrentId");
 09116
 09117                    b.ToTable("MovementStatusJournals");
 09118                });
 9119
 09120            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", b =>
 09121                {
 09122                    b.Property<long>("Id")
 09123                        .ValueGeneratedOnAdd()
 09124                        .HasColumnType("bigint")
 09125                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09126
 09127                    b.Property<long?>("CreatedByUserId")
 09128                        .HasColumnType("bigint");
 09129
 09130                    b.Property<DateTime>("CreationDateTime")
 09131                        .HasColumnType("timestamp without time zone");
 09132
 09133                    b.Property<bool>("IsDeleted")
 09134                        .HasColumnType("boolean");
 09135
 09136                    b.Property<DateTime?>("ModificationDateTime")
 09137                        .HasColumnType("timestamp without time zone");
 09138
 09139                    b.Property<long?>("ModifiedByUserId")
 09140                        .HasColumnType("bigint");
 09141
 09142                    b.Property<string>("Name")
 09143                        .HasColumnType("text");
 09144
 09145                    b.Property<long?>("RecStateId")
 09146                        .HasColumnType("bigint");
 09147
 09148                    b.HasKey("Id");
 09149
 09150                    b.HasIndex("CreatedByUserId");
 09151
 09152                    b.HasIndex("ModifiedByUserId");
 09153
 09154                    b.HasIndex("RecStateId");
 09155
 09156                    b.ToTable("MovementStatusOwners");
 09157
 09158                    b.HasData(
 09159                        new
 09160                        {
 09161                            Id = 1L,
 09162                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09163                            IsDeleted = false,
 09164                            Name = "Customer"
 09165                        },
 09166                        new
 09167                        {
 09168                            Id = 2L,
 09169                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09170                            IsDeleted = false,
 09171                            Name = "Supplier"
 09172                        },
 09173                        new
 09174                        {
 09175                            Id = 3L,
 09176                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09177                            IsDeleted = false,
 09178                            Name = "Platform"
 09179                        });
 09180                });
 9181
 09182            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusRoute", b =>
 09183                {
 09184                    b.Property<long>("Id")
 09185                        .ValueGeneratedOnAdd()
 09186                        .HasColumnType("bigint")
 09187                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09188
 09189                    b.Property<long?>("CreatedByUserId")
 09190                        .HasColumnType("bigint");
 09191
 09192                    b.Property<DateTime>("CreationDateTime")
 09193                        .HasColumnType("timestamp without time zone");
 09194
 09195                    b.Property<Guid>("GUID")
 09196                        .ValueGeneratedOnAdd()
 09197                        .HasColumnType("uuid");
 09198
 09199                    b.Property<int>("Hour")
 09200                        .HasColumnType("integer");
 09201
 09202                    b.Property<bool>("IsDeleted")
 09203                        .HasColumnType("boolean");
 09204
 09205                    b.Property<DateTime?>("ModificationDateTime")
 09206                        .HasColumnType("timestamp without time zone");
 09207
 09208                    b.Property<long?>("ModifiedByUserId")
 09209                        .HasColumnType("bigint");
 09210
 09211                    b.Property<long?>("RecStateId")
 09212                        .HasColumnType("bigint");
 09213
 09214                    b.Property<string>("RouteKey")
 09215                        .HasColumnType("text");
 09216
 09217                    b.Property<long>("StatusCurrentId")
 09218                        .HasColumnType("bigint");
 09219
 09220                    b.Property<long>("StatusNextId")
 09221                        .HasColumnType("bigint");
 09222
 09223                    b.HasKey("Id");
 09224
 09225                    b.HasIndex("CreatedByUserId");
 09226
 09227                    b.HasIndex("ModifiedByUserId");
 09228
 09229                    b.HasIndex("RecStateId");
 09230
 09231                    b.HasIndex("StatusCurrentId");
 09232
 09233                    b.HasIndex("StatusNextId");
 09234
 09235                    b.ToTable("MovementStatusRoutes");
 09236
 09237                    b.HasData(
 09238                        new
 09239                        {
 09240                            Id = 1L,
 09241                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09242                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09243                            Hour = 0,
 09244                            IsDeleted = false,
 09245                            RouteKey = "Send",
 09246                            StatusCurrentId = 1L,
 09247                            StatusNextId = 2L
 09248                        },
 09249                        new
 09250                        {
 09251                            Id = 2L,
 09252                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09253                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09254                            Hour = 0,
 09255                            IsDeleted = false,
 09256                            RouteKey = "Confirm",
 09257                            StatusCurrentId = 2L,
 09258                            StatusNextId = 3L
 09259                        },
 09260                        new
 09261                        {
 09262                            Id = 3L,
 09263                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09264                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09265                            Hour = 8,
 09266                            IsDeleted = false,
 09267                            RouteKey = "Auto",
 09268                            StatusCurrentId = 2L,
 09269                            StatusNextId = 4L
 09270                        },
 09271                        new
 09272                        {
 09273                            Id = 4L,
 09274                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09275                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09276                            Hour = 0,
 09277                            IsDeleted = false,
 09278                            RouteKey = "RejectOrder",
 09279                            StatusCurrentId = 2L,
 09280                            StatusNextId = 4L
 09281                        },
 09282                        new
 09283                        {
 09284                            Id = 5L,
 09285                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09286                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09287                            Hour = 8,
 09288                            IsDeleted = false,
 09289                            RouteKey = "Auto",
 09290                            StatusCurrentId = 3L,
 09291                            StatusNextId = 4L
 09292                        },
 09293                        new
 09294                        {
 09295                            Id = 6L,
 09296                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09297                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09298                            Hour = 0,
 09299                            IsDeleted = false,
 09300                            RouteKey = "Finished",
 09301                            StatusCurrentId = 3L,
 09302                            StatusNextId = 5L
 09303                        },
 09304                        new
 09305                        {
 09306                            Id = 7L,
 09307                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09308                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09309                            Hour = 0,
 09310                            IsDeleted = false,
 09311                            RouteKey = "RejectOrder",
 09312                            StatusCurrentId = 3L,
 09313                            StatusNextId = 4L
 09314                        },
 09315                        new
 09316                        {
 09317                            Id = 8L,
 09318                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09319                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09320                            Hour = 0,
 09321                            IsDeleted = false,
 09322                            RouteKey = "SupplierReject",
 09323                            StatusCurrentId = 6L,
 09324                            StatusNextId = 12L
 09325                        },
 09326                        new
 09327                        {
 09328                            Id = 9L,
 09329                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09330                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09331                            Hour = 0,
 09332                            IsDeleted = false,
 09333                            RouteKey = "PaymentReserve",
 09334                            StatusCurrentId = 6L,
 09335                            StatusNextId = 8L
 09336                        },
 09337                        new
 09338                        {
 09339                            Id = 10L,
 09340                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09341                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09342                            Hour = 0,
 09343                            IsDeleted = false,
 09344                            RouteKey = "Payment",
 09345                            StatusCurrentId = 8L,
 09346                            StatusNextId = 9L
 09347                        },
 09348                        new
 09349                        {
 09350                            Id = 11L,
 09351                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09352                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09353                            Hour = 0,
 09354                            IsDeleted = false,
 09355                            RouteKey = "CustomerReject",
 09356                            StatusCurrentId = 8L,
 09357                            StatusNextId = 15L
 09358                        },
 09359                        new
 09360                        {
 09361                            Id = 12L,
 09362                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09363                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09364                            Hour = 24,
 09365                            IsDeleted = false,
 09366                            RouteKey = "Auto",
 09367                            StatusCurrentId = 8L,
 09368                            StatusNextId = 7L
 09369                        },
 09370                        new
 09371                        {
 09372                            Id = 13L,
 09373                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09374                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09375                            Hour = 0,
 09376                            IsDeleted = false,
 09377                            RouteKey = "SupplierReject",
 09378                            StatusCurrentId = 9L,
 09379                            StatusNextId = 12L
 09380                        },
 09381                        new
 09382                        {
 09383                            Id = 14L,
 09384                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09385                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09386                            Hour = 24,
 09387                            IsDeleted = false,
 09388                            RouteKey = "Auto",
 09389                            StatusCurrentId = 9L,
 09390                            StatusNextId = 7L
 09391                        },
 09392                        new
 09393                        {
 09394                            Id = 15L,
 09395                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09396                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09397                            Hour = 0,
 09398                            IsDeleted = false,
 09399                            RouteKey = "ReadyToShip",
 09400                            StatusCurrentId = 9L,
 09401                            StatusNextId = 10L
 09402                        },
 09403                        new
 09404                        {
 09405                            Id = 30L,
 09406                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09407                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09408                            Hour = 0,
 09409                            IsDeleted = false,
 09410                            RouteKey = "CustomerReject",
 09411                            StatusCurrentId = 9L,
 09412                            StatusNextId = 15L
 09413                        },
 09414                        new
 09415                        {
 09416                            Id = 16L,
 09417                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09418                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09419                            Hour = 0,
 09420                            IsDeleted = false,
 09421                            RouteKey = "Ship",
 09422                            StatusCurrentId = 10L,
 09423                            StatusNextId = 13L
 09424                        },
 09425                        new
 09426                        {
 09427                            Id = 17L,
 09428                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09429                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09430                            Hour = 24,
 09431                            IsDeleted = false,
 09432                            RouteKey = "Auto",
 09433                            StatusCurrentId = 10L,
 09434                            StatusNextId = 7L
 09435                        },
 09436                        new
 09437                        {
 09438                            Id = 18L,
 09439                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09440                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09441                            Hour = 0,
 09442                            IsDeleted = false,
 09443                            RouteKey = "SupplierReject",
 09444                            StatusCurrentId = 10L,
 09445                            StatusNextId = 12L
 09446                        },
 09447                        new
 09448                        {
 09449                            Id = 19L,
 09450                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09451                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09452                            Hour = 0,
 09453                            IsDeleted = false,
 09454                            RouteKey = "Correction",
 09455                            StatusCurrentId = 10L,
 09456                            StatusNextId = 11L
 09457                        },
 09458                        new
 09459                        {
 09460                            Id = 31L,
 09461                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09462                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09463                            Hour = 0,
 09464                            IsDeleted = false,
 09465                            RouteKey = "CustomerReject",
 09466                            StatusCurrentId = 10L,
 09467                            StatusNextId = 15L
 09468                        },
 09469                        new
 09470                        {
 09471                            Id = 20L,
 09472                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09473                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09474                            Hour = 8,
 09475                            IsDeleted = false,
 09476                            RouteKey = "Auto",
 09477                            StatusCurrentId = 11L,
 09478                            StatusNextId = 7L
 09479                        },
 09480                        new
 09481                        {
 09482                            Id = 21L,
 09483                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09484                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09485                            Hour = 0,
 09486                            IsDeleted = false,
 09487                            RouteKey = "SupplierReject",
 09488                            StatusCurrentId = 11L,
 09489                            StatusNextId = 12L
 09490                        },
 09491                        new
 09492                        {
 09493                            Id = 22L,
 09494                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09495                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09496                            Hour = 0,
 09497                            IsDeleted = false,
 09498                            RouteKey = "ReadyToShip",
 09499                            StatusCurrentId = 11L,
 09500                            StatusNextId = 10L
 09501                        },
 09502                        new
 09503                        {
 09504                            Id = 32L,
 09505                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09506                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09507                            Hour = 0,
 09508                            IsDeleted = false,
 09509                            RouteKey = "CustomerReject",
 09510                            StatusCurrentId = 11L,
 09511                            StatusNextId = 15L
 09512                        },
 09513                        new
 09514                        {
 09515                            Id = 23L,
 09516                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09517                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09518                            Hour = 0,
 09519                            IsDeleted = false,
 09520                            RouteKey = "Accept",
 09521                            StatusCurrentId = 13L,
 09522                            StatusNextId = 14L
 09523                        },
 09524                        new
 09525                        {
 09526                            Id = 24L,
 09527                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09528                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09529                            Hour = 0,
 09530                            IsDeleted = false,
 09531                            RouteKey = "CustomerReject",
 09532                            StatusCurrentId = 13L,
 09533                            StatusNextId = 15L
 09534                        },
 09535                        new
 09536                        {
 09537                            Id = 25L,
 09538                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09539                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09540                            Hour = 24,
 09541                            IsDeleted = false,
 09542                            RouteKey = "Auto",
 09543                            StatusCurrentId = 13L,
 09544                            StatusNextId = 7L
 09545                        },
 09546                        new
 09547                        {
 09548                            Id = 26L,
 09549                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09550                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09551                            Hour = 0,
 09552                            IsDeleted = false,
 09553                            RouteKey = "ClaimProcess",
 09554                            StatusCurrentId = 15L,
 09555                            StatusNextId = 16L
 09556                        },
 09557                        new
 09558                        {
 09559                            Id = 27L,
 09560                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09561                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09562                            Hour = 0,
 09563                            IsDeleted = false,
 09564                            RouteKey = "ClaimAccept",
 09565                            StatusCurrentId = 16L,
 09566                            StatusNextId = 18L
 09567                        },
 09568                        new
 09569                        {
 09570                            Id = 28L,
 09571                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09572                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09573                            Hour = 24,
 09574                            IsDeleted = false,
 09575                            RouteKey = "Auto",
 09576                            StatusCurrentId = 16L,
 09577                            StatusNextId = 18L
 09578                        },
 09579                        new
 09580                        {
 09581                            Id = 29L,
 09582                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09583                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09584                            Hour = 0,
 09585                            IsDeleted = false,
 09586                            RouteKey = "ClaimDecline",
 09587                            StatusCurrentId = 16L,
 09588                            StatusNextId = 17L
 09589                        });
 09590                });
 9591
 09592            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", b =>
 09593                {
 09594                    b.Property<long>("Id")
 09595                        .ValueGeneratedOnAdd()
 09596                        .HasColumnType("bigint")
 09597                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09598
 09599                    b.Property<string>("Code")
 09600                        .IsRequired()
 09601                        .HasColumnType("text");
 09602
 09603                    b.Property<long?>("CreatedByUserId")
 09604                        .HasColumnType("bigint");
 09605
 09606                    b.Property<DateTime>("CreationDateTime")
 09607                        .HasColumnType("timestamp without time zone");
 09608
 09609                    b.Property<string>("Description")
 09610                        .HasColumnType("text");
 09611
 09612                    b.Property<Guid>("GUID")
 09613                        .ValueGeneratedOnAdd()
 09614                        .HasColumnType("uuid");
 09615
 09616                    b.Property<bool>("IsDeleted")
 09617                        .HasColumnType("boolean");
 09618
 09619                    b.Property<DateTime?>("ModificationDateTime")
 09620                        .HasColumnType("timestamp without time zone");
 09621
 09622                    b.Property<long?>("ModifiedByUserId")
 09623                        .HasColumnType("bigint");
 09624
 09625                    b.Property<string>("Name")
 09626                        .IsRequired()
 09627                        .HasColumnType("text");
 09628
 09629                    b.Property<long?>("RecStateId")
 09630                        .HasColumnType("bigint");
 09631
 09632                    b.HasKey("Id");
 09633
 09634                    b.HasIndex("CreatedByUserId");
 09635
 09636                    b.HasIndex("ModifiedByUserId");
 09637
 09638                    b.HasIndex("RecStateId");
 09639
 09640                    b.ToTable("MovementType");
 09641
 09642                    b.HasData(
 09643                        new
 09644                        {
 09645                            Id = 1L,
 09646                            Code = "Order",
 09647                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09648                            Description = "",
 09649                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09650                            IsDeleted = false,
 09651                            Name = "Заказ"
 09652                        },
 09653                        new
 09654                        {
 09655                            Id = 2L,
 09656                            Code = "Shipment",
 09657                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09658                            Description = "",
 09659                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09660                            IsDeleted = false,
 09661                            Name = "Отгрузка"
 09662                        },
 09663                        new
 09664                        {
 09665                            Id = 3L,
 09666                            Code = "Arrival",
 09667                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09668                            Description = "",
 09669                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09670                            IsDeleted = false,
 09671                            Name = "Приход"
 09672                        },
 09673                        new
 09674                        {
 09675                            Id = 4L,
 09676                            Code = "Deny",
 09677                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09678                            Description = "",
 09679                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09680                            IsDeleted = false,
 09681                            Name = "Отказ"
 09682                        });
 09683                });
 9684
 09685            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", b =>
 09686                {
 09687                    b.Property<long>("Id")
 09688                        .ValueGeneratedOnAdd()
 09689                        .HasColumnType("bigint")
 09690                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09691
 09692                    b.Property<string>("Body")
 09693                        .IsRequired()
 09694                        .HasColumnType("text");
 09695
 09696                    b.Property<long?>("CreatedByUserId")
 09697                        .HasColumnType("bigint");
 09698
 09699                    b.Property<DateTime>("CreationDateTime")
 09700                        .HasColumnType("timestamp without time zone");
 09701
 09702                    b.Property<Guid>("GUID")
 09703                        .ValueGeneratedOnAdd()
 09704                        .HasColumnType("uuid");
 09705
 09706                    b.Property<bool>("IsDeleted")
 09707                        .HasColumnType("boolean");
 09708
 09709                    b.Property<DateTime?>("ModificationDateTime")
 09710                        .HasColumnType("timestamp without time zone");
 09711
 09712                    b.Property<long?>("ModifiedByUserId")
 09713                        .HasColumnType("bigint");
 09714
 09715                    b.Property<long>("NotificationsTypeId")
 09716                        .HasColumnType("bigint");
 09717
 09718                    b.Property<long?>("RecStateId")
 09719                        .HasColumnType("bigint");
 09720
 09721                    b.Property<string>("Subject")
 09722                        .IsRequired()
 09723                        .HasColumnType("text");
 09724
 09725                    b.Property<DateTime>("TimeToTurnOff")
 09726                        .HasColumnType("timestamp without time zone");
 09727
 09728                    b.Property<long>("UserId")
 09729                        .HasColumnType("bigint");
 09730
 09731                    b.HasKey("Id");
 09732
 09733                    b.HasIndex("CreatedByUserId");
 09734
 09735                    b.HasIndex("ModifiedByUserId");
 09736
 09737                    b.HasIndex("NotificationsTypeId");
 09738
 09739                    b.HasIndex("RecStateId");
 09740
 09741                    b.HasIndex("UserId");
 09742
 09743                    b.ToTable("Notifications");
 09744                });
 9745
 09746            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationUsers", b =>
 09747                {
 09748                    b.Property<long>("Id")
 09749                        .ValueGeneratedOnAdd()
 09750                        .HasColumnType("bigint")
 09751                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09752
 09753                    b.Property<long?>("CreatedByUserId")
 09754                        .HasColumnType("bigint");
 09755
 09756                    b.Property<DateTime>("CreationDateTime")
 09757                        .HasColumnType("timestamp without time zone");
 09758
 09759                    b.Property<Guid>("GUID")
 09760                        .ValueGeneratedOnAdd()
 09761                        .HasColumnType("uuid");
 09762
 09763                    b.Property<bool>("IsDeleted")
 09764                        .HasColumnType("boolean");
 09765
 09766                    b.Property<DateTime?>("ModificationDateTime")
 09767                        .HasColumnType("timestamp without time zone");
 09768
 09769                    b.Property<long?>("ModifiedByUserId")
 09770                        .HasColumnType("bigint");
 09771
 09772                    b.Property<long>("NotificationId")
 09773                        .HasColumnType("bigint");
 09774
 09775                    b.Property<long?>("NotificationsStatusId")
 09776                        .HasColumnType("bigint");
 09777
 09778                    b.Property<long?>("RecStateId")
 09779                        .HasColumnType("bigint");
 09780
 09781                    b.Property<long?>("UserId")
 09782                        .HasColumnType("bigint");
 09783
 09784                    b.HasKey("Id");
 09785
 09786                    b.HasIndex("CreatedByUserId");
 09787
 09788                    b.HasIndex("ModifiedByUserId");
 09789
 09790                    b.HasIndex("NotificationId");
 09791
 09792                    b.HasIndex("NotificationsStatusId");
 09793
 09794                    b.HasIndex("RecStateId");
 09795
 09796                    b.HasIndex("UserId");
 09797
 09798                    b.ToTable("NotificationUsers");
 09799                });
 9800
 09801            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", b =>
 09802                {
 09803                    b.Property<long>("Id")
 09804                        .ValueGeneratedOnAdd()
 09805                        .HasColumnType("bigint")
 09806                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09807
 09808                    b.Property<string>("Code")
 09809                        .IsRequired()
 09810                        .HasColumnType("text");
 09811
 09812                    b.Property<long?>("CreatedByUserId")
 09813                        .HasColumnType("bigint");
 09814
 09815                    b.Property<DateTime>("CreationDateTime")
 09816                        .HasColumnType("timestamp without time zone");
 09817
 09818                    b.Property<string>("Description")
 09819                        .HasColumnType("text");
 09820
 09821                    b.Property<Guid>("GUID")
 09822                        .ValueGeneratedOnAdd()
 09823                        .HasColumnType("uuid");
 09824
 09825                    b.Property<bool>("IsDeleted")
 09826                        .HasColumnType("boolean");
 09827
 09828                    b.Property<DateTime?>("ModificationDateTime")
 09829                        .HasColumnType("timestamp without time zone");
 09830
 09831                    b.Property<long?>("ModifiedByUserId")
 09832                        .HasColumnType("bigint");
 09833
 09834                    b.Property<string>("Name")
 09835                        .IsRequired()
 09836                        .HasColumnType("text");
 09837
 09838                    b.Property<long?>("RecStateId")
 09839                        .HasColumnType("bigint");
 09840
 09841                    b.HasKey("Id");
 09842
 09843                    b.HasIndex("CreatedByUserId");
 09844
 09845                    b.HasIndex("ModifiedByUserId");
 09846
 09847                    b.HasIndex("RecStateId");
 09848
 09849                    b.ToTable("NotificationsStatus");
 09850
 09851                    b.HasData(
 09852                        new
 09853                        {
 09854                            Id = 1L,
 09855                            Code = "Unknown",
 09856                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09857                            Description = "",
 09858                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09859                            IsDeleted = false,
 09860                            Name = "Неизвестно"
 09861                        },
 09862                        new
 09863                        {
 09864                            Id = 2L,
 09865                            Code = "Created",
 09866                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09867                            Description = "",
 09868                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09869                            IsDeleted = false,
 09870                            Name = "Создано"
 09871                        },
 09872                        new
 09873                        {
 09874                            Id = 3L,
 09875                            Code = "Sent",
 09876                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09877                            Description = "",
 09878                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09879                            IsDeleted = false,
 09880                            Name = "Отправлено"
 09881                        },
 09882                        new
 09883                        {
 09884                            Id = 4L,
 09885                            Code = "Read",
 09886                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09887                            Description = "",
 09888                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09889                            IsDeleted = false,
 09890                            Name = "Прочитано"
 09891                        },
 09892                        new
 09893                        {
 09894                            Id = 5L,
 09895                            Code = "Deactivated",
 09896                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09897                            Description = "",
 09898                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09899                            IsDeleted = false,
 09900                            Name = "Отключено"
 09901                        });
 09902                });
 9903
 09904            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", b =>
 09905                {
 09906                    b.Property<long>("Id")
 09907                        .ValueGeneratedOnAdd()
 09908                        .HasColumnType("bigint")
 09909                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09910
 09911                    b.Property<string>("Code")
 09912                        .IsRequired()
 09913                        .HasColumnType("text");
 09914
 09915                    b.Property<long?>("CreatedByUserId")
 09916                        .HasColumnType("bigint");
 09917
 09918                    b.Property<DateTime>("CreationDateTime")
 09919                        .HasColumnType("timestamp without time zone");
 09920
 09921                    b.Property<string>("Description")
 09922                        .HasColumnType("text");
 09923
 09924                    b.Property<Guid>("GUID")
 09925                        .ValueGeneratedOnAdd()
 09926                        .HasColumnType("uuid");
 09927
 09928                    b.Property<bool>("IsDeleted")
 09929                        .HasColumnType("boolean");
 09930
 09931                    b.Property<DateTime?>("ModificationDateTime")
 09932                        .HasColumnType("timestamp without time zone");
 09933
 09934                    b.Property<long?>("ModifiedByUserId")
 09935                        .HasColumnType("bigint");
 09936
 09937                    b.Property<string>("Name")
 09938                        .IsRequired()
 09939                        .HasColumnType("text");
 09940
 09941                    b.Property<long?>("RecStateId")
 09942                        .HasColumnType("bigint");
 09943
 09944                    b.HasKey("Id");
 09945
 09946                    b.HasIndex("CreatedByUserId");
 09947
 09948                    b.HasIndex("ModifiedByUserId");
 09949
 09950                    b.HasIndex("RecStateId");
 09951
 09952                    b.ToTable("NotificationsType");
 09953
 09954                    b.HasData(
 09955                        new
 09956                        {
 09957                            Id = 1L,
 09958                            Code = "System",
 09959                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09960                            Description = "",
 09961                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09962                            IsDeleted = false,
 09963                            Name = "Системное"
 09964                        },
 09965                        new
 09966                        {
 09967                            Id = 2L,
 09968                            Code = "News",
 09969                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09970                            Description = "",
 09971                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09972                            IsDeleted = false,
 09973                            Name = "Новость"
 09974                        });
 09975                });
 9976
 09977            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Photo", b =>
 09978                {
 09979                    b.Property<long>("Id")
 09980                        .ValueGeneratedOnAdd()
 09981                        .HasColumnType("bigint")
 09982                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09983
 09984                    b.Property<long?>("CreatedByUserId")
 09985                        .HasColumnType("bigint");
 09986
 09987                    b.Property<DateTime>("CreationDateTime")
 09988                        .HasColumnType("timestamp without time zone");
 09989
 09990                    b.Property<int>("FullSizeHeight")
 09991                        .HasColumnType("integer");
 09992
 09993                    b.Property<string>("FullSizeUrl")
 09994                        .HasColumnType("text");
 09995
 09996                    b.Property<int>("FullSizeWidth")
 09997                        .HasColumnType("integer");
 09998
 09999                    b.Property<Guid>("GUID")
 010000                        .ValueGeneratedOnAdd()
 010001                        .HasColumnType("uuid");
 010002
 010003                    b.Property<long?>("GoodId")
 010004                        .HasColumnType("bigint");
 010005
 010006                    b.Property<bool>("IsDeleted")
 010007                        .HasColumnType("boolean");
 010008
 010009                    b.Property<DateTime?>("ModificationDateTime")
 010010                        .HasColumnType("timestamp without time zone");
 010011
 010012                    b.Property<long?>("ModifiedByUserId")
 010013                        .HasColumnType("bigint");
 010014
 010015                    b.Property<int>("PreviewHeight")
 010016                        .HasColumnType("integer");
 010017
 010018                    b.Property<string>("PreviewUrl")
 010019                        .HasColumnType("text");
 010020
 010021                    b.Property<int>("PreviewWidth")
 010022                        .HasColumnType("integer");
 010023
 010024                    b.Property<long?>("RecStateId")
 010025                        .HasColumnType("bigint");
 010026
 010027                    b.HasKey("Id");
 010028
 010029                    b.HasIndex("CreatedByUserId");
 010030
 010031                    b.HasIndex("GoodId");
 010032
 010033                    b.HasIndex("ModifiedByUserId");
 010034
 010035                    b.HasIndex("RecStateId");
 010036
 010037                    b.ToTable("Photos");
 010038                });
 10039
 010040            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceCurrent", b =>
 010041                {
 010042                    b.Property<long>("Id")
 010043                        .ValueGeneratedOnAdd()
 010044                        .HasColumnType("bigint")
 010045                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010046
 010047                    b.Property<long?>("CreatedByUserId")
 010048                        .HasColumnType("bigint");
 010049
 010050                    b.Property<DateTime>("CreationDateTime")
 010051                        .HasColumnType("timestamp without time zone");
 010052
 010053                    b.Property<Guid>("GUID")
 010054                        .ValueGeneratedOnAdd()
 010055                        .HasColumnType("uuid");
 010056
 010057                    b.Property<long>("GoodId")
 010058                        .HasColumnType("bigint");
 010059
 010060                    b.Property<bool>("IsDeleted")
 010061                        .HasColumnType("boolean");
 010062
 010063                    b.Property<DateTime?>("ModificationDateTime")
 010064                        .HasColumnType("timestamp without time zone");
 010065
 010066                    b.Property<long?>("ModifiedByUserId")
 010067                        .HasColumnType("bigint");
 010068
 010069                    b.Property<decimal>("Price")
 010070                        .HasColumnType("numeric");
 010071
 010072                    b.Property<long?>("RecStateId")
 010073                        .HasColumnType("bigint");
 010074
 010075                    b.Property<long>("SupplierDepartmentId")
 010076                        .HasColumnType("bigint");
 010077
 010078                    b.HasKey("Id");
 010079
 010080                    b.HasIndex("CreatedByUserId");
 010081
 010082                    b.HasIndex("GoodId");
 010083
 010084                    b.HasIndex("ModifiedByUserId");
 010085
 010086                    b.HasIndex("RecStateId");
 010087
 010088                    b.HasIndex("SupplierDepartmentId");
 010089
 010090                    b.ToTable("PricesCurrent");
 010091                });
 10092
 010093            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", b =>
 010094                {
 010095                    b.Property<long>("Id")
 010096                        .ValueGeneratedOnAdd()
 010097                        .HasColumnType("bigint")
 010098                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010099
 010100                    b.Property<DateTime>("BeginDate")
 010101                        .HasColumnType("timestamp without time zone");
 010102
 010103                    b.Property<long?>("CreatedByUserId")
 010104                        .HasColumnType("bigint");
 010105
 010106                    b.Property<DateTime>("CreationDateTime")
 010107                        .HasColumnType("timestamp without time zone");
 010108
 010109                    b.Property<string>("DocNumber")
 010110                        .IsRequired()
 010111                        .HasColumnType("text");
 010112
 010113                    b.Property<DateTime>("EndDate")
 010114                        .HasColumnType("timestamp without time zone");
 010115
 010116                    b.Property<Guid>("GUID")
 010117                        .ValueGeneratedOnAdd()
 010118                        .HasColumnType("uuid");
 010119
 010120                    b.Property<bool>("IsDeleted")
 010121                        .HasColumnType("boolean");
 010122
 010123                    b.Property<DateTime?>("ModificationDateTime")
 010124                        .HasColumnType("timestamp without time zone");
 010125
 010126                    b.Property<long?>("ModifiedByUserId")
 010127                        .HasColumnType("bigint");
 010128
 010129                    b.Property<long?>("RecStateId")
 010130                        .HasColumnType("bigint");
 010131
 010132                    b.Property<long>("SupplierDepartmentId")
 010133                        .HasColumnType("bigint");
 010134
 010135                    b.HasKey("Id");
 010136
 010137                    b.HasIndex("CreatedByUserId");
 010138
 010139                    b.HasIndex("ModifiedByUserId");
 010140
 010141                    b.HasIndex("RecStateId");
 010142
 010143                    b.HasIndex("SupplierDepartmentId");
 010144
 010145                    b.ToTable("PricesTrend");
 010146                });
 10147
 010148            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrendDetail", b =>
 010149                {
 010150                    b.Property<long>("Id")
 010151                        .ValueGeneratedOnAdd()
 010152                        .HasColumnType("bigint")
 010153                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010154
 010155                    b.Property<long?>("CreatedByUserId")
 010156                        .HasColumnType("bigint");
 010157
 010158                    b.Property<DateTime>("CreationDateTime")
 010159                        .HasColumnType("timestamp without time zone");
 010160
 010161                    b.Property<Guid>("GUID")
 010162                        .ValueGeneratedOnAdd()
 010163                        .HasColumnType("uuid");
 010164
 010165                    b.Property<long>("GoodId")
 010166                        .HasColumnType("bigint");
 010167
 010168                    b.Property<bool>("IsDeleted")
 010169                        .HasColumnType("boolean");
 010170
 010171                    b.Property<DateTime?>("ModificationDateTime")
 010172                        .HasColumnType("timestamp without time zone");
 010173
 010174                    b.Property<long?>("ModifiedByUserId")
 010175                        .HasColumnType("bigint");
 010176
 010177                    b.Property<decimal>("PriceNew")
 010178                        .HasColumnType("numeric");
 010179
 010180                    b.Property<decimal?>("PriceOld")
 010181                        .HasColumnType("numeric");
 010182
 010183                    b.Property<long>("PriceTrendId")
 010184                        .HasColumnType("bigint");
 010185
 010186                    b.Property<long?>("RecStateId")
 010187                        .HasColumnType("bigint");
 010188
 010189                    b.HasKey("Id");
 010190
 010191                    b.HasIndex("CreatedByUserId");
 010192
 010193                    b.HasIndex("ModifiedByUserId");
 010194
 010195                    b.HasIndex("PriceTrendId");
 010196
 010197                    b.HasIndex("RecStateId");
 010198
 010199                    b.HasIndex("GoodId", "PriceTrendId")
 010200                        .IsUnique();
 010201
 010202                    b.ToTable("PriceTrendDetails");
 010203                });
 10204
 010205            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoBid", b =>
 010206                {
 010207                    b.Property<long>("Id")
 010208                        .ValueGeneratedOnAdd()
 010209                        .HasColumnType("bigint")
 010210                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010211
 010212                    b.Property<long?>("CreatedByUserId")
 010213                        .HasColumnType("bigint");
 010214
 010215                    b.Property<DateTime>("CreationDate")
 010216                        .HasColumnType("timestamp without time zone");
 010217
 010218                    b.Property<DateTime>("CreationDateTime")
 010219                        .HasColumnType("timestamp without time zone");
 010220
 010221                    b.Property<long>("CustomerDepartmentId")
 010222                        .HasColumnType("bigint");
 010223
 010224                    b.Property<DateTime>("DateEnd")
 010225                        .HasColumnType("timestamp without time zone");
 010226
 010227                    b.Property<Guid>("GUID")
 010228                        .ValueGeneratedOnAdd()
 010229                        .HasColumnType("uuid");
 010230
 010231                    b.Property<long>("GoodId")
 010232                        .HasColumnType("bigint");
 010233
 010234                    b.Property<bool>("IsDeleted")
 010235                        .HasColumnType("boolean");
 010236
 010237                    b.Property<DateTime?>("ModificationDateTime")
 010238                        .HasColumnType("timestamp without time zone");
 010239
 010240                    b.Property<long?>("ModifiedByUserId")
 010241                        .HasColumnType("bigint");
 010242
 010243                    b.Property<decimal>("Price")
 010244                        .HasColumnType("numeric");
 010245
 010246                    b.Property<long>("PromoOfferId")
 010247                        .HasColumnType("bigint");
 010248
 010249                    b.Property<decimal>("Quantity")
 010250                        .HasColumnType("numeric");
 010251
 010252                    b.Property<long?>("RecStateId")
 010253                        .HasColumnType("bigint");
 010254
 010255                    b.Property<decimal>("Sum")
 010256                        .HasColumnType("numeric");
 010257
 010258                    b.HasKey("Id");
 010259
 010260                    b.HasIndex("CreatedByUserId");
 010261
 010262                    b.HasIndex("CustomerDepartmentId");
 010263
 010264                    b.HasIndex("GoodId");
 010265
 010266                    b.HasIndex("ModifiedByUserId");
 010267
 010268                    b.HasIndex("PromoOfferId");
 010269
 010270                    b.HasIndex("RecStateId");
 010271
 010272                    b.ToTable("PromoBids");
 010273                });
 10274
 010275            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoOffer", b =>
 010276                {
 010277                    b.Property<long>("Id")
 010278                        .ValueGeneratedOnAdd()
 010279                        .HasColumnType("bigint")
 010280                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010281
 010282                    b.Property<long?>("CreatedByUserId")
 010283                        .HasColumnType("bigint");
 010284
 010285                    b.Property<DateTime>("CreationDateTime")
 010286                        .HasColumnType("timestamp without time zone");
 010287
 010288                    b.Property<DateTime>("DateBegin")
 010289                        .HasColumnType("timestamp without time zone");
 010290
 010291                    b.Property<DateTime>("DateEnd")
 010292                        .HasColumnType("timestamp without time zone");
 010293
 010294                    b.Property<Guid>("GUID")
 010295                        .ValueGeneratedOnAdd()
 010296                        .HasColumnType("uuid");
 010297
 010298                    b.Property<long>("GoodId")
 010299                        .HasColumnType("bigint");
 010300
 010301                    b.Property<bool>("IsDeleted")
 010302                        .HasColumnType("boolean");
 010303
 010304                    b.Property<decimal?>("MaxQuantity")
 010305                        .HasColumnType("numeric");
 010306
 010307                    b.Property<decimal>("MinQuantity")
 010308                        .HasColumnType("numeric");
 010309
 010310                    b.Property<DateTime?>("ModificationDateTime")
 010311                        .HasColumnType("timestamp without time zone");
 010312
 010313                    b.Property<long?>("ModifiedByUserId")
 010314                        .HasColumnType("bigint");
 010315
 010316                    b.Property<decimal>("Price")
 010317                        .HasColumnType("numeric");
 010318
 010319                    b.Property<long?>("RecStateId")
 010320                        .HasColumnType("bigint");
 010321
 010322                    b.Property<long>("SupplierDepartmentId")
 010323                        .HasColumnType("bigint");
 010324
 010325                    b.HasKey("Id");
 010326
 010327                    b.HasIndex("CreatedByUserId");
 010328
 010329                    b.HasIndex("GoodId");
 010330
 010331                    b.HasIndex("ModifiedByUserId");
 010332
 010333                    b.HasIndex("RecStateId");
 010334
 010335                    b.HasIndex("SupplierDepartmentId");
 010336
 010337                    b.ToTable("PromoOffers");
 010338                });
 10339
 010340            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", b =>
 010341                {
 010342                    b.Property<long>("Id")
 010343                        .ValueGeneratedOnAdd()
 010344                        .HasColumnType("bigint")
 010345                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010346
 010347                    b.Property<string>("Code")
 010348                        .IsRequired()
 010349                        .HasColumnType("text");
 010350
 010351                    b.Property<long?>("CreatedByUserId")
 010352                        .HasColumnType("bigint");
 010353
 010354                    b.Property<DateTime>("CreationDateTime")
 010355                        .HasColumnType("timestamp without time zone");
 010356
 010357                    b.Property<string>("Description")
 010358                        .HasColumnType("text");
 010359
 010360                    b.Property<Guid>("GUID")
 010361                        .ValueGeneratedOnAdd()
 010362                        .HasColumnType("uuid");
 010363
 010364                    b.Property<bool>("IsDeleted")
 010365                        .HasColumnType("boolean");
 010366
 010367                    b.Property<DateTime?>("ModificationDateTime")
 010368                        .HasColumnType("timestamp without time zone");
 010369
 010370                    b.Property<long?>("ModifiedByUserId")
 010371                        .HasColumnType("bigint");
 010372
 010373                    b.Property<string>("Name")
 010374                        .IsRequired()
 010375                        .HasColumnType("text");
 010376
 010377                    b.Property<long?>("RecStateId")
 010378                        .HasColumnType("bigint");
 010379
 010380                    b.HasKey("Id");
 010381
 010382                    b.HasIndex("CreatedByUserId");
 010383
 010384                    b.HasIndex("ModifiedByUserId");
 010385
 010386                    b.HasIndex("RecStateId");
 010387
 010388                    b.ToTable("RecordsState");
 010389
 010390                    b.HasData(
 010391                        new
 010392                        {
 010393                            Id = 1L,
 010394                            Code = "Error",
 010395                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010396                            Description = "",
 010397                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010398                            IsDeleted = false,
 010399                            Name = "Ошибка"
 010400                        },
 010401                        new
 010402                        {
 010403                            Id = 2L,
 010404                            Code = "Active",
 010405                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010406                            Description = "",
 010407                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010408                            IsDeleted = false,
 010409                            Name = "Активно"
 010410                        },
 010411                        new
 010412                        {
 010413                            Id = 3L,
 010414                            Code = "Inactive",
 010415                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010416                            Description = "",
 010417                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010418                            IsDeleted = false,
 010419                            Name = "Неактивно"
 010420                        },
 010421                        new
 010422                        {
 010423                            Id = 4L,
 010424                            Code = "Deleted",
 010425                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010426                            Description = "",
 010427                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010428                            IsDeleted = false,
 010429                            Name = "Удалено"
 010430                        },
 010431                        new
 010432                        {
 010433                            Id = 5L,
 010434                            Code = "Empty",
 010435                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010436                            Description = "",
 010437                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010438                            IsDeleted = false,
 010439                            Name = "Пусто"
 010440                        });
 010441                });
 10442
 010443            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Rest", b =>
 010444                {
 010445                    b.Property<long>("Id")
 010446                        .ValueGeneratedOnAdd()
 010447                        .HasColumnType("bigint")
 010448                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010449
 010450                    b.Property<long?>("CreatedByUserId")
 010451                        .HasColumnType("bigint");
 010452
 010453                    b.Property<DateTime>("CreationDateTime")
 010454                        .HasColumnType("timestamp without time zone");
 010455
 010456                    b.Property<long>("DepartmentId")
 010457                        .HasColumnType("bigint");
 010458
 010459                    b.Property<Guid>("GUID")
 010460                        .ValueGeneratedOnAdd()
 010461                        .HasColumnType("uuid");
 010462
 010463                    b.Property<long>("GoodId")
 010464                        .HasColumnType("bigint");
 010465
 010466                    b.Property<bool>("IsDeleted")
 010467                        .HasColumnType("boolean");
 010468
 010469                    b.Property<DateTime?>("ModificationDateTime")
 010470                        .HasColumnType("timestamp without time zone");
 010471
 010472                    b.Property<long?>("ModifiedByUserId")
 010473                        .HasColumnType("bigint");
 010474
 010475                    b.Property<decimal>("Quantity")
 010476                        .HasColumnType("numeric");
 010477
 010478                    b.Property<long?>("RecStateId")
 010479                        .HasColumnType("bigint");
 010480
 010481                    b.HasKey("Id");
 010482
 010483                    b.HasIndex("CreatedByUserId");
 010484
 010485                    b.HasIndex("DepartmentId");
 010486
 010487                    b.HasIndex("ModifiedByUserId");
 010488
 010489                    b.HasIndex("RecStateId");
 010490
 010491                    b.HasIndex("GoodId", "DepartmentId")
 010492                        .IsUnique();
 010493
 010494                    b.ToTable("Rests");
 010495                });
 10496
 010497            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RestHold", b =>
 010498                {
 010499                    b.Property<long>("Id")
 010500                        .ValueGeneratedOnAdd()
 010501                        .HasColumnType("bigint")
 010502                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010503
 010504                    b.Property<long?>("CreatedByUserId")
 010505                        .HasColumnType("bigint");
 010506
 010507                    b.Property<DateTime>("CreationDateTime")
 010508                        .HasColumnType("timestamp without time zone");
 010509
 010510                    b.Property<Guid>("GUID")
 010511                        .ValueGeneratedOnAdd()
 010512                        .HasColumnType("uuid");
 010513
 010514                    b.Property<long>("GoodId")
 010515                        .HasColumnType("bigint");
 010516
 010517                    b.Property<bool>("IsDeleted")
 010518                        .HasColumnType("boolean");
 010519
 010520                    b.Property<DateTime?>("ModificationDateTime")
 010521                        .HasColumnType("timestamp without time zone");
 010522
 010523                    b.Property<long?>("ModifiedByUserId")
 010524                        .HasColumnType("bigint");
 010525
 010526                    b.Property<long>("MovementId")
 010527                        .HasColumnType("bigint");
 010528
 010529                    b.Property<decimal>("Quantity")
 010530                        .HasColumnType("numeric");
 010531
 010532                    b.Property<long?>("RecStateId")
 010533                        .HasColumnType("bigint");
 010534
 010535                    b.HasKey("Id");
 010536
 010537                    b.HasIndex("CreatedByUserId");
 010538
 010539                    b.HasIndex("GoodId");
 010540
 010541                    b.HasIndex("ModifiedByUserId");
 010542
 010543                    b.HasIndex("MovementId");
 010544
 010545                    b.HasIndex("RecStateId");
 010546
 010547                    b.ToTable("RestHolds");
 010548                });
 10549
 010550            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", b =>
 010551                {
 010552                    b.Property<long>("Id")
 010553                        .ValueGeneratedOnAdd()
 010554                        .HasColumnType("bigint")
 010555                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010556
 010557                    b.Property<long?>("CreatedByUserId")
 010558                        .HasColumnType("bigint");
 010559
 010560                    b.Property<DateTime>("CreationDateTime")
 010561                        .HasColumnType("timestamp without time zone");
 010562
 010563                    b.Property<string>("Description")
 010564                        .HasColumnType("text");
 010565
 010566                    b.Property<Guid>("GUID")
 010567                        .ValueGeneratedOnAdd()
 010568                        .HasColumnType("uuid");
 010569
 010570                    b.Property<bool>("IsDeleted")
 010571                        .HasColumnType("boolean");
 010572
 010573                    b.Property<DateTime?>("ModificationDateTime")
 010574                        .HasColumnType("timestamp without time zone");
 010575
 010576                    b.Property<long?>("ModifiedByUserId")
 010577                        .HasColumnType("bigint");
 010578
 010579                    b.Property<string>("Name")
 010580                        .IsRequired()
 010581                        .HasColumnType("text");
 010582
 010583                    b.Property<long?>("RecStateId")
 010584                        .HasColumnType("bigint");
 010585
 010586                    b.HasKey("Id");
 010587
 010588                    b.HasIndex("CreatedByUserId");
 010589
 010590                    b.HasIndex("ModifiedByUserId");
 010591
 010592                    b.HasIndex("RecStateId");
 010593
 010594                    b.ToTable("Roles");
 010595
 010596                    b.HasData(
 010597                        new
 010598                        {
 010599                            Id = 1L,
 010600                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010601                            Description = "Администратор системы",
 010602                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010603                            IsDeleted = false,
 010604                            Name = "dd_sys_hi_level"
 010605                        },
 010606                        new
 010607                        {
 010608                            Id = 2L,
 010609                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010610                            Description = "Оператор системы",
 010611                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010612                            IsDeleted = false,
 010613                            Name = "dd_sys_low_level"
 010614                        },
 010615                        new
 010616                        {
 010617                            Id = 3L,
 010618                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010619                            Description = "Владелец магазина",
 010620                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010621                            IsDeleted = false,
 010622                            Name = "dd_cust_hi_level"
 010623                        },
 010624                        new
 010625                        {
 010626                            Id = 4L,
 010627                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010628                            Description = "Товаровед магазина",
 010629                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010630                            IsDeleted = false,
 010631                            Name = "dd_cust_mid_level"
 010632                        },
 010633                        new
 010634                        {
 010635                            Id = 5L,
 010636                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010637                            Description = "Продавец магазина",
 010638                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010639                            IsDeleted = false,
 010640                            Name = "dd_cust_low_level"
 010641                        },
 010642                        new
 010643                        {
 010644                            Id = 6L,
 010645                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010646                            Description = "Владелец поставщика (дистрибьютера)",
 010647                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010648                            IsDeleted = false,
 010649                            Name = "dd_supp_hi_level"
 010650                        },
 010651                        new
 010652                        {
 010653                            Id = 7L,
 010654                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010655                            Description = "Управляющий поставщика",
 010656                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010657                            IsDeleted = false,
 010658                            Name = "dd_supp_mid_level"
 010659                        },
 010660                        new
 010661                        {
 010662                            Id = 8L,
 010663                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010664                            Description = "Кладовщик поставщика",
 010665                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010666                            IsDeleted = false,
 010667                            Name = "dd_supp_low_level"
 010668                        },
 010669                        new
 010670                        {
 010671                            Id = 9L,
 010672                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010673                            Description = "Анонимный пользователь",
 010674                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010675                            IsDeleted = false,
 010676                            Name = "dd_anonym"
 010677                        });
 010678                });
 10679
 010680            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.SupplyContract", b =>
 010681                {
 010682                    b.Property<long>("Id")
 010683                        .ValueGeneratedOnAdd()
 010684                        .HasColumnType("bigint")
 010685                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010686
 010687                    b.Property<DateTime>("BeginDate")
 010688                        .HasColumnType("timestamp without time zone");
 010689
 010690                    b.Property<long>("BuyerId")
 010691                        .HasColumnType("bigint");
 010692
 010693                    b.Property<long?>("CreatedByUserId")
 010694                        .HasColumnType("bigint");
 010695
 010696                    b.Property<DateTime>("CreationDateTime")
 010697                        .HasColumnType("timestamp without time zone");
 010698
 010699                    b.Property<string>("DocumentNumber")
 010700                        .IsRequired()
 010701                        .HasColumnType("text");
 010702
 010703                    b.Property<DateTime>("EndDate")
 010704                        .HasColumnType("timestamp without time zone");
 010705
 010706                    b.Property<Guid>("GUID")
 010707                        .ValueGeneratedOnAdd()
 010708                        .HasColumnType("uuid");
 010709
 010710                    b.Property<bool>("IsDeleted")
 010711                        .HasColumnType("boolean");
 010712
 010713                    b.Property<DateTime?>("ModificationDateTime")
 010714                        .HasColumnType("timestamp without time zone");
 010715
 010716                    b.Property<long?>("ModifiedByUserId")
 010717                        .HasColumnType("bigint");
 010718
 010719                    b.Property<decimal>("PrepaimentPercent")
 010720                        .HasColumnType("numeric");
 010721
 010722                    b.Property<long?>("RecStateId")
 010723                        .HasColumnType("bigint");
 010724
 010725                    b.Property<long>("SellerId")
 010726                        .HasColumnType("bigint");
 010727
 010728                    b.Property<DateTime>("SignOffDate")
 010729                        .HasColumnType("timestamp without time zone");
 010730
 010731                    b.Property<decimal>("TradeRatio")
 010732                        .HasColumnType("numeric");
 010733
 010734                    b.HasKey("Id");
 010735
 010736                    b.HasIndex("BuyerId");
 010737
 010738                    b.HasIndex("CreatedByUserId");
 010739
 010740                    b.HasIndex("DocumentNumber");
 010741
 010742                    b.HasIndex("ModifiedByUserId");
 010743
 010744                    b.HasIndex("RecStateId");
 010745
 010746                    b.HasIndex("SellerId");
 010747
 010748                    b.ToTable("SupplyContract");
 010749                });
 10750
 010751            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", b =>
 010752                {
 010753                    b.Property<long>("Id")
 010754                        .ValueGeneratedOnAdd()
 010755                        .HasColumnType("bigint")
 010756                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010757
 010758                    b.Property<string>("Code")
 010759                        .HasColumnType("text");
 010760
 010761                    b.Property<long?>("CreatedByUserId")
 010762                        .HasColumnType("bigint");
 010763
 010764                    b.Property<DateTime>("CreationDateTime")
 010765                        .HasColumnType("timestamp without time zone");
 010766
 010767                    b.Property<string>("Description")
 010768                        .HasColumnType("text");
 010769
 010770                    b.Property<Guid>("GUID")
 010771                        .ValueGeneratedOnAdd()
 010772                        .HasColumnType("uuid");
 010773
 010774                    b.Property<bool>("IsDeleted")
 010775                        .HasColumnType("boolean");
 010776
 010777                    b.Property<DateTime?>("ModificationDateTime")
 010778                        .HasColumnType("timestamp without time zone");
 010779
 010780                    b.Property<long?>("ModifiedByUserId")
 010781                        .HasColumnType("bigint");
 010782
 010783                    b.Property<string>("Name")
 010784                        .HasColumnType("text");
 010785
 010786                    b.Property<long?>("RecStateId")
 010787                        .HasColumnType("bigint");
 010788
 010789                    b.HasKey("Id");
 010790
 010791                    b.HasIndex("CreatedByUserId");
 010792
 010793                    b.HasIndex("ModifiedByUserId");
 010794
 010795                    b.HasIndex("RecStateId");
 010796
 010797                    b.ToTable("TaxSystems");
 010798
 010799                    b.HasData(
 010800                        new
 010801                        {
 010802                            Id = 1L,
 010803                            Code = "УСН",
 010804                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010805                            Description = "Упрощенка",
 010806                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010807                            IsDeleted = false,
 010808                            Name = "Упрощенная система налогообложения"
 010809                        },
 010810                        new
 010811                        {
 010812                            Id = 2L,
 010813                            Code = "ЕНВД",
 010814                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010815                            Description = "Вмененка",
 010816                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010817                            IsDeleted = false,
 010818                            Name = "Единый налог на вмененные доходы"
 010819                        },
 010820                        new
 010821                        {
 010822                            Id = 3L,
 010823                            Code = "ES",
 010824                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010825                            Description = "Единый сельскохозяйственный налог",
 010826                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010827                            IsDeleted = false,
 010828                            Name = "ЕСХН"
 010829                        },
 010830                        new
 010831                        {
 010832                            Id = 4L,
 010833                            Code = "ОСН",
 010834                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010835                            Description = "Стандартная",
 010836                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010837                            IsDeleted = false,
 010838                            Name = "Основная система налогообложения"
 010839                        });
 010840                });
 10841
 010842            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", b =>
 010843                {
 010844                    b.Property<long>("Id")
 010845                        .ValueGeneratedOnAdd()
 010846                        .HasColumnType("bigint")
 010847                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010848
 010849                    b.Property<string>("Code")
 010850                        .IsRequired()
 010851                        .HasColumnType("text");
 010852
 010853                    b.Property<long?>("CreatedByUserId")
 010854                        .HasColumnType("bigint");
 010855
 010856                    b.Property<DateTime>("CreationDateTime")
 010857                        .HasColumnType("timestamp without time zone");
 010858
 010859                    b.Property<string>("Description")
 010860                        .HasColumnType("text");
 010861
 010862                    b.Property<Guid>("GUID")
 010863                        .ValueGeneratedOnAdd()
 010864                        .HasColumnType("uuid");
 010865
 010866                    b.Property<bool>("IsDeleted")
 010867                        .HasColumnType("boolean");
 010868
 010869                    b.Property<DateTime?>("ModificationDateTime")
 010870                        .HasColumnType("timestamp without time zone");
 010871
 010872                    b.Property<long?>("ModifiedByUserId")
 010873                        .HasColumnType("bigint");
 010874
 010875                    b.Property<string>("Name")
 010876                        .IsRequired()
 010877                        .HasColumnType("text");
 010878
 010879                    b.Property<long?>("RecStateId")
 010880                        .HasColumnType("bigint");
 010881
 010882                    b.Property<string>("StrCode")
 010883                        .HasColumnType("text");
 010884
 010885                    b.HasKey("Id");
 010886
 010887                    b.HasIndex("CreatedByUserId");
 010888
 010889                    b.HasIndex("ModifiedByUserId");
 010890
 010891                    b.HasIndex("RecStateId");
 010892
 010893                    b.ToTable("UnitsKind");
 010894
 010895                    b.HasData(
 010896                        new
 010897                        {
 010898                            Id = 1L,
 010899                            Code = "1",
 010900                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010901                            Description = "",
 010902                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010903                            IsDeleted = false,
 010904                            Name = "Неизвестно",
 010905                            StrCode = "Unknown"
 010906                        },
 010907                        new
 010908                        {
 010909                            Id = 2L,
 010910                            Code = "166",
 010911                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010912                            Description = "Килограмм",
 010913                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010914                            IsDeleted = false,
 010915                            Name = "КГ",
 010916                            StrCode = "Kg"
 010917                        },
 010918                        new
 010919                        {
 010920                            Id = 3L,
 010921                            Code = "112",
 010922                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010923                            Description = "Литр",
 010924                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010925                            IsDeleted = false,
 010926                            Name = "Л",
 010927                            StrCode = "Litre"
 010928                        },
 010929                        new
 010930                        {
 010931                            Id = 4L,
 010932                            Code = "6",
 010933                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010934                            Description = "Метр",
 010935                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010936                            IsDeleted = false,
 010937                            Name = "М",
 010938                            StrCode = "Meter"
 010939                        },
 010940                        new
 010941                        {
 010942                            Id = 5L,
 010943                            Code = "796",
 010944                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010945                            Description = "Штука (1 единица товара)",
 010946                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010947                            IsDeleted = false,
 010948                            Name = "ШТ",
 010949                            StrCode = "Item"
 010950                        },
 010951                        new
 010952                        {
 010953                            Id = 6L,
 010954                            Code = "55",
 010955                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010956                            Description = "Квадратный метр",
 010957                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010958                            IsDeleted = false,
 010959                            Name = "М2",
 010960                            StrCode = "SquareMetre"
 010961                        },
 010962                        new
 010963                        {
 010964                            Id = 7L,
 010965                            Code = "113",
 010966                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010967                            Description = "Кубический метр",
 010968                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010969                            IsDeleted = false,
 010970                            Name = "М3",
 010971                            StrCode = "CubicMetre"
 010972                        });
 010973                });
 10974
 010975            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", b =>
 010976                {
 010977                    b.Property<long>("Id")
 010978                        .ValueGeneratedOnAdd()
 010979                        .HasColumnType("bigint")
 010980                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010981
 010982                    b.Property<long?>("CreatedByUserId")
 010983                        .HasColumnType("bigint");
 010984
 010985                    b.Property<DateTime>("CreationDateTime")
 010986                        .HasColumnType("timestamp without time zone");
 010987
 010988                    b.Property<Guid>("GUID")
 010989                        .ValueGeneratedOnAdd()
 010990                        .HasColumnType("uuid");
 010991
 010992                    b.Property<bool>("IsDeleted")
 010993                        .HasColumnType("boolean");
 010994
 010995                    b.Property<DateTime?>("ModificationDateTime")
 010996                        .HasColumnType("timestamp without time zone");
 010997
 010998                    b.Property<long?>("ModifiedByUserId")
 010999                        .HasColumnType("bigint");
 011000
 011001                    b.Property<long?>("RecStateId")
 011002                        .HasColumnType("bigint");
 011003
 011004                    b.Property<byte[]>("ResultFile")
 011005                        .HasColumnType("bytea");
 011006
 011007                    b.Property<byte[]>("SourceFile")
 011008                        .HasColumnType("bytea");
 011009
 011010                    b.Property<string>("SourceFileName")
 011011                        .HasColumnType("text");
 011012
 011013                    b.Property<int>("SourceRecordCount")
 011014                        .HasColumnType("integer");
 011015
 011016                    b.Property<int>("Status")
 011017                        .HasColumnType("integer");
 011018
 011019                    b.Property<int>("UploadedRecordCount")
 011020                        .HasColumnType("integer");
 011021
 011022                    b.HasKey("Id");
 011023
 011024                    b.HasIndex("CreatedByUserId");
 011025
 011026                    b.HasIndex("ModifiedByUserId");
 011027
 011028                    b.HasIndex("RecStateId");
 011029
 011030                    b.ToTable("Uploads");
 011031                });
 11032
 011033            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UploadItem", b =>
 011034                {
 011035                    b.Property<long>("Id")
 011036                        .ValueGeneratedOnAdd()
 011037                        .HasColumnType("bigint")
 011038                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011039
 011040                    b.Property<long?>("CreatedByUserId")
 011041                        .HasColumnType("bigint");
 011042
 011043                    b.Property<DateTime>("CreationDateTime")
 011044                        .HasColumnType("timestamp without time zone");
 011045
 011046                    b.Property<long>("EndityId")
 011047                        .HasColumnType("bigint");
 011048
 011049                    b.Property<string>("EntityName")
 011050                        .IsRequired()
 011051                        .HasColumnType("text");
 011052
 011053                    b.Property<Guid>("GUID")
 011054                        .ValueGeneratedOnAdd()
 011055                        .HasColumnType("uuid");
 011056
 011057                    b.Property<bool>("IsDeleted")
 011058                        .HasColumnType("boolean");
 011059
 011060                    b.Property<DateTime?>("ModificationDateTime")
 011061                        .HasColumnType("timestamp without time zone");
 011062
 011063                    b.Property<long?>("ModifiedByUserId")
 011064                        .HasColumnType("bigint");
 011065
 011066                    b.Property<long?>("RecStateId")
 011067                        .HasColumnType("bigint");
 011068
 011069                    b.Property<long>("UploadId")
 011070                        .HasColumnType("bigint");
 011071
 011072                    b.HasKey("Id");
 011073
 011074                    b.HasIndex("CreatedByUserId");
 011075
 011076                    b.HasIndex("ModifiedByUserId");
 011077
 011078                    b.HasIndex("RecStateId");
 011079
 011080                    b.HasIndex("UploadId");
 011081
 011082                    b.ToTable("UploadItems");
 011083                });
 11084
 011085            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", b =>
 011086                {
 011087                    b.Property<long>("Id")
 011088                        .ValueGeneratedOnAdd()
 011089                        .HasColumnType("bigint")
 011090                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011091
 011092                    b.Property<long?>("ContragentId")
 011093                        .HasColumnType("bigint");
 011094
 011095                    b.Property<long?>("CreatedByUserId")
 011096                        .HasColumnType("bigint");
 011097
 011098                    b.Property<DateTime>("CreationDateTime")
 011099                        .HasColumnType("timestamp without time zone");
 011100
 011101                    b.Property<string>("Email")
 011102                        .HasColumnType("text");
 011103
 011104                    b.Property<Guid>("ExternalKey")
 011105                        .ValueGeneratedOnAdd()
 011106                        .HasColumnType("uuid");
 011107
 011108                    b.Property<string>("FirstName")
 011109                        .IsRequired()
 011110                        .HasColumnType("text");
 011111
 011112                    b.Property<Guid>("GUID")
 011113                        .ValueGeneratedOnAdd()
 011114                        .HasColumnType("uuid");
 011115
 011116                    b.Property<bool>("IsBlocked")
 011117                        .HasColumnType("boolean");
 011118
 011119                    b.Property<bool>("IsContactPerson")
 011120                        .HasColumnType("boolean");
 011121
 011122                    b.Property<bool>("IsDeleted")
 011123                        .HasColumnType("boolean");
 011124
 011125                    b.Property<string>("LastName")
 011126                        .IsRequired()
 011127                        .HasColumnType("text");
 011128
 011129                    b.Property<string>("Login")
 011130                        .HasColumnType("text");
 011131
 011132                    b.Property<string>("MiddleName")
 011133                        .HasColumnType("text");
 011134
 011135                    b.Property<DateTime?>("ModificationDateTime")
 011136                        .HasColumnType("timestamp without time zone");
 011137
 011138                    b.Property<long?>("ModifiedByUserId")
 011139                        .HasColumnType("bigint");
 011140
 011141                    b.Property<string>("Phone")
 011142                        .HasColumnType("text");
 011143
 011144                    b.Property<string>("Position")
 011145                        .HasColumnType("text");
 011146
 011147                    b.Property<long?>("RecStateId")
 011148                        .HasColumnType("bigint");
 011149
 011150                    b.HasKey("Id");
 011151
 011152                    b.HasIndex("ContragentId");
 011153
 011154                    b.HasIndex("CreatedByUserId");
 011155
 011156                    b.HasIndex("Email");
 011157
 011158                    b.HasIndex("LastName");
 011159
 011160                    b.HasIndex("Login");
 011161
 011162                    b.HasIndex("ModifiedByUserId");
 011163
 011164                    b.HasIndex("Phone");
 011165
 011166                    b.HasIndex("RecStateId");
 011167
 011168                    b.ToTable("Users");
 011169
 011170                    b.HasData(
 011171                        new
 011172                        {
 011173                            Id = -1L,
 011174                            ContragentId = -2L,
 011175                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011176                            Email = "EmbeddedSvetaAdmin@dd.com",
 011177                            ExternalKey = new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"),
 011178                            FirstName = "ServiceUser",
 011179                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011180                            IsBlocked = false,
 011181                            IsContactPerson = true,
 011182                            IsDeleted = false,
 011183                            LastName = "1",
 011184                            Login = "svetaAdmin",
 011185                            MiddleName = "1",
 011186                            Phone = "1",
 011187                            Position = "1"
 011188                        },
 011189                        new
 011190                        {
 011191                            Id = -2L,
 011192                            ContragentId = -1L,
 011193                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011194                            Email = "EmbeddedAnonymUser@dd.com",
 011195                            ExternalKey = new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"),
 011196                            FirstName = "Demo User",
 011197                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011198                            IsBlocked = false,
 011199                            IsContactPerson = true,
 011200                            IsDeleted = false,
 011201                            LastName = "1",
 011202                            Login = "Demo User",
 011203                            MiddleName = "Demo User",
 011204                            Phone = "1",
 011205                            Position = "Демо УЗ, не удалять"
 011206                        });
 011207                });
 11208
 011209            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserDepartment", b =>
 011210                {
 011211                    b.Property<long>("UserId")
 011212                        .HasColumnType("bigint");
 011213
 011214                    b.Property<long>("DepartmentId")
 011215                        .HasColumnType("bigint");
 011216
 011217                    b.Property<long?>("CreatedByUserId")
 011218                        .HasColumnType("bigint");
 011219
 011220                    b.Property<DateTime>("CreationDateTime")
 011221                        .HasColumnType("timestamp without time zone");
 011222
 011223                    b.Property<Guid>("GUID")
 011224                        .ValueGeneratedOnAdd()
 011225                        .HasColumnType("uuid");
 011226
 011227                    b.HasKey("UserId", "DepartmentId");
 011228
 011229                    b.HasIndex("DepartmentId");
 011230
 011231                    b.ToTable("UserDepartment");
 011232
 011233                    b.HasData(
 011234                        new
 011235                        {
 011236                            UserId = -2L,
 011237                            DepartmentId = -1L,
 011238                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011239                            GUID = new Guid("00000000-0000-0000-0000-000000000000")
 011240                        });
 011241                });
 11242
 011243            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserRole", b =>
 011244                {
 011245                    b.Property<long>("UserId")
 011246                        .HasColumnType("bigint");
 011247
 011248                    b.Property<long>("RoleId")
 011249                        .HasColumnType("bigint");
 011250
 011251                    b.Property<long?>("CreatedByUserId")
 011252                        .HasColumnType("bigint");
 011253
 011254                    b.Property<DateTime>("CreationDateTime")
 011255                        .HasColumnType("timestamp without time zone");
 011256
 011257                    b.Property<Guid>("GUID")
 011258                        .ValueGeneratedOnAdd()
 011259                        .HasColumnType("uuid");
 011260
 011261                    b.HasKey("UserId", "RoleId");
 011262
 011263                    b.HasIndex("RoleId");
 011264
 011265                    b.ToTable("UserRole");
 011266                });
 11267
 011268            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", b =>
 011269                {
 011270                    b.Property<long>("Id")
 011271                        .ValueGeneratedOnAdd()
 011272                        .HasColumnType("bigint")
 011273                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011274
 011275                    b.Property<string>("Code")
 011276                        .IsRequired()
 011277                        .HasColumnType("text");
 011278
 011279                    b.Property<long?>("CreatedByUserId")
 011280                        .HasColumnType("bigint");
 011281
 011282                    b.Property<DateTime>("CreationDateTime")
 011283                        .HasColumnType("timestamp without time zone");
 011284
 011285                    b.Property<string>("Description")
 011286                        .HasColumnType("text");
 011287
 011288                    b.Property<Guid>("GUID")
 011289                        .ValueGeneratedOnAdd()
 011290                        .HasColumnType("uuid");
 011291
 011292                    b.Property<bool>("IsDeleted")
 011293                        .HasColumnType("boolean");
 011294
 011295                    b.Property<DateTime?>("ModificationDateTime")
 011296                        .HasColumnType("timestamp without time zone");
 011297
 011298                    b.Property<long?>("ModifiedByUserId")
 011299                        .HasColumnType("bigint");
 011300
 011301                    b.Property<string>("Name")
 011302                        .IsRequired()
 011303                        .HasColumnType("text");
 011304
 011305                    b.Property<long?>("RecStateId")
 011306                        .HasColumnType("bigint");
 011307
 011308                    b.Property<string>("StrCode")
 011309                        .HasColumnType("text");
 011310
 011311                    b.HasKey("Id");
 011312
 011313                    b.HasIndex("CreatedByUserId");
 011314
 011315                    b.HasIndex("ModifiedByUserId");
 011316
 011317                    b.HasIndex("RecStateId");
 011318
 011319                    b.ToTable("VatsKind");
 011320
 011321                    b.HasData(
 011322                        new
 011323                        {
 011324                            Id = 1L,
 011325                            Code = "1",
 011326                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011327                            Description = "",
 011328                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011329                            IsDeleted = false,
 011330                            Name = "0%",
 011331                            StrCode = "Zero"
 011332                        },
 011333                        new
 011334                        {
 011335                            Id = 2L,
 011336                            Code = "10",
 011337                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011338                            Description = "",
 011339                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011340                            IsDeleted = false,
 011341                            Name = "10%",
 011342                            StrCode = "Ten"
 011343                        },
 011344                        new
 011345                        {
 011346                            Id = 3L,
 011347                            Code = "20",
 011348                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011349                            Description = "",
 011350                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011351                            IsDeleted = false,
 011352                            Name = "20%",
 011353                            StrCode = "Twenty"
 011354                        });
 011355                });
 11356
 011357            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransaction", b =>
 011358                {
 011359                    b.Property<long>("Id")
 011360                        .ValueGeneratedOnAdd()
 011361                        .HasColumnType("bigint")
 011362                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011363
 011364                    b.Property<long?>("CreatedByUserId")
 011365                        .HasColumnType("bigint");
 011366
 011367                    b.Property<DateTime>("CreationDateTime")
 011368                        .HasColumnType("timestamp without time zone");
 011369
 011370                    b.Property<Guid>("GUID")
 011371                        .ValueGeneratedOnAdd()
 011372                        .HasColumnType("uuid");
 011373
 011374                    b.Property<bool>("IsDeleted")
 011375                        .HasColumnType("boolean");
 011376
 011377                    b.Property<DateTime?>("ModificationDateTime")
 011378                        .HasColumnType("timestamp without time zone");
 011379
 011380                    b.Property<long?>("ModifiedByUserId")
 011381                        .HasColumnType("bigint");
 011382
 011383                    b.Property<long?>("MovementId")
 011384                        .HasColumnType("bigint");
 011385
 011386                    b.Property<long?>("RecStateId")
 011387                        .HasColumnType("bigint");
 011388
 011389                    b.Property<string>("SmsId")
 011390                        .HasColumnType("text");
 011391
 011392                    b.Property<long?>("StatusId")
 011393                        .HasColumnType("bigint");
 011394
 011395                    b.Property<decimal>("Sum")
 011396                        .HasColumnType("numeric");
 011397
 011398                    b.Property<string>("TransactionId")
 011399                        .HasColumnType("text");
 011400
 011401                    b.HasKey("Id");
 011402
 011403                    b.HasIndex("CreatedByUserId");
 011404
 011405                    b.HasIndex("ModifiedByUserId");
 011406
 011407                    b.HasIndex("MovementId");
 011408
 011409                    b.HasIndex("RecStateId");
 011410
 011411                    b.HasIndex("StatusId");
 011412
 011413                    b.ToTable("WalletTransactions");
 011414                });
 11415
 011416            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", b =>
 011417                {
 011418                    b.Property<long>("Id")
 011419                        .ValueGeneratedOnAdd()
 011420                        .HasColumnType("bigint")
 011421                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011422
 011423                    b.Property<string>("Code")
 011424                        .IsRequired()
 011425                        .HasColumnType("text");
 011426
 011427                    b.Property<long?>("CreatedByUserId")
 011428                        .HasColumnType("bigint");
 011429
 011430                    b.Property<DateTime>("CreationDateTime")
 011431                        .HasColumnType("timestamp without time zone");
 011432
 011433                    b.Property<string>("Description")
 011434                        .HasColumnType("text");
 011435
 011436                    b.Property<Guid>("GUID")
 011437                        .ValueGeneratedOnAdd()
 011438                        .HasColumnType("uuid");
 011439
 011440                    b.Property<bool>("IsDeleted")
 011441                        .HasColumnType("boolean");
 011442
 011443                    b.Property<DateTime?>("ModificationDateTime")
 011444                        .HasColumnType("timestamp without time zone");
 011445
 011446                    b.Property<long?>("ModifiedByUserId")
 011447                        .HasColumnType("bigint");
 011448
 011449                    b.Property<string>("Name")
 011450                        .IsRequired()
 011451                        .HasColumnType("text");
 011452
 011453                    b.Property<long?>("RecStateId")
 011454                        .HasColumnType("bigint");
 011455
 011456                    b.HasKey("Id");
 011457
 011458                    b.HasIndex("CreatedByUserId");
 011459
 011460                    b.HasIndex("ModifiedByUserId");
 011461
 011462                    b.HasIndex("RecStateId");
 011463
 011464                    b.ToTable("WalletTransactionStatuses");
 011465
 011466                    b.HasData(
 011467                        new
 011468                        {
 011469                            Id = 1L,
 011470                            Code = "WaitSms",
 011471                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011472                            Description = "",
 011473                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011474                            IsDeleted = false,
 011475                            Name = "Ожидание смс подтверждения"
 011476                        },
 011477                        new
 011478                        {
 011479                            Id = 2L,
 011480                            Code = "Hold",
 011481                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011482                            Description = "",
 011483                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011484                            IsDeleted = false,
 011485                            Name = "Холдировано"
 011486                        },
 011487                        new
 011488                        {
 011489                            Id = 3L,
 011490                            Code = "Confirm",
 011491                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011492                            Description = "",
 011493                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011494                            IsDeleted = false,
 011495                            Name = "Подтверждено"
 011496                        },
 011497                        new
 011498                        {
 011499                            Id = 4L,
 011500                            Code = "Cancel",
 011501                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011502                            Description = "",
 011503                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011504                            IsDeleted = false,
 011505                            Name = "Отменено"
 011506                        });
 011507                });
 11508
 011509            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WorkSchedule", b =>
 011510                {
 011511                    b.Property<long>("Id")
 011512                        .ValueGeneratedOnAdd()
 011513                        .HasColumnType("bigint")
 011514                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011515
 011516                    b.Property<DateTime>("BeginTime")
 011517                        .HasColumnType("timestamp without time zone");
 011518
 011519                    b.Property<long?>("CreatedByUserId")
 011520                        .HasColumnType("bigint");
 011521
 011522                    b.Property<DateTime>("CreationDateTime")
 011523                        .HasColumnType("timestamp without time zone");
 011524
 011525                    b.Property<DateTime>("EndTime")
 011526                        .HasColumnType("timestamp without time zone");
 011527
 011528                    b.Property<Guid>("GUID")
 011529                        .ValueGeneratedOnAdd()
 011530                        .HasColumnType("uuid");
 011531
 011532                    b.Property<bool>("IsDeleted")
 011533                        .HasColumnType("boolean");
 011534
 011535                    b.Property<bool>("IsWorkingDay")
 011536                        .HasColumnType("boolean");
 011537
 011538                    b.Property<DateTime?>("ModificationDateTime")
 011539                        .HasColumnType("timestamp without time zone");
 011540
 011541                    b.Property<long?>("ModifiedByUserId")
 011542                        .HasColumnType("bigint");
 011543
 011544                    b.Property<long?>("RecStateId")
 011545                        .HasColumnType("bigint");
 011546
 011547                    b.HasKey("Id");
 011548
 011549                    b.HasIndex("CreatedByUserId");
 011550
 011551                    b.HasIndex("ModifiedByUserId");
 011552
 011553                    b.HasIndex("RecStateId");
 011554
 011555                    b.ToTable("WorkScheduler");
 011556
 011557                    b.HasData(
 011558                        new
 011559                        {
 011560                            Id = 1L,
 011561                            BeginTime = new DateTime(2020, 5, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011562                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011563                            EndTime = new DateTime(2020, 5, 18, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011564                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011565                            IsDeleted = false,
 011566                            IsWorkingDay = true
 011567                        },
 011568                        new
 011569                        {
 011570                            Id = 2L,
 011571                            BeginTime = new DateTime(2020, 5, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011572                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011573                            EndTime = new DateTime(2020, 5, 19, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011574                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011575                            IsDeleted = false,
 011576                            IsWorkingDay = true
 011577                        },
 011578                        new
 011579                        {
 011580                            Id = 3L,
 011581                            BeginTime = new DateTime(2020, 5, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011582                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011583                            EndTime = new DateTime(2020, 5, 20, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011584                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011585                            IsDeleted = false,
 011586                            IsWorkingDay = true
 011587                        },
 011588                        new
 011589                        {
 011590                            Id = 4L,
 011591                            BeginTime = new DateTime(2020, 5, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011592                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011593                            EndTime = new DateTime(2020, 5, 21, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011594                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011595                            IsDeleted = false,
 011596                            IsWorkingDay = true
 011597                        },
 011598                        new
 011599                        {
 011600                            Id = 5L,
 011601                            BeginTime = new DateTime(2020, 5, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011602                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011603                            EndTime = new DateTime(2020, 5, 22, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011604                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011605                            IsDeleted = false,
 011606                            IsWorkingDay = true
 011607                        },
 011608                        new
 011609                        {
 011610                            Id = 6L,
 011611                            BeginTime = new DateTime(2020, 5, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011612                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011613                            EndTime = new DateTime(2020, 5, 23, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011614                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011615                            IsDeleted = false,
 011616                            IsWorkingDay = false
 011617                        },
 011618                        new
 011619                        {
 011620                            Id = 7L,
 011621                            BeginTime = new DateTime(2020, 5, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011622                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011623                            EndTime = new DateTime(2020, 5, 24, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011624                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011625                            IsDeleted = false,
 011626                            IsWorkingDay = false
 011627                        },
 011628                        new
 011629                        {
 011630                            Id = 8L,
 011631                            BeginTime = new DateTime(2020, 5, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011632                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011633                            EndTime = new DateTime(2020, 5, 25, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011634                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011635                            IsDeleted = false,
 011636                            IsWorkingDay = true
 011637                        },
 011638                        new
 011639                        {
 011640                            Id = 9L,
 011641                            BeginTime = new DateTime(2020, 5, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011642                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011643                            EndTime = new DateTime(2020, 5, 26, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011644                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011645                            IsDeleted = false,
 011646                            IsWorkingDay = true
 011647                        },
 011648                        new
 011649                        {
 011650                            Id = 10L,
 011651                            BeginTime = new DateTime(2020, 5, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011652                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011653                            EndTime = new DateTime(2020, 5, 27, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011654                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011655                            IsDeleted = false,
 011656                            IsWorkingDay = true
 011657                        },
 011658                        new
 011659                        {
 011660                            Id = 11L,
 011661                            BeginTime = new DateTime(2020, 5, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011662                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011663                            EndTime = new DateTime(2020, 5, 28, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011664                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011665                            IsDeleted = false,
 011666                            IsWorkingDay = true
 011667                        },
 011668                        new
 011669                        {
 011670                            Id = 12L,
 011671                            BeginTime = new DateTime(2020, 5, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011672                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011673                            EndTime = new DateTime(2020, 5, 29, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011674                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011675                            IsDeleted = false,
 011676                            IsWorkingDay = true
 011677                        },
 011678                        new
 011679                        {
 011680                            Id = 13L,
 011681                            BeginTime = new DateTime(2020, 5, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011682                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011683                            EndTime = new DateTime(2020, 5, 30, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011684                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011685                            IsDeleted = false,
 011686                            IsWorkingDay = false
 011687                        },
 011688                        new
 011689                        {
 011690                            Id = 14L,
 011691                            BeginTime = new DateTime(2020, 5, 31, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011692                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011693                            EndTime = new DateTime(2020, 5, 31, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011694                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011695                            IsDeleted = false,
 011696                            IsWorkingDay = false
 011697                        },
 011698                        new
 011699                        {
 011700                            Id = 15L,
 011701                            BeginTime = new DateTime(2020, 6, 1, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011702                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011703                            EndTime = new DateTime(2020, 6, 1, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011704                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011705                            IsDeleted = false,
 011706                            IsWorkingDay = true
 011707                        },
 011708                        new
 011709                        {
 011710                            Id = 16L,
 011711                            BeginTime = new DateTime(2020, 6, 2, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011712                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011713                            EndTime = new DateTime(2020, 6, 2, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011714                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011715                            IsDeleted = false,
 011716                            IsWorkingDay = true
 011717                        },
 011718                        new
 011719                        {
 011720                            Id = 17L,
 011721                            BeginTime = new DateTime(2020, 6, 3, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011722                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011723                            EndTime = new DateTime(2020, 6, 3, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011724                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011725                            IsDeleted = false,
 011726                            IsWorkingDay = true
 011727                        },
 011728                        new
 011729                        {
 011730                            Id = 18L,
 011731                            BeginTime = new DateTime(2020, 6, 4, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011732                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011733                            EndTime = new DateTime(2020, 6, 4, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011734                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011735                            IsDeleted = false,
 011736                            IsWorkingDay = true
 011737                        },
 011738                        new
 011739                        {
 011740                            Id = 19L,
 011741                            BeginTime = new DateTime(2020, 6, 5, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011742                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011743                            EndTime = new DateTime(2020, 6, 5, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011744                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011745                            IsDeleted = false,
 011746                            IsWorkingDay = true
 011747                        },
 011748                        new
 011749                        {
 011750                            Id = 20L,
 011751                            BeginTime = new DateTime(2020, 6, 6, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011752                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011753                            EndTime = new DateTime(2020, 6, 6, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011754                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011755                            IsDeleted = false,
 011756                            IsWorkingDay = false
 011757                        },
 011758                        new
 011759                        {
 011760                            Id = 21L,
 011761                            BeginTime = new DateTime(2020, 6, 7, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011762                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011763                            EndTime = new DateTime(2020, 6, 7, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011764                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011765                            IsDeleted = false,
 011766                            IsWorkingDay = false
 011767                        },
 011768                        new
 011769                        {
 011770                            Id = 22L,
 011771                            BeginTime = new DateTime(2020, 6, 8, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011772                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011773                            EndTime = new DateTime(2020, 6, 8, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011774                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011775                            IsDeleted = false,
 011776                            IsWorkingDay = true
 011777                        },
 011778                        new
 011779                        {
 011780                            Id = 23L,
 011781                            BeginTime = new DateTime(2020, 6, 9, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011782                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011783                            EndTime = new DateTime(2020, 6, 9, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011784                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011785                            IsDeleted = false,
 011786                            IsWorkingDay = true
 011787                        },
 011788                        new
 011789                        {
 011790                            Id = 24L,
 011791                            BeginTime = new DateTime(2020, 6, 10, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011792                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011793                            EndTime = new DateTime(2020, 6, 10, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011794                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011795                            IsDeleted = false,
 011796                            IsWorkingDay = true
 011797                        },
 011798                        new
 011799                        {
 011800                            Id = 25L,
 011801                            BeginTime = new DateTime(2020, 6, 11, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011802                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011803                            EndTime = new DateTime(2020, 6, 11, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011804                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011805                            IsDeleted = false,
 011806                            IsWorkingDay = true
 011807                        },
 011808                        new
 011809                        {
 011810                            Id = 26L,
 011811                            BeginTime = new DateTime(2020, 6, 12, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011812                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011813                            EndTime = new DateTime(2020, 6, 12, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011814                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011815                            IsDeleted = false,
 011816                            IsWorkingDay = false
 011817                        },
 011818                        new
 011819                        {
 011820                            Id = 27L,
 011821                            BeginTime = new DateTime(2020, 6, 13, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011822                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011823                            EndTime = new DateTime(2020, 6, 13, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011824                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011825                            IsDeleted = false,
 011826                            IsWorkingDay = false
 011827                        },
 011828                        new
 011829                        {
 011830                            Id = 28L,
 011831                            BeginTime = new DateTime(2020, 6, 14, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011832                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011833                            EndTime = new DateTime(2020, 6, 14, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011834                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011835                            IsDeleted = false,
 011836                            IsWorkingDay = false
 011837                        },
 011838                        new
 011839                        {
 011840                            Id = 29L,
 011841                            BeginTime = new DateTime(2020, 6, 15, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011842                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011843                            EndTime = new DateTime(2020, 6, 15, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011844                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011845                            IsDeleted = false,
 011846                            IsWorkingDay = true
 011847                        },
 011848                        new
 011849                        {
 011850                            Id = 30L,
 011851                            BeginTime = new DateTime(2020, 6, 16, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011852                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011853                            EndTime = new DateTime(2020, 6, 16, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011854                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011855                            IsDeleted = false,
 011856                            IsWorkingDay = true
 011857                        },
 011858                        new
 011859                        {
 011860                            Id = 31L,
 011861                            BeginTime = new DateTime(2020, 6, 17, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011862                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011863                            EndTime = new DateTime(2020, 6, 17, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011864                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011865                            IsDeleted = false,
 011866                            IsWorkingDay = true
 011867                        },
 011868                        new
 011869                        {
 011870                            Id = 32L,
 011871                            BeginTime = new DateTime(2020, 6, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011872                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011873                            EndTime = new DateTime(2020, 6, 18, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011874                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011875                            IsDeleted = false,
 011876                            IsWorkingDay = true
 011877                        },
 011878                        new
 011879                        {
 011880                            Id = 33L,
 011881                            BeginTime = new DateTime(2020, 6, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011882                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011883                            EndTime = new DateTime(2020, 6, 19, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011884                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011885                            IsDeleted = false,
 011886                            IsWorkingDay = true
 011887                        },
 011888                        new
 011889                        {
 011890                            Id = 34L,
 011891                            BeginTime = new DateTime(2020, 6, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011892                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011893                            EndTime = new DateTime(2020, 6, 20, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011894                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011895                            IsDeleted = false,
 011896                            IsWorkingDay = false
 011897                        },
 011898                        new
 011899                        {
 011900                            Id = 35L,
 011901                            BeginTime = new DateTime(2020, 6, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011902                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011903                            EndTime = new DateTime(2020, 6, 21, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011904                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011905                            IsDeleted = false,
 011906                            IsWorkingDay = false
 011907                        },
 011908                        new
 011909                        {
 011910                            Id = 36L,
 011911                            BeginTime = new DateTime(2020, 6, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011912                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011913                            EndTime = new DateTime(2020, 6, 22, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011914                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011915                            IsDeleted = false,
 011916                            IsWorkingDay = true
 011917                        },
 011918                        new
 011919                        {
 011920                            Id = 37L,
 011921                            BeginTime = new DateTime(2020, 6, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011922                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011923                            EndTime = new DateTime(2020, 6, 23, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011924                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011925                            IsDeleted = false,
 011926                            IsWorkingDay = true
 011927                        },
 011928                        new
 011929                        {
 011930                            Id = 38L,
 011931                            BeginTime = new DateTime(2020, 6, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011932                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011933                            EndTime = new DateTime(2020, 6, 24, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011934                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011935                            IsDeleted = false,
 011936                            IsWorkingDay = true
 011937                        },
 011938                        new
 011939                        {
 011940                            Id = 39L,
 011941                            BeginTime = new DateTime(2020, 6, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011942                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011943                            EndTime = new DateTime(2020, 6, 25, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011944                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011945                            IsDeleted = false,
 011946                            IsWorkingDay = true
 011947                        },
 011948                        new
 011949                        {
 011950                            Id = 40L,
 011951                            BeginTime = new DateTime(2020, 6, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011952                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011953                            EndTime = new DateTime(2020, 6, 26, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011954                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011955                            IsDeleted = false,
 011956                            IsWorkingDay = true
 011957                        },
 011958                        new
 011959                        {
 011960                            Id = 41L,
 011961                            BeginTime = new DateTime(2020, 6, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011962                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011963                            EndTime = new DateTime(2020, 6, 27, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011964                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011965                            IsDeleted = false,
 011966                            IsWorkingDay = false
 011967                        },
 011968                        new
 011969                        {
 011970                            Id = 42L,
 011971                            BeginTime = new DateTime(2020, 6, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011972                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011973                            EndTime = new DateTime(2020, 6, 28, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011974                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011975                            IsDeleted = false,
 011976                            IsWorkingDay = false
 011977                        },
 011978                        new
 011979                        {
 011980                            Id = 43L,
 011981                            BeginTime = new DateTime(2020, 6, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011982                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011983                            EndTime = new DateTime(2020, 6, 29, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011984                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011985                            IsDeleted = false,
 011986                            IsWorkingDay = true
 011987                        },
 011988                        new
 011989                        {
 011990                            Id = 44L,
 011991                            BeginTime = new DateTime(2020, 6, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011992                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011993                            EndTime = new DateTime(2020, 6, 30, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011994                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011995                            IsDeleted = false,
 011996                            IsWorkingDay = true
 011997                        },
 011998                        new
 011999                        {
 012000                            Id = 45L,
 012001                            BeginTime = new DateTime(2020, 7, 1, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012002                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012003                            EndTime = new DateTime(2020, 7, 1, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012004                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012005                            IsDeleted = false,
 012006                            IsWorkingDay = true
 012007                        },
 012008                        new
 012009                        {
 012010                            Id = 46L,
 012011                            BeginTime = new DateTime(2020, 7, 2, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012012                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012013                            EndTime = new DateTime(2020, 7, 2, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012014                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012015                            IsDeleted = false,
 012016                            IsWorkingDay = true
 012017                        },
 012018                        new
 012019                        {
 012020                            Id = 47L,
 012021                            BeginTime = new DateTime(2020, 7, 3, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012022                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012023                            EndTime = new DateTime(2020, 7, 3, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012024                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012025                            IsDeleted = false,
 012026                            IsWorkingDay = true
 012027                        },
 012028                        new
 012029                        {
 012030                            Id = 48L,
 012031                            BeginTime = new DateTime(2020, 7, 4, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012032                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012033                            EndTime = new DateTime(2020, 7, 4, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012034                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012035                            IsDeleted = false,
 012036                            IsWorkingDay = false
 012037                        },
 012038                        new
 012039                        {
 012040                            Id = 49L,
 012041                            BeginTime = new DateTime(2020, 7, 5, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012042                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012043                            EndTime = new DateTime(2020, 7, 5, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012044                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012045                            IsDeleted = false,
 012046                            IsWorkingDay = false
 012047                        },
 012048                        new
 012049                        {
 012050                            Id = 50L,
 012051                            BeginTime = new DateTime(2020, 7, 6, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012052                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012053                            EndTime = new DateTime(2020, 7, 6, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012054                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012055                            IsDeleted = false,
 012056                            IsWorkingDay = true
 012057                        },
 012058                        new
 012059                        {
 012060                            Id = 51L,
 012061                            BeginTime = new DateTime(2020, 7, 7, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012062                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012063                            EndTime = new DateTime(2020, 7, 7, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012064                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012065                            IsDeleted = false,
 012066                            IsWorkingDay = true
 012067                        },
 012068                        new
 012069                        {
 012070                            Id = 52L,
 012071                            BeginTime = new DateTime(2020, 7, 8, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012072                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012073                            EndTime = new DateTime(2020, 7, 8, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012074                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012075                            IsDeleted = false,
 012076                            IsWorkingDay = true
 012077                        },
 012078                        new
 012079                        {
 012080                            Id = 53L,
 012081                            BeginTime = new DateTime(2020, 7, 9, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012082                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012083                            EndTime = new DateTime(2020, 7, 9, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012084                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012085                            IsDeleted = false,
 012086                            IsWorkingDay = true
 012087                        },
 012088                        new
 012089                        {
 012090                            Id = 54L,
 012091                            BeginTime = new DateTime(2020, 7, 10, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012092                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012093                            EndTime = new DateTime(2020, 7, 10, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012094                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012095                            IsDeleted = false,
 012096                            IsWorkingDay = true
 012097                        },
 012098                        new
 012099                        {
 012100                            Id = 55L,
 012101                            BeginTime = new DateTime(2020, 7, 11, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012102                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012103                            EndTime = new DateTime(2020, 7, 11, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012104                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012105                            IsDeleted = false,
 012106                            IsWorkingDay = false
 012107                        },
 012108                        new
 012109                        {
 012110                            Id = 56L,
 012111                            BeginTime = new DateTime(2020, 7, 12, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012112                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012113                            EndTime = new DateTime(2020, 7, 12, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012114                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012115                            IsDeleted = false,
 012116                            IsWorkingDay = false
 012117                        },
 012118                        new
 012119                        {
 012120                            Id = 57L,
 012121                            BeginTime = new DateTime(2020, 7, 13, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012122                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012123                            EndTime = new DateTime(2020, 7, 13, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012124                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012125                            IsDeleted = false,
 012126                            IsWorkingDay = true
 012127                        },
 012128                        new
 012129                        {
 012130                            Id = 58L,
 012131                            BeginTime = new DateTime(2020, 7, 14, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012132                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012133                            EndTime = new DateTime(2020, 7, 14, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012134                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012135                            IsDeleted = false,
 012136                            IsWorkingDay = true
 012137                        },
 012138                        new
 012139                        {
 012140                            Id = 59L,
 012141                            BeginTime = new DateTime(2020, 7, 15, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012142                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012143                            EndTime = new DateTime(2020, 7, 15, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012144                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012145                            IsDeleted = false,
 012146                            IsWorkingDay = true
 012147                        },
 012148                        new
 012149                        {
 012150                            Id = 60L,
 012151                            BeginTime = new DateTime(2020, 7, 16, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012152                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012153                            EndTime = new DateTime(2020, 7, 16, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012154                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012155                            IsDeleted = false,
 012156                            IsWorkingDay = true
 012157                        },
 012158                        new
 012159                        {
 012160                            Id = 61L,
 012161                            BeginTime = new DateTime(2020, 7, 17, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012162                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012163                            EndTime = new DateTime(2020, 7, 17, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012164                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012165                            IsDeleted = false,
 012166                            IsWorkingDay = true
 012167                        },
 012168                        new
 012169                        {
 012170                            Id = 62L,
 012171                            BeginTime = new DateTime(2020, 7, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012172                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012173                            EndTime = new DateTime(2020, 7, 18, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012174                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012175                            IsDeleted = false,
 012176                            IsWorkingDay = false
 012177                        },
 012178                        new
 012179                        {
 012180                            Id = 63L,
 012181                            BeginTime = new DateTime(2020, 7, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012182                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012183                            EndTime = new DateTime(2020, 7, 19, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012184                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012185                            IsDeleted = false,
 012186                            IsWorkingDay = false
 012187                        },
 012188                        new
 012189                        {
 012190                            Id = 64L,
 012191                            BeginTime = new DateTime(2020, 7, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012192                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012193                            EndTime = new DateTime(2020, 7, 20, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012194                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012195                            IsDeleted = false,
 012196                            IsWorkingDay = true
 012197                        },
 012198                        new
 012199                        {
 012200                            Id = 65L,
 012201                            BeginTime = new DateTime(2020, 7, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012202                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012203                            EndTime = new DateTime(2020, 7, 21, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012204                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012205                            IsDeleted = false,
 012206                            IsWorkingDay = true
 012207                        },
 012208                        new
 012209                        {
 012210                            Id = 66L,
 012211                            BeginTime = new DateTime(2020, 7, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012212                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012213                            EndTime = new DateTime(2020, 7, 22, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012214                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012215                            IsDeleted = false,
 012216                            IsWorkingDay = true
 012217                        },
 012218                        new
 012219                        {
 012220                            Id = 67L,
 012221                            BeginTime = new DateTime(2020, 7, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012222                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012223                            EndTime = new DateTime(2020, 7, 23, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012224                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012225                            IsDeleted = false,
 012226                            IsWorkingDay = true
 012227                        },
 012228                        new
 012229                        {
 012230                            Id = 68L,
 012231                            BeginTime = new DateTime(2020, 7, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012232                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012233                            EndTime = new DateTime(2020, 7, 24, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012234                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012235                            IsDeleted = false,
 012236                            IsWorkingDay = true
 012237                        },
 012238                        new
 012239                        {
 012240                            Id = 69L,
 012241                            BeginTime = new DateTime(2020, 7, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012242                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012243                            EndTime = new DateTime(2020, 7, 25, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012244                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012245                            IsDeleted = false,
 012246                            IsWorkingDay = false
 012247                        },
 012248                        new
 012249                        {
 012250                            Id = 70L,
 012251                            BeginTime = new DateTime(2020, 7, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012252                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012253                            EndTime = new DateTime(2020, 7, 26, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012254                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012255                            IsDeleted = false,
 012256                            IsWorkingDay = false
 012257                        },
 012258                        new
 012259                        {
 012260                            Id = 71L,
 012261                            BeginTime = new DateTime(2020, 7, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012262                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012263                            EndTime = new DateTime(2020, 7, 27, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012264                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012265                            IsDeleted = false,
 012266                            IsWorkingDay = true
 012267                        },
 012268                        new
 012269                        {
 012270                            Id = 72L,
 012271                            BeginTime = new DateTime(2020, 7, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012272                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012273                            EndTime = new DateTime(2020, 7, 28, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012274                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012275                            IsDeleted = false,
 012276                            IsWorkingDay = true
 012277                        },
 012278                        new
 012279                        {
 012280                            Id = 73L,
 012281                            BeginTime = new DateTime(2020, 7, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012282                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012283                            EndTime = new DateTime(2020, 7, 29, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012284                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012285                            IsDeleted = false,
 012286                            IsWorkingDay = true
 012287                        },
 012288                        new
 012289                        {
 012290                            Id = 74L,
 012291                            BeginTime = new DateTime(2020, 7, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012292                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012293                            EndTime = new DateTime(2020, 7, 30, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012294                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012295                            IsDeleted = false,
 012296                            IsWorkingDay = true
 012297                        },
 012298                        new
 012299                        {
 012300                            Id = 75L,
 012301                            BeginTime = new DateTime(2020, 7, 31, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012302                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012303                            EndTime = new DateTime(2020, 7, 31, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012304                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012305                            IsDeleted = false,
 012306                            IsWorkingDay = true
 012307                        },
 012308                        new
 012309                        {
 012310                            Id = 76L,
 012311                            BeginTime = new DateTime(2020, 8, 1, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012312                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012313                            EndTime = new DateTime(2020, 8, 1, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012314                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012315                            IsDeleted = false,
 012316                            IsWorkingDay = false
 012317                        },
 012318                        new
 012319                        {
 012320                            Id = 77L,
 012321                            BeginTime = new DateTime(2020, 8, 2, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012322                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012323                            EndTime = new DateTime(2020, 8, 2, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012324                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012325                            IsDeleted = false,
 012326                            IsWorkingDay = false
 012327                        },
 012328                        new
 012329                        {
 012330                            Id = 78L,
 012331                            BeginTime = new DateTime(2020, 8, 3, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012332                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012333                            EndTime = new DateTime(2020, 8, 3, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012334                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012335                            IsDeleted = false,
 012336                            IsWorkingDay = true
 012337                        },
 012338                        new
 012339                        {
 012340                            Id = 79L,
 012341                            BeginTime = new DateTime(2020, 8, 4, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012342                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012343                            EndTime = new DateTime(2020, 8, 4, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012344                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012345                            IsDeleted = false,
 012346                            IsWorkingDay = true
 012347                        },
 012348                        new
 012349                        {
 012350                            Id = 80L,
 012351                            BeginTime = new DateTime(2020, 8, 5, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012352                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012353                            EndTime = new DateTime(2020, 8, 5, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012354                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012355                            IsDeleted = false,
 012356                            IsWorkingDay = true
 012357                        },
 012358                        new
 012359                        {
 012360                            Id = 81L,
 012361                            BeginTime = new DateTime(2020, 8, 6, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012362                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012363                            EndTime = new DateTime(2020, 8, 6, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012364                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012365                            IsDeleted = false,
 012366                            IsWorkingDay = true
 012367                        },
 012368                        new
 012369                        {
 012370                            Id = 82L,
 012371                            BeginTime = new DateTime(2020, 8, 7, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012372                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012373                            EndTime = new DateTime(2020, 8, 7, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012374                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012375                            IsDeleted = false,
 012376                            IsWorkingDay = true
 012377                        },
 012378                        new
 012379                        {
 012380                            Id = 83L,
 012381                            BeginTime = new DateTime(2020, 8, 8, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012382                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012383                            EndTime = new DateTime(2020, 8, 8, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012384                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012385                            IsDeleted = false,
 012386                            IsWorkingDay = false
 012387                        },
 012388                        new
 012389                        {
 012390                            Id = 84L,
 012391                            BeginTime = new DateTime(2020, 8, 9, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012392                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012393                            EndTime = new DateTime(2020, 8, 9, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012394                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012395                            IsDeleted = false,
 012396                            IsWorkingDay = false
 012397                        },
 012398                        new
 012399                        {
 012400                            Id = 85L,
 012401                            BeginTime = new DateTime(2020, 8, 10, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012402                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012403                            EndTime = new DateTime(2020, 8, 10, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012404                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012405                            IsDeleted = false,
 012406                            IsWorkingDay = true
 012407                        },
 012408                        new
 012409                        {
 012410                            Id = 86L,
 012411                            BeginTime = new DateTime(2020, 8, 11, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012412                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012413                            EndTime = new DateTime(2020, 8, 11, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012414                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012415                            IsDeleted = false,
 012416                            IsWorkingDay = true
 012417                        },
 012418                        new
 012419                        {
 012420                            Id = 87L,
 012421                            BeginTime = new DateTime(2020, 8, 12, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012422                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012423                            EndTime = new DateTime(2020, 8, 12, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012424                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012425                            IsDeleted = false,
 012426                            IsWorkingDay = true
 012427                        },
 012428                        new
 012429                        {
 012430                            Id = 88L,
 012431                            BeginTime = new DateTime(2020, 8, 13, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012432                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012433                            EndTime = new DateTime(2020, 8, 13, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012434                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012435                            IsDeleted = false,
 012436                            IsWorkingDay = true
 012437                        },
 012438                        new
 012439                        {
 012440                            Id = 89L,
 012441                            BeginTime = new DateTime(2020, 8, 14, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012442                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012443                            EndTime = new DateTime(2020, 8, 14, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012444                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012445                            IsDeleted = false,
 012446                            IsWorkingDay = true
 012447                        },
 012448                        new
 012449                        {
 012450                            Id = 90L,
 012451                            BeginTime = new DateTime(2020, 8, 15, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012452                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012453                            EndTime = new DateTime(2020, 8, 15, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012454                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012455                            IsDeleted = false,
 012456                            IsWorkingDay = false
 012457                        },
 012458                        new
 012459                        {
 012460                            Id = 91L,
 012461                            BeginTime = new DateTime(2020, 8, 16, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012462                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012463                            EndTime = new DateTime(2020, 8, 16, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012464                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012465                            IsDeleted = false,
 012466                            IsWorkingDay = false
 012467                        },
 012468                        new
 012469                        {
 012470                            Id = 92L,
 012471                            BeginTime = new DateTime(2020, 8, 17, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012472                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012473                            EndTime = new DateTime(2020, 8, 17, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012474                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012475                            IsDeleted = false,
 012476                            IsWorkingDay = true
 012477                        },
 012478                        new
 012479                        {
 012480                            Id = 93L,
 012481                            BeginTime = new DateTime(2020, 8, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012482                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012483                            EndTime = new DateTime(2020, 8, 18, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012484                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012485                            IsDeleted = false,
 012486                            IsWorkingDay = true
 012487                        },
 012488                        new
 012489                        {
 012490                            Id = 94L,
 012491                            BeginTime = new DateTime(2020, 8, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012492                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012493                            EndTime = new DateTime(2020, 8, 19, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012494                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012495                            IsDeleted = false,
 012496                            IsWorkingDay = true
 012497                        },
 012498                        new
 012499                        {
 012500                            Id = 95L,
 012501                            BeginTime = new DateTime(2020, 8, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012502                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012503                            EndTime = new DateTime(2020, 8, 20, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012504                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012505                            IsDeleted = false,
 012506                            IsWorkingDay = true
 012507                        },
 012508                        new
 012509                        {
 012510                            Id = 96L,
 012511                            BeginTime = new DateTime(2020, 8, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012512                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012513                            EndTime = new DateTime(2020, 8, 21, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012514                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012515                            IsDeleted = false,
 012516                            IsWorkingDay = true
 012517                        },
 012518                        new
 012519                        {
 012520                            Id = 97L,
 012521                            BeginTime = new DateTime(2020, 8, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012522                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012523                            EndTime = new DateTime(2020, 8, 22, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012524                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012525                            IsDeleted = false,
 012526                            IsWorkingDay = false
 012527                        },
 012528                        new
 012529                        {
 012530                            Id = 98L,
 012531                            BeginTime = new DateTime(2020, 8, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012532                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012533                            EndTime = new DateTime(2020, 8, 23, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012534                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012535                            IsDeleted = false,
 012536                            IsWorkingDay = false
 012537                        },
 012538                        new
 012539                        {
 012540                            Id = 99L,
 012541                            BeginTime = new DateTime(2020, 8, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012542                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012543                            EndTime = new DateTime(2020, 8, 24, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012544                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012545                            IsDeleted = false,
 012546                            IsWorkingDay = true
 012547                        },
 012548                        new
 012549                        {
 012550                            Id = 100L,
 012551                            BeginTime = new DateTime(2020, 8, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012552                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012553                            EndTime = new DateTime(2020, 8, 25, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012554                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012555                            IsDeleted = false,
 012556                            IsWorkingDay = true
 012557                        },
 012558                        new
 012559                        {
 012560                            Id = 101L,
 012561                            BeginTime = new DateTime(2020, 8, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012562                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012563                            EndTime = new DateTime(2020, 8, 26, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012564                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012565                            IsDeleted = false,
 012566                            IsWorkingDay = true
 012567                        },
 012568                        new
 012569                        {
 012570                            Id = 102L,
 012571                            BeginTime = new DateTime(2020, 8, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012572                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012573                            EndTime = new DateTime(2020, 8, 27, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012574                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012575                            IsDeleted = false,
 012576                            IsWorkingDay = true
 012577                        },
 012578                        new
 012579                        {
 012580                            Id = 103L,
 012581                            BeginTime = new DateTime(2020, 8, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012582                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012583                            EndTime = new DateTime(2020, 8, 28, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012584                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012585                            IsDeleted = false,
 012586                            IsWorkingDay = true
 012587                        },
 012588                        new
 012589                        {
 012590                            Id = 104L,
 012591                            BeginTime = new DateTime(2020, 8, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012592                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012593                            EndTime = new DateTime(2020, 8, 29, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012594                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012595                            IsDeleted = false,
 012596                            IsWorkingDay = false
 012597                        },
 012598                        new
 012599                        {
 012600                            Id = 105L,
 012601                            BeginTime = new DateTime(2020, 8, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012602                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012603                            EndTime = new DateTime(2020, 8, 30, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012604                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012605                            IsDeleted = false,
 012606                            IsWorkingDay = false
 012607                        },
 012608                        new
 012609                        {
 012610                            Id = 106L,
 012611                            BeginTime = new DateTime(2020, 8, 31, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012612                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012613                            EndTime = new DateTime(2020, 8, 31, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012614                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012615                            IsDeleted = false,
 012616                            IsWorkingDay = true
 012617                        });
 012618                });
 12619
 012620            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", b =>
 012621                {
 012622                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012623                        .WithMany()
 012624                        .HasForeignKey("CreatedByUserId");
 012625
 012626                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012627                        .WithMany()
 012628                        .HasForeignKey("ModifiedByUserId");
 012629
 012630                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012631                        .WithMany()
 012632                        .HasForeignKey("RecStateId");
 012633                });
 12634
 012635            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BankAccount", b =>
 012636                {
 012637                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 012638                        .WithMany("BankAccounts")
 012639                        .HasForeignKey("ContragentId");
 012640
 012641                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012642                        .WithMany()
 012643                        .HasForeignKey("CreatedByUserId");
 012644
 012645                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012646                        .WithMany()
 012647                        .HasForeignKey("ModifiedByUserId");
 012648
 012649                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012650                        .WithMany()
 012651                        .HasForeignKey("RecStateId");
 012652                });
 12653
 012654            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BarCode", b =>
 012655                {
 012656                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012657                        .WithMany()
 012658                        .HasForeignKey("CreatedByUserId");
 012659
 012660                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", null)
 012661                        .WithMany("Barcodes")
 012662                        .HasForeignKey("GoodId");
 012663
 012664                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012665                        .WithMany()
 012666                        .HasForeignKey("ModifiedByUserId");
 012667
 012668                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012669                        .WithMany()
 012670                        .HasForeignKey("RecStateId");
 012671                });
 12672
 012673            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", b =>
 012674                {
 012675                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012676                        .WithMany()
 012677                        .HasForeignKey("CreatedByUserId");
 012678
 012679                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012680                        .WithMany()
 012681                        .HasForeignKey("ModifiedByUserId");
 012682
 012683                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "Parent")
 012684                        .WithMany()
 012685                        .HasForeignKey("ParentId");
 012686
 012687                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012688                        .WithMany()
 012689                        .HasForeignKey("RecStateId");
 012690                });
 12691
 012692            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", b =>
 012693                {
 012694                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012695                        .WithMany()
 012696                        .HasForeignKey("CreatedByUserId");
 012697
 012698                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012699                        .WithMany()
 012700                        .HasForeignKey("ModifiedByUserId");
 012701
 012702                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Parent")
 012703                        .WithMany()
 012704                        .HasForeignKey("ParentId");
 012705
 012706                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012707                        .WithMany()
 012708                        .HasForeignKey("RecStateId");
 012709                });
 12710
 012711            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Cluster", b =>
 012712                {
 012713                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012714                        .WithMany()
 012715                        .HasForeignKey("CreatedByUserId");
 012716
 012717                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012718                        .WithMany()
 012719                        .HasForeignKey("ModifiedByUserId");
 012720
 012721                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012722                        .WithMany()
 012723                        .HasForeignKey("RecStateId");
 012724
 012725                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Warehouse")
 012726                        .WithMany()
 012727                        .HasForeignKey("WarehouseId")
 012728                        .OnDelete(DeleteBehavior.Cascade)
 012729                        .IsRequired();
 012730                });
 12731
 012732            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Configuration", b =>
 012733                {
 012734                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012735                        .WithMany()
 012736                        .HasForeignKey("CreatedByUserId");
 012737
 012738                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012739                        .WithMany()
 012740                        .HasForeignKey("ModifiedByUserId");
 012741
 012742                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012743                        .WithMany()
 012744                        .HasForeignKey("RecStateId");
 012745
 012746                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.ConfigurationsDataType", "ValueType")
 012747                        .WithMany()
 012748                        .HasForeignKey("ValueTypeId")
 012749                        .OnDelete(DeleteBehavior.Cascade)
 012750                        .IsRequired();
 012751                });
 12752
 012753            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ConfigurationsDataType", b =>
 012754                {
 012755                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012756                        .WithMany()
 012757                        .HasForeignKey("CreatedByUserId");
 012758
 012759                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012760                        .WithMany()
 012761                        .HasForeignKey("ModifiedByUserId");
 012762
 012763                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012764                        .WithMany()
 012765                        .HasForeignKey("RecStateId");
 012766                });
 12767
 012768            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", b =>
 012769                {
 012770                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.ContragentsKind", "ContragentsKind")
 012771                        .WithMany()
 012772                        .HasForeignKey("ContragentsKindId")
 012773                        .OnDelete(DeleteBehavior.Cascade)
 012774                        .IsRequired();
 012775
 012776                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012777                        .WithMany()
 012778                        .HasForeignKey("CreatedByUserId");
 012779
 012780                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "JuridicAddress")
 012781                        .WithMany()
 012782                        .HasForeignKey("JuridicAddressId")
 012783                        .OnDelete(DeleteBehavior.Cascade)
 012784                        .IsRequired();
 012785
 012786                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012787                        .WithMany()
 012788                        .HasForeignKey("ModifiedByUserId");
 012789
 012790                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "Owner")
 012791                        .WithMany()
 012792                        .HasForeignKey("OwnerId")
 012793                        .OnDelete(DeleteBehavior.Cascade)
 012794                        .IsRequired();
 012795
 012796                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "PhysicAddress")
 012797                        .WithMany()
 012798                        .HasForeignKey("PhysicAddressId")
 012799                        .OnDelete(DeleteBehavior.Cascade)
 012800                        .IsRequired();
 012801
 012802                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012803                        .WithMany()
 012804                        .HasForeignKey("RecStateId");
 012805
 012806                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", "TaxSystem")
 012807                        .WithMany()
 012808                        .HasForeignKey("TaxSystemId");
 012809                });
 12810
 012811            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ContragentsKind", b =>
 012812                {
 012813                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012814                        .WithMany()
 012815                        .HasForeignKey("CreatedByUserId");
 012816
 012817                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012818                        .WithMany()
 012819                        .HasForeignKey("ModifiedByUserId");
 012820
 012821                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012822                        .WithMany()
 012823                        .HasForeignKey("RecStateId");
 012824                });
 12825
 012826            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ControlAccess", b =>
 012827                {
 012828                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", "Action")
 012829                        .WithMany()
 012830                        .HasForeignKey("ActionId")
 012831                        .OnDelete(DeleteBehavior.Cascade)
 012832                        .IsRequired();
 012833
 012834                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012835                        .WithMany()
 012836                        .HasForeignKey("CreatedByUserId");
 012837
 012838                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012839                        .WithMany()
 012840                        .HasForeignKey("ModifiedByUserId");
 012841
 012842                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012843                        .WithMany()
 012844                        .HasForeignKey("RecStateId");
 012845
 012846                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Role")
 012847                        .WithMany("ControlsAccess")
 012848                        .HasForeignKey("RoleId")
 012849                        .OnDelete(DeleteBehavior.Cascade)
 012850                        .IsRequired();
 012851                });
 12852
 012853            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", b =>
 012854                {
 012855                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012856                        .WithMany()
 012857                        .HasForeignKey("CreatedByUserId");
 012858
 012859                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012860                        .WithMany()
 012861                        .HasForeignKey("ModifiedByUserId");
 012862
 012863                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012864                        .WithMany()
 012865                        .HasForeignKey("RecStateId");
 012866                });
 12867
 012868            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Currency", b =>
 012869                {
 012870                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012871                        .WithMany()
 012872                        .HasForeignKey("CreatedByUserId");
 012873
 012874                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012875                        .WithMany()
 012876                        .HasForeignKey("ModifiedByUserId");
 012877
 012878                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012879                        .WithMany()
 012880                        .HasForeignKey("RecStateId");
 012881                });
 12882
 012883            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", b =>
 012884                {
 012885                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "ActualAddress")
 012886                        .WithMany()
 012887                        .HasForeignKey("ActualAddressId");
 012888
 012889                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Cluster", "Cluster")
 012890                        .WithMany("Departments")
 012891                        .HasForeignKey("ClusterId");
 012892
 012893                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 012894                        .WithMany("Departments")
 012895                        .HasForeignKey("ContragentId")
 012896                        .OnDelete(DeleteBehavior.Cascade)
 012897                        .IsRequired();
 012898
 012899                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012900                        .WithMany()
 012901                        .HasForeignKey("CreatedByUserId");
 012902
 012903                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", "Kind")
 012904                        .WithMany()
 012905                        .HasForeignKey("KindId");
 012906
 012907                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012908                        .WithMany()
 012909                        .HasForeignKey("ModifiedByUserId");
 012910
 012911                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012912                        .WithMany()
 012913                        .HasForeignKey("RecStateId");
 012914
 012915                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsStatus", "Status")
 012916                        .WithMany()
 012917                        .HasForeignKey("StatusId");
 012918                });
 12919
 012920            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentCategoryRatio", b =>
 012921                {
 012922                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Category")
 012923                        .WithMany("DepartmentCategoryRatios")
 012924                        .HasForeignKey("CategoryId")
 012925                        .OnDelete(DeleteBehavior.Cascade)
 012926                        .IsRequired();
 012927
 012928                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012929                        .WithMany()
 012930                        .HasForeignKey("CreatedByUserId");
 012931
 012932                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 012933                        .WithMany()
 012934                        .HasForeignKey("DepartmentId")
 012935                        .OnDelete(DeleteBehavior.Cascade)
 012936                        .IsRequired();
 012937
 012938                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012939                        .WithMany()
 012940                        .HasForeignKey("ModifiedByUserId");
 012941
 012942                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012943                        .WithMany()
 012944                        .HasForeignKey("RecStateId");
 012945                });
 12946
 012947            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentGoodSetting", b =>
 012948                {
 012949                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012950                        .WithMany()
 012951                        .HasForeignKey("CreatedByUserId");
 012952
 012953                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 012954                        .WithMany()
 012955                        .HasForeignKey("DepartmentId")
 012956                        .OnDelete(DeleteBehavior.Cascade)
 012957                        .IsRequired();
 012958
 012959                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 012960                        .WithMany("DepartmentGoodSettings")
 012961                        .HasForeignKey("GoodId")
 012962                        .OnDelete(DeleteBehavior.Cascade)
 012963                        .IsRequired();
 012964
 012965                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012966                        .WithMany()
 012967                        .HasForeignKey("ModifiedByUserId");
 012968
 012969                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012970                        .WithMany()
 012971                        .HasForeignKey("RecStateId");
 012972                });
 12973
 012974            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", b =>
 012975                {
 012976                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012977                        .WithMany()
 012978                        .HasForeignKey("CreatedByUserId");
 012979
 012980                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012981                        .WithMany()
 012982                        .HasForeignKey("ModifiedByUserId");
 012983
 012984                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012985                        .WithMany()
 012986                        .HasForeignKey("RecStateId");
 012987                });
 12988
 012989            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsStatus", b =>
 012990                {
 012991                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012992                        .WithMany()
 012993                        .HasForeignKey("CreatedByUserId");
 012994
 012995                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012996                        .WithMany()
 012997                        .HasForeignKey("ModifiedByUserId");
 012998
 012999                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013000                        .WithMany()
 013001                        .HasForeignKey("RecStateId");
 013002                });
 13003
 013004            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DiscountColor", b =>
 013005                {
 013006                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013007                        .WithMany()
 013008                        .HasForeignKey("CreatedByUserId");
 013009
 013010                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013011                        .WithMany()
 013012                        .HasForeignKey("ModifiedByUserId");
 013013
 013014                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013015                        .WithMany()
 013016                        .HasForeignKey("RecStateId");
 013017                });
 13018
 013019            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Email", b =>
 013020                {
 013021                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013022                        .WithMany()
 013023                        .HasForeignKey("CreatedByUserId");
 013024
 013025                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013026                        .WithMany()
 013027                        .HasForeignKey("ModifiedByUserId");
 013028
 013029                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013030                        .WithMany()
 013031                        .HasForeignKey("RecStateId");
 013032                });
 13033
 013034            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Event", b =>
 013035                {
 013036                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013037                        .WithMany()
 013038                        .HasForeignKey("CreatedByUserId");
 013039
 013040                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", "EventsKind")
 013041                        .WithMany()
 013042                        .HasForeignKey("EventsKindId")
 013043                        .OnDelete(DeleteBehavior.Cascade)
 013044                        .IsRequired();
 013045
 013046                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013047                        .WithMany()
 013048                        .HasForeignKey("ModifiedByUserId");
 013049
 013050                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013051                        .WithMany()
 013052                        .HasForeignKey("RecStateId");
 013053
 013054                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013055                        .WithMany()
 013056                        .HasForeignKey("UserId")
 013057                        .OnDelete(DeleteBehavior.Cascade)
 013058                        .IsRequired();
 013059                });
 13060
 013061            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", b =>
 013062                {
 013063                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013064                        .WithMany()
 013065                        .HasForeignKey("CreatedByUserId");
 013066
 013067                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013068                        .WithMany()
 013069                        .HasForeignKey("ModifiedByUserId");
 013070
 013071                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013072                        .WithMany()
 013073                        .HasForeignKey("RecStateId");
 013074                });
 13075
 013076            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ExchangeToken", b =>
 013077                {
 013078                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 013079                        .WithMany()
 013080                        .HasForeignKey("ContragentId")
 013081                        .OnDelete(DeleteBehavior.Cascade)
 013082                        .IsRequired();
 013083
 013084                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013085                        .WithMany()
 013086                        .HasForeignKey("CreatedByUserId");
 013087
 013088                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013089                        .WithMany()
 013090                        .HasForeignKey("ModifiedByUserId");
 013091
 013092                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013093                        .WithMany()
 013094                        .HasForeignKey("RecStateId");
 013095                });
 13096
 013097            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", b =>
 013098                {
 013099                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013100                        .WithMany()
 013101                        .HasForeignKey("CreatedByUserId");
 013102
 013103                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013104                        .WithMany()
 013105                        .HasForeignKey("ModifiedByUserId");
 013106
 013107                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013108                        .WithMany()
 013109                        .HasForeignKey("RecStateId");
 013110                });
 13111
 013112            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", b =>
 013113                {
 013114                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "Brand")
 013115                        .WithMany()
 013116                        .HasForeignKey("BrandId");
 013117
 013118                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Category")
 013119                        .WithMany()
 013120                        .HasForeignKey("CategoryId")
 013121                        .OnDelete(DeleteBehavior.Cascade)
 013122                        .IsRequired();
 013123
 013124                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", "Country")
 013125                        .WithMany()
 013126                        .HasForeignKey("CountryId");
 013127
 013128                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013129                        .WithMany()
 013130                        .HasForeignKey("CreatedByUserId");
 013131
 013132                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.BarCode", "MainBarcode")
 013133                        .WithMany()
 013134                        .HasForeignKey("MainBarcodeId")
 013135                        .OnDelete(DeleteBehavior.Cascade)
 013136                        .IsRequired();
 013137
 013138                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Manufacturer")
 013139                        .WithMany()
 013140                        .HasForeignKey("ManufacturerId");
 013141
 013142                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013143                        .WithMany()
 013144                        .HasForeignKey("ModifiedByUserId");
 013145
 013146                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013147                        .WithMany()
 013148                        .HasForeignKey("RecStateId");
 013149
 013150                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "SubBrand")
 013151                        .WithMany()
 013152                        .HasForeignKey("SubBrandId");
 013153
 013154                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Supplier")
 013155                        .WithMany()
 013156                        .HasForeignKey("SupplierId");
 013157
 013158                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", "UnitsKind")
 013159                        .WithMany()
 013160                        .HasForeignKey("UnitsKindId")
 013161                        .OnDelete(DeleteBehavior.Cascade)
 013162                        .IsRequired();
 013163
 013164                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", "VatsKind")
 013165                        .WithMany()
 013166                        .HasForeignKey("VatsKindId")
 013167                        .OnDelete(DeleteBehavior.Cascade)
 013168                        .IsRequired();
 013169                });
 13170
 013171            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Incident", b =>
 013172                {
 013173                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013174                        .WithMany()
 013175                        .HasForeignKey("CreatedByUserId");
 013176
 013177                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsKind", "Kind")
 013178                        .WithMany()
 013179                        .HasForeignKey("KindId");
 013180
 013181                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013182                        .WithMany()
 013183                        .HasForeignKey("ModifiedByUserId");
 013184
 013185                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013186                        .WithMany()
 013187                        .HasForeignKey("RecStateId");
 013188
 013189                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", "Status")
 013190                        .WithMany()
 013191                        .HasForeignKey("StatusId");
 013192
 013193                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013194                        .WithMany()
 013195                        .HasForeignKey("UserId")
 013196                        .OnDelete(DeleteBehavior.Cascade)
 013197                        .IsRequired();
 013198                });
 13199
 013200            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsKind", b =>
 013201                {
 013202                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013203                        .WithMany()
 013204                        .HasForeignKey("CreatedByUserId");
 013205
 013206                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013207                        .WithMany()
 013208                        .HasForeignKey("ModifiedByUserId");
 013209
 013210                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013211                        .WithMany()
 013212                        .HasForeignKey("RecStateId");
 013213                });
 13214
 013215            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", b =>
 013216                {
 013217                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013218                        .WithMany()
 013219                        .HasForeignKey("CreatedByUserId");
 013220
 013221                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013222                        .WithMany()
 013223                        .HasForeignKey("ModifiedByUserId");
 013224
 013225                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013226                        .WithMany()
 013227                        .HasForeignKey("RecStateId");
 013228                });
 13229
 013230            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.JobLogger", b =>
 013231                {
 013232                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013233                        .WithMany()
 013234                        .HasForeignKey("CreatedByUserId");
 013235
 013236                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013237                        .WithMany()
 013238                        .HasForeignKey("ModifiedByUserId");
 013239
 013240                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013241                        .WithMany()
 013242                        .HasForeignKey("RecStateId");
 013243                });
 13244
 013245            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MethodRole", b =>
 013246                {
 013247                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", "Methods")
 013248                        .WithMany("MethodsRoles")
 013249                        .HasForeignKey("MethodId")
 013250                        .OnDelete(DeleteBehavior.Cascade)
 013251                        .IsRequired();
 013252
 013253                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Roles")
 013254                        .WithMany("MethodsRoles")
 013255                        .HasForeignKey("RoleId")
 013256                        .OnDelete(DeleteBehavior.Cascade)
 013257                        .IsRequired();
 013258                });
 13259
 013260            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", b =>
 013261                {
 013262                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013263                        .WithMany()
 013264                        .HasForeignKey("CreatedByUserId");
 013265
 013266                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013267                        .WithMany()
 013268                        .HasForeignKey("ModifiedByUserId");
 013269
 013270                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013271                        .WithMany()
 013272                        .HasForeignKey("RecStateId");
 013273                });
 13274
 013275            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", b =>
 013276                {
 013277                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013278                        .WithMany()
 013279                        .HasForeignKey("CreatedByUserId");
 013280
 013281                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Customer")
 013282                        .WithMany()
 013283                        .HasForeignKey("CustomerId")
 013284                        .OnDelete(DeleteBehavior.Cascade)
 013285                        .IsRequired();
 013286
 013287                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013288                        .WithMany()
 013289                        .HasForeignKey("ModifiedByUserId");
 013290
 013291                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "MovementStatus")
 013292                        .WithMany()
 013293                        .HasForeignKey("MovementStatusId")
 013294                        .OnDelete(DeleteBehavior.Cascade)
 013295                        .IsRequired();
 013296
 013297                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", "MovementType")
 013298                        .WithMany()
 013299                        .HasForeignKey("MovementTypeId")
 013300                        .OnDelete(DeleteBehavior.Cascade)
 013301                        .IsRequired();
 013302
 013303                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Parent")
 013304                        .WithMany()
 013305                        .HasForeignKey("ParentId");
 013306
 013307                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013308                        .WithMany()
 013309                        .HasForeignKey("RecStateId");
 013310
 013311                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Receiver")
 013312                        .WithMany()
 013313                        .HasForeignKey("ReceiverId")
 013314                        .OnDelete(DeleteBehavior.Cascade)
 013315                        .IsRequired();
 013316
 013317                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Sender")
 013318                        .WithMany()
 013319                        .HasForeignKey("SenderId");
 013320
 013321                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Supplier")
 013322                        .WithMany()
 013323                        .HasForeignKey("SupplierId")
 013324                        .OnDelete(DeleteBehavior.Cascade)
 013325                        .IsRequired();
 013326                });
 13327
 013328            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementItem", b =>
 013329                {
 013330                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013331                        .WithMany()
 013332                        .HasForeignKey("CreatedByUserId");
 013333
 013334                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013335                        .WithMany()
 013336                        .HasForeignKey("GoodId")
 013337                        .OnDelete(DeleteBehavior.Cascade)
 013338                        .IsRequired();
 013339
 013340                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013341                        .WithMany()
 013342                        .HasForeignKey("ModifiedByUserId");
 013343
 013344                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", null)
 013345                        .WithMany("Items")
 013346                        .HasForeignKey("MovementId");
 013347
 013348                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013349                        .WithMany()
 013350                        .HasForeignKey("RecStateId");
 013351                });
 13352
 013353            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementNote", b =>
 013354                {
 013355                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013356                        .WithMany()
 013357                        .HasForeignKey("CreatedByUserId");
 013358
 013359                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013360                        .WithMany()
 013361                        .HasForeignKey("ModifiedByUserId");
 013362
 013363                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", null)
 013364                        .WithMany("Notes")
 013365                        .HasForeignKey("MovementId");
 013366
 013367                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013368                        .WithMany()
 013369                        .HasForeignKey("RecStateId");
 013370                });
 13371
 013372            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementRouteAction", b =>
 013373                {
 013374                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013375                        .WithMany()
 013376                        .HasForeignKey("CreatedByUserId");
 013377
 013378                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013379                        .WithMany()
 013380                        .HasForeignKey("ModifiedByUserId");
 013381
 013382                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", "OwnerAction")
 013383                        .WithMany()
 013384                        .HasForeignKey("OwnerActionId")
 013385                        .OnDelete(DeleteBehavior.Cascade)
 013386                        .IsRequired();
 013387
 013388                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013389                        .WithMany()
 013390                        .HasForeignKey("RecStateId");
 013391
 013392                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "Status")
 013393                        .WithMany()
 013394                        .HasForeignKey("StatusId")
 013395                        .OnDelete(DeleteBehavior.Cascade)
 013396                        .IsRequired();
 013397                });
 13398
 013399            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", b =>
 013400                {
 013401                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013402                        .WithMany()
 013403                        .HasForeignKey("CreatedByUserId");
 013404
 013405                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013406                        .WithMany()
 013407                        .HasForeignKey("ModifiedByUserId");
 013408
 013409                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", "MovementType")
 013410                        .WithMany()
 013411                        .HasForeignKey("MovementTypeId")
 013412                        .OnDelete(DeleteBehavior.Cascade)
 013413                        .IsRequired();
 013414
 013415                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013416                        .WithMany()
 013417                        .HasForeignKey("RecStateId");
 013418
 013419                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", "StatusOwner")
 013420                        .WithMany()
 013421                        .HasForeignKey("StatusOwnerId")
 013422                        .OnDelete(DeleteBehavior.Cascade)
 013423                        .IsRequired();
 013424                });
 13425
 013426            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusJournal", b =>
 013427                {
 013428                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013429                        .WithMany()
 013430                        .HasForeignKey("CreatedByUserId");
 013431
 013432                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013433                        .WithMany()
 013434                        .HasForeignKey("ModifiedByUserId");
 013435
 013436                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Movement")
 013437                        .WithMany()
 013438                        .HasForeignKey("MovementId");
 013439
 013440                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013441                        .WithMany()
 013442                        .HasForeignKey("RecStateId");
 013443
 013444                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusCurrent")
 013445                        .WithMany()
 013446                        .HasForeignKey("StatusCurrentId");
 013447                });
 13448
 013449            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", b =>
 013450                {
 013451                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013452                        .WithMany()
 013453                        .HasForeignKey("CreatedByUserId");
 013454
 013455                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013456                        .WithMany()
 013457                        .HasForeignKey("ModifiedByUserId");
 013458
 013459                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013460                        .WithMany()
 013461                        .HasForeignKey("RecStateId");
 013462                });
 13463
 013464            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusRoute", b =>
 013465                {
 013466                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013467                        .WithMany()
 013468                        .HasForeignKey("CreatedByUserId");
 013469
 013470                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013471                        .WithMany()
 013472                        .HasForeignKey("ModifiedByUserId");
 013473
 013474                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013475                        .WithMany()
 013476                        .HasForeignKey("RecStateId");
 013477
 013478                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusCurrent")
 013479                        .WithMany()
 013480                        .HasForeignKey("StatusCurrentId")
 013481                        .OnDelete(DeleteBehavior.Cascade)
 013482                        .IsRequired();
 013483
 013484                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusNext")
 013485                        .WithMany()
 013486                        .HasForeignKey("StatusNextId")
 013487                        .OnDelete(DeleteBehavior.Cascade)
 013488                        .IsRequired();
 013489                });
 13490
 013491            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", b =>
 013492                {
 013493                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013494                        .WithMany()
 013495                        .HasForeignKey("CreatedByUserId");
 013496
 013497                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013498                        .WithMany()
 013499                        .HasForeignKey("ModifiedByUserId");
 013500
 013501                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013502                        .WithMany()
 013503                        .HasForeignKey("RecStateId");
 013504                });
 13505
 013506            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", b =>
 013507                {
 013508                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013509                        .WithMany()
 013510                        .HasForeignKey("CreatedByUserId");
 013511
 013512                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013513                        .WithMany()
 013514                        .HasForeignKey("ModifiedByUserId");
 013515
 013516                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", "NotificationsType")
 013517                        .WithMany()
 013518                        .HasForeignKey("NotificationsTypeId")
 013519                        .OnDelete(DeleteBehavior.Cascade)
 013520                        .IsRequired();
 013521
 013522                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013523                        .WithMany()
 013524                        .HasForeignKey("RecStateId");
 013525
 013526                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013527                        .WithMany()
 013528                        .HasForeignKey("UserId")
 013529                        .OnDelete(DeleteBehavior.Cascade)
 013530                        .IsRequired();
 013531                });
 13532
 013533            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationUsers", b =>
 013534                {
 013535                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013536                        .WithMany()
 013537                        .HasForeignKey("CreatedByUserId");
 013538
 013539                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013540                        .WithMany()
 013541                        .HasForeignKey("ModifiedByUserId");
 013542
 013543                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", "Notification")
 013544                        .WithMany()
 013545                        .HasForeignKey("NotificationId")
 013546                        .OnDelete(DeleteBehavior.Cascade)
 013547                        .IsRequired();
 013548
 013549                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", "NotificationsStat
 013550                        .WithMany()
 013551                        .HasForeignKey("NotificationsStatusId");
 013552
 013553                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013554                        .WithMany()
 013555                        .HasForeignKey("RecStateId");
 013556
 013557                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013558                        .WithMany()
 013559                        .HasForeignKey("UserId");
 013560                });
 13561
 013562            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", b =>
 013563                {
 013564                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013565                        .WithMany()
 013566                        .HasForeignKey("CreatedByUserId");
 013567
 013568                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013569                        .WithMany()
 013570                        .HasForeignKey("ModifiedByUserId");
 013571
 013572                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013573                        .WithMany()
 013574                        .HasForeignKey("RecStateId");
 013575                });
 13576
 013577            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", b =>
 013578                {
 013579                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013580                        .WithMany()
 013581                        .HasForeignKey("CreatedByUserId");
 013582
 013583                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013584                        .WithMany()
 013585                        .HasForeignKey("ModifiedByUserId");
 013586
 013587                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013588                        .WithMany()
 013589                        .HasForeignKey("RecStateId");
 013590                });
 13591
 013592            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Photo", b =>
 013593                {
 013594                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013595                        .WithMany()
 013596                        .HasForeignKey("CreatedByUserId");
 013597
 013598                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", null)
 013599                        .WithMany("Photos")
 013600                        .HasForeignKey("GoodId");
 013601
 013602                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013603                        .WithMany()
 013604                        .HasForeignKey("ModifiedByUserId");
 013605
 013606                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013607                        .WithMany()
 013608                        .HasForeignKey("RecStateId");
 013609                });
 13610
 013611            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceCurrent", b =>
 013612                {
 013613                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013614                        .WithMany()
 013615                        .HasForeignKey("CreatedByUserId");
 013616
 013617                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013618                        .WithMany()
 013619                        .HasForeignKey("GoodId")
 013620                        .OnDelete(DeleteBehavior.Cascade)
 013621                        .IsRequired();
 013622
 013623                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013624                        .WithMany()
 013625                        .HasForeignKey("ModifiedByUserId");
 013626
 013627                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013628                        .WithMany()
 013629                        .HasForeignKey("RecStateId");
 013630
 013631                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 013632                        .WithMany()
 013633                        .HasForeignKey("SupplierDepartmentId")
 013634                        .OnDelete(DeleteBehavior.Cascade)
 013635                        .IsRequired();
 013636                });
 13637
 013638            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", b =>
 013639                {
 013640                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013641                        .WithMany()
 013642                        .HasForeignKey("CreatedByUserId");
 013643
 013644                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013645                        .WithMany()
 013646                        .HasForeignKey("ModifiedByUserId");
 013647
 013648                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013649                        .WithMany()
 013650                        .HasForeignKey("RecStateId");
 013651
 013652                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 013653                        .WithMany()
 013654                        .HasForeignKey("SupplierDepartmentId")
 013655                        .OnDelete(DeleteBehavior.Cascade)
 013656                        .IsRequired();
 013657                });
 13658
 013659            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrendDetail", b =>
 013660                {
 013661                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013662                        .WithMany()
 013663                        .HasForeignKey("CreatedByUserId");
 013664
 013665                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013666                        .WithMany("Prices")
 013667                        .HasForeignKey("GoodId")
 013668                        .OnDelete(DeleteBehavior.Cascade)
 013669                        .IsRequired();
 013670
 013671                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013672                        .WithMany()
 013673                        .HasForeignKey("ModifiedByUserId");
 013674
 013675                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", "PriceTrend")
 013676                        .WithMany("PriceTrendDetails")
 013677                        .HasForeignKey("PriceTrendId")
 013678                        .OnDelete(DeleteBehavior.Cascade)
 013679                        .IsRequired();
 013680
 013681                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013682                        .WithMany()
 013683                        .HasForeignKey("RecStateId");
 013684                });
 13685
 013686            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoBid", b =>
 013687                {
 013688                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013689                        .WithMany()
 013690                        .HasForeignKey("CreatedByUserId");
 013691
 013692                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "CustomerDepartment")
 013693                        .WithMany()
 013694                        .HasForeignKey("CustomerDepartmentId")
 013695                        .OnDelete(DeleteBehavior.Cascade)
 013696                        .IsRequired();
 013697
 013698                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013699                        .WithMany()
 013700                        .HasForeignKey("GoodId")
 013701                        .OnDelete(DeleteBehavior.Cascade)
 013702                        .IsRequired();
 013703
 013704                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013705                        .WithMany()
 013706                        .HasForeignKey("ModifiedByUserId");
 013707
 013708                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoOffer", "PromoOffer")
 013709                        .WithMany("Bids")
 013710                        .HasForeignKey("PromoOfferId")
 013711                        .OnDelete(DeleteBehavior.Cascade)
 013712                        .IsRequired();
 013713
 013714                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013715                        .WithMany()
 013716                        .HasForeignKey("RecStateId");
 013717                });
 13718
 013719            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoOffer", b =>
 013720                {
 013721                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013722                        .WithMany()
 013723                        .HasForeignKey("CreatedByUserId");
 013724
 013725                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013726                        .WithMany()
 013727                        .HasForeignKey("GoodId")
 013728                        .OnDelete(DeleteBehavior.Cascade)
 013729                        .IsRequired();
 013730
 013731                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013732                        .WithMany()
 013733                        .HasForeignKey("ModifiedByUserId");
 013734
 013735                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013736                        .WithMany()
 013737                        .HasForeignKey("RecStateId");
 013738
 013739                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 013740                        .WithMany()
 013741                        .HasForeignKey("SupplierDepartmentId")
 013742                        .OnDelete(DeleteBehavior.Cascade)
 013743                        .IsRequired();
 013744                });
 13745
 013746            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", b =>
 013747                {
 013748                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013749                        .WithMany()
 013750                        .HasForeignKey("CreatedByUserId");
 013751
 013752                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013753                        .WithMany()
 013754                        .HasForeignKey("ModifiedByUserId");
 013755
 013756                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013757                        .WithMany()
 013758                        .HasForeignKey("RecStateId");
 013759                });
 13760
 013761            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Rest", b =>
 013762                {
 013763                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013764                        .WithMany()
 013765                        .HasForeignKey("CreatedByUserId");
 013766
 013767                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 013768                        .WithMany()
 013769                        .HasForeignKey("DepartmentId")
 013770                        .OnDelete(DeleteBehavior.Cascade)
 013771                        .IsRequired();
 013772
 013773                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013774                        .WithMany("Rests")
 013775                        .HasForeignKey("GoodId")
 013776                        .OnDelete(DeleteBehavior.Cascade)
 013777                        .IsRequired();
 013778
 013779                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013780                        .WithMany()
 013781                        .HasForeignKey("ModifiedByUserId");
 013782
 013783                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013784                        .WithMany()
 013785                        .HasForeignKey("RecStateId");
 013786                });
 13787
 013788            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RestHold", b =>
 013789                {
 013790                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013791                        .WithMany()
 013792                        .HasForeignKey("CreatedByUserId");
 013793
 013794                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013795                        .WithMany()
 013796                        .HasForeignKey("GoodId")
 013797                        .OnDelete(DeleteBehavior.Cascade)
 013798                        .IsRequired();
 013799
 013800                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013801                        .WithMany()
 013802                        .HasForeignKey("ModifiedByUserId");
 013803
 013804                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Movement")
 013805                        .WithMany()
 013806                        .HasForeignKey("MovementId")
 013807                        .OnDelete(DeleteBehavior.Cascade)
 013808                        .IsRequired();
 013809
 013810                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013811                        .WithMany()
 013812                        .HasForeignKey("RecStateId");
 013813                });
 13814
 013815            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", b =>
 013816                {
 013817                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013818                        .WithMany()
 013819                        .HasForeignKey("CreatedByUserId");
 013820
 013821                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013822                        .WithMany()
 013823                        .HasForeignKey("ModifiedByUserId");
 013824
 013825                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013826                        .WithMany()
 013827                        .HasForeignKey("RecStateId");
 013828                });
 13829
 013830            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.SupplyContract", b =>
 013831                {
 013832                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Buyer")
 013833                        .WithMany("ContractsAsBuyer")
 013834                        .HasForeignKey("BuyerId")
 013835                        .OnDelete(DeleteBehavior.Cascade)
 013836                        .IsRequired();
 013837
 013838                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013839                        .WithMany()
 013840                        .HasForeignKey("CreatedByUserId");
 013841
 013842                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013843                        .WithMany()
 013844                        .HasForeignKey("ModifiedByUserId");
 013845
 013846                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013847                        .WithMany()
 013848                        .HasForeignKey("RecStateId");
 013849
 013850                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Seller")
 013851                        .WithMany("ContractsAsSeller")
 013852                        .HasForeignKey("SellerId")
 013853                        .OnDelete(DeleteBehavior.Cascade)
 013854                        .IsRequired();
 013855                });
 13856
 013857            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", b =>
 013858                {
 013859                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013860                        .WithMany()
 013861                        .HasForeignKey("CreatedByUserId");
 013862
 013863                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013864                        .WithMany()
 013865                        .HasForeignKey("ModifiedByUserId");
 013866
 013867                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013868                        .WithMany()
 013869                        .HasForeignKey("RecStateId");
 013870                });
 13871
 013872            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", b =>
 013873                {
 013874                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013875                        .WithMany()
 013876                        .HasForeignKey("CreatedByUserId");
 013877
 013878                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013879                        .WithMany()
 013880                        .HasForeignKey("ModifiedByUserId");
 013881
 013882                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013883                        .WithMany()
 013884                        .HasForeignKey("RecStateId");
 013885                });
 13886
 013887            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", b =>
 013888                {
 013889                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013890                        .WithMany()
 013891                        .HasForeignKey("CreatedByUserId");
 013892
 013893                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013894                        .WithMany()
 013895                        .HasForeignKey("ModifiedByUserId");
 013896
 013897                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013898                        .WithMany()
 013899                        .HasForeignKey("RecStateId");
 013900                });
 13901
 013902            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UploadItem", b =>
 013903                {
 013904                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013905                        .WithMany()
 013906                        .HasForeignKey("CreatedByUserId");
 013907
 013908                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013909                        .WithMany()
 013910                        .HasForeignKey("ModifiedByUserId");
 013911
 013912                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013913                        .WithMany()
 013914                        .HasForeignKey("RecStateId");
 013915
 013916                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", null)
 013917                        .WithMany("Items")
 013918                        .HasForeignKey("UploadId")
 013919                        .OnDelete(DeleteBehavior.Cascade)
 013920                        .IsRequired();
 013921                });
 13922
 013923            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", b =>
 013924                {
 013925                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 013926                        .WithMany("User")
 013927                        .HasForeignKey("ContragentId");
 013928
 013929                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013930                        .WithMany()
 013931                        .HasForeignKey("CreatedByUserId");
 013932
 013933                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013934                        .WithMany()
 013935                        .HasForeignKey("ModifiedByUserId");
 013936
 013937                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013938                        .WithMany()
 013939                        .HasForeignKey("RecStateId");
 013940                });
 13941
 013942            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserDepartment", b =>
 013943                {
 013944                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 013945                        .WithMany("UsersDepartments")
 013946                        .HasForeignKey("DepartmentId")
 013947                        .OnDelete(DeleteBehavior.Cascade)
 013948                        .IsRequired();
 013949
 013950                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013951                        .WithMany("UsersDepartments")
 013952                        .HasForeignKey("UserId")
 013953                        .OnDelete(DeleteBehavior.Cascade)
 013954                        .IsRequired();
 013955                });
 13956
 013957            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserRole", b =>
 013958                {
 013959                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Roles")
 013960                        .WithMany("UsersRoles")
 013961                        .HasForeignKey("RoleId")
 013962                        .OnDelete(DeleteBehavior.Cascade)
 013963                        .IsRequired();
 013964
 013965                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013966                        .WithMany("UsersRoles")
 013967                        .HasForeignKey("UserId")
 013968                        .OnDelete(DeleteBehavior.Cascade)
 013969                        .IsRequired();
 013970                });
 13971
 013972            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", b =>
 013973                {
 013974                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013975                        .WithMany()
 013976                        .HasForeignKey("CreatedByUserId");
 013977
 013978                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013979                        .WithMany()
 013980                        .HasForeignKey("ModifiedByUserId");
 013981
 013982                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013983                        .WithMany()
 013984                        .HasForeignKey("RecStateId");
 013985                });
 13986
 013987            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransaction", b =>
 013988                {
 013989                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013990                        .WithMany()
 013991                        .HasForeignKey("CreatedByUserId");
 013992
 013993                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013994                        .WithMany()
 013995                        .HasForeignKey("ModifiedByUserId");
 013996
 013997                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Movement")
 013998                        .WithMany()
 013999                        .HasForeignKey("MovementId");
 014000
 014001                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014002                        .WithMany()
 014003                        .HasForeignKey("RecStateId");
 014004
 014005                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", "Status")
 014006                        .WithMany()
 014007                        .HasForeignKey("StatusId");
 014008                });
 14009
 014010            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", b =>
 014011                {
 014012                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014013                        .WithMany()
 014014                        .HasForeignKey("CreatedByUserId");
 014015
 014016                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014017                        .WithMany()
 014018                        .HasForeignKey("ModifiedByUserId");
 014019
 014020                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014021                        .WithMany()
 014022                        .HasForeignKey("RecStateId");
 014023                });
 14024
 014025            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WorkSchedule", b =>
 014026                {
 014027                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014028                        .WithMany()
 014029                        .HasForeignKey("CreatedByUserId");
 014030
 014031                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014032                        .WithMany()
 014033                        .HasForeignKey("ModifiedByUserId");
 014034
 014035                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014036                        .WithMany()
 014037                        .HasForeignKey("RecStateId");
 014038                });
 14039#pragma warning restore 612, 618
 014040        }
 14041    }
 14042}