< Summary

Class:SVETA.Api.Migrations.TokenForDepartment
Assembly:SVETA.Api
File(s):/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200615040506_TokenForDepartment.cs
/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200615040506_TokenForDepartment.Designer.cs
Covered lines:0
Uncovered lines:14240
Coverable lines:14240
Total lines:14432
Line coverage:0% (0 of 14240)
Covered branches:0
Total branches:268
Branch coverage:0% (0 of 268)

Metrics

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

File(s)

/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200615040506_TokenForDepartment.cs

#LineLine coverage
 1using System;
 2using Microsoft.EntityFrameworkCore.Migrations;
 3
 4namespace SVETA.Api.Migrations
 5{
 6    public partial class TokenForDepartment : Migration
 7    {
 8        protected override void Up(MigrationBuilder migrationBuilder)
 09        {
 010            migrationBuilder.DropForeignKey(
 011                name: "FK_ExchangeTokens_Contragents_ContragentId",
 012                table: "ExchangeTokens");
 13
 014            migrationBuilder.DropIndex(
 015                name: "IX_ExchangeTokens_ContragentId",
 016                table: "ExchangeTokens");
 17
 018            migrationBuilder.DropColumn(
 019                name: "ContragentId",
 020                table: "ExchangeTokens");
 21
 022            migrationBuilder.AddColumn<long>(
 023                name: "DepartmentId",
 024                table: "ExchangeTokens",
 025                nullable: false,
 026                defaultValue: 0L);
 27
 028            migrationBuilder.UpdateData(
 029                table: "ContragentsKind",
 030                keyColumn: "Id",
 031                keyValue: 2L,
 032                column: "ExternalKey",
 033                value: new Guid("1cf9aefe-7a96-4a88-a1c9-072964c7c6a7"));
 34
 035            migrationBuilder.UpdateData(
 036                table: "ContragentsKind",
 037                keyColumn: "Id",
 038                keyValue: 3L,
 039                column: "ExternalKey",
 040                value: new Guid("ccda4192-5492-4a93-9c3e-f2d1f765d4e5"));
 41
 042            migrationBuilder.UpdateData(
 043                table: "ContragentsKind",
 044                keyColumn: "Id",
 045                keyValue: 4L,
 046                column: "ExternalKey",
 047                value: new Guid("31edf71f-4a7f-44f9-a705-869c38b9c70b"));
 48
 049            migrationBuilder.UpdateData(
 050                table: "ContragentsKind",
 051                keyColumn: "Id",
 052                keyValue: 6L,
 053                column: "ExternalKey",
 054                value: new Guid("4cd0458f-9bb0-4417-92b7-8f4004782d5b"));
 55
 056            migrationBuilder.InsertData(
 057                table: "Departments",
 058                columns: new[] { "Id", "ActualAddressId", "Area", "ClusterId", "ContragentId", "CreatedByUserId", "Creat
 059                values: new object[] { -2L, -1L, 100.0m, null, -2L, null, new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeK
 60
 061            migrationBuilder.UpdateData(
 062                table: "Users",
 063                keyColumn: "Id",
 064                keyValue: -2L,
 065                column: "ExternalKey",
 066                value: new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"));
 67
 068            migrationBuilder.UpdateData(
 069                table: "Users",
 070                keyColumn: "Id",
 071                keyValue: -1L,
 072                column: "ExternalKey",
 073                value: new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"));
 74
 075            migrationBuilder.UpdateData(
 076                table: "ExchangeTokens",
 077                keyColumn: "Id",
 078                keyValue: 1L,
 079                columns: new[] { "DepartmentId", "GUID" },
 080                values: new object[] { -2L, new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588") });
 81
 082            migrationBuilder.CreateIndex(
 083                name: "IX_ExchangeTokens_DepartmentId",
 084                table: "ExchangeTokens",
 085                column: "DepartmentId");
 86
 087            migrationBuilder.AddForeignKey(
 088                name: "FK_ExchangeTokens_Departments_DepartmentId",
 089                table: "ExchangeTokens",
 090                column: "DepartmentId",
 091                principalTable: "Departments",
 092                principalColumn: "Id",
 093                onDelete: ReferentialAction.Cascade);
 094        }
 95
 96        protected override void Down(MigrationBuilder migrationBuilder)
 097        {
 098            migrationBuilder.DropForeignKey(
 099                name: "FK_ExchangeTokens_Departments_DepartmentId",
 0100                table: "ExchangeTokens");
 101
 0102            migrationBuilder.DropIndex(
 0103                name: "IX_ExchangeTokens_DepartmentId",
 0104                table: "ExchangeTokens");
 105
 0106            migrationBuilder.DeleteData(
 0107                table: "Departments",
 0108                keyColumn: "Id",
 0109                keyValue: -2L);
 110
 0111            migrationBuilder.DropColumn(
 0112                name: "DepartmentId",
 0113                table: "ExchangeTokens");
 114
 0115            migrationBuilder.AddColumn<long>(
 0116                name: "ContragentId",
 0117                table: "ExchangeTokens",
 0118                type: "bigint",
 0119                nullable: false,
 0120                defaultValue: 0L);
 121
 0122            migrationBuilder.UpdateData(
 0123                table: "ContragentsKind",
 0124                keyColumn: "Id",
 0125                keyValue: 2L,
 0126                column: "ExternalKey",
 0127                value: new Guid("1cf9aefe-7a96-4a88-a1c9-072964c7c6a7"));
 128
 0129            migrationBuilder.UpdateData(
 0130                table: "ContragentsKind",
 0131                keyColumn: "Id",
 0132                keyValue: 3L,
 0133                column: "ExternalKey",
 0134                value: new Guid("ccda4192-5492-4a93-9c3e-f2d1f765d4e5"));
 135
 0136            migrationBuilder.UpdateData(
 0137                table: "ContragentsKind",
 0138                keyColumn: "Id",
 0139                keyValue: 4L,
 0140                column: "ExternalKey",
 0141                value: new Guid("31edf71f-4a7f-44f9-a705-869c38b9c70b"));
 142
 0143            migrationBuilder.UpdateData(
 0144                table: "ContragentsKind",
 0145                keyColumn: "Id",
 0146                keyValue: 6L,
 0147                column: "ExternalKey",
 0148                value: new Guid("4cd0458f-9bb0-4417-92b7-8f4004782d5b"));
 149
 0150            migrationBuilder.UpdateData(
 0151                table: "ExchangeTokens",
 0152                keyColumn: "Id",
 0153                keyValue: 1L,
 0154                columns: new[] { "ContragentId", "GUID" },
 0155                values: new object[] { -2L, new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588") });
 156
 0157            migrationBuilder.UpdateData(
 0158                table: "Users",
 0159                keyColumn: "Id",
 0160                keyValue: -2L,
 0161                column: "ExternalKey",
 0162                value: new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"));
 163
 0164            migrationBuilder.UpdateData(
 0165                table: "Users",
 0166                keyColumn: "Id",
 0167                keyValue: -1L,
 0168                column: "ExternalKey",
 0169                value: new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"));
 170
 0171            migrationBuilder.CreateIndex(
 0172                name: "IX_ExchangeTokens_ContragentId",
 0173                table: "ExchangeTokens",
 0174                column: "ContragentId");
 175
 0176            migrationBuilder.AddForeignKey(
 0177                name: "FK_ExchangeTokens_Contragents_ContragentId",
 0178                table: "ExchangeTokens",
 0179                column: "ContragentId",
 0180                principalTable: "Contragents",
 0181                principalColumn: "Id",
 0182                onDelete: ReferentialAction.Cascade);
 0183        }
 184    }
 185}

/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200615040506_TokenForDepartment.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("20200615040506_TokenForDepartment")]
 14    partial class TokenForDepartment
 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("CreatedByUserId");
 0224
 0225                    b.HasIndex("GoodId");
 0226
 0227                    b.HasIndex("ModifiedByUserId");
 0228
 0229                    b.HasIndex("RecStateId");
 0230
 0231                    b.ToTable("BarCodes");
 0232                });
 233
 0234            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", b =>
 0235                {
 0236                    b.Property<long>("Id")
 0237                        .ValueGeneratedOnAdd()
 0238                        .HasColumnType("bigint")
 0239                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0240
 0241                    b.Property<long?>("CreatedByUserId")
 0242                        .HasColumnType("bigint");
 0243
 0244                    b.Property<DateTime>("CreationDateTime")
 0245                        .HasColumnType("timestamp without time zone");
 0246
 0247                    b.Property<Guid>("GUID")
 0248                        .ValueGeneratedOnAdd()
 0249                        .HasColumnType("uuid");
 0250
 0251                    b.Property<bool>("IsDeleted")
 0252                        .HasColumnType("boolean");
 0253
 0254                    b.Property<DateTime?>("ModificationDateTime")
 0255                        .HasColumnType("timestamp without time zone");
 0256
 0257                    b.Property<long?>("ModifiedByUserId")
 0258                        .HasColumnType("bigint");
 0259
 0260                    b.Property<string>("Name")
 0261                        .HasColumnType("text");
 0262
 0263                    b.Property<long?>("ParentId")
 0264                        .HasColumnType("bigint");
 0265
 0266                    b.Property<long?>("RecStateId")
 0267                        .HasColumnType("bigint");
 0268
 0269                    b.HasKey("Id");
 0270
 0271                    b.HasIndex("CreatedByUserId");
 0272
 0273                    b.HasIndex("ModifiedByUserId");
 0274
 0275                    b.HasIndex("Name")
 0276                        .IsUnique();
 0277
 0278                    b.HasIndex("ParentId");
 0279
 0280                    b.HasIndex("RecStateId");
 0281
 0282                    b.ToTable("Brands");
 0283                });
 284
 0285            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", b =>
 0286                {
 0287                    b.Property<long>("Id")
 0288                        .ValueGeneratedOnAdd()
 0289                        .HasColumnType("bigint")
 0290                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0291
 0292                    b.Property<string>("Code")
 0293                        .HasColumnType("text");
 0294
 0295                    b.Property<long?>("CreatedByUserId")
 0296                        .HasColumnType("bigint");
 0297
 0298                    b.Property<DateTime>("CreationDateTime")
 0299                        .HasColumnType("timestamp without time zone");
 0300
 0301                    b.Property<bool>("ExcludeFromGoogleFeed")
 0302                        .HasColumnType("boolean");
 0303
 0304                    b.Property<bool>("ExcludeFromYandexFeed")
 0305                        .HasColumnType("boolean");
 0306
 0307                    b.Property<Guid>("GUID")
 0308                        .ValueGeneratedOnAdd()
 0309                        .HasColumnType("uuid");
 0310
 0311                    b.Property<string>("GoogleProductCategoryCode")
 0312                        .HasColumnType("text");
 0313
 0314                    b.Property<bool>("IsDeleted")
 0315                        .HasColumnType("boolean");
 0316
 0317                    b.Property<DateTime?>("ModificationDateTime")
 0318                        .HasColumnType("timestamp without time zone");
 0319
 0320                    b.Property<long?>("ModifiedByUserId")
 0321                        .HasColumnType("bigint");
 0322
 0323                    b.Property<string>("Name")
 0324                        .HasColumnType("text");
 0325
 0326                    b.Property<long?>("ParentId")
 0327                        .HasColumnType("bigint");
 0328
 0329                    b.Property<long?>("RecStateId")
 0330                        .HasColumnType("bigint");
 0331
 0332                    b.HasKey("Id");
 0333
 0334                    b.HasIndex("Code")
 0335                        .IsUnique();
 0336
 0337                    b.HasIndex("CreatedByUserId");
 0338
 0339                    b.HasIndex("ModifiedByUserId");
 0340
 0341                    b.HasIndex("Name")
 0342                        .IsUnique();
 0343
 0344                    b.HasIndex("ParentId");
 0345
 0346                    b.HasIndex("RecStateId");
 0347
 0348                    b.ToTable("Categories");
 0349                });
 350
 0351            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Cluster", b =>
 0352                {
 0353                    b.Property<long>("Id")
 0354                        .ValueGeneratedOnAdd()
 0355                        .HasColumnType("bigint")
 0356                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0357
 0358                    b.Property<long?>("CreatedByUserId")
 0359                        .HasColumnType("bigint");
 0360
 0361                    b.Property<DateTime>("CreationDateTime")
 0362                        .HasColumnType("timestamp without time zone");
 0363
 0364                    b.Property<Guid>("GUID")
 0365                        .ValueGeneratedOnAdd()
 0366                        .HasColumnType("uuid");
 0367
 0368                    b.Property<bool>("IsDeleted")
 0369                        .HasColumnType("boolean");
 0370
 0371                    b.Property<decimal>("MinOrderSum")
 0372                        .HasColumnType("numeric");
 0373
 0374                    b.Property<DateTime?>("ModificationDateTime")
 0375                        .HasColumnType("timestamp without time zone");
 0376
 0377                    b.Property<long?>("ModifiedByUserId")
 0378                        .HasColumnType("bigint");
 0379
 0380                    b.Property<string>("Name")
 0381                        .IsRequired()
 0382                        .HasColumnType("text");
 0383
 0384                    b.Property<long?>("RecStateId")
 0385                        .HasColumnType("bigint");
 0386
 0387                    b.Property<decimal>("TradeRatio")
 0388                        .HasColumnType("numeric");
 0389
 0390                    b.Property<long>("WarehouseId")
 0391                        .HasColumnType("bigint");
 0392
 0393                    b.HasKey("Id");
 0394
 0395                    b.HasIndex("CreatedByUserId");
 0396
 0397                    b.HasIndex("ModifiedByUserId");
 0398
 0399                    b.HasIndex("Name")
 0400                        .IsUnique();
 0401
 0402                    b.HasIndex("RecStateId");
 0403
 0404                    b.HasIndex("WarehouseId");
 0405
 0406                    b.ToTable("Clusters");
 0407                });
 408
 0409            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Configuration", b =>
 0410                {
 0411                    b.Property<long>("Id")
 0412                        .ValueGeneratedOnAdd()
 0413                        .HasColumnType("bigint")
 0414                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 0415                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0416
 0417                    b.Property<long?>("CreatedByUserId")
 0418                        .HasColumnType("bigint");
 0419
 0420                    b.Property<DateTime>("CreationDateTime")
 0421                        .HasColumnType("timestamp without time zone");
 0422
 0423                    b.Property<bool>("Encrypted")
 0424                        .HasColumnType("boolean");
 0425
 0426                    b.Property<Guid>("GUID")
 0427                        .ValueGeneratedOnAdd()
 0428                        .HasColumnType("uuid");
 0429
 0430                    b.Property<bool>("IsDeleted")
 0431                        .HasColumnType("boolean");
 0432
 0433                    b.Property<string>("Key")
 0434                        .IsRequired()
 0435                        .HasColumnType("text");
 0436
 0437                    b.Property<DateTime?>("ModificationDateTime")
 0438                        .HasColumnType("timestamp without time zone");
 0439
 0440                    b.Property<long?>("ModifiedByUserId")
 0441                        .HasColumnType("bigint");
 0442
 0443                    b.Property<long?>("RecStateId")
 0444                        .HasColumnType("bigint");
 0445
 0446                    b.Property<string>("Section")
 0447                        .HasColumnType("text");
 0448
 0449                    b.Property<string>("Value")
 0450                        .IsRequired()
 0451                        .HasColumnType("text");
 0452
 0453                    b.Property<long>("ValueTypeId")
 0454                        .HasColumnType("bigint");
 0455
 0456                    b.HasKey("Id");
 0457
 0458                    b.HasIndex("CreatedByUserId");
 0459
 0460                    b.HasIndex("ModifiedByUserId");
 0461
 0462                    b.HasIndex("RecStateId");
 0463
 0464                    b.HasIndex("ValueTypeId");
 0465
 0466                    b.HasIndex("Section", "Key")
 0467                        .IsUnique();
 0468
 0469                    b.ToTable("Configurations");
 0470
 0471                    b.HasData(
 0472                        new
 0473                        {
 0474                            Id = 3L,
 0475                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0476                            Encrypted = false,
 0477                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0478                            IsDeleted = false,
 0479                            Key = "CorsOn",
 0480                            Section = "GlobalCorsSettings",
 0481                            Value = "false",
 0482                            ValueTypeId = 4L
 0483                        },
 0484                        new
 0485                        {
 0486                            Id = 4L,
 0487                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0488                            Encrypted = false,
 0489                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0490                            IsDeleted = false,
 0491                            Key = "SyncOn",
 0492                            Section = "CrmSettings",
 0493                            Value = "true",
 0494                            ValueTypeId = 4L
 0495                        },
 0496                        new
 0497                        {
 0498                            Id = 10L,
 0499                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0500                            Encrypted = false,
 0501                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0502                            IsDeleted = false,
 0503                            Key = "SmtpServer",
 0504                            Section = "EmailSettings",
 0505                            Value = "outlook.office365.com",
 0506                            ValueTypeId = 1L
 0507                        },
 0508                        new
 0509                        {
 0510                            Id = 11L,
 0511                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0512                            Encrypted = false,
 0513                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0514                            IsDeleted = false,
 0515                            Key = "Port",
 0516                            Section = "EmailSettings",
 0517                            Value = "587",
 0518                            ValueTypeId = 2L
 0519                        },
 0520                        new
 0521                        {
 0522                            Id = 12L,
 0523                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0524                            Encrypted = true,
 0525                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0526                            IsDeleted = false,
 0527                            Key = "Login",
 0528                            Section = "EmailSettings",
 0529                            Value = "a59+TrZu+PLxEMGYb404fD5fIP84L7tA/Djr4T8Y8nH88XOONOGuCyjTEiYL+CYt",
 0530                            ValueTypeId = 1L
 0531                        },
 0532                        new
 0533                        {
 0534                            Id = 13L,
 0535                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0536                            Encrypted = true,
 0537                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0538                            IsDeleted = false,
 0539                            Key = "Password",
 0540                            Section = "EmailSettings",
 0541                            Value = "YBKE81r8NUHAbZhj7Czg3gWTU8uY6U09GBP/s4lZRlc=",
 0542                            ValueTypeId = 1L
 0543                        },
 0544                        new
 0545                        {
 0546                            Id = 14L,
 0547                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0548                            Encrypted = false,
 0549                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0550                            IsDeleted = false,
 0551                            Key = "From",
 0552                            Section = "EmailSettings",
 0553                            Value = "no-reply@team.vtbconnect.ru",
 0554                            ValueTypeId = 1L
 0555                        },
 0556                        new
 0557                        {
 0558                            Id = 15L,
 0559                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0560                            Encrypted = false,
 0561                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0562                            IsDeleted = false,
 0563                            Key = "ChangeTransaction",
 0564                            Section = "WalletSettings",
 0565                            Value = "transaction/change_deal_distributor",
 0566                            ValueTypeId = 1L
 0567                        },
 0568                        new
 0569                        {
 0570                            Id = 16L,
 0571                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0572                            Encrypted = false,
 0573                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0574                            IsDeleted = false,
 0575                            Key = "CheckChangeTransaction",
 0576                            Section = "WalletSettings",
 0577                            Value = "transaction/change_distributor",
 0578                            ValueTypeId = 1L
 0579                        },
 0580                        new
 0581                        {
 0582                            Id = 17L,
 0583                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0584                            Encrypted = false,
 0585                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0586                            IsDeleted = false,
 0587                            Key = "GetTransaction",
 0588                            Section = "WalletSettings",
 0589                            Value = "transaction/get",
 0590                            ValueTypeId = 1L
 0591                        },
 0592                        new
 0593                        {
 0594                            Id = 18L,
 0595                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0596                            Encrypted = false,
 0597                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0598                            IsDeleted = false,
 0599                            Key = "AccountHistory",
 0600                            Section = "WalletSettings",
 0601                            Value = "record/get_full",
 0602                            ValueTypeId = 1L
 0603                        },
 0604                        new
 0605                        {
 0606                            Id = 22L,
 0607                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0608                            Encrypted = false,
 0609                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0610                            IsDeleted = false,
 0611                            Key = "GetAcc",
 0612                            Section = "WalletSettings",
 0613                            Value = "acc/get",
 0614                            ValueTypeId = 1L
 0615                        },
 0616                        new
 0617                        {
 0618                            Id = 23L,
 0619                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0620                            Encrypted = false,
 0621                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0622                            IsDeleted = false,
 0623                            Key = "GetAccBalanceFree",
 0624                            Section = "WalletSettings",
 0625                            Value = "acc/balance_free",
 0626                            ValueTypeId = 1L
 0627                        },
 0628                        new
 0629                        {
 0630                            Id = 24L,
 0631                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0632                            Encrypted = false,
 0633                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0634                            IsDeleted = false,
 0635                            Key = "ActionTransaction",
 0636                            Section = "WalletSettings",
 0637                            Value = "transaction/action",
 0638                            ValueTypeId = 1L
 0639                        },
 0640                        new
 0641                        {
 0642                            Id = 25L,
 0643                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0644                            Encrypted = false,
 0645                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0646                            IsDeleted = false,
 0647                            Key = "CreateTransaction",
 0648                            Section = "WalletSettings",
 0649                            Value = "transaction/create",
 0650                            ValueTypeId = 1L
 0651                        },
 0652                        new
 0653                        {
 0654                            Id = 26L,
 0655                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0656                            Encrypted = false,
 0657                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0658                            IsDeleted = false,
 0659                            Key = "ServiceUserTID",
 0660                            Section = "AuthenticationSettings",
 0661                            Value = "964c5734-ba34-43d0-8770-b22b665e9abd",
 0662                            ValueTypeId = 5L
 0663                        },
 0664                        new
 0665                        {
 0666                            Id = 27L,
 0667                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0668                            Encrypted = false,
 0669                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0670                            IsDeleted = false,
 0671                            Key = "AnonymUserTID",
 0672                            Section = "AuthenticationSettings",
 0673                            Value = "3ce2ae32-9028-46b6-afbe-ad4feec0a016",
 0674                            ValueTypeId = 5L
 0675                        },
 0676                        new
 0677                        {
 0678                            Id = 28L,
 0679                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0680                            Encrypted = false,
 0681                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0682                            IsDeleted = false,
 0683                            Key = "FrequencyTime",
 0684                            Section = "FeedsSettings",
 0685                            Value = "1",
 0686                            ValueTypeId = 2L
 0687                        },
 0688                        new
 0689                        {
 0690                            Id = 29L,
 0691                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0692                            Encrypted = false,
 0693                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0694                            IsDeleted = false,
 0695                            Key = "YandexTimestamp",
 0696                            Section = "FeedsSettings",
 0697                            Value = "01.01.1900 00:00:00",
 0698                            ValueTypeId = 3L
 0699                        },
 0700                        new
 0701                        {
 0702                            Id = 30L,
 0703                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0704                            Encrypted = false,
 0705                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0706                            IsDeleted = false,
 0707                            Key = "GoogleTimestamp",
 0708                            Section = "FeedsSettings",
 0709                            Value = "01.01.1900 00:00:00",
 0710                            ValueTypeId = 3L
 0711                        },
 0712                        new
 0713                        {
 0714                            Id = 31L,
 0715                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0716                            Encrypted = false,
 0717                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0718                            IsDeleted = false,
 0719                            Key = "FullSizeUrlPlaceholder",
 0720                            Section = "ImageSettings",
 0721                            Value = "fullsizeplaceholder.jpg",
 0722                            ValueTypeId = 1L
 0723                        },
 0724                        new
 0725                        {
 0726                            Id = 32L,
 0727                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0728                            Encrypted = false,
 0729                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0730                            IsDeleted = false,
 0731                            Key = "PreviewUrlPlaceholder",
 0732                            Section = "ImageSettings",
 0733                            Value = "previewplaceholder.jpg",
 0734                            ValueTypeId = 1L
 0735                        },
 0736                        new
 0737                        {
 0738                            Id = 33L,
 0739                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0740                            Encrypted = false,
 0741                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0742                            IsDeleted = false,
 0743                            Key = "AllowedExtensions",
 0744                            Section = "ImageSettings",
 0745                            Value = ".jpg,.png,.jpeg",
 0746                            ValueTypeId = 1L
 0747                        });
 0748                });
 749
 0750            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ConfigurationsDataType", b =>
 0751                {
 0752                    b.Property<long>("Id")
 0753                        .ValueGeneratedOnAdd()
 0754                        .HasColumnType("bigint")
 0755                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 0756                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0757
 0758                    b.Property<long?>("CreatedByUserId")
 0759                        .HasColumnType("bigint");
 0760
 0761                    b.Property<DateTime>("CreationDateTime")
 0762                        .HasColumnType("timestamp without time zone");
 0763
 0764                    b.Property<string>("Description")
 0765                        .HasColumnType("text");
 0766
 0767                    b.Property<Guid>("GUID")
 0768                        .ValueGeneratedOnAdd()
 0769                        .HasColumnType("uuid");
 0770
 0771                    b.Property<bool>("IsDeleted")
 0772                        .HasColumnType("boolean");
 0773
 0774                    b.Property<DateTime?>("ModificationDateTime")
 0775                        .HasColumnType("timestamp without time zone");
 0776
 0777                    b.Property<long?>("ModifiedByUserId")
 0778                        .HasColumnType("bigint");
 0779
 0780                    b.Property<string>("Name")
 0781                        .IsRequired()
 0782                        .HasColumnType("text");
 0783
 0784                    b.Property<long?>("RecStateId")
 0785                        .HasColumnType("bigint");
 0786
 0787                    b.HasKey("Id");
 0788
 0789                    b.HasIndex("CreatedByUserId");
 0790
 0791                    b.HasIndex("ModifiedByUserId");
 0792
 0793                    b.HasIndex("RecStateId");
 0794
 0795                    b.ToTable("ConfigurationsDataTypes");
 0796
 0797                    b.HasData(
 0798                        new
 0799                        {
 0800                            Id = 1L,
 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 = "string"
 0806                        },
 0807                        new
 0808                        {
 0809                            Id = 2L,
 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 = "int"
 0815                        },
 0816                        new
 0817                        {
 0818                            Id = 3L,
 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 = "datetime"
 0824                        },
 0825                        new
 0826                        {
 0827                            Id = 4L,
 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 = "bool"
 0833                        },
 0834                        new
 0835                        {
 0836                            Id = 5L,
 0837                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0838                            Description = "Гуид",
 0839                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0840                            IsDeleted = false,
 0841                            Name = "guid"
 0842                        });
 0843                });
 844
 0845            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", b =>
 0846                {
 0847                    b.Property<long>("Id")
 0848                        .ValueGeneratedOnAdd()
 0849                        .HasColumnType("bigint")
 0850                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0851
 0852                    b.Property<string>("BankName")
 0853                        .HasColumnType("text");
 0854
 0855                    b.Property<string>("Bik")
 0856                        .HasColumnType("text");
 0857
 0858                    b.Property<string>("ChiefAccountant")
 0859                        .IsRequired()
 0860                        .HasColumnType("text");
 0861
 0862                    b.Property<long>("ContragentsKindId")
 0863                        .HasColumnType("bigint");
 0864
 0865                    b.Property<long?>("CreatedByUserId")
 0866                        .HasColumnType("bigint");
 0867
 0868                    b.Property<DateTime>("CreationDateTime")
 0869                        .HasColumnType("timestamp without time zone");
 0870
 0871                    b.Property<string>("Email")
 0872                        .IsRequired()
 0873                        .HasColumnType("text");
 0874
 0875                    b.Property<Guid>("ExternalKey")
 0876                        .ValueGeneratedOnAdd()
 0877                        .HasColumnType("uuid");
 0878
 0879                    b.Property<string>("FullName")
 0880                        .IsRequired()
 0881                        .HasColumnType("text");
 0882
 0883                    b.Property<Guid>("GUID")
 0884                        .ValueGeneratedOnAdd()
 0885                        .HasColumnType("uuid");
 0886
 0887                    b.Property<string>("Inn")
 0888                        .IsRequired()
 0889                        .HasColumnType("text");
 0890
 0891                    b.Property<bool>("IsDeleted")
 0892                        .HasColumnType("boolean");
 0893
 0894                    b.Property<long>("JuridicAddressId")
 0895                        .HasColumnType("bigint");
 0896
 0897                    b.Property<string>("Kpp")
 0898                        .IsRequired()
 0899                        .HasColumnType("text");
 0900
 0901                    b.Property<DateTime?>("ModificationDateTime")
 0902                        .HasColumnType("timestamp without time zone");
 0903
 0904                    b.Property<long?>("ModifiedByUserId")
 0905                        .HasColumnType("bigint");
 0906
 0907                    b.Property<string>("Ogrn")
 0908                        .IsRequired()
 0909                        .HasColumnType("text");
 0910
 0911                    b.Property<string>("Okato")
 0912                        .HasColumnType("text");
 0913
 0914                    b.Property<string>("Okpo")
 0915                        .HasColumnType("text");
 0916
 0917                    b.Property<string>("Okved")
 0918                        .HasColumnType("text");
 0919
 0920                    b.Property<long>("OwnerId")
 0921                        .HasColumnType("bigint");
 0922
 0923                    b.Property<string>("PhoneNumber")
 0924                        .IsRequired()
 0925                        .HasColumnType("text");
 0926
 0927                    b.Property<long>("PhysicAddressId")
 0928                        .HasColumnType("bigint");
 0929
 0930                    b.Property<long?>("RecStateId")
 0931                        .HasColumnType("bigint");
 0932
 0933                    b.Property<string>("SettlementAccount")
 0934                        .HasColumnType("text");
 0935
 0936                    b.Property<string>("ShortName")
 0937                        .IsRequired()
 0938                        .HasColumnType("text");
 0939
 0940                    b.Property<string>("TaxSystemCRM")
 0941                        .IsRequired()
 0942                        .HasColumnType("text");
 0943
 0944                    b.Property<long?>("TaxSystemId")
 0945                        .HasColumnType("bigint");
 0946
 0947                    b.Property<string>("WalletId")
 0948                        .IsRequired()
 0949                        .HasColumnType("text");
 0950
 0951                    b.Property<string>("WalletShortId")
 0952                        .IsRequired()
 0953                        .HasColumnType("text");
 0954
 0955                    b.Property<string>("WebSite")
 0956                        .HasColumnType("text");
 0957
 0958                    b.Property<string>("СorrespondentAccount")
 0959                        .HasColumnType("text");
 0960
 0961                    b.HasKey("Id");
 0962
 0963                    b.HasIndex("ContragentsKindId");
 0964
 0965                    b.HasIndex("CreatedByUserId");
 0966
 0967                    b.HasIndex("JuridicAddressId");
 0968
 0969                    b.HasIndex("ModifiedByUserId");
 0970
 0971                    b.HasIndex("OwnerId");
 0972
 0973                    b.HasIndex("PhysicAddressId");
 0974
 0975                    b.HasIndex("RecStateId");
 0976
 0977                    b.HasIndex("TaxSystemId");
 0978
 0979                    b.HasIndex("Inn", "Kpp")
 0980                        .IsUnique();
 0981
 0982                    b.ToTable("Contragents");
 0983
 0984                    b.HasData(
 0985                        new
 0986                        {
 0987                            Id = -1L,
 0988                            ChiefAccountant = "1",
 0989                            ContragentsKindId = 2L,
 0990                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0991                            Email = "example@email.ru",
 0992                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 0993                            FullName = "Общество с ограниченной ответственностью Демонстрационный контрагент",
 0994                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0995                            Inn = "2",
 0996                            IsDeleted = false,
 0997                            JuridicAddressId = -1L,
 0998                            Kpp = "2",
 0999                            Ogrn = "2",
 01000                            Okato = "1",
 01001                            Okpo = "1",
 01002                            Okved = "1",
 01003                            OwnerId = -2L,
 01004                            PhoneNumber = "88008008000",
 01005                            PhysicAddressId = -1L,
 01006                            RecStateId = 2L,
 01007                            ShortName = "ООО Демонстрационный контрагент",
 01008                            TaxSystemCRM = "",
 01009                            TaxSystemId = 1L,
 01010                            WalletId = "",
 01011                            WalletShortId = "",
 01012                            WebSite = "www.example.com"
 01013                        },
 01014                        new
 01015                        {
 01016                            Id = -2L,
 01017                            ChiefAccountant = "1",
 01018                            ContragentsKindId = 6L,
 01019                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01020                            Email = "service@email.ru",
 01021                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 01022                            FullName = "ООО Сервисный контрагент",
 01023                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01024                            Inn = "1",
 01025                            IsDeleted = false,
 01026                            JuridicAddressId = -1L,
 01027                            Kpp = "1",
 01028                            Ogrn = "1",
 01029                            Okato = "1",
 01030                            Okpo = "1",
 01031                            Okved = "1",
 01032                            OwnerId = -1L,
 01033                            PhoneNumber = "1",
 01034                            PhysicAddressId = -1L,
 01035                            RecStateId = 2L,
 01036                            ShortName = "Сервисный контрагент",
 01037                            TaxSystemCRM = "",
 01038                            TaxSystemId = 1L,
 01039                            WalletId = "",
 01040                            WalletShortId = "",
 01041                            WebSite = "1"
 01042                        });
 01043                });
 1044
 01045            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ContragentsKind", b =>
 01046                {
 01047                    b.Property<long>("Id")
 01048                        .ValueGeneratedOnAdd()
 01049                        .HasColumnType("bigint")
 01050                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 01051                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 01052
 01053                    b.Property<string>("Code")
 01054                        .IsRequired()
 01055                        .HasColumnType("text");
 01056
 01057                    b.Property<long?>("CreatedByUserId")
 01058                        .HasColumnType("bigint");
 01059
 01060                    b.Property<DateTime>("CreationDateTime")
 01061                        .HasColumnType("timestamp without time zone");
 01062
 01063                    b.Property<string>("Description")
 01064                        .HasColumnType("text");
 01065
 01066                    b.Property<Guid>("ExternalKey")
 01067                        .ValueGeneratedOnAdd()
 01068                        .HasColumnType("uuid");
 01069
 01070                    b.Property<Guid>("GUID")
 01071                        .ValueGeneratedOnAdd()
 01072                        .HasColumnType("uuid");
 01073
 01074                    b.Property<bool>("IsDeleted")
 01075                        .HasColumnType("boolean");
 01076
 01077                    b.Property<DateTime?>("ModificationDateTime")
 01078                        .HasColumnType("timestamp without time zone");
 01079
 01080                    b.Property<long?>("ModifiedByUserId")
 01081                        .HasColumnType("bigint");
 01082
 01083                    b.Property<string>("Name")
 01084                        .IsRequired()
 01085                        .HasColumnType("text");
 01086
 01087                    b.Property<long?>("RecStateId")
 01088                        .HasColumnType("bigint");
 01089
 01090                    b.HasKey("Id");
 01091
 01092                    b.HasIndex("CreatedByUserId");
 01093
 01094                    b.HasIndex("ModifiedByUserId");
 01095
 01096                    b.HasIndex("RecStateId");
 01097
 01098                    b.ToTable("ContragentsKind");
 01099
 01100                    b.HasData(
 01101                        new
 01102                        {
 01103                            Id = 1L,
 01104                            Code = "Unknown",
 01105                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01106                            Description = "",
 01107                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 01108                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01109                            IsDeleted = false,
 01110                            Name = "Неизвестный"
 01111                        },
 01112                        new
 01113                        {
 01114                            Id = 2L,
 01115                            Code = "Retailer",
 01116                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01117                            Description = "",
 01118                            ExternalKey = new Guid("1cf9aefe-7a96-4a88-a1c9-072964c7c6a7"),
 01119                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01120                            IsDeleted = false,
 01121                            Name = "Магазин"
 01122                        },
 01123                        new
 01124                        {
 01125                            Id = 3L,
 01126                            Code = "Wholesaler",
 01127                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01128                            Description = "",
 01129                            ExternalKey = new Guid("ccda4192-5492-4a93-9c3e-f2d1f765d4e5"),
 01130                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01131                            IsDeleted = false,
 01132                            Name = "Дистрибьютор"
 01133                        },
 01134                        new
 01135                        {
 01136                            Id = 4L,
 01137                            Code = "Manufacturer",
 01138                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01139                            Description = "",
 01140                            ExternalKey = new Guid("31edf71f-4a7f-44f9-a705-869c38b9c70b"),
 01141                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01142                            IsDeleted = false,
 01143                            Name = "Производитель"
 01144                        },
 01145                        new
 01146                        {
 01147                            Id = 5L,
 01148                            Code = "Supplier",
 01149                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01150                            Description = "В будущем надо удалить",
 01151                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 01152                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01153                            IsDeleted = false,
 01154                            Name = "---"
 01155                        },
 01156                        new
 01157                        {
 01158                            Id = 6L,
 01159                            Code = "Platform",
 01160                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01161                            Description = "",
 01162                            ExternalKey = new Guid("4cd0458f-9bb0-4417-92b7-8f4004782d5b"),
 01163                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01164                            IsDeleted = false,
 01165                            Name = "Платформа"
 01166                        });
 01167                });
 1168
 01169            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ControlAccess", b =>
 01170                {
 01171                    b.Property<long>("Id")
 01172                        .ValueGeneratedOnAdd()
 01173                        .HasColumnType("bigint")
 01174                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 01175                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 01176
 01177                    b.Property<long>("ActionId")
 01178                        .HasColumnType("bigint");
 01179
 01180                    b.Property<bool?>("Available")
 01181                        .HasColumnType("boolean");
 01182
 01183                    b.Property<long?>("CreatedByUserId")
 01184                        .HasColumnType("bigint");
 01185
 01186                    b.Property<DateTime>("CreationDateTime")
 01187                        .HasColumnType("timestamp without time zone");
 01188
 01189                    b.Property<Guid>("GUID")
 01190                        .ValueGeneratedOnAdd()
 01191                        .HasColumnType("uuid");
 01192
 01193                    b.Property<bool>("IsDeleted")
 01194                        .HasColumnType("boolean");
 01195
 01196                    b.Property<DateTime?>("ModificationDateTime")
 01197                        .HasColumnType("timestamp without time zone");
 01198
 01199                    b.Property<long?>("ModifiedByUserId")
 01200                        .HasColumnType("bigint");
 01201
 01202                    b.Property<long?>("RecStateId")
 01203                        .HasColumnType("bigint");
 01204
 01205                    b.Property<long>("RoleId")
 01206                        .HasColumnType("bigint");
 01207
 01208                    b.HasKey("Id");
 01209
 01210                    b.HasIndex("CreatedByUserId");
 01211
 01212                    b.HasIndex("ModifiedByUserId");
 01213
 01214                    b.HasIndex("RecStateId");
 01215
 01216                    b.HasIndex("RoleId");
 01217
 01218                    b.HasIndex("ActionId", "Available", "RoleId")
 01219                        .IsUnique();
 01220
 01221                    b.ToTable("ControlsAccess");
 01222
 01223                    b.HasData(
 01224                        new
 01225                        {
 01226                            Id = 26L,
 01227                            ActionId = 8L,
 01228                            Available = true,
 01229                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01230                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01231                            IsDeleted = false,
 01232                            RoleId = 1L
 01233                        },
 01234                        new
 01235                        {
 01236                            Id = 27L,
 01237                            ActionId = 4L,
 01238                            Available = true,
 01239                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01240                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01241                            IsDeleted = false,
 01242                            RoleId = 1L
 01243                        },
 01244                        new
 01245                        {
 01246                            Id = 28L,
 01247                            ActionId = 9L,
 01248                            Available = true,
 01249                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01250                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01251                            IsDeleted = false,
 01252                            RoleId = 1L
 01253                        },
 01254                        new
 01255                        {
 01256                            Id = 29L,
 01257                            ActionId = 11L,
 01258                            Available = true,
 01259                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01260                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01261                            IsDeleted = false,
 01262                            RoleId = 1L
 01263                        },
 01264                        new
 01265                        {
 01266                            Id = 30L,
 01267                            ActionId = 6L,
 01268                            Available = true,
 01269                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01270                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01271                            IsDeleted = false,
 01272                            RoleId = 1L
 01273                        },
 01274                        new
 01275                        {
 01276                            Id = 31L,
 01277                            ActionId = 13L,
 01278                            Available = true,
 01279                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01280                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01281                            IsDeleted = false,
 01282                            RoleId = 1L
 01283                        },
 01284                        new
 01285                        {
 01286                            Id = 32L,
 01287                            ActionId = 12L,
 01288                            Available = true,
 01289                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01290                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01291                            IsDeleted = false,
 01292                            RoleId = 1L
 01293                        },
 01294                        new
 01295                        {
 01296                            Id = 33L,
 01297                            ActionId = 5L,
 01298                            Available = true,
 01299                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01300                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01301                            IsDeleted = false,
 01302                            RoleId = 1L
 01303                        },
 01304                        new
 01305                        {
 01306                            Id = 34L,
 01307                            ActionId = 8L,
 01308                            Available = true,
 01309                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01310                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01311                            IsDeleted = false,
 01312                            RoleId = 2L
 01313                        },
 01314                        new
 01315                        {
 01316                            Id = 35L,
 01317                            ActionId = 4L,
 01318                            Available = true,
 01319                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01320                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01321                            IsDeleted = false,
 01322                            RoleId = 2L
 01323                        },
 01324                        new
 01325                        {
 01326                            Id = 36L,
 01327                            ActionId = 9L,
 01328                            Available = true,
 01329                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01330                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01331                            IsDeleted = false,
 01332                            RoleId = 2L
 01333                        },
 01334                        new
 01335                        {
 01336                            Id = 37L,
 01337                            ActionId = 11L,
 01338                            Available = true,
 01339                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01340                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01341                            IsDeleted = false,
 01342                            RoleId = 2L
 01343                        },
 01344                        new
 01345                        {
 01346                            Id = 38L,
 01347                            ActionId = 6L,
 01348                            Available = true,
 01349                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01350                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01351                            IsDeleted = false,
 01352                            RoleId = 2L
 01353                        },
 01354                        new
 01355                        {
 01356                            Id = 39L,
 01357                            ActionId = 13L,
 01358                            Available = true,
 01359                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01360                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01361                            IsDeleted = false,
 01362                            RoleId = 2L
 01363                        },
 01364                        new
 01365                        {
 01366                            Id = 40L,
 01367                            ActionId = 12L,
 01368                            Available = true,
 01369                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01370                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01371                            IsDeleted = false,
 01372                            RoleId = 2L
 01373                        },
 01374                        new
 01375                        {
 01376                            Id = 41L,
 01377                            ActionId = 5L,
 01378                            Available = true,
 01379                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01380                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01381                            IsDeleted = false,
 01382                            RoleId = 2L
 01383                        },
 01384                        new
 01385                        {
 01386                            Id = 42L,
 01387                            ActionId = 9L,
 01388                            Available = true,
 01389                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01390                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01391                            IsDeleted = false,
 01392                            RoleId = 6L
 01393                        },
 01394                        new
 01395                        {
 01396                            Id = 43L,
 01397                            ActionId = 11L,
 01398                            Available = true,
 01399                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01400                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01401                            IsDeleted = false,
 01402                            RoleId = 6L
 01403                        },
 01404                        new
 01405                        {
 01406                            Id = 44L,
 01407                            ActionId = 8L,
 01408                            Available = false,
 01409                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01410                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01411                            IsDeleted = false,
 01412                            RoleId = 6L
 01413                        },
 01414                        new
 01415                        {
 01416                            Id = 45L,
 01417                            ActionId = 4L,
 01418                            Available = true,
 01419                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01420                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01421                            IsDeleted = false,
 01422                            RoleId = 6L
 01423                        },
 01424                        new
 01425                        {
 01426                            Id = 46L,
 01427                            ActionId = 6L,
 01428                            Available = true,
 01429                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01430                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01431                            IsDeleted = false,
 01432                            RoleId = 6L
 01433                        },
 01434                        new
 01435                        {
 01436                            Id = 47L,
 01437                            ActionId = 13L,
 01438                            Available = true,
 01439                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01440                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01441                            IsDeleted = false,
 01442                            RoleId = 6L
 01443                        },
 01444                        new
 01445                        {
 01446                            Id = 48L,
 01447                            ActionId = 5L,
 01448                            Available = true,
 01449                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01450                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01451                            IsDeleted = false,
 01452                            RoleId = 6L
 01453                        },
 01454                        new
 01455                        {
 01456                            Id = 49L,
 01457                            ActionId = 9L,
 01458                            Available = true,
 01459                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01460                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01461                            IsDeleted = false,
 01462                            RoleId = 7L
 01463                        },
 01464                        new
 01465                        {
 01466                            Id = 50L,
 01467                            ActionId = 11L,
 01468                            Available = true,
 01469                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01470                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01471                            IsDeleted = false,
 01472                            RoleId = 7L
 01473                        },
 01474                        new
 01475                        {
 01476                            Id = 51L,
 01477                            ActionId = 8L,
 01478                            Available = false,
 01479                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01480                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01481                            IsDeleted = false,
 01482                            RoleId = 7L
 01483                        },
 01484                        new
 01485                        {
 01486                            Id = 52L,
 01487                            ActionId = 4L,
 01488                            Available = true,
 01489                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01490                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01491                            IsDeleted = false,
 01492                            RoleId = 7L
 01493                        },
 01494                        new
 01495                        {
 01496                            Id = 53L,
 01497                            ActionId = 6L,
 01498                            Available = true,
 01499                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01500                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01501                            IsDeleted = false,
 01502                            RoleId = 7L
 01503                        },
 01504                        new
 01505                        {
 01506                            Id = 54L,
 01507                            ActionId = 13L,
 01508                            Available = true,
 01509                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01510                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01511                            IsDeleted = false,
 01512                            RoleId = 7L
 01513                        },
 01514                        new
 01515                        {
 01516                            Id = 55L,
 01517                            ActionId = 5L,
 01518                            Available = true,
 01519                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01520                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01521                            IsDeleted = false,
 01522                            RoleId = 7L
 01523                        },
 01524                        new
 01525                        {
 01526                            Id = 56L,
 01527                            ActionId = 9L,
 01528                            Available = true,
 01529                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01530                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01531                            IsDeleted = false,
 01532                            RoleId = 8L
 01533                        },
 01534                        new
 01535                        {
 01536                            Id = 57L,
 01537                            ActionId = 11L,
 01538                            Available = true,
 01539                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01540                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01541                            IsDeleted = false,
 01542                            RoleId = 8L
 01543                        },
 01544                        new
 01545                        {
 01546                            Id = 58L,
 01547                            ActionId = 8L,
 01548                            Available = false,
 01549                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01550                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01551                            IsDeleted = false,
 01552                            RoleId = 8L
 01553                        },
 01554                        new
 01555                        {
 01556                            Id = 59L,
 01557                            ActionId = 4L,
 01558                            Available = false,
 01559                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01560                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01561                            IsDeleted = false,
 01562                            RoleId = 8L
 01563                        },
 01564                        new
 01565                        {
 01566                            Id = 60L,
 01567                            ActionId = 6L,
 01568                            Available = true,
 01569                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01570                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01571                            IsDeleted = false,
 01572                            RoleId = 8L
 01573                        },
 01574                        new
 01575                        {
 01576                            Id = 61L,
 01577                            ActionId = 13L,
 01578                            Available = false,
 01579                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01580                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01581                            IsDeleted = false,
 01582                            RoleId = 8L
 01583                        },
 01584                        new
 01585                        {
 01586                            Id = 62L,
 01587                            ActionId = 5L,
 01588                            Available = true,
 01589                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01590                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01591                            IsDeleted = false,
 01592                            RoleId = 8L
 01593                        },
 01594                        new
 01595                        {
 01596                            Id = 63L,
 01597                            ActionId = 9L,
 01598                            Available = true,
 01599                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01600                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01601                            IsDeleted = false,
 01602                            RoleId = 3L
 01603                        },
 01604                        new
 01605                        {
 01606                            Id = 64L,
 01607                            ActionId = 11L,
 01608                            Available = true,
 01609                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01610                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01611                            IsDeleted = false,
 01612                            RoleId = 3L
 01613                        },
 01614                        new
 01615                        {
 01616                            Id = 65L,
 01617                            ActionId = 8L,
 01618                            Available = true,
 01619                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01620                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01621                            IsDeleted = false,
 01622                            RoleId = 3L
 01623                        },
 01624                        new
 01625                        {
 01626                            Id = 66L,
 01627                            ActionId = 4L,
 01628                            Available = true,
 01629                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01630                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01631                            IsDeleted = false,
 01632                            RoleId = 3L
 01633                        },
 01634                        new
 01635                        {
 01636                            Id = 67L,
 01637                            ActionId = 5L,
 01638                            Available = true,
 01639                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01640                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01641                            IsDeleted = false,
 01642                            RoleId = 3L
 01643                        },
 01644                        new
 01645                        {
 01646                            Id = 69L,
 01647                            ActionId = 9L,
 01648                            Available = true,
 01649                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01650                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01651                            IsDeleted = false,
 01652                            RoleId = 4L
 01653                        },
 01654                        new
 01655                        {
 01656                            Id = 70L,
 01657                            ActionId = 11L,
 01658                            Available = true,
 01659                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01660                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01661                            IsDeleted = false,
 01662                            RoleId = 4L
 01663                        },
 01664                        new
 01665                        {
 01666                            Id = 71L,
 01667                            ActionId = 8L,
 01668                            Available = true,
 01669                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01670                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01671                            IsDeleted = false,
 01672                            RoleId = 4L
 01673                        },
 01674                        new
 01675                        {
 01676                            Id = 72L,
 01677                            ActionId = 4L,
 01678                            Available = true,
 01679                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01680                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01681                            IsDeleted = false,
 01682                            RoleId = 4L
 01683                        },
 01684                        new
 01685                        {
 01686                            Id = 73L,
 01687                            ActionId = 5L,
 01688                            Available = true,
 01689                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01690                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01691                            IsDeleted = false,
 01692                            RoleId = 4L
 01693                        },
 01694                        new
 01695                        {
 01696                            Id = 75L,
 01697                            ActionId = 9L,
 01698                            Available = true,
 01699                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01700                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01701                            IsDeleted = false,
 01702                            RoleId = 5L
 01703                        },
 01704                        new
 01705                        {
 01706                            Id = 76L,
 01707                            ActionId = 11L,
 01708                            Available = true,
 01709                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01710                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01711                            IsDeleted = false,
 01712                            RoleId = 5L
 01713                        },
 01714                        new
 01715                        {
 01716                            Id = 77L,
 01717                            ActionId = 8L,
 01718                            Available = true,
 01719                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01720                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01721                            IsDeleted = false,
 01722                            RoleId = 5L
 01723                        },
 01724                        new
 01725                        {
 01726                            Id = 78L,
 01727                            ActionId = 4L,
 01728                            Available = true,
 01729                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01730                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01731                            IsDeleted = false,
 01732                            RoleId = 5L
 01733                        },
 01734                        new
 01735                        {
 01736                            Id = 79L,
 01737                            ActionId = 5L,
 01738                            Available = true,
 01739                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01740                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01741                            IsDeleted = false,
 01742                            RoleId = 5L
 01743                        },
 01744                        new
 01745                        {
 01746                            Id = 82L,
 01747                            ActionId = 11L,
 01748                            Available = true,
 01749                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01750                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01751                            IsDeleted = false,
 01752                            RoleId = 9L
 01753                        },
 01754                        new
 01755                        {
 01756                            Id = 83L,
 01757                            ActionId = 3L,
 01758                            Available = true,
 01759                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01760                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01761                            IsDeleted = false,
 01762                            RoleId = 1L
 01763                        },
 01764                        new
 01765                        {
 01766                            Id = 84L,
 01767                            ActionId = 3L,
 01768                            Available = true,
 01769                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01770                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01771                            IsDeleted = false,
 01772                            RoleId = 2L
 01773                        },
 01774                        new
 01775                        {
 01776                            Id = 85L,
 01777                            ActionId = 3L,
 01778                            Available = true,
 01779                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01780                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01781                            IsDeleted = false,
 01782                            RoleId = 3L
 01783                        },
 01784                        new
 01785                        {
 01786                            Id = 86L,
 01787                            ActionId = 3L,
 01788                            Available = true,
 01789                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01790                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01791                            IsDeleted = false,
 01792                            RoleId = 4L
 01793                        },
 01794                        new
 01795                        {
 01796                            Id = 87L,
 01797                            ActionId = 3L,
 01798                            Available = true,
 01799                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01800                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01801                            IsDeleted = false,
 01802                            RoleId = 5L
 01803                        },
 01804                        new
 01805                        {
 01806                            Id = 88L,
 01807                            ActionId = 3L,
 01808                            Available = true,
 01809                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01810                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01811                            IsDeleted = false,
 01812                            RoleId = 6L
 01813                        },
 01814                        new
 01815                        {
 01816                            Id = 89L,
 01817                            ActionId = 3L,
 01818                            Available = true,
 01819                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01820                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01821                            IsDeleted = false,
 01822                            RoleId = 7L
 01823                        },
 01824                        new
 01825                        {
 01826                            Id = 90L,
 01827                            ActionId = 3L,
 01828                            Available = true,
 01829                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01830                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01831                            IsDeleted = false,
 01832                            RoleId = 8L
 01833                        },
 01834                        new
 01835                        {
 01836                            Id = 95L,
 01837                            ActionId = 7L,
 01838                            Available = true,
 01839                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01840                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01841                            IsDeleted = false,
 01842                            RoleId = 7L
 01843                        },
 01844                        new
 01845                        {
 01846                            Id = 96L,
 01847                            ActionId = 2L,
 01848                            Available = true,
 01849                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01850                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01851                            IsDeleted = false,
 01852                            RoleId = 7L
 01853                        },
 01854                        new
 01855                        {
 01856                            Id = 97L,
 01857                            ActionId = 10L,
 01858                            Available = true,
 01859                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01860                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01861                            IsDeleted = false,
 01862                            RoleId = 7L
 01863                        },
 01864                        new
 01865                        {
 01866                            Id = 98L,
 01867                            ActionId = 7L,
 01868                            Available = true,
 01869                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01870                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01871                            IsDeleted = false,
 01872                            RoleId = 1L
 01873                        },
 01874                        new
 01875                        {
 01876                            Id = 99L,
 01877                            ActionId = 2L,
 01878                            Available = true,
 01879                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01880                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01881                            IsDeleted = false,
 01882                            RoleId = 1L
 01883                        },
 01884                        new
 01885                        {
 01886                            Id = 100L,
 01887                            ActionId = 10L,
 01888                            Available = true,
 01889                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01890                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01891                            IsDeleted = false,
 01892                            RoleId = 1L
 01893                        },
 01894                        new
 01895                        {
 01896                            Id = 101L,
 01897                            ActionId = 7L,
 01898                            Available = true,
 01899                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01900                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01901                            IsDeleted = false,
 01902                            RoleId = 2L
 01903                        },
 01904                        new
 01905                        {
 01906                            Id = 102L,
 01907                            ActionId = 2L,
 01908                            Available = true,
 01909                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01910                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01911                            IsDeleted = false,
 01912                            RoleId = 2L
 01913                        },
 01914                        new
 01915                        {
 01916                            Id = 103L,
 01917                            ActionId = 10L,
 01918                            Available = true,
 01919                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01920                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01921                            IsDeleted = false,
 01922                            RoleId = 2L
 01923                        },
 01924                        new
 01925                        {
 01926                            Id = 104L,
 01927                            ActionId = 7L,
 01928                            Available = false,
 01929                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01930                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01931                            IsDeleted = false,
 01932                            RoleId = 3L
 01933                        },
 01934                        new
 01935                        {
 01936                            Id = 105L,
 01937                            ActionId = 2L,
 01938                            Available = false,
 01939                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01940                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01941                            IsDeleted = false,
 01942                            RoleId = 3L
 01943                        },
 01944                        new
 01945                        {
 01946                            Id = 106L,
 01947                            ActionId = 10L,
 01948                            Available = false,
 01949                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01950                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01951                            IsDeleted = false,
 01952                            RoleId = 3L
 01953                        },
 01954                        new
 01955                        {
 01956                            Id = 107L,
 01957                            ActionId = 14L,
 01958                            Available = true,
 01959                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01960                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01961                            IsDeleted = false,
 01962                            RoleId = 1L
 01963                        },
 01964                        new
 01965                        {
 01966                            Id = 108L,
 01967                            ActionId = 14L,
 01968                            Available = false,
 01969                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01970                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01971                            IsDeleted = false,
 01972                            RoleId = 2L
 01973                        },
 01974                        new
 01975                        {
 01976                            Id = 109L,
 01977                            ActionId = 14L,
 01978                            Available = true,
 01979                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01980                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01981                            IsDeleted = false,
 01982                            RoleId = 3L
 01983                        },
 01984                        new
 01985                        {
 01986                            Id = 110L,
 01987                            ActionId = 14L,
 01988                            Available = true,
 01989                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01990                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01991                            IsDeleted = false,
 01992                            RoleId = 7L
 01993                        },
 01994                        new
 01995                        {
 01996                            Id = 111L,
 01997                            ActionId = 14L,
 01998                            Available = true,
 01999                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02000                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02001                            IsDeleted = false,
 02002                            RoleId = 6L
 02003                        },
 02004                        new
 02005                        {
 02006                            Id = 112L,
 02007                            ActionId = 2L,
 02008                            Available = true,
 02009                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02010                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02011                            IsDeleted = false,
 02012                            RoleId = 6L
 02013                        },
 02014                        new
 02015                        {
 02016                            Id = 113L,
 02017                            ActionId = 7L,
 02018                            Available = true,
 02019                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02020                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02021                            IsDeleted = false,
 02022                            RoleId = 6L
 02023                        },
 02024                        new
 02025                        {
 02026                            Id = 114L,
 02027                            ActionId = 10L,
 02028                            Available = true,
 02029                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02030                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02031                            IsDeleted = false,
 02032                            RoleId = 6L
 02033                        },
 02034                        new
 02035                        {
 02036                            Id = 115L,
 02037                            ActionId = 1L,
 02038                            Available = true,
 02039                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02040                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02041                            IsDeleted = false,
 02042                            RoleId = 3L
 02043                        },
 02044                        new
 02045                        {
 02046                            Id = 116L,
 02047                            ActionId = 1L,
 02048                            Available = true,
 02049                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02050                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02051                            IsDeleted = false,
 02052                            RoleId = 4L
 02053                        },
 02054                        new
 02055                        {
 02056                            Id = 117L,
 02057                            ActionId = 1L,
 02058                            Available = true,
 02059                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02060                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02061                            IsDeleted = false,
 02062                            RoleId = 5L
 02063                        },
 02064                        new
 02065                        {
 02066                            Id = 118L,
 02067                            ActionId = 13L,
 02068                            Available = true,
 02069                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02070                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02071                            IsDeleted = false,
 02072                            RoleId = 3L
 02073                        },
 02074                        new
 02075                        {
 02076                            Id = 119L,
 02077                            ActionId = 7L,
 02078                            Available = false,
 02079                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02080                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02081                            IsDeleted = false,
 02082                            RoleId = 4L
 02083                        },
 02084                        new
 02085                        {
 02086                            Id = 120L,
 02087                            ActionId = 2L,
 02088                            Available = false,
 02089                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02090                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02091                            IsDeleted = false,
 02092                            RoleId = 4L
 02093                        },
 02094                        new
 02095                        {
 02096                            Id = 121L,
 02097                            ActionId = 10L,
 02098                            Available = false,
 02099                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02100                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02101                            IsDeleted = false,
 02102                            RoleId = 4L
 02103                        },
 02104                        new
 02105                        {
 02106                            Id = 122L,
 02107                            ActionId = 7L,
 02108                            Available = false,
 02109                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02110                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02111                            IsDeleted = false,
 02112                            RoleId = 5L
 02113                        },
 02114                        new
 02115                        {
 02116                            Id = 123L,
 02117                            ActionId = 2L,
 02118                            Available = false,
 02119                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02120                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02121                            IsDeleted = false,
 02122                            RoleId = 5L
 02123                        },
 02124                        new
 02125                        {
 02126                            Id = 124L,
 02127                            ActionId = 10L,
 02128                            Available = false,
 02129                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02130                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02131                            IsDeleted = false,
 02132                            RoleId = 5L
 02133                        },
 02134                        new
 02135                        {
 02136                            Id = 127L,
 02137                            ActionId = 15L,
 02138                            Available = true,
 02139                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02140                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02141                            IsDeleted = false,
 02142                            RoleId = 3L
 02143                        },
 02144                        new
 02145                        {
 02146                            Id = 130L,
 02147                            ActionId = 15L,
 02148                            Available = true,
 02149                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02150                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02151                            IsDeleted = false,
 02152                            RoleId = 6L
 02153                        },
 02154                        new
 02155                        {
 02156                            Id = 131L,
 02157                            ActionId = 16L,
 02158                            Available = true,
 02159                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02160                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02161                            IsDeleted = false,
 02162                            RoleId = 1L
 02163                        },
 02164                        new
 02165                        {
 02166                            Id = 132L,
 02167                            ActionId = 16L,
 02168                            Available = true,
 02169                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02170                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02171                            IsDeleted = false,
 02172                            RoleId = 3L
 02173                        },
 02174                        new
 02175                        {
 02176                            Id = 133L,
 02177                            ActionId = 16L,
 02178                            Available = true,
 02179                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02180                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02181                            IsDeleted = false,
 02182                            RoleId = 4L
 02183                        },
 02184                        new
 02185                        {
 02186                            Id = 134L,
 02187                            ActionId = 16L,
 02188                            Available = true,
 02189                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02190                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02191                            IsDeleted = false,
 02192                            RoleId = 5L
 02193                        },
 02194                        new
 02195                        {
 02196                            Id = 135L,
 02197                            ActionId = 16L,
 02198                            Available = true,
 02199                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02200                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02201                            IsDeleted = false,
 02202                            RoleId = 6L
 02203                        },
 02204                        new
 02205                        {
 02206                            Id = 136L,
 02207                            ActionId = 16L,
 02208                            Available = true,
 02209                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02210                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02211                            IsDeleted = false,
 02212                            RoleId = 7L
 02213                        },
 02214                        new
 02215                        {
 02216                            Id = 137L,
 02217                            ActionId = 16L,
 02218                            Available = true,
 02219                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02220                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02221                            IsDeleted = false,
 02222                            RoleId = 8L
 02223                        },
 02224                        new
 02225                        {
 02226                            Id = 138L,
 02227                            ActionId = 17L,
 02228                            Available = true,
 02229                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02230                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02231                            IsDeleted = false,
 02232                            RoleId = 1L
 02233                        },
 02234                        new
 02235                        {
 02236                            Id = 139L,
 02237                            ActionId = 17L,
 02238                            Available = true,
 02239                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02240                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02241                            IsDeleted = false,
 02242                            RoleId = 3L
 02243                        },
 02244                        new
 02245                        {
 02246                            Id = 140L,
 02247                            ActionId = 17L,
 02248                            Available = true,
 02249                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02250                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02251                            IsDeleted = false,
 02252                            RoleId = 4L
 02253                        },
 02254                        new
 02255                        {
 02256                            Id = 141L,
 02257                            ActionId = 17L,
 02258                            Available = true,
 02259                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02260                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02261                            IsDeleted = false,
 02262                            RoleId = 5L
 02263                        },
 02264                        new
 02265                        {
 02266                            Id = 142L,
 02267                            ActionId = 17L,
 02268                            Available = true,
 02269                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02270                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02271                            IsDeleted = false,
 02272                            RoleId = 6L
 02273                        },
 02274                        new
 02275                        {
 02276                            Id = 143L,
 02277                            ActionId = 17L,
 02278                            Available = true,
 02279                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02280                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02281                            IsDeleted = false,
 02282                            RoleId = 7L
 02283                        },
 02284                        new
 02285                        {
 02286                            Id = 144L,
 02287                            ActionId = 17L,
 02288                            Available = true,
 02289                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02290                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02291                            IsDeleted = false,
 02292                            RoleId = 8L
 02293                        },
 02294                        new
 02295                        {
 02296                            Id = 145L,
 02297                            ActionId = 18L,
 02298                            Available = true,
 02299                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02300                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02301                            IsDeleted = false,
 02302                            RoleId = 1L
 02303                        },
 02304                        new
 02305                        {
 02306                            Id = 146L,
 02307                            ActionId = 18L,
 02308                            Available = true,
 02309                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02310                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02311                            IsDeleted = false,
 02312                            RoleId = 3L
 02313                        },
 02314                        new
 02315                        {
 02316                            Id = 147L,
 02317                            ActionId = 18L,
 02318                            Available = true,
 02319                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02320                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02321                            IsDeleted = false,
 02322                            RoleId = 4L
 02323                        },
 02324                        new
 02325                        {
 02326                            Id = 148L,
 02327                            ActionId = 18L,
 02328                            Available = true,
 02329                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02330                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02331                            IsDeleted = false,
 02332                            RoleId = 5L
 02333                        },
 02334                        new
 02335                        {
 02336                            Id = 149L,
 02337                            ActionId = 18L,
 02338                            Available = true,
 02339                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02340                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02341                            IsDeleted = false,
 02342                            RoleId = 6L
 02343                        },
 02344                        new
 02345                        {
 02346                            Id = 150L,
 02347                            ActionId = 18L,
 02348                            Available = true,
 02349                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02350                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02351                            IsDeleted = false,
 02352                            RoleId = 7L
 02353                        },
 02354                        new
 02355                        {
 02356                            Id = 151L,
 02357                            ActionId = 18L,
 02358                            Available = true,
 02359                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02360                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02361                            IsDeleted = false,
 02362                            RoleId = 8L
 02363                        },
 02364                        new
 02365                        {
 02366                            Id = 152L,
 02367                            ActionId = 20L,
 02368                            Available = true,
 02369                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02370                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02371                            IsDeleted = false,
 02372                            RoleId = 1L
 02373                        },
 02374                        new
 02375                        {
 02376                            Id = 153L,
 02377                            ActionId = 20L,
 02378                            Available = true,
 02379                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02380                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02381                            IsDeleted = false,
 02382                            RoleId = 3L
 02383                        },
 02384                        new
 02385                        {
 02386                            Id = 154L,
 02387                            ActionId = 20L,
 02388                            Available = true,
 02389                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02390                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02391                            IsDeleted = false,
 02392                            RoleId = 4L
 02393                        },
 02394                        new
 02395                        {
 02396                            Id = 155L,
 02397                            ActionId = 20L,
 02398                            Available = true,
 02399                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02400                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02401                            IsDeleted = false,
 02402                            RoleId = 5L
 02403                        },
 02404                        new
 02405                        {
 02406                            Id = 156L,
 02407                            ActionId = 20L,
 02408                            Available = true,
 02409                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02410                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02411                            IsDeleted = false,
 02412                            RoleId = 6L
 02413                        },
 02414                        new
 02415                        {
 02416                            Id = 157L,
 02417                            ActionId = 20L,
 02418                            Available = true,
 02419                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02420                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02421                            IsDeleted = false,
 02422                            RoleId = 7L
 02423                        },
 02424                        new
 02425                        {
 02426                            Id = 158L,
 02427                            ActionId = 20L,
 02428                            Available = true,
 02429                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02430                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02431                            IsDeleted = false,
 02432                            RoleId = 8L
 02433                        },
 02434                        new
 02435                        {
 02436                            Id = 159L,
 02437                            ActionId = 21L,
 02438                            Available = true,
 02439                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02440                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02441                            IsDeleted = false,
 02442                            RoleId = 1L
 02443                        },
 02444                        new
 02445                        {
 02446                            Id = 160L,
 02447                            ActionId = 21L,
 02448                            Available = true,
 02449                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02450                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02451                            IsDeleted = false,
 02452                            RoleId = 3L
 02453                        },
 02454                        new
 02455                        {
 02456                            Id = 161L,
 02457                            ActionId = 21L,
 02458                            Available = true,
 02459                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02460                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02461                            IsDeleted = false,
 02462                            RoleId = 4L
 02463                        },
 02464                        new
 02465                        {
 02466                            Id = 162L,
 02467                            ActionId = 21L,
 02468                            Available = true,
 02469                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02470                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02471                            IsDeleted = false,
 02472                            RoleId = 5L
 02473                        },
 02474                        new
 02475                        {
 02476                            Id = 163L,
 02477                            ActionId = 21L,
 02478                            Available = true,
 02479                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02480                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02481                            IsDeleted = false,
 02482                            RoleId = 6L
 02483                        },
 02484                        new
 02485                        {
 02486                            Id = 164L,
 02487                            ActionId = 21L,
 02488                            Available = true,
 02489                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02490                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02491                            IsDeleted = false,
 02492                            RoleId = 7L
 02493                        },
 02494                        new
 02495                        {
 02496                            Id = 165L,
 02497                            ActionId = 21L,
 02498                            Available = true,
 02499                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02500                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02501                            IsDeleted = false,
 02502                            RoleId = 8L
 02503                        },
 02504                        new
 02505                        {
 02506                            Id = 166L,
 02507                            ActionId = 19L,
 02508                            Available = true,
 02509                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02510                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02511                            IsDeleted = false,
 02512                            RoleId = 1L
 02513                        },
 02514                        new
 02515                        {
 02516                            Id = 167L,
 02517                            ActionId = 19L,
 02518                            Available = true,
 02519                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02520                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02521                            IsDeleted = false,
 02522                            RoleId = 2L
 02523                        },
 02524                        new
 02525                        {
 02526                            Id = 168L,
 02527                            ActionId = 19L,
 02528                            Available = true,
 02529                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02530                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02531                            IsDeleted = false,
 02532                            RoleId = 3L
 02533                        },
 02534                        new
 02535                        {
 02536                            Id = 169L,
 02537                            ActionId = 19L,
 02538                            Available = true,
 02539                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02540                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02541                            IsDeleted = false,
 02542                            RoleId = 4L
 02543                        },
 02544                        new
 02545                        {
 02546                            Id = 170L,
 02547                            ActionId = 19L,
 02548                            Available = true,
 02549                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02550                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02551                            IsDeleted = false,
 02552                            RoleId = 5L
 02553                        },
 02554                        new
 02555                        {
 02556                            Id = 171L,
 02557                            ActionId = 19L,
 02558                            Available = true,
 02559                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02560                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02561                            IsDeleted = false,
 02562                            RoleId = 6L
 02563                        },
 02564                        new
 02565                        {
 02566                            Id = 172L,
 02567                            ActionId = 19L,
 02568                            Available = true,
 02569                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02570                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02571                            IsDeleted = false,
 02572                            RoleId = 8L
 02573                        });
 02574                });
 2575
 02576            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", b =>
 02577                {
 02578                    b.Property<long>("Id")
 02579                        .ValueGeneratedOnAdd()
 02580                        .HasColumnType("bigint")
 02581                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 02582                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 02583
 02584                    b.Property<int>("Code")
 02585                        .HasColumnType("integer");
 02586
 02587                    b.Property<long?>("CreatedByUserId")
 02588                        .HasColumnType("bigint");
 02589
 02590                    b.Property<DateTime>("CreationDateTime")
 02591                        .HasColumnType("timestamp without time zone");
 02592
 02593                    b.Property<Guid>("GUID")
 02594                        .ValueGeneratedOnAdd()
 02595                        .HasColumnType("uuid");
 02596
 02597                    b.Property<bool>("IsDeleted")
 02598                        .HasColumnType("boolean");
 02599
 02600                    b.Property<DateTime?>("ModificationDateTime")
 02601                        .HasColumnType("timestamp without time zone");
 02602
 02603                    b.Property<long?>("ModifiedByUserId")
 02604                        .HasColumnType("bigint");
 02605
 02606                    b.Property<string>("Name")
 02607                        .IsRequired()
 02608                        .HasColumnType("text");
 02609
 02610                    b.Property<long?>("RecStateId")
 02611                        .HasColumnType("bigint");
 02612
 02613                    b.HasKey("Id");
 02614
 02615                    b.HasIndex("CreatedByUserId");
 02616
 02617                    b.HasIndex("ModifiedByUserId");
 02618
 02619                    b.HasIndex("Name")
 02620                        .IsUnique();
 02621
 02622                    b.HasIndex("RecStateId");
 02623
 02624                    b.ToTable("Countries");
 02625
 02626                    b.HasData(
 02627                        new
 02628                        {
 02629                            Id = 2L,
 02630                            Code = 895,
 02631                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02632                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02633                            IsDeleted = false,
 02634                            Name = "Абхазия"
 02635                        },
 02636                        new
 02637                        {
 02638                            Id = 3L,
 02639                            Code = 36,
 02640                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02641                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02642                            IsDeleted = false,
 02643                            Name = "Австралия"
 02644                        },
 02645                        new
 02646                        {
 02647                            Id = 4L,
 02648                            Code = 40,
 02649                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02650                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02651                            IsDeleted = false,
 02652                            Name = "Австрия"
 02653                        },
 02654                        new
 02655                        {
 02656                            Id = 5L,
 02657                            Code = 31,
 02658                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02659                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02660                            IsDeleted = false,
 02661                            Name = "Азербайджан"
 02662                        },
 02663                        new
 02664                        {
 02665                            Id = 6L,
 02666                            Code = 8,
 02667                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02668                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02669                            IsDeleted = false,
 02670                            Name = "Албания"
 02671                        },
 02672                        new
 02673                        {
 02674                            Id = 7L,
 02675                            Code = 12,
 02676                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02677                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02678                            IsDeleted = false,
 02679                            Name = "Алжир"
 02680                        },
 02681                        new
 02682                        {
 02683                            Id = 8L,
 02684                            Code = 16,
 02685                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02686                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02687                            IsDeleted = false,
 02688                            Name = "Американское Самоа"
 02689                        },
 02690                        new
 02691                        {
 02692                            Id = 9L,
 02693                            Code = 660,
 02694                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02695                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02696                            IsDeleted = false,
 02697                            Name = "Ангилья"
 02698                        },
 02699                        new
 02700                        {
 02701                            Id = 10L,
 02702                            Code = 24,
 02703                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02704                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02705                            IsDeleted = false,
 02706                            Name = "Ангола"
 02707                        },
 02708                        new
 02709                        {
 02710                            Id = 11L,
 02711                            Code = 20,
 02712                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02713                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02714                            IsDeleted = false,
 02715                            Name = "Андорра"
 02716                        },
 02717                        new
 02718                        {
 02719                            Id = 12L,
 02720                            Code = 10,
 02721                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02722                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02723                            IsDeleted = false,
 02724                            Name = "Антарктида"
 02725                        },
 02726                        new
 02727                        {
 02728                            Id = 13L,
 02729                            Code = 28,
 02730                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02731                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02732                            IsDeleted = false,
 02733                            Name = "Антигуа и Барбуда"
 02734                        },
 02735                        new
 02736                        {
 02737                            Id = 14L,
 02738                            Code = 32,
 02739                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02740                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02741                            IsDeleted = false,
 02742                            Name = "Аргентина"
 02743                        },
 02744                        new
 02745                        {
 02746                            Id = 15L,
 02747                            Code = 51,
 02748                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02749                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02750                            IsDeleted = false,
 02751                            Name = "Армения"
 02752                        },
 02753                        new
 02754                        {
 02755                            Id = 16L,
 02756                            Code = 533,
 02757                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02758                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02759                            IsDeleted = false,
 02760                            Name = "Аруба"
 02761                        },
 02762                        new
 02763                        {
 02764                            Id = 17L,
 02765                            Code = 4,
 02766                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02767                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02768                            IsDeleted = false,
 02769                            Name = "Афганистан"
 02770                        },
 02771                        new
 02772                        {
 02773                            Id = 18L,
 02774                            Code = 44,
 02775                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02776                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02777                            IsDeleted = false,
 02778                            Name = "Багамы"
 02779                        },
 02780                        new
 02781                        {
 02782                            Id = 19L,
 02783                            Code = 50,
 02784                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02785                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02786                            IsDeleted = false,
 02787                            Name = "Бангладеш"
 02788                        },
 02789                        new
 02790                        {
 02791                            Id = 20L,
 02792                            Code = 52,
 02793                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02794                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02795                            IsDeleted = false,
 02796                            Name = "Барбадос"
 02797                        },
 02798                        new
 02799                        {
 02800                            Id = 21L,
 02801                            Code = 48,
 02802                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02803                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02804                            IsDeleted = false,
 02805                            Name = "Бахрейн"
 02806                        },
 02807                        new
 02808                        {
 02809                            Id = 22L,
 02810                            Code = 112,
 02811                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02812                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02813                            IsDeleted = false,
 02814                            Name = "Беларусь"
 02815                        },
 02816                        new
 02817                        {
 02818                            Id = 23L,
 02819                            Code = 84,
 02820                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02821                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02822                            IsDeleted = false,
 02823                            Name = "Белиз"
 02824                        },
 02825                        new
 02826                        {
 02827                            Id = 24L,
 02828                            Code = 56,
 02829                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02830                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02831                            IsDeleted = false,
 02832                            Name = "Бельгия"
 02833                        },
 02834                        new
 02835                        {
 02836                            Id = 25L,
 02837                            Code = 204,
 02838                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02839                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02840                            IsDeleted = false,
 02841                            Name = "Бенин"
 02842                        },
 02843                        new
 02844                        {
 02845                            Id = 26L,
 02846                            Code = 60,
 02847                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02848                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02849                            IsDeleted = false,
 02850                            Name = "Бермуды"
 02851                        },
 02852                        new
 02853                        {
 02854                            Id = 27L,
 02855                            Code = 100,
 02856                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02857                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02858                            IsDeleted = false,
 02859                            Name = "Болгария"
 02860                        },
 02861                        new
 02862                        {
 02863                            Id = 28L,
 02864                            Code = 68,
 02865                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02866                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02867                            IsDeleted = false,
 02868                            Name = "Боливия, Многонациональное Государство"
 02869                        },
 02870                        new
 02871                        {
 02872                            Id = 29L,
 02873                            Code = 535,
 02874                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02875                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02876                            IsDeleted = false,
 02877                            Name = "Бонэйр, Синт-Эстатиус и Саба"
 02878                        },
 02879                        new
 02880                        {
 02881                            Id = 30L,
 02882                            Code = 70,
 02883                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02884                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02885                            IsDeleted = false,
 02886                            Name = "Босния и Герцеговина"
 02887                        },
 02888                        new
 02889                        {
 02890                            Id = 31L,
 02891                            Code = 72,
 02892                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02893                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02894                            IsDeleted = false,
 02895                            Name = "Ботсвана"
 02896                        },
 02897                        new
 02898                        {
 02899                            Id = 32L,
 02900                            Code = 76,
 02901                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02902                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02903                            IsDeleted = false,
 02904                            Name = "Бразилия"
 02905                        },
 02906                        new
 02907                        {
 02908                            Id = 33L,
 02909                            Code = 86,
 02910                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02911                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02912                            IsDeleted = false,
 02913                            Name = "Британская территория в Индийском океане"
 02914                        },
 02915                        new
 02916                        {
 02917                            Id = 34L,
 02918                            Code = 96,
 02919                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02920                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02921                            IsDeleted = false,
 02922                            Name = "Бруней-Даруссалам"
 02923                        },
 02924                        new
 02925                        {
 02926                            Id = 35L,
 02927                            Code = 854,
 02928                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02929                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02930                            IsDeleted = false,
 02931                            Name = "Буркина-Фасо"
 02932                        },
 02933                        new
 02934                        {
 02935                            Id = 36L,
 02936                            Code = 108,
 02937                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02938                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02939                            IsDeleted = false,
 02940                            Name = "Бурунди"
 02941                        },
 02942                        new
 02943                        {
 02944                            Id = 37L,
 02945                            Code = 64,
 02946                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02947                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02948                            IsDeleted = false,
 02949                            Name = "Бутан"
 02950                        },
 02951                        new
 02952                        {
 02953                            Id = 38L,
 02954                            Code = 548,
 02955                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02956                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02957                            IsDeleted = false,
 02958                            Name = "Вануату"
 02959                        },
 02960                        new
 02961                        {
 02962                            Id = 39L,
 02963                            Code = 348,
 02964                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02965                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02966                            IsDeleted = false,
 02967                            Name = "Венгрия"
 02968                        },
 02969                        new
 02970                        {
 02971                            Id = 40L,
 02972                            Code = 862,
 02973                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02974                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02975                            IsDeleted = false,
 02976                            Name = "Венесуэла Боливарианская Республика"
 02977                        },
 02978                        new
 02979                        {
 02980                            Id = 41L,
 02981                            Code = 92,
 02982                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02983                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02984                            IsDeleted = false,
 02985                            Name = "Виргинские острова (Британские)"
 02986                        },
 02987                        new
 02988                        {
 02989                            Id = 42L,
 02990                            Code = 850,
 02991                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02992                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02993                            IsDeleted = false,
 02994                            Name = "Виргинские острова (США)"
 02995                        },
 02996                        new
 02997                        {
 02998                            Id = 43L,
 02999                            Code = 704,
 03000                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03001                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03002                            IsDeleted = false,
 03003                            Name = "Вьетнам"
 03004                        },
 03005                        new
 03006                        {
 03007                            Id = 44L,
 03008                            Code = 266,
 03009                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03010                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03011                            IsDeleted = false,
 03012                            Name = "Габон"
 03013                        },
 03014                        new
 03015                        {
 03016                            Id = 45L,
 03017                            Code = 332,
 03018                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03019                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03020                            IsDeleted = false,
 03021                            Name = "Гаити"
 03022                        },
 03023                        new
 03024                        {
 03025                            Id = 46L,
 03026                            Code = 328,
 03027                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03028                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03029                            IsDeleted = false,
 03030                            Name = "Гайана"
 03031                        },
 03032                        new
 03033                        {
 03034                            Id = 47L,
 03035                            Code = 270,
 03036                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03037                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03038                            IsDeleted = false,
 03039                            Name = "Гамбия"
 03040                        },
 03041                        new
 03042                        {
 03043                            Id = 48L,
 03044                            Code = 288,
 03045                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03046                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03047                            IsDeleted = false,
 03048                            Name = "Гана"
 03049                        },
 03050                        new
 03051                        {
 03052                            Id = 49L,
 03053                            Code = 312,
 03054                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03055                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03056                            IsDeleted = false,
 03057                            Name = "Гваделупа"
 03058                        },
 03059                        new
 03060                        {
 03061                            Id = 50L,
 03062                            Code = 320,
 03063                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03064                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03065                            IsDeleted = false,
 03066                            Name = "Гватемала"
 03067                        },
 03068                        new
 03069                        {
 03070                            Id = 51L,
 03071                            Code = 324,
 03072                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03073                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03074                            IsDeleted = false,
 03075                            Name = "Гвинея"
 03076                        },
 03077                        new
 03078                        {
 03079                            Id = 52L,
 03080                            Code = 624,
 03081                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03082                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03083                            IsDeleted = false,
 03084                            Name = "Гвинея-Бисау"
 03085                        },
 03086                        new
 03087                        {
 03088                            Id = 53L,
 03089                            Code = 276,
 03090                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03091                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03092                            IsDeleted = false,
 03093                            Name = "Германия"
 03094                        },
 03095                        new
 03096                        {
 03097                            Id = 54L,
 03098                            Code = 831,
 03099                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03100                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03101                            IsDeleted = false,
 03102                            Name = "Гернси"
 03103                        },
 03104                        new
 03105                        {
 03106                            Id = 55L,
 03107                            Code = 292,
 03108                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03109                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03110                            IsDeleted = false,
 03111                            Name = "Гибралтар"
 03112                        },
 03113                        new
 03114                        {
 03115                            Id = 56L,
 03116                            Code = 340,
 03117                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03118                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03119                            IsDeleted = false,
 03120                            Name = "Гондурас"
 03121                        },
 03122                        new
 03123                        {
 03124                            Id = 57L,
 03125                            Code = 344,
 03126                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03127                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03128                            IsDeleted = false,
 03129                            Name = "Гонконг"
 03130                        },
 03131                        new
 03132                        {
 03133                            Id = 58L,
 03134                            Code = 308,
 03135                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03136                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03137                            IsDeleted = false,
 03138                            Name = "Гренада"
 03139                        },
 03140                        new
 03141                        {
 03142                            Id = 59L,
 03143                            Code = 304,
 03144                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03145                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03146                            IsDeleted = false,
 03147                            Name = "Гренландия"
 03148                        },
 03149                        new
 03150                        {
 03151                            Id = 60L,
 03152                            Code = 300,
 03153                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03154                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03155                            IsDeleted = false,
 03156                            Name = "Греция"
 03157                        },
 03158                        new
 03159                        {
 03160                            Id = 61L,
 03161                            Code = 268,
 03162                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03163                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03164                            IsDeleted = false,
 03165                            Name = "Грузия"
 03166                        },
 03167                        new
 03168                        {
 03169                            Id = 62L,
 03170                            Code = 316,
 03171                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03172                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03173                            IsDeleted = false,
 03174                            Name = "Гуам"
 03175                        },
 03176                        new
 03177                        {
 03178                            Id = 63L,
 03179                            Code = 208,
 03180                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03181                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03182                            IsDeleted = false,
 03183                            Name = "Дания"
 03184                        },
 03185                        new
 03186                        {
 03187                            Id = 64L,
 03188                            Code = 832,
 03189                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03190                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03191                            IsDeleted = false,
 03192                            Name = "Джерси"
 03193                        },
 03194                        new
 03195                        {
 03196                            Id = 65L,
 03197                            Code = 262,
 03198                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03199                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03200                            IsDeleted = false,
 03201                            Name = "Джибути"
 03202                        },
 03203                        new
 03204                        {
 03205                            Id = 66L,
 03206                            Code = 212,
 03207                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03208                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03209                            IsDeleted = false,
 03210                            Name = "Доминика"
 03211                        },
 03212                        new
 03213                        {
 03214                            Id = 67L,
 03215                            Code = 214,
 03216                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03217                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03218                            IsDeleted = false,
 03219                            Name = "Доминиканская Республика"
 03220                        },
 03221                        new
 03222                        {
 03223                            Id = 68L,
 03224                            Code = 818,
 03225                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03226                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03227                            IsDeleted = false,
 03228                            Name = "Египет"
 03229                        },
 03230                        new
 03231                        {
 03232                            Id = 69L,
 03233                            Code = 894,
 03234                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03235                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03236                            IsDeleted = false,
 03237                            Name = "Замбия"
 03238                        },
 03239                        new
 03240                        {
 03241                            Id = 70L,
 03242                            Code = 732,
 03243                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03244                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03245                            IsDeleted = false,
 03246                            Name = "Западная Сахара"
 03247                        },
 03248                        new
 03249                        {
 03250                            Id = 71L,
 03251                            Code = 716,
 03252                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03253                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03254                            IsDeleted = false,
 03255                            Name = "Зимбабве"
 03256                        },
 03257                        new
 03258                        {
 03259                            Id = 72L,
 03260                            Code = 376,
 03261                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03262                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03263                            IsDeleted = false,
 03264                            Name = "Израиль"
 03265                        },
 03266                        new
 03267                        {
 03268                            Id = 73L,
 03269                            Code = 356,
 03270                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03271                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03272                            IsDeleted = false,
 03273                            Name = "Индия"
 03274                        },
 03275                        new
 03276                        {
 03277                            Id = 74L,
 03278                            Code = 360,
 03279                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03280                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03281                            IsDeleted = false,
 03282                            Name = "Индонезия"
 03283                        },
 03284                        new
 03285                        {
 03286                            Id = 75L,
 03287                            Code = 400,
 03288                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03289                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03290                            IsDeleted = false,
 03291                            Name = "Иордания"
 03292                        },
 03293                        new
 03294                        {
 03295                            Id = 76L,
 03296                            Code = 368,
 03297                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03298                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03299                            IsDeleted = false,
 03300                            Name = "Ирак"
 03301                        },
 03302                        new
 03303                        {
 03304                            Id = 77L,
 03305                            Code = 364,
 03306                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03307                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03308                            IsDeleted = false,
 03309                            Name = "Иран (Исламская Республика)"
 03310                        },
 03311                        new
 03312                        {
 03313                            Id = 78L,
 03314                            Code = 372,
 03315                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03316                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03317                            IsDeleted = false,
 03318                            Name = "Ирландия"
 03319                        },
 03320                        new
 03321                        {
 03322                            Id = 79L,
 03323                            Code = 352,
 03324                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03325                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03326                            IsDeleted = false,
 03327                            Name = "Исландия"
 03328                        },
 03329                        new
 03330                        {
 03331                            Id = 80L,
 03332                            Code = 724,
 03333                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03334                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03335                            IsDeleted = false,
 03336                            Name = "Испания"
 03337                        },
 03338                        new
 03339                        {
 03340                            Id = 81L,
 03341                            Code = 380,
 03342                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03343                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03344                            IsDeleted = false,
 03345                            Name = "Италия"
 03346                        },
 03347                        new
 03348                        {
 03349                            Id = 82L,
 03350                            Code = 887,
 03351                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03352                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03353                            IsDeleted = false,
 03354                            Name = "Йемен"
 03355                        },
 03356                        new
 03357                        {
 03358                            Id = 83L,
 03359                            Code = 132,
 03360                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03361                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03362                            IsDeleted = false,
 03363                            Name = "Кабо-Верде"
 03364                        },
 03365                        new
 03366                        {
 03367                            Id = 84L,
 03368                            Code = 398,
 03369                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03370                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03371                            IsDeleted = false,
 03372                            Name = "Казахстан"
 03373                        },
 03374                        new
 03375                        {
 03376                            Id = 85L,
 03377                            Code = 116,
 03378                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03379                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03380                            IsDeleted = false,
 03381                            Name = "Камбоджа"
 03382                        },
 03383                        new
 03384                        {
 03385                            Id = 86L,
 03386                            Code = 120,
 03387                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03388                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03389                            IsDeleted = false,
 03390                            Name = "Камерун"
 03391                        },
 03392                        new
 03393                        {
 03394                            Id = 87L,
 03395                            Code = 124,
 03396                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03397                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03398                            IsDeleted = false,
 03399                            Name = "Канада"
 03400                        },
 03401                        new
 03402                        {
 03403                            Id = 88L,
 03404                            Code = 634,
 03405                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03406                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03407                            IsDeleted = false,
 03408                            Name = "Катар"
 03409                        },
 03410                        new
 03411                        {
 03412                            Id = 89L,
 03413                            Code = 404,
 03414                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03415                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03416                            IsDeleted = false,
 03417                            Name = "Кения"
 03418                        },
 03419                        new
 03420                        {
 03421                            Id = 90L,
 03422                            Code = 196,
 03423                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03424                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03425                            IsDeleted = false,
 03426                            Name = "Кипр"
 03427                        },
 03428                        new
 03429                        {
 03430                            Id = 91L,
 03431                            Code = 417,
 03432                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03433                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03434                            IsDeleted = false,
 03435                            Name = "Киргизия"
 03436                        },
 03437                        new
 03438                        {
 03439                            Id = 92L,
 03440                            Code = 296,
 03441                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03442                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03443                            IsDeleted = false,
 03444                            Name = "Кирибати"
 03445                        },
 03446                        new
 03447                        {
 03448                            Id = 93L,
 03449                            Code = 156,
 03450                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03451                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03452                            IsDeleted = false,
 03453                            Name = "Китай"
 03454                        },
 03455                        new
 03456                        {
 03457                            Id = 94L,
 03458                            Code = 166,
 03459                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03460                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03461                            IsDeleted = false,
 03462                            Name = "Кокосовые (Килинг) острова"
 03463                        },
 03464                        new
 03465                        {
 03466                            Id = 95L,
 03467                            Code = 170,
 03468                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03469                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03470                            IsDeleted = false,
 03471                            Name = "Колумбия"
 03472                        },
 03473                        new
 03474                        {
 03475                            Id = 96L,
 03476                            Code = 174,
 03477                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03478                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03479                            IsDeleted = false,
 03480                            Name = "Коморы"
 03481                        },
 03482                        new
 03483                        {
 03484                            Id = 97L,
 03485                            Code = 178,
 03486                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03487                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03488                            IsDeleted = false,
 03489                            Name = "Конго"
 03490                        },
 03491                        new
 03492                        {
 03493                            Id = 98L,
 03494                            Code = 180,
 03495                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03496                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03497                            IsDeleted = false,
 03498                            Name = "Конго, Демократическая Республика"
 03499                        },
 03500                        new
 03501                        {
 03502                            Id = 99L,
 03503                            Code = 408,
 03504                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03505                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03506                            IsDeleted = false,
 03507                            Name = "Корея, Народно-Демократическая Республика"
 03508                        },
 03509                        new
 03510                        {
 03511                            Id = 100L,
 03512                            Code = 410,
 03513                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03514                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03515                            IsDeleted = false,
 03516                            Name = "Корея, Республика"
 03517                        },
 03518                        new
 03519                        {
 03520                            Id = 101L,
 03521                            Code = 188,
 03522                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03523                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03524                            IsDeleted = false,
 03525                            Name = "Коста-Рика"
 03526                        },
 03527                        new
 03528                        {
 03529                            Id = 102L,
 03530                            Code = 384,
 03531                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03532                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03533                            IsDeleted = false,
 03534                            Name = "Кот д'Ивуар"
 03535                        },
 03536                        new
 03537                        {
 03538                            Id = 103L,
 03539                            Code = 192,
 03540                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03541                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03542                            IsDeleted = false,
 03543                            Name = "Куба"
 03544                        },
 03545                        new
 03546                        {
 03547                            Id = 104L,
 03548                            Code = 414,
 03549                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03550                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03551                            IsDeleted = false,
 03552                            Name = "Кувейт"
 03553                        },
 03554                        new
 03555                        {
 03556                            Id = 105L,
 03557                            Code = 531,
 03558                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03559                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03560                            IsDeleted = false,
 03561                            Name = "Кюрасао"
 03562                        },
 03563                        new
 03564                        {
 03565                            Id = 106L,
 03566                            Code = 418,
 03567                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03568                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03569                            IsDeleted = false,
 03570                            Name = "Лаос"
 03571                        },
 03572                        new
 03573                        {
 03574                            Id = 107L,
 03575                            Code = 428,
 03576                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03577                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03578                            IsDeleted = false,
 03579                            Name = "Латвия"
 03580                        },
 03581                        new
 03582                        {
 03583                            Id = 108L,
 03584                            Code = 426,
 03585                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03586                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03587                            IsDeleted = false,
 03588                            Name = "Лесото"
 03589                        },
 03590                        new
 03591                        {
 03592                            Id = 109L,
 03593                            Code = 422,
 03594                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03595                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03596                            IsDeleted = false,
 03597                            Name = "Ливан"
 03598                        },
 03599                        new
 03600                        {
 03601                            Id = 110L,
 03602                            Code = 434,
 03603                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03604                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03605                            IsDeleted = false,
 03606                            Name = "Ливия"
 03607                        },
 03608                        new
 03609                        {
 03610                            Id = 111L,
 03611                            Code = 430,
 03612                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03613                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03614                            IsDeleted = false,
 03615                            Name = "Либерия"
 03616                        },
 03617                        new
 03618                        {
 03619                            Id = 112L,
 03620                            Code = 438,
 03621                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03622                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03623                            IsDeleted = false,
 03624                            Name = "Лихтенштейн"
 03625                        },
 03626                        new
 03627                        {
 03628                            Id = 113L,
 03629                            Code = 440,
 03630                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03631                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03632                            IsDeleted = false,
 03633                            Name = "Литва"
 03634                        },
 03635                        new
 03636                        {
 03637                            Id = 114L,
 03638                            Code = 442,
 03639                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03640                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03641                            IsDeleted = false,
 03642                            Name = "Люксембург"
 03643                        },
 03644                        new
 03645                        {
 03646                            Id = 115L,
 03647                            Code = 480,
 03648                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03649                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03650                            IsDeleted = false,
 03651                            Name = "Маврикий"
 03652                        },
 03653                        new
 03654                        {
 03655                            Id = 116L,
 03656                            Code = 478,
 03657                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03658                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03659                            IsDeleted = false,
 03660                            Name = "Мавритания"
 03661                        },
 03662                        new
 03663                        {
 03664                            Id = 117L,
 03665                            Code = 450,
 03666                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03667                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03668                            IsDeleted = false,
 03669                            Name = "Мадагаскар"
 03670                        },
 03671                        new
 03672                        {
 03673                            Id = 118L,
 03674                            Code = 175,
 03675                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03676                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03677                            IsDeleted = false,
 03678                            Name = "Майотта"
 03679                        },
 03680                        new
 03681                        {
 03682                            Id = 119L,
 03683                            Code = 446,
 03684                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03685                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03686                            IsDeleted = false,
 03687                            Name = "Макао"
 03688                        },
 03689                        new
 03690                        {
 03691                            Id = 120L,
 03692                            Code = 454,
 03693                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03694                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03695                            IsDeleted = false,
 03696                            Name = "Малави"
 03697                        },
 03698                        new
 03699                        {
 03700                            Id = 121L,
 03701                            Code = 458,
 03702                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03703                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03704                            IsDeleted = false,
 03705                            Name = "Малайзия"
 03706                        },
 03707                        new
 03708                        {
 03709                            Id = 122L,
 03710                            Code = 466,
 03711                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03712                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03713                            IsDeleted = false,
 03714                            Name = "Мали"
 03715                        },
 03716                        new
 03717                        {
 03718                            Id = 123L,
 03719                            Code = 581,
 03720                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03721                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03722                            IsDeleted = false,
 03723                            Name = "Малые Тихоокеанские отдаленные острова Соединенных Штатов"
 03724                        },
 03725                        new
 03726                        {
 03727                            Id = 124L,
 03728                            Code = 462,
 03729                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03730                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03731                            IsDeleted = false,
 03732                            Name = "Мальдивы"
 03733                        },
 03734                        new
 03735                        {
 03736                            Id = 125L,
 03737                            Code = 470,
 03738                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03739                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03740                            IsDeleted = false,
 03741                            Name = "Мальта"
 03742                        },
 03743                        new
 03744                        {
 03745                            Id = 126L,
 03746                            Code = 504,
 03747                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03748                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03749                            IsDeleted = false,
 03750                            Name = "Марокко"
 03751                        },
 03752                        new
 03753                        {
 03754                            Id = 127L,
 03755                            Code = 474,
 03756                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03757                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03758                            IsDeleted = false,
 03759                            Name = "Мартиника"
 03760                        },
 03761                        new
 03762                        {
 03763                            Id = 128L,
 03764                            Code = 584,
 03765                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03766                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03767                            IsDeleted = false,
 03768                            Name = "Маршалловы острова"
 03769                        },
 03770                        new
 03771                        {
 03772                            Id = 129L,
 03773                            Code = 484,
 03774                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03775                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03776                            IsDeleted = false,
 03777                            Name = "Мексика"
 03778                        },
 03779                        new
 03780                        {
 03781                            Id = 130L,
 03782                            Code = 583,
 03783                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03784                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03785                            IsDeleted = false,
 03786                            Name = "Микронезия, Федеративные Штаты"
 03787                        },
 03788                        new
 03789                        {
 03790                            Id = 131L,
 03791                            Code = 508,
 03792                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03793                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03794                            IsDeleted = false,
 03795                            Name = "Мозамбик"
 03796                        },
 03797                        new
 03798                        {
 03799                            Id = 132L,
 03800                            Code = 498,
 03801                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03802                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03803                            IsDeleted = false,
 03804                            Name = "Молдова, Республика"
 03805                        },
 03806                        new
 03807                        {
 03808                            Id = 133L,
 03809                            Code = 492,
 03810                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03811                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03812                            IsDeleted = false,
 03813                            Name = "Монако"
 03814                        },
 03815                        new
 03816                        {
 03817                            Id = 134L,
 03818                            Code = 496,
 03819                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03820                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03821                            IsDeleted = false,
 03822                            Name = "Монголия"
 03823                        },
 03824                        new
 03825                        {
 03826                            Id = 135L,
 03827                            Code = 500,
 03828                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03829                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03830                            IsDeleted = false,
 03831                            Name = "Монтсеррат"
 03832                        },
 03833                        new
 03834                        {
 03835                            Id = 136L,
 03836                            Code = 104,
 03837                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03838                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03839                            IsDeleted = false,
 03840                            Name = "Мьянма"
 03841                        },
 03842                        new
 03843                        {
 03844                            Id = 137L,
 03845                            Code = 516,
 03846                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03847                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03848                            IsDeleted = false,
 03849                            Name = "Намибия"
 03850                        },
 03851                        new
 03852                        {
 03853                            Id = 138L,
 03854                            Code = 520,
 03855                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03856                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03857                            IsDeleted = false,
 03858                            Name = "Науру"
 03859                        },
 03860                        new
 03861                        {
 03862                            Id = 139L,
 03863                            Code = 524,
 03864                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03865                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03866                            IsDeleted = false,
 03867                            Name = "Непал"
 03868                        },
 03869                        new
 03870                        {
 03871                            Id = 140L,
 03872                            Code = 562,
 03873                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03874                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03875                            IsDeleted = false,
 03876                            Name = "Нигер"
 03877                        },
 03878                        new
 03879                        {
 03880                            Id = 141L,
 03881                            Code = 566,
 03882                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03883                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03884                            IsDeleted = false,
 03885                            Name = "Нигерия"
 03886                        },
 03887                        new
 03888                        {
 03889                            Id = 142L,
 03890                            Code = 528,
 03891                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03892                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03893                            IsDeleted = false,
 03894                            Name = "Нидерланды"
 03895                        },
 03896                        new
 03897                        {
 03898                            Id = 143L,
 03899                            Code = 558,
 03900                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03901                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03902                            IsDeleted = false,
 03903                            Name = "Никарагуа"
 03904                        },
 03905                        new
 03906                        {
 03907                            Id = 144L,
 03908                            Code = 570,
 03909                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03910                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03911                            IsDeleted = false,
 03912                            Name = "Ниуэ"
 03913                        },
 03914                        new
 03915                        {
 03916                            Id = 145L,
 03917                            Code = 554,
 03918                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03919                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03920                            IsDeleted = false,
 03921                            Name = "Новая Зеландия"
 03922                        },
 03923                        new
 03924                        {
 03925                            Id = 146L,
 03926                            Code = 540,
 03927                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03928                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03929                            IsDeleted = false,
 03930                            Name = "Новая Каледония"
 03931                        },
 03932                        new
 03933                        {
 03934                            Id = 147L,
 03935                            Code = 578,
 03936                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03937                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03938                            IsDeleted = false,
 03939                            Name = "Норвегия"
 03940                        },
 03941                        new
 03942                        {
 03943                            Id = 148L,
 03944                            Code = 784,
 03945                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03946                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03947                            IsDeleted = false,
 03948                            Name = "Объединенные Арабские Эмираты"
 03949                        },
 03950                        new
 03951                        {
 03952                            Id = 149L,
 03953                            Code = 512,
 03954                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03955                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03956                            IsDeleted = false,
 03957                            Name = "Оман"
 03958                        },
 03959                        new
 03960                        {
 03961                            Id = 150L,
 03962                            Code = 74,
 03963                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03964                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03965                            IsDeleted = false,
 03966                            Name = "Остров Буве"
 03967                        },
 03968                        new
 03969                        {
 03970                            Id = 151L,
 03971                            Code = 833,
 03972                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03973                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03974                            IsDeleted = false,
 03975                            Name = "Остров Мэн"
 03976                        },
 03977                        new
 03978                        {
 03979                            Id = 152L,
 03980                            Code = 574,
 03981                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03982                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03983                            IsDeleted = false,
 03984                            Name = "Остров Норфолк"
 03985                        },
 03986                        new
 03987                        {
 03988                            Id = 153L,
 03989                            Code = 162,
 03990                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03991                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03992                            IsDeleted = false,
 03993                            Name = "Остров Рождества"
 03994                        },
 03995                        new
 03996                        {
 03997                            Id = 154L,
 03998                            Code = 334,
 03999                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04000                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04001                            IsDeleted = false,
 04002                            Name = "Остров Херд и острова Макдональд"
 04003                        },
 04004                        new
 04005                        {
 04006                            Id = 155L,
 04007                            Code = 136,
 04008                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04009                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04010                            IsDeleted = false,
 04011                            Name = "Острова Кайман"
 04012                        },
 04013                        new
 04014                        {
 04015                            Id = 156L,
 04016                            Code = 184,
 04017                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04018                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04019                            IsDeleted = false,
 04020                            Name = "Острова Кука"
 04021                        },
 04022                        new
 04023                        {
 04024                            Id = 157L,
 04025                            Code = 796,
 04026                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04027                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04028                            IsDeleted = false,
 04029                            Name = "Острова Теркс и Кайкос"
 04030                        },
 04031                        new
 04032                        {
 04033                            Id = 158L,
 04034                            Code = 586,
 04035                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04036                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04037                            IsDeleted = false,
 04038                            Name = "Пакистан"
 04039                        },
 04040                        new
 04041                        {
 04042                            Id = 159L,
 04043                            Code = 585,
 04044                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04045                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04046                            IsDeleted = false,
 04047                            Name = "Палау"
 04048                        },
 04049                        new
 04050                        {
 04051                            Id = 160L,
 04052                            Code = 275,
 04053                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04054                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04055                            IsDeleted = false,
 04056                            Name = "Палестина, Государство"
 04057                        },
 04058                        new
 04059                        {
 04060                            Id = 161L,
 04061                            Code = 591,
 04062                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04063                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04064                            IsDeleted = false,
 04065                            Name = "Панама"
 04066                        },
 04067                        new
 04068                        {
 04069                            Id = 162L,
 04070                            Code = 336,
 04071                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04072                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04073                            IsDeleted = false,
 04074                            Name = "Папский Престол (Государство-город Ватикан)"
 04075                        },
 04076                        new
 04077                        {
 04078                            Id = 163L,
 04079                            Code = 598,
 04080                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04081                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04082                            IsDeleted = false,
 04083                            Name = "Папуа-Новая Гвинея"
 04084                        },
 04085                        new
 04086                        {
 04087                            Id = 164L,
 04088                            Code = 600,
 04089                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04090                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04091                            IsDeleted = false,
 04092                            Name = "Парагвай"
 04093                        },
 04094                        new
 04095                        {
 04096                            Id = 165L,
 04097                            Code = 604,
 04098                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04099                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04100                            IsDeleted = false,
 04101                            Name = "Перу"
 04102                        },
 04103                        new
 04104                        {
 04105                            Id = 166L,
 04106                            Code = 612,
 04107                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04108                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04109                            IsDeleted = false,
 04110                            Name = "Питкерн"
 04111                        },
 04112                        new
 04113                        {
 04114                            Id = 167L,
 04115                            Code = 616,
 04116                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04117                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04118                            IsDeleted = false,
 04119                            Name = "Польша"
 04120                        },
 04121                        new
 04122                        {
 04123                            Id = 168L,
 04124                            Code = 620,
 04125                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04126                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04127                            IsDeleted = false,
 04128                            Name = "Португалия"
 04129                        },
 04130                        new
 04131                        {
 04132                            Id = 169L,
 04133                            Code = 630,
 04134                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04135                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04136                            IsDeleted = false,
 04137                            Name = "Пуэрто-Рико"
 04138                        },
 04139                        new
 04140                        {
 04141                            Id = 170L,
 04142                            Code = 807,
 04143                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04144                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04145                            IsDeleted = false,
 04146                            Name = "Северная Македония"
 04147                        },
 04148                        new
 04149                        {
 04150                            Id = 171L,
 04151                            Code = 638,
 04152                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04153                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04154                            IsDeleted = false,
 04155                            Name = "Реюньон"
 04156                        },
 04157                        new
 04158                        {
 04159                            Id = 172L,
 04160                            Code = 643,
 04161                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04162                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04163                            IsDeleted = false,
 04164                            Name = "Россия"
 04165                        },
 04166                        new
 04167                        {
 04168                            Id = 173L,
 04169                            Code = 646,
 04170                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04171                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04172                            IsDeleted = false,
 04173                            Name = "Руанда"
 04174                        },
 04175                        new
 04176                        {
 04177                            Id = 174L,
 04178                            Code = 642,
 04179                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04180                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04181                            IsDeleted = false,
 04182                            Name = "Румыния"
 04183                        },
 04184                        new
 04185                        {
 04186                            Id = 175L,
 04187                            Code = 882,
 04188                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04189                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04190                            IsDeleted = false,
 04191                            Name = "Самоа"
 04192                        },
 04193                        new
 04194                        {
 04195                            Id = 176L,
 04196                            Code = 674,
 04197                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04198                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04199                            IsDeleted = false,
 04200                            Name = "Сан-Марино"
 04201                        },
 04202                        new
 04203                        {
 04204                            Id = 177L,
 04205                            Code = 678,
 04206                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04207                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04208                            IsDeleted = false,
 04209                            Name = "Сан-Томе и Принсипи"
 04210                        },
 04211                        new
 04212                        {
 04213                            Id = 178L,
 04214                            Code = 682,
 04215                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04216                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04217                            IsDeleted = false,
 04218                            Name = "Саудовская Аравия"
 04219                        },
 04220                        new
 04221                        {
 04222                            Id = 179L,
 04223                            Code = 748,
 04224                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04225                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04226                            IsDeleted = false,
 04227                            Name = "Эсватини"
 04228                        },
 04229                        new
 04230                        {
 04231                            Id = 180L,
 04232                            Code = 654,
 04233                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04234                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04235                            IsDeleted = false,
 04236                            Name = "Святая Елена, Остров вознесения, Тристан-да-Кунья"
 04237                        },
 04238                        new
 04239                        {
 04240                            Id = 181L,
 04241                            Code = 580,
 04242                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04243                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04244                            IsDeleted = false,
 04245                            Name = "Северные Марианские острова"
 04246                        },
 04247                        new
 04248                        {
 04249                            Id = 182L,
 04250                            Code = 652,
 04251                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04252                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04253                            IsDeleted = false,
 04254                            Name = "Сен-Бартелеми"
 04255                        },
 04256                        new
 04257                        {
 04258                            Id = 183L,
 04259                            Code = 663,
 04260                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04261                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04262                            IsDeleted = false,
 04263                            Name = "Сен-Мартен (французская часть)"
 04264                        },
 04265                        new
 04266                        {
 04267                            Id = 184L,
 04268                            Code = 686,
 04269                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04270                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04271                            IsDeleted = false,
 04272                            Name = "Сенегал"
 04273                        },
 04274                        new
 04275                        {
 04276                            Id = 185L,
 04277                            Code = 670,
 04278                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04279                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04280                            IsDeleted = false,
 04281                            Name = "Сент-Винсент и Гренадины"
 04282                        },
 04283                        new
 04284                        {
 04285                            Id = 186L,
 04286                            Code = 659,
 04287                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04288                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04289                            IsDeleted = false,
 04290                            Name = "Сент-Китс и Невис"
 04291                        },
 04292                        new
 04293                        {
 04294                            Id = 187L,
 04295                            Code = 662,
 04296                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04297                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04298                            IsDeleted = false,
 04299                            Name = "Сент-Люсия"
 04300                        },
 04301                        new
 04302                        {
 04303                            Id = 188L,
 04304                            Code = 666,
 04305                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04306                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04307                            IsDeleted = false,
 04308                            Name = "Сен-Пьер и Микелон"
 04309                        },
 04310                        new
 04311                        {
 04312                            Id = 189L,
 04313                            Code = 688,
 04314                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04315                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04316                            IsDeleted = false,
 04317                            Name = "Сербия"
 04318                        },
 04319                        new
 04320                        {
 04321                            Id = 190L,
 04322                            Code = 690,
 04323                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04324                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04325                            IsDeleted = false,
 04326                            Name = "Сейшелы"
 04327                        },
 04328                        new
 04329                        {
 04330                            Id = 191L,
 04331                            Code = 702,
 04332                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04333                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04334                            IsDeleted = false,
 04335                            Name = "Сингапур"
 04336                        },
 04337                        new
 04338                        {
 04339                            Id = 192L,
 04340                            Code = 534,
 04341                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04342                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04343                            IsDeleted = false,
 04344                            Name = "Сен-Мартен (нидерландская часть)"
 04345                        },
 04346                        new
 04347                        {
 04348                            Id = 193L,
 04349                            Code = 760,
 04350                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04351                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04352                            IsDeleted = false,
 04353                            Name = "Сирийская Арабская Республика"
 04354                        },
 04355                        new
 04356                        {
 04357                            Id = 194L,
 04358                            Code = 703,
 04359                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04360                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04361                            IsDeleted = false,
 04362                            Name = "Словакия"
 04363                        },
 04364                        new
 04365                        {
 04366                            Id = 195L,
 04367                            Code = 705,
 04368                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04369                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04370                            IsDeleted = false,
 04371                            Name = "Словения"
 04372                        },
 04373                        new
 04374                        {
 04375                            Id = 196L,
 04376                            Code = 826,
 04377                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04378                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04379                            IsDeleted = false,
 04380                            Name = "Соединенное Королевство"
 04381                        },
 04382                        new
 04383                        {
 04384                            Id = 197L,
 04385                            Code = 840,
 04386                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04387                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04388                            IsDeleted = false,
 04389                            Name = "Соединенные Штаты"
 04390                        },
 04391                        new
 04392                        {
 04393                            Id = 198L,
 04394                            Code = 90,
 04395                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04396                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04397                            IsDeleted = false,
 04398                            Name = "Соломоновы острова"
 04399                        },
 04400                        new
 04401                        {
 04402                            Id = 199L,
 04403                            Code = 706,
 04404                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04405                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04406                            IsDeleted = false,
 04407                            Name = "Сомали"
 04408                        },
 04409                        new
 04410                        {
 04411                            Id = 200L,
 04412                            Code = 729,
 04413                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04414                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04415                            IsDeleted = false,
 04416                            Name = "Судан"
 04417                        },
 04418                        new
 04419                        {
 04420                            Id = 201L,
 04421                            Code = 740,
 04422                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04423                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04424                            IsDeleted = false,
 04425                            Name = "Суринам"
 04426                        },
 04427                        new
 04428                        {
 04429                            Id = 202L,
 04430                            Code = 694,
 04431                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04432                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04433                            IsDeleted = false,
 04434                            Name = "Сьерра-Леоне"
 04435                        },
 04436                        new
 04437                        {
 04438                            Id = 203L,
 04439                            Code = 762,
 04440                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04441                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04442                            IsDeleted = false,
 04443                            Name = "Таджикистан"
 04444                        },
 04445                        new
 04446                        {
 04447                            Id = 204L,
 04448                            Code = 764,
 04449                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04450                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04451                            IsDeleted = false,
 04452                            Name = "Таиланд"
 04453                        },
 04454                        new
 04455                        {
 04456                            Id = 205L,
 04457                            Code = 158,
 04458                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04459                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04460                            IsDeleted = false,
 04461                            Name = "Тайвань (Китай)"
 04462                        },
 04463                        new
 04464                        {
 04465                            Id = 206L,
 04466                            Code = 834,
 04467                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04468                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04469                            IsDeleted = false,
 04470                            Name = "Танзания, Объединенная Республика"
 04471                        },
 04472                        new
 04473                        {
 04474                            Id = 207L,
 04475                            Code = 626,
 04476                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04477                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04478                            IsDeleted = false,
 04479                            Name = "Тимор-Лесте"
 04480                        },
 04481                        new
 04482                        {
 04483                            Id = 208L,
 04484                            Code = 768,
 04485                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04486                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04487                            IsDeleted = false,
 04488                            Name = "Того"
 04489                        },
 04490                        new
 04491                        {
 04492                            Id = 209L,
 04493                            Code = 772,
 04494                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04495                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04496                            IsDeleted = false,
 04497                            Name = "Токелау"
 04498                        },
 04499                        new
 04500                        {
 04501                            Id = 210L,
 04502                            Code = 776,
 04503                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04504                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04505                            IsDeleted = false,
 04506                            Name = "Тонга"
 04507                        },
 04508                        new
 04509                        {
 04510                            Id = 211L,
 04511                            Code = 780,
 04512                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04513                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04514                            IsDeleted = false,
 04515                            Name = "Тринидад и Тобаго"
 04516                        },
 04517                        new
 04518                        {
 04519                            Id = 212L,
 04520                            Code = 798,
 04521                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04522                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04523                            IsDeleted = false,
 04524                            Name = "Тувалу"
 04525                        },
 04526                        new
 04527                        {
 04528                            Id = 213L,
 04529                            Code = 788,
 04530                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04531                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04532                            IsDeleted = false,
 04533                            Name = "Тунис"
 04534                        },
 04535                        new
 04536                        {
 04537                            Id = 214L,
 04538                            Code = 795,
 04539                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04540                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04541                            IsDeleted = false,
 04542                            Name = "Туркменистан"
 04543                        },
 04544                        new
 04545                        {
 04546                            Id = 215L,
 04547                            Code = 792,
 04548                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04549                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04550                            IsDeleted = false,
 04551                            Name = "Турция"
 04552                        },
 04553                        new
 04554                        {
 04555                            Id = 216L,
 04556                            Code = 800,
 04557                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04558                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04559                            IsDeleted = false,
 04560                            Name = "Уганда"
 04561                        },
 04562                        new
 04563                        {
 04564                            Id = 217L,
 04565                            Code = 860,
 04566                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04567                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04568                            IsDeleted = false,
 04569                            Name = "Узбекистан"
 04570                        },
 04571                        new
 04572                        {
 04573                            Id = 218L,
 04574                            Code = 804,
 04575                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04576                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04577                            IsDeleted = false,
 04578                            Name = "Украина"
 04579                        },
 04580                        new
 04581                        {
 04582                            Id = 219L,
 04583                            Code = 876,
 04584                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04585                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04586                            IsDeleted = false,
 04587                            Name = "Уоллис и Футуна"
 04588                        },
 04589                        new
 04590                        {
 04591                            Id = 220L,
 04592                            Code = 858,
 04593                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04594                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04595                            IsDeleted = false,
 04596                            Name = "Уругвай"
 04597                        },
 04598                        new
 04599                        {
 04600                            Id = 221L,
 04601                            Code = 234,
 04602                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04603                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04604                            IsDeleted = false,
 04605                            Name = "Фарерские острова"
 04606                        },
 04607                        new
 04608                        {
 04609                            Id = 222L,
 04610                            Code = 242,
 04611                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04612                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04613                            IsDeleted = false,
 04614                            Name = "Фиджи"
 04615                        },
 04616                        new
 04617                        {
 04618                            Id = 223L,
 04619                            Code = 608,
 04620                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04621                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04622                            IsDeleted = false,
 04623                            Name = "Филиппины"
 04624                        },
 04625                        new
 04626                        {
 04627                            Id = 224L,
 04628                            Code = 246,
 04629                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04630                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04631                            IsDeleted = false,
 04632                            Name = "Финляндия"
 04633                        },
 04634                        new
 04635                        {
 04636                            Id = 225L,
 04637                            Code = 238,
 04638                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04639                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04640                            IsDeleted = false,
 04641                            Name = "Фолклендские острова (Мальвинские)"
 04642                        },
 04643                        new
 04644                        {
 04645                            Id = 226L,
 04646                            Code = 250,
 04647                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04648                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04649                            IsDeleted = false,
 04650                            Name = "Франция"
 04651                        },
 04652                        new
 04653                        {
 04654                            Id = 227L,
 04655                            Code = 254,
 04656                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04657                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04658                            IsDeleted = false,
 04659                            Name = "Французская Гвиана"
 04660                        },
 04661                        new
 04662                        {
 04663                            Id = 228L,
 04664                            Code = 258,
 04665                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04666                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04667                            IsDeleted = false,
 04668                            Name = "Французская Полинезия"
 04669                        },
 04670                        new
 04671                        {
 04672                            Id = 229L,
 04673                            Code = 260,
 04674                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04675                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04676                            IsDeleted = false,
 04677                            Name = "Французские Южные территории"
 04678                        },
 04679                        new
 04680                        {
 04681                            Id = 230L,
 04682                            Code = 191,
 04683                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04684                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04685                            IsDeleted = false,
 04686                            Name = "Хорватия"
 04687                        },
 04688                        new
 04689                        {
 04690                            Id = 231L,
 04691                            Code = 140,
 04692                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04693                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04694                            IsDeleted = false,
 04695                            Name = "Центрально-Африканская Республика"
 04696                        },
 04697                        new
 04698                        {
 04699                            Id = 232L,
 04700                            Code = 148,
 04701                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04702                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04703                            IsDeleted = false,
 04704                            Name = "Чад"
 04705                        },
 04706                        new
 04707                        {
 04708                            Id = 233L,
 04709                            Code = 499,
 04710                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04711                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04712                            IsDeleted = false,
 04713                            Name = "Черногория"
 04714                        },
 04715                        new
 04716                        {
 04717                            Id = 234L,
 04718                            Code = 203,
 04719                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04720                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04721                            IsDeleted = false,
 04722                            Name = "Чешская Республика"
 04723                        },
 04724                        new
 04725                        {
 04726                            Id = 235L,
 04727                            Code = 152,
 04728                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04729                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04730                            IsDeleted = false,
 04731                            Name = "Чили"
 04732                        },
 04733                        new
 04734                        {
 04735                            Id = 236L,
 04736                            Code = 756,
 04737                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04738                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04739                            IsDeleted = false,
 04740                            Name = "Швейцария"
 04741                        },
 04742                        new
 04743                        {
 04744                            Id = 237L,
 04745                            Code = 752,
 04746                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04747                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04748                            IsDeleted = false,
 04749                            Name = "Швеция"
 04750                        },
 04751                        new
 04752                        {
 04753                            Id = 238L,
 04754                            Code = 744,
 04755                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04756                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04757                            IsDeleted = false,
 04758                            Name = "Шпицберген и Ян Майен"
 04759                        },
 04760                        new
 04761                        {
 04762                            Id = 239L,
 04763                            Code = 144,
 04764                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04765                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04766                            IsDeleted = false,
 04767                            Name = "Шри-Ланка"
 04768                        },
 04769                        new
 04770                        {
 04771                            Id = 240L,
 04772                            Code = 218,
 04773                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04774                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04775                            IsDeleted = false,
 04776                            Name = "Эквадор"
 04777                        },
 04778                        new
 04779                        {
 04780                            Id = 241L,
 04781                            Code = 226,
 04782                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04783                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04784                            IsDeleted = false,
 04785                            Name = "Экваториальная Гвинея"
 04786                        },
 04787                        new
 04788                        {
 04789                            Id = 242L,
 04790                            Code = 248,
 04791                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04792                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04793                            IsDeleted = false,
 04794                            Name = "Эландские острова"
 04795                        },
 04796                        new
 04797                        {
 04798                            Id = 243L,
 04799                            Code = 222,
 04800                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04801                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04802                            IsDeleted = false,
 04803                            Name = "Эль-Сальвадор"
 04804                        },
 04805                        new
 04806                        {
 04807                            Id = 244L,
 04808                            Code = 232,
 04809                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04810                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04811                            IsDeleted = false,
 04812                            Name = "Эритрея"
 04813                        },
 04814                        new
 04815                        {
 04816                            Id = 245L,
 04817                            Code = 233,
 04818                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04819                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04820                            IsDeleted = false,
 04821                            Name = "Эстония"
 04822                        },
 04823                        new
 04824                        {
 04825                            Id = 246L,
 04826                            Code = 231,
 04827                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04828                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04829                            IsDeleted = false,
 04830                            Name = "Эфиопия"
 04831                        },
 04832                        new
 04833                        {
 04834                            Id = 247L,
 04835                            Code = 710,
 04836                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04837                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04838                            IsDeleted = false,
 04839                            Name = "Южная Африка"
 04840                        },
 04841                        new
 04842                        {
 04843                            Id = 248L,
 04844                            Code = 239,
 04845                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04846                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04847                            IsDeleted = false,
 04848                            Name = "Южная Джорджия и Южные Сандвичевы острова"
 04849                        },
 04850                        new
 04851                        {
 04852                            Id = 249L,
 04853                            Code = 896,
 04854                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04855                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04856                            IsDeleted = false,
 04857                            Name = "Южная Осетия"
 04858                        },
 04859                        new
 04860                        {
 04861                            Id = 250L,
 04862                            Code = 728,
 04863                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04864                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04865                            IsDeleted = false,
 04866                            Name = "Южный Судан"
 04867                        },
 04868                        new
 04869                        {
 04870                            Id = 251L,
 04871                            Code = 388,
 04872                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04873                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04874                            IsDeleted = false,
 04875                            Name = "Ямайка"
 04876                        },
 04877                        new
 04878                        {
 04879                            Id = 252L,
 04880                            Code = 392,
 04881                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04882                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04883                            IsDeleted = false,
 04884                            Name = "Япония"
 04885                        });
 04886                });
 4887
 04888            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Currency", b =>
 04889                {
 04890                    b.Property<long>("Id")
 04891                        .ValueGeneratedOnAdd()
 04892                        .HasColumnType("bigint")
 04893                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 04894                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 04895
 04896                    b.Property<string>("CODE")
 04897                        .IsRequired()
 04898                        .HasColumnType("text");
 04899
 04900                    b.Property<string>("COUNTRY")
 04901                        .IsRequired()
 04902                        .HasColumnType("text");
 04903
 04904                    b.Property<long?>("CreatedByUserId")
 04905                        .HasColumnType("bigint");
 04906
 04907                    b.Property<DateTime>("CreationDateTime")
 04908                        .HasColumnType("timestamp without time zone");
 04909
 04910                    b.Property<Guid>("GUID")
 04911                        .ValueGeneratedOnAdd()
 04912                        .HasColumnType("uuid");
 04913
 04914                    b.Property<bool>("IsDeleted")
 04915                        .HasColumnType("boolean");
 04916
 04917                    b.Property<DateTime?>("ModificationDateTime")
 04918                        .HasColumnType("timestamp without time zone");
 04919
 04920                    b.Property<long?>("ModifiedByUserId")
 04921                        .HasColumnType("bigint");
 04922
 04923                    b.Property<string>("NAME")
 04924                        .IsRequired()
 04925                        .HasColumnType("text");
 04926
 04927                    b.Property<decimal>("Rate")
 04928                        .HasColumnType("numeric");
 04929
 04930                    b.Property<long?>("RecStateId")
 04931                        .HasColumnType("bigint");
 04932
 04933                    b.Property<string>("STRCODE")
 04934                        .IsRequired()
 04935                        .HasColumnType("text");
 04936
 04937                    b.Property<string>("global_id")
 04938                        .HasColumnType("text");
 04939
 04940                    b.Property<string>("system_object_id")
 04941                        .HasColumnType("text");
 04942
 04943                    b.HasKey("Id");
 04944
 04945                    b.HasIndex("CODE")
 04946                        .IsUnique();
 04947
 04948                    b.HasIndex("CreatedByUserId");
 04949
 04950                    b.HasIndex("ModifiedByUserId");
 04951
 04952                    b.HasIndex("NAME")
 04953                        .IsUnique();
 04954
 04955                    b.HasIndex("RecStateId");
 04956
 04957                    b.HasIndex("STRCODE")
 04958                        .IsUnique();
 04959
 04960                    b.ToTable("Currency");
 04961
 04962                    b.HasData(
 04963                        new
 04964                        {
 04965                            Id = 1L,
 04966                            CODE = "643",
 04967                            COUNTRY = "Россия",
 04968                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04969                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04970                            IsDeleted = false,
 04971                            NAME = "Российский рубль",
 04972                            Rate = 1m,
 04973                            STRCODE = "RUB",
 04974                            global_id = "62838439",
 04975                            system_object_id = "643"
 04976                        });
 04977                });
 4978
 04979            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", b =>
 04980                {
 04981                    b.Property<long>("Id")
 04982                        .ValueGeneratedOnAdd()
 04983                        .HasColumnType("bigint")
 04984                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 04985
 04986                    b.Property<long?>("ActualAddressId")
 04987                        .HasColumnType("bigint");
 04988
 04989                    b.Property<decimal>("Area")
 04990                        .HasColumnType("numeric");
 04991
 04992                    b.Property<long?>("ClusterId")
 04993                        .HasColumnType("bigint");
 04994
 04995                    b.Property<long>("ContragentId")
 04996                        .HasColumnType("bigint");
 04997
 04998                    b.Property<long?>("CreatedByUserId")
 04999                        .HasColumnType("bigint");
 05000
 05001                    b.Property<DateTime>("CreationDateTime")
 05002                        .HasColumnType("timestamp without time zone");
 05003
 05004                    b.Property<string>("Email")
 05005                        .HasColumnType("text");
 05006
 05007                    b.Property<Guid>("GUID")
 05008                        .ValueGeneratedOnAdd()
 05009                        .HasColumnType("uuid");
 05010
 05011                    b.Property<bool>("IsDeleted")
 05012                        .HasColumnType("boolean");
 05013
 05014                    b.Property<long?>("KindId")
 05015                        .HasColumnType("bigint");
 05016
 05017                    b.Property<string>("Kpp")
 05018                        .HasColumnType("text");
 05019
 05020                    b.Property<DateTime?>("ModificationDateTime")
 05021                        .HasColumnType("timestamp without time zone");
 05022
 05023                    b.Property<long?>("ModifiedByUserId")
 05024                        .HasColumnType("bigint");
 05025
 05026                    b.Property<string>("Name")
 05027                        .IsRequired()
 05028                        .HasColumnType("text");
 05029
 05030                    b.Property<string>("PhoneNumber")
 05031                        .IsRequired()
 05032                        .HasColumnType("text");
 05033
 05034                    b.Property<long?>("RecStateId")
 05035                        .HasColumnType("bigint");
 05036
 05037                    b.Property<long?>("StatusId")
 05038                        .HasColumnType("bigint");
 05039
 05040                    b.HasKey("Id");
 05041
 05042                    b.HasIndex("ActualAddressId");
 05043
 05044                    b.HasIndex("ClusterId");
 05045
 05046                    b.HasIndex("ContragentId");
 05047
 05048                    b.HasIndex("CreatedByUserId");
 05049
 05050                    b.HasIndex("KindId");
 05051
 05052                    b.HasIndex("ModifiedByUserId");
 05053
 05054                    b.HasIndex("Name")
 05055                        .IsUnique();
 05056
 05057                    b.HasIndex("PhoneNumber");
 05058
 05059                    b.HasIndex("RecStateId");
 05060
 05061                    b.HasIndex("StatusId");
 05062
 05063                    b.ToTable("Departments");
 05064
 05065                    b.HasData(
 05066                        new
 05067                        {
 05068                            Id = -2L,
 05069                            ActualAddressId = -1L,
 05070                            Area = 100.0m,
 05071                            ContragentId = -2L,
 05072                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05073                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05074                            IsDeleted = false,
 05075                            KindId = 2L,
 05076                            Kpp = "4",
 05077                            Name = "Сервисный департамент",
 05078                            PhoneNumber = "88008008000",
 05079                            StatusId = 2L
 05080                        },
 05081                        new
 05082                        {
 05083                            Id = -1L,
 05084                            ActualAddressId = -1L,
 05085                            Area = 100.0m,
 05086                            ContragentId = -1L,
 05087                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05088                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05089                            IsDeleted = false,
 05090                            KindId = 2L,
 05091                            Kpp = "3",
 05092                            Name = "Демонстрационный магазин №1",
 05093                            PhoneNumber = "88008008000",
 05094                            StatusId = 2L
 05095                        });
 05096                });
 5097
 05098            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentCategoryRatio", b =>
 05099                {
 05100                    b.Property<long>("Id")
 05101                        .ValueGeneratedOnAdd()
 05102                        .HasColumnType("bigint")
 05103                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05104
 05105                    b.Property<long>("CategoryId")
 05106                        .HasColumnType("bigint");
 05107
 05108                    b.Property<long?>("CreatedByUserId")
 05109                        .HasColumnType("bigint");
 05110
 05111                    b.Property<DateTime>("CreationDateTime")
 05112                        .HasColumnType("timestamp without time zone");
 05113
 05114                    b.Property<long>("DepartmentId")
 05115                        .HasColumnType("bigint");
 05116
 05117                    b.Property<Guid>("GUID")
 05118                        .ValueGeneratedOnAdd()
 05119                        .HasColumnType("uuid");
 05120
 05121                    b.Property<bool>("IsDeleted")
 05122                        .HasColumnType("boolean");
 05123
 05124                    b.Property<DateTime?>("ModificationDateTime")
 05125                        .HasColumnType("timestamp without time zone");
 05126
 05127                    b.Property<long?>("ModifiedByUserId")
 05128                        .HasColumnType("bigint");
 05129
 05130                    b.Property<long?>("RecStateId")
 05131                        .HasColumnType("bigint");
 05132
 05133                    b.Property<decimal>("TradeRatio")
 05134                        .HasColumnType("numeric");
 05135
 05136                    b.HasKey("Id");
 05137
 05138                    b.HasIndex("CategoryId");
 05139
 05140                    b.HasIndex("CreatedByUserId");
 05141
 05142                    b.HasIndex("ModifiedByUserId");
 05143
 05144                    b.HasIndex("RecStateId");
 05145
 05146                    b.HasIndex("DepartmentId", "CategoryId")
 05147                        .IsUnique();
 05148
 05149                    b.ToTable("DepartmentCategoryRatio");
 05150                });
 5151
 05152            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentGoodSetting", b =>
 05153                {
 05154                    b.Property<long>("Id")
 05155                        .ValueGeneratedOnAdd()
 05156                        .HasColumnType("bigint")
 05157                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05158
 05159                    b.Property<long?>("CreatedByUserId")
 05160                        .HasColumnType("bigint");
 05161
 05162                    b.Property<DateTime>("CreationDateTime")
 05163                        .HasColumnType("timestamp without time zone");
 05164
 05165                    b.Property<long>("DepartmentId")
 05166                        .HasColumnType("bigint");
 05167
 05168                    b.Property<Guid>("GUID")
 05169                        .ValueGeneratedOnAdd()
 05170                        .HasColumnType("uuid");
 05171
 05172                    b.Property<long>("GoodId")
 05173                        .HasColumnType("bigint");
 05174
 05175                    b.Property<bool>("IsDeleted")
 05176                        .HasColumnType("boolean");
 05177
 05178                    b.Property<decimal>("MinQuantity")
 05179                        .HasColumnType("numeric");
 05180
 05181                    b.Property<DateTime?>("ModificationDateTime")
 05182                        .HasColumnType("timestamp without time zone");
 05183
 05184                    b.Property<long?>("ModifiedByUserId")
 05185                        .HasColumnType("bigint");
 05186
 05187                    b.Property<decimal>("PickingQuantum")
 05188                        .HasColumnType("numeric");
 05189
 05190                    b.Property<long?>("RecStateId")
 05191                        .HasColumnType("bigint");
 05192
 05193                    b.HasKey("Id");
 05194
 05195                    b.HasIndex("CreatedByUserId");
 05196
 05197                    b.HasIndex("DepartmentId");
 05198
 05199                    b.HasIndex("ModifiedByUserId");
 05200
 05201                    b.HasIndex("RecStateId");
 05202
 05203                    b.HasIndex("GoodId", "DepartmentId")
 05204                        .IsUnique();
 05205
 05206                    b.ToTable("DepartmentGoodSetting");
 05207                });
 5208
 05209            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", b =>
 05210                {
 05211                    b.Property<long>("Id")
 05212                        .ValueGeneratedOnAdd()
 05213                        .HasColumnType("bigint")
 05214                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05215                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05216
 05217                    b.Property<string>("Code")
 05218                        .IsRequired()
 05219                        .HasColumnType("text");
 05220
 05221                    b.Property<long?>("CreatedByUserId")
 05222                        .HasColumnType("bigint");
 05223
 05224                    b.Property<DateTime>("CreationDateTime")
 05225                        .HasColumnType("timestamp without time zone");
 05226
 05227                    b.Property<string>("Description")
 05228                        .HasColumnType("text");
 05229
 05230                    b.Property<Guid>("GUID")
 05231                        .ValueGeneratedOnAdd()
 05232                        .HasColumnType("uuid");
 05233
 05234                    b.Property<bool>("IsDeleted")
 05235                        .HasColumnType("boolean");
 05236
 05237                    b.Property<DateTime?>("ModificationDateTime")
 05238                        .HasColumnType("timestamp without time zone");
 05239
 05240                    b.Property<long?>("ModifiedByUserId")
 05241                        .HasColumnType("bigint");
 05242
 05243                    b.Property<string>("Name")
 05244                        .IsRequired()
 05245                        .HasColumnType("text");
 05246
 05247                    b.Property<long?>("RecStateId")
 05248                        .HasColumnType("bigint");
 05249
 05250                    b.HasKey("Id");
 05251
 05252                    b.HasIndex("CreatedByUserId");
 05253
 05254                    b.HasIndex("ModifiedByUserId");
 05255
 05256                    b.HasIndex("RecStateId");
 05257
 05258                    b.ToTable("DepartmentsKind");
 05259
 05260                    b.HasData(
 05261                        new
 05262                        {
 05263                            Id = 1L,
 05264                            Code = "Warehouse",
 05265                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05266                            Description = "",
 05267                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05268                            IsDeleted = false,
 05269                            Name = "Склад"
 05270                        },
 05271                        new
 05272                        {
 05273                            Id = 2L,
 05274                            Code = "Shop",
 05275                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05276                            Description = "",
 05277                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05278                            IsDeleted = false,
 05279                            Name = "Магазин"
 05280                        },
 05281                        new
 05282                        {
 05283                            Id = 3L,
 05284                            Code = "Plant",
 05285                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05286                            Description = "",
 05287                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05288                            IsDeleted = false,
 05289                            Name = "Завод"
 05290                        });
 05291                });
 5292
 05293            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsStatus", b =>
 05294                {
 05295                    b.Property<long>("Id")
 05296                        .ValueGeneratedOnAdd()
 05297                        .HasColumnType("bigint")
 05298                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05299                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05300
 05301                    b.Property<string>("Code")
 05302                        .IsRequired()
 05303                        .HasColumnType("text");
 05304
 05305                    b.Property<long?>("CreatedByUserId")
 05306                        .HasColumnType("bigint");
 05307
 05308                    b.Property<DateTime>("CreationDateTime")
 05309                        .HasColumnType("timestamp without time zone");
 05310
 05311                    b.Property<string>("Description")
 05312                        .HasColumnType("text");
 05313
 05314                    b.Property<Guid>("GUID")
 05315                        .ValueGeneratedOnAdd()
 05316                        .HasColumnType("uuid");
 05317
 05318                    b.Property<bool>("IsDeleted")
 05319                        .HasColumnType("boolean");
 05320
 05321                    b.Property<DateTime?>("ModificationDateTime")
 05322                        .HasColumnType("timestamp without time zone");
 05323
 05324                    b.Property<long?>("ModifiedByUserId")
 05325                        .HasColumnType("bigint");
 05326
 05327                    b.Property<string>("Name")
 05328                        .IsRequired()
 05329                        .HasColumnType("text");
 05330
 05331                    b.Property<long?>("RecStateId")
 05332                        .HasColumnType("bigint");
 05333
 05334                    b.HasKey("Id");
 05335
 05336                    b.HasIndex("CreatedByUserId");
 05337
 05338                    b.HasIndex("ModifiedByUserId");
 05339
 05340                    b.HasIndex("RecStateId");
 05341
 05342                    b.ToTable("DepartmentsStatus");
 05343
 05344                    b.HasData(
 05345                        new
 05346                        {
 05347                            Id = 1L,
 05348                            Code = "New",
 05349                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05350                            Description = "",
 05351                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05352                            IsDeleted = false,
 05353                            Name = "Новый"
 05354                        },
 05355                        new
 05356                        {
 05357                            Id = 2L,
 05358                            Code = "Active",
 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 = 3L,
 05368                            Code = "Inactive",
 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 = 4L,
 05378                            Code = "Paused",
 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                });
 5386
 05387            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DiscountColor", b =>
 05388                {
 05389                    b.Property<long>("Id")
 05390                        .ValueGeneratedOnAdd()
 05391                        .HasColumnType("bigint")
 05392                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05393                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05394
 05395                    b.Property<long?>("CreatedByUserId")
 05396                        .HasColumnType("bigint");
 05397
 05398                    b.Property<DateTime>("CreationDateTime")
 05399                        .HasColumnType("timestamp without time zone");
 05400
 05401                    b.Property<int>("DiscountLevel")
 05402                        .HasColumnType("integer");
 05403
 05404                    b.Property<Guid>("GUID")
 05405                        .ValueGeneratedOnAdd()
 05406                        .HasColumnType("uuid");
 05407
 05408                    b.Property<bool>("IsDeleted")
 05409                        .HasColumnType("boolean");
 05410
 05411                    b.Property<string>("LabelColor")
 05412                        .IsRequired()
 05413                        .HasColumnType("text");
 05414
 05415                    b.Property<DateTime?>("ModificationDateTime")
 05416                        .HasColumnType("timestamp without time zone");
 05417
 05418                    b.Property<long?>("ModifiedByUserId")
 05419                        .HasColumnType("bigint");
 05420
 05421                    b.Property<long?>("RecStateId")
 05422                        .HasColumnType("bigint");
 05423
 05424                    b.HasKey("Id");
 05425
 05426                    b.HasIndex("CreatedByUserId");
 05427
 05428                    b.HasIndex("ModifiedByUserId");
 05429
 05430                    b.HasIndex("RecStateId");
 05431
 05432                    b.HasIndex("DiscountLevel", "LabelColor")
 05433                        .IsUnique();
 05434
 05435                    b.ToTable("DiscountColors");
 05436
 05437                    b.HasData(
 05438                        new
 05439                        {
 05440                            Id = 1L,
 05441                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05442                            DiscountLevel = 10,
 05443                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05444                            IsDeleted = false,
 05445                            LabelColor = "EA6B6A"
 05446                        });
 05447                });
 5448
 05449            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DownloadGoodsImagesTask", b =>
 05450                {
 05451                    b.Property<long>("Id")
 05452                        .ValueGeneratedOnAdd()
 05453                        .HasColumnType("bigint")
 05454                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05455
 05456                    b.Property<bool>("ActiveGoodsOnly")
 05457                        .HasColumnType("boolean");
 05458
 05459                    b.Property<long?>("CreatedByUserId")
 05460                        .HasColumnType("bigint");
 05461
 05462                    b.Property<DateTime>("CreationDateTime")
 05463                        .HasColumnType("timestamp without time zone");
 05464
 05465                    b.Property<string>("DownloadUrl")
 05466                        .HasColumnType("text");
 05467
 05468                    b.Property<string>("Error")
 05469                        .HasColumnType("text");
 05470
 05471                    b.Property<DateTime?>("FinishedDate")
 05472                        .HasColumnType("timestamp without time zone");
 05473
 05474                    b.Property<bool>("InProgress")
 05475                        .HasColumnType("boolean");
 05476
 05477                    b.Property<string>("InnerError")
 05478                        .HasColumnType("text");
 05479
 05480                    b.Property<string>("InnerStackTrace")
 05481                        .HasColumnType("text");
 05482
 05483                    b.Property<bool>("IsDeleted")
 05484                        .HasColumnType("boolean");
 05485
 05486                    b.Property<DateTime?>("ModificationDateTime")
 05487                        .HasColumnType("timestamp without time zone");
 05488
 05489                    b.Property<long?>("ModifiedByUserId")
 05490                        .HasColumnType("bigint");
 05491
 05492                    b.Property<long?>("RecStateId")
 05493                        .HasColumnType("bigint");
 05494
 05495                    b.Property<string>("StackTrace")
 05496                        .HasColumnType("text");
 05497
 05498                    b.HasKey("Id");
 05499
 05500                    b.HasIndex("CreatedByUserId");
 05501
 05502                    b.HasIndex("ModifiedByUserId");
 05503
 05504                    b.HasIndex("RecStateId");
 05505
 05506                    b.ToTable("DownloadGoodsImagesTasks");
 05507                });
 5508
 05509            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Email", b =>
 05510                {
 05511                    b.Property<long>("Id")
 05512                        .ValueGeneratedOnAdd()
 05513                        .HasColumnType("bigint")
 05514                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05515
 05516                    b.Property<string>("Attachment")
 05517                        .HasColumnType("text");
 05518
 05519                    b.Property<string>("Body")
 05520                        .IsRequired()
 05521                        .HasColumnType("text");
 05522
 05523                    b.Property<long?>("CreatedByUserId")
 05524                        .HasColumnType("bigint");
 05525
 05526                    b.Property<DateTime>("CreationDateTime")
 05527                        .HasColumnType("timestamp without time zone");
 05528
 05529                    b.Property<string>("Error")
 05530                        .HasColumnType("text");
 05531
 05532                    b.Property<Guid>("GUID")
 05533                        .ValueGeneratedOnAdd()
 05534                        .HasColumnType("uuid");
 05535
 05536                    b.Property<bool>("IsDeleted")
 05537                        .HasColumnType("boolean");
 05538
 05539                    b.Property<DateTime?>("ModificationDateTime")
 05540                        .HasColumnType("timestamp without time zone");
 05541
 05542                    b.Property<long?>("ModifiedByUserId")
 05543                        .HasColumnType("bigint");
 05544
 05545                    b.Property<long?>("RecStateId")
 05546                        .HasColumnType("bigint");
 05547
 05548                    b.Property<string>("Receiver")
 05549                        .IsRequired()
 05550                        .HasColumnType("text");
 05551
 05552                    b.Property<int>("Status")
 05553                        .HasColumnType("integer");
 05554
 05555                    b.Property<string>("Subject")
 05556                        .IsRequired()
 05557                        .HasColumnType("text");
 05558
 05559                    b.HasKey("Id");
 05560
 05561                    b.HasIndex("CreatedByUserId");
 05562
 05563                    b.HasIndex("ModifiedByUserId");
 05564
 05565                    b.HasIndex("RecStateId");
 05566
 05567                    b.ToTable("Emails");
 05568                });
 5569
 05570            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Event", b =>
 05571                {
 05572                    b.Property<long>("Id")
 05573                        .ValueGeneratedOnAdd()
 05574                        .HasColumnType("bigint")
 05575                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05576
 05577                    b.Property<long?>("CreatedByUserId")
 05578                        .HasColumnType("bigint");
 05579
 05580                    b.Property<DateTime>("CreationDateTime")
 05581                        .HasColumnType("timestamp without time zone");
 05582
 05583                    b.Property<DateTime>("DtCreated")
 05584                        .HasColumnType("timestamp without time zone");
 05585
 05586                    b.Property<string>("Entity")
 05587                        .IsRequired()
 05588                        .HasColumnType("text");
 05589
 05590                    b.Property<long>("EventsKindId")
 05591                        .HasColumnType("bigint");
 05592
 05593                    b.Property<Guid>("GUID")
 05594                        .ValueGeneratedOnAdd()
 05595                        .HasColumnType("uuid");
 05596
 05597                    b.Property<bool>("IsDeleted")
 05598                        .HasColumnType("boolean");
 05599
 05600                    b.Property<DateTime?>("ModificationDateTime")
 05601                        .HasColumnType("timestamp without time zone");
 05602
 05603                    b.Property<long?>("ModifiedByUserId")
 05604                        .HasColumnType("bigint");
 05605
 05606                    b.Property<string>("ReasonJson")
 05607                        .HasColumnType("text");
 05608
 05609                    b.Property<long?>("RecStateId")
 05610                        .HasColumnType("bigint");
 05611
 05612                    b.Property<Guid>("RecordGuid")
 05613                        .HasColumnType("uuid");
 05614
 05615                    b.Property<long>("UserId")
 05616                        .HasColumnType("bigint");
 05617
 05618                    b.HasKey("Id");
 05619
 05620                    b.HasIndex("CreatedByUserId");
 05621
 05622                    b.HasIndex("Entity");
 05623
 05624                    b.HasIndex("EventsKindId");
 05625
 05626                    b.HasIndex("ModifiedByUserId");
 05627
 05628                    b.HasIndex("ReasonJson");
 05629
 05630                    b.HasIndex("RecStateId");
 05631
 05632                    b.HasIndex("UserId");
 05633
 05634                    b.ToTable("Events");
 05635                });
 5636
 05637            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", b =>
 05638                {
 05639                    b.Property<long>("Id")
 05640                        .ValueGeneratedOnAdd()
 05641                        .HasColumnType("bigint")
 05642                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05643                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05644
 05645                    b.Property<string>("Code")
 05646                        .IsRequired()
 05647                        .HasColumnType("text");
 05648
 05649                    b.Property<long?>("CreatedByUserId")
 05650                        .HasColumnType("bigint");
 05651
 05652                    b.Property<DateTime>("CreationDateTime")
 05653                        .HasColumnType("timestamp without time zone");
 05654
 05655                    b.Property<string>("Description")
 05656                        .HasColumnType("text");
 05657
 05658                    b.Property<Guid>("GUID")
 05659                        .ValueGeneratedOnAdd()
 05660                        .HasColumnType("uuid");
 05661
 05662                    b.Property<bool>("IsDeleted")
 05663                        .HasColumnType("boolean");
 05664
 05665                    b.Property<DateTime?>("ModificationDateTime")
 05666                        .HasColumnType("timestamp without time zone");
 05667
 05668                    b.Property<long?>("ModifiedByUserId")
 05669                        .HasColumnType("bigint");
 05670
 05671                    b.Property<string>("Name")
 05672                        .IsRequired()
 05673                        .HasColumnType("text");
 05674
 05675                    b.Property<long?>("RecStateId")
 05676                        .HasColumnType("bigint");
 05677
 05678                    b.HasKey("Id");
 05679
 05680                    b.HasIndex("CreatedByUserId");
 05681
 05682                    b.HasIndex("ModifiedByUserId");
 05683
 05684                    b.HasIndex("RecStateId");
 05685
 05686                    b.ToTable("EventsKind");
 05687
 05688                    b.HasData(
 05689                        new
 05690                        {
 05691                            Id = 1L,
 05692                            Code = "Unknown",
 05693                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05694                            Description = "",
 05695                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05696                            IsDeleted = false,
 05697                            Name = "Неизвестно"
 05698                        },
 05699                        new
 05700                        {
 05701                            Id = 2L,
 05702                            Code = "Create",
 05703                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05704                            Description = "",
 05705                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05706                            IsDeleted = false,
 05707                            Name = "Создание"
 05708                        },
 05709                        new
 05710                        {
 05711                            Id = 3L,
 05712                            Code = "Update",
 05713                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05714                            Description = "",
 05715                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05716                            IsDeleted = false,
 05717                            Name = "Обновление"
 05718                        },
 05719                        new
 05720                        {
 05721                            Id = 4L,
 05722                            Code = "Delete",
 05723                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05724                            Description = "",
 05725                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05726                            IsDeleted = false,
 05727                            Name = "Удаление"
 05728                        });
 05729                });
 5730
 05731            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ExchangeToken", b =>
 05732                {
 05733                    b.Property<long>("Id")
 05734                        .ValueGeneratedOnAdd()
 05735                        .HasColumnType("bigint")
 05736                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05737
 05738                    b.Property<long?>("CreatedByUserId")
 05739                        .HasColumnType("bigint");
 05740
 05741                    b.Property<DateTime>("CreationDateTime")
 05742                        .HasColumnType("timestamp without time zone");
 05743
 05744                    b.Property<long>("DepartmentId")
 05745                        .HasColumnType("bigint");
 05746
 05747                    b.Property<string>("Description")
 05748                        .HasColumnType("text");
 05749
 05750                    b.Property<Guid>("GUID")
 05751                        .ValueGeneratedOnAdd()
 05752                        .HasColumnType("uuid");
 05753
 05754                    b.Property<bool>("IsDeleted")
 05755                        .HasColumnType("boolean");
 05756
 05757                    b.Property<DateTime?>("ModificationDateTime")
 05758                        .HasColumnType("timestamp without time zone");
 05759
 05760                    b.Property<long?>("ModifiedByUserId")
 05761                        .HasColumnType("bigint");
 05762
 05763                    b.Property<long?>("RecStateId")
 05764                        .HasColumnType("bigint");
 05765
 05766                    b.HasKey("Id");
 05767
 05768                    b.HasIndex("CreatedByUserId");
 05769
 05770                    b.HasIndex("DepartmentId");
 05771
 05772                    b.HasIndex("ModifiedByUserId");
 05773
 05774                    b.HasIndex("RecStateId");
 05775
 05776                    b.ToTable("ExchangeTokens");
 05777
 05778                    b.HasData(
 05779                        new
 05780                        {
 05781                            Id = 1L,
 05782                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05783                            DepartmentId = -2L,
 05784                            Description = "Для синхронизации с CRM",
 05785                            GUID = new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588"),
 05786                            IsDeleted = false,
 05787                            RecStateId = 2L
 05788                        });
 05789                });
 5790
 05791            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", b =>
 05792                {
 05793                    b.Property<long>("Id")
 05794                        .ValueGeneratedOnAdd()
 05795                        .HasColumnType("bigint")
 05796                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05797                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05798
 05799                    b.Property<long?>("CreatedByUserId")
 05800                        .HasColumnType("bigint");
 05801
 05802                    b.Property<DateTime>("CreationDateTime")
 05803                        .HasColumnType("timestamp without time zone");
 05804
 05805                    b.Property<string>("Description")
 05806                        .HasColumnType("text");
 05807
 05808                    b.Property<Guid>("GUID")
 05809                        .ValueGeneratedOnAdd()
 05810                        .HasColumnType("uuid");
 05811
 05812                    b.Property<bool>("IsDeleted")
 05813                        .HasColumnType("boolean");
 05814
 05815                    b.Property<DateTime?>("ModificationDateTime")
 05816                        .HasColumnType("timestamp without time zone");
 05817
 05818                    b.Property<long?>("ModifiedByUserId")
 05819                        .HasColumnType("bigint");
 05820
 05821                    b.Property<string>("Name")
 05822                        .IsRequired()
 05823                        .HasColumnType("text");
 05824
 05825                    b.Property<long?>("RecStateId")
 05826                        .HasColumnType("bigint");
 05827
 05828                    b.HasKey("Id");
 05829
 05830                    b.HasIndex("CreatedByUserId");
 05831
 05832                    b.HasIndex("ModifiedByUserId");
 05833
 05834                    b.HasIndex("RecStateId");
 05835
 05836                    b.ToTable("FrontActions");
 05837
 05838                    b.HasData(
 05839                        new
 05840                        {
 05841                            Id = 1L,
 05842                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05843                            Description = "Доступ к черновикам",
 05844                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05845                            IsDeleted = false,
 05846                            Name = "viewOrderDraft"
 05847                        },
 05848                        new
 05849                        {
 05850                            Id = 2L,
 05851                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05852                            Description = "Доступ к ценообразованию",
 05853                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05854                            IsDeleted = false,
 05855                            Name = "viewPricing"
 05856                        },
 05857                        new
 05858                        {
 05859                            Id = 3L,
 05860                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05861                            Description = "Доступ к уведомлениям",
 05862                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05863                            IsDeleted = false,
 05864                            Name = "viewNotifications"
 05865                        },
 05866                        new
 05867                        {
 05868                            Id = 4L,
 05869                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05870                            Description = "Доступ к отгрузкам",
 05871                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05872                            IsDeleted = false,
 05873                            Name = "viewShipments"
 05874                        },
 05875                        new
 05876                        {
 05877                            Id = 5L,
 05878                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05879                            Description = "Доступ к поддержке",
 05880                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05881                            IsDeleted = false,
 05882                            Name = "viewSupport"
 05883                        },
 05884                        new
 05885                        {
 05886                            Id = 6L,
 05887                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05888                            Description = "Доступ к аналитике",
 05889                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05890                            IsDeleted = false,
 05891                            Name = "viewAnalytics"
 05892                        },
 05893                        new
 05894                        {
 05895                            Id = 7L,
 05896                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05897                            Description = "Доступ к товарному запасу",
 05898                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05899                            IsDeleted = false,
 05900                            Name = "viewRests"
 05901                        },
 05902                        new
 05903                        {
 05904                            Id = 8L,
 05905                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05906                            Description = "Доступ к заявкам",
 05907                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05908                            IsDeleted = false,
 05909                            Name = "viewOrders"
 05910                        },
 05911                        new
 05912                        {
 05913                            Id = 9L,
 05914                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05915                            Description = "Доступ к профилю пользователя",
 05916                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05917                            IsDeleted = false,
 05918                            Name = "viewUser"
 05919                        },
 05920                        new
 05921                        {
 05922                            Id = 10L,
 05923                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05924                            Description = "Доступ к параметрам отборки",
 05925                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05926                            IsDeleted = false,
 05927                            Name = "viewSelectionParameters"
 05928                        },
 05929                        new
 05930                        {
 05931                            Id = 11L,
 05932                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05933                            Description = "Доступ к витрине",
 05934                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05935                            IsDeleted = false,
 05936                            Name = "viewShowcase"
 05937                        },
 05938                        new
 05939                        {
 05940                            Id = 12L,
 05941                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05942                            Description = "Доступ к управлению платформой",
 05943                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05944                            IsDeleted = false,
 05945                            Name = "viewSystemManagement"
 05946                        },
 05947                        new
 05948                        {
 05949                            Id = 13L,
 05950                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05951                            Description = "Доступ к настройкам",
 05952                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05953                            IsDeleted = false,
 05954                            Name = "viewSettings"
 05955                        },
 05956                        new
 05957                        {
 05958                            Id = 14L,
 05959                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05960                            Description = "Доступ к подразделениям",
 05961                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05962                            IsDeleted = false,
 05963                            Name = "viewDepartments"
 05964                        },
 05965                        new
 05966                        {
 05967                            Id = 15L,
 05968                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05969                            Description = "Доступ к профилю кошелька",
 05970                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05971                            IsDeleted = false,
 05972                            Name = "viewOrganisationPaymentAccount"
 05973                        },
 05974                        new
 05975                        {
 05976                            Id = 16L,
 05977                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05978                            Description = "Доступ к номенклатуре",
 05979                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05980                            IsDeleted = false,
 05981                            Name = "viewNomenclature"
 05982                        },
 05983                        new
 05984                        {
 05985                            Id = 17L,
 05986                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05987                            Description = "Доступ к брендам",
 05988                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05989                            IsDeleted = false,
 05990                            Name = "viewBrands"
 05991                        },
 05992                        new
 05993                        {
 05994                            Id = 18L,
 05995                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05996                            Description = "Доступ к товарной иерархии",
 05997                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05998                            IsDeleted = false,
 05999                            Name = "viewGoodsHierarchy"
 06000                        },
 06001                        new
 06002                        {
 06003                            Id = 19L,
 06004                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06005                            Description = "Доступ к добавлению подразделений",
 06006                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06007                            IsDeleted = false,
 06008                            Name = "addDepartment"
 06009                        },
 06010                        new
 06011                        {
 06012                            Id = 20L,
 06013                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06014                            Description = "Доступ к редактированию контрактов",
 06015                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06016                            IsDeleted = false,
 06017                            Name = "editContracts"
 06018                        },
 06019                        new
 06020                        {
 06021                            Id = 21L,
 06022                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06023                            Description = "Доступ к удалению контрактов",
 06024                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06025                            IsDeleted = false,
 06026                            Name = "deleteContracts"
 06027                        });
 06028                });
 6029
 06030            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", b =>
 06031                {
 06032                    b.Property<long>("Id")
 06033                        .ValueGeneratedOnAdd()
 06034                        .HasColumnType("bigint")
 06035                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06036
 06037                    b.Property<long?>("BrandId")
 06038                        .HasColumnType("bigint");
 06039
 06040                    b.Property<long>("CategoryId")
 06041                        .HasColumnType("bigint");
 06042
 06043                    b.Property<string>("ConformityCertNumber")
 06044                        .IsRequired()
 06045                        .HasColumnType("text");
 06046
 06047                    b.Property<long?>("CountryId")
 06048                        .HasColumnType("bigint");
 06049
 06050                    b.Property<long?>("CreatedByUserId")
 06051                        .HasColumnType("bigint");
 06052
 06053                    b.Property<DateTime>("CreationDateTime")
 06054                        .HasColumnType("timestamp without time zone");
 06055
 06056                    b.Property<string>("CustomDeclarationNumber")
 06057                        .IsRequired()
 06058                        .HasColumnType("text");
 06059
 06060                    b.Property<int>("ExpirationDays")
 06061                        .HasColumnType("integer");
 06062
 06063                    b.Property<Guid>("GUID")
 06064                        .ValueGeneratedOnAdd()
 06065                        .HasColumnType("uuid");
 06066
 06067                    b.Property<decimal>("GroupPackHeight")
 06068                        .HasColumnType("numeric");
 06069
 06070                    b.Property<int>("GroupPackNesting")
 06071                        .HasColumnType("integer");
 06072
 06073                    b.Property<decimal>("GroupPackThickness")
 06074                        .HasColumnType("numeric");
 06075
 06076                    b.Property<decimal>("GroupPackWidth")
 06077                        .HasColumnType("numeric");
 06078
 06079                    b.Property<decimal>("Height")
 06080                        .HasColumnType("numeric");
 06081
 06082                    b.Property<bool>("IsDeleted")
 06083                        .HasColumnType("boolean");
 06084
 06085                    b.Property<long>("MainBarcodeId")
 06086                        .HasColumnType("bigint");
 06087
 06088                    b.Property<long?>("ManufacturerId")
 06089                        .HasColumnType("bigint");
 06090
 06091                    b.Property<decimal>("MinDeliveryLot")
 06092                        .HasColumnType("numeric");
 06093
 06094                    b.Property<DateTime?>("ModificationDateTime")
 06095                        .HasColumnType("timestamp without time zone");
 06096
 06097                    b.Property<long?>("ModifiedByUserId")
 06098                        .HasColumnType("bigint");
 06099
 06100                    b.Property<string>("Name")
 06101                        .IsRequired()
 06102                        .HasColumnType("text");
 06103
 06104                    b.Property<int>("PalletNesting")
 06105                        .HasColumnType("integer");
 06106
 06107                    b.Property<long?>("RecStateId")
 06108                        .HasColumnType("bigint");
 06109
 06110                    b.Property<long?>("SubBrandId")
 06111                        .HasColumnType("bigint");
 06112
 06113                    b.Property<long?>("SupplierId")
 06114                        .HasColumnType("bigint");
 06115
 06116                    b.Property<decimal>("Thickness")
 06117                        .HasColumnType("numeric");
 06118
 06119                    b.Property<long>("UnitsKindId")
 06120                        .HasColumnType("bigint");
 06121
 06122                    b.Property<long>("VatsKindId")
 06123                        .HasColumnType("bigint");
 06124
 06125                    b.Property<string>("VendorCode")
 06126                        .IsRequired()
 06127                        .HasColumnType("text");
 06128
 06129                    b.Property<decimal>("Weight")
 06130                        .HasColumnType("numeric");
 06131
 06132                    b.Property<decimal>("Width")
 06133                        .HasColumnType("numeric");
 06134
 06135                    b.HasKey("Id");
 06136
 06137                    b.HasIndex("BrandId");
 06138
 06139                    b.HasIndex("CategoryId");
 06140
 06141                    b.HasIndex("CountryId");
 06142
 06143                    b.HasIndex("CreatedByUserId");
 06144
 06145                    b.HasIndex("MainBarcodeId");
 06146
 06147                    b.HasIndex("ManufacturerId");
 06148
 06149                    b.HasIndex("ModifiedByUserId");
 06150
 06151                    b.HasIndex("Name");
 06152
 06153                    b.HasIndex("RecStateId");
 06154
 06155                    b.HasIndex("SubBrandId");
 06156
 06157                    b.HasIndex("SupplierId");
 06158
 06159                    b.HasIndex("UnitsKindId");
 06160
 06161                    b.HasIndex("VatsKindId");
 06162
 06163                    b.ToTable("Goods");
 06164                });
 6165
 06166            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Incident", b =>
 06167                {
 06168                    b.Property<long>("Id")
 06169                        .ValueGeneratedOnAdd()
 06170                        .HasColumnType("bigint")
 06171                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06172
 06173                    b.Property<string>("Body")
 06174                        .HasColumnType("text");
 06175
 06176                    b.Property<long?>("CreatedByUserId")
 06177                        .HasColumnType("bigint");
 06178
 06179                    b.Property<DateTime>("CreationDateTime")
 06180                        .HasColumnType("timestamp without time zone");
 06181
 06182                    b.Property<DateTime>("DtCreated")
 06183                        .HasColumnType("timestamp without time zone");
 06184
 06185                    b.Property<Guid>("GUID")
 06186                        .ValueGeneratedOnAdd()
 06187                        .HasColumnType("uuid");
 06188
 06189                    b.Property<bool>("IsDeleted")
 06190                        .HasColumnType("boolean");
 06191
 06192                    b.Property<long?>("KindId")
 06193                        .HasColumnType("bigint");
 06194
 06195                    b.Property<DateTime?>("ModificationDateTime")
 06196                        .HasColumnType("timestamp without time zone");
 06197
 06198                    b.Property<long?>("ModifiedByUserId")
 06199                        .HasColumnType("bigint");
 06200
 06201                    b.Property<long?>("RecStateId")
 06202                        .HasColumnType("bigint");
 06203
 06204                    b.Property<long?>("StatusId")
 06205                        .HasColumnType("bigint");
 06206
 06207                    b.Property<string>("Subject")
 06208                        .HasColumnType("text");
 06209
 06210                    b.Property<string>("Ticket")
 06211                        .HasColumnType("text");
 06212
 06213                    b.Property<long>("UserId")
 06214                        .HasColumnType("bigint");
 06215
 06216                    b.HasKey("Id");
 06217
 06218                    b.HasIndex("CreatedByUserId");
 06219
 06220                    b.HasIndex("KindId");
 06221
 06222                    b.HasIndex("ModifiedByUserId");
 06223
 06224                    b.HasIndex("RecStateId");
 06225
 06226                    b.HasIndex("StatusId");
 06227
 06228                    b.HasIndex("UserId");
 06229
 06230                    b.ToTable("Incidents");
 06231                });
 6232
 06233            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsKind", b =>
 06234                {
 06235                    b.Property<long>("Id")
 06236                        .ValueGeneratedOnAdd()
 06237                        .HasColumnType("bigint")
 06238                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 06239                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06240
 06241                    b.Property<string>("Code")
 06242                        .IsRequired()
 06243                        .HasColumnType("text");
 06244
 06245                    b.Property<long?>("CreatedByUserId")
 06246                        .HasColumnType("bigint");
 06247
 06248                    b.Property<DateTime>("CreationDateTime")
 06249                        .HasColumnType("timestamp without time zone");
 06250
 06251                    b.Property<string>("Description")
 06252                        .HasColumnType("text");
 06253
 06254                    b.Property<Guid>("GUID")
 06255                        .ValueGeneratedOnAdd()
 06256                        .HasColumnType("uuid");
 06257
 06258                    b.Property<bool>("IsDeleted")
 06259                        .HasColumnType("boolean");
 06260
 06261                    b.Property<DateTime?>("ModificationDateTime")
 06262                        .HasColumnType("timestamp without time zone");
 06263
 06264                    b.Property<long?>("ModifiedByUserId")
 06265                        .HasColumnType("bigint");
 06266
 06267                    b.Property<string>("Name")
 06268                        .IsRequired()
 06269                        .HasColumnType("text");
 06270
 06271                    b.Property<long?>("RecStateId")
 06272                        .HasColumnType("bigint");
 06273
 06274                    b.HasKey("Id");
 06275
 06276                    b.HasIndex("CreatedByUserId");
 06277
 06278                    b.HasIndex("ModifiedByUserId");
 06279
 06280                    b.HasIndex("RecStateId");
 06281
 06282                    b.ToTable("IncidentsKind");
 06283
 06284                    b.HasData(
 06285                        new
 06286                        {
 06287                            Id = 1L,
 06288                            Code = "Unknown",
 06289                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06290                            Description = "",
 06291                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06292                            IsDeleted = false,
 06293                            Name = "Неизвестно"
 06294                        },
 06295                        new
 06296                        {
 06297                            Id = 2L,
 06298                            Code = "Error",
 06299                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06300                            Description = "",
 06301                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06302                            IsDeleted = false,
 06303                            Name = "Ошибка"
 06304                        },
 06305                        new
 06306                        {
 06307                            Id = 3L,
 06308                            Code = "Question",
 06309                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06310                            Description = "",
 06311                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06312                            IsDeleted = false,
 06313                            Name = "Вопрос"
 06314                        },
 06315                        new
 06316                        {
 06317                            Id = 4L,
 06318                            Code = "Suggestion",
 06319                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06320                            Description = "",
 06321                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06322                            IsDeleted = false,
 06323                            Name = "Предложение"
 06324                        });
 06325                });
 6326
 06327            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", b =>
 06328                {
 06329                    b.Property<long>("Id")
 06330                        .ValueGeneratedOnAdd()
 06331                        .HasColumnType("bigint")
 06332                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 06333                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06334
 06335                    b.Property<string>("Code")
 06336                        .IsRequired()
 06337                        .HasColumnType("text");
 06338
 06339                    b.Property<long?>("CreatedByUserId")
 06340                        .HasColumnType("bigint");
 06341
 06342                    b.Property<DateTime>("CreationDateTime")
 06343                        .HasColumnType("timestamp without time zone");
 06344
 06345                    b.Property<string>("Description")
 06346                        .HasColumnType("text");
 06347
 06348                    b.Property<Guid>("GUID")
 06349                        .ValueGeneratedOnAdd()
 06350                        .HasColumnType("uuid");
 06351
 06352                    b.Property<bool>("IsDeleted")
 06353                        .HasColumnType("boolean");
 06354
 06355                    b.Property<DateTime?>("ModificationDateTime")
 06356                        .HasColumnType("timestamp without time zone");
 06357
 06358                    b.Property<long?>("ModifiedByUserId")
 06359                        .HasColumnType("bigint");
 06360
 06361                    b.Property<string>("Name")
 06362                        .IsRequired()
 06363                        .HasColumnType("text");
 06364
 06365                    b.Property<long?>("RecStateId")
 06366                        .HasColumnType("bigint");
 06367
 06368                    b.HasKey("Id");
 06369
 06370                    b.HasIndex("CreatedByUserId");
 06371
 06372                    b.HasIndex("ModifiedByUserId");
 06373
 06374                    b.HasIndex("RecStateId");
 06375
 06376                    b.ToTable("IncidentsStatus");
 06377
 06378                    b.HasData(
 06379                        new
 06380                        {
 06381                            Id = 1L,
 06382                            Code = "Open",
 06383                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06384                            Description = "",
 06385                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06386                            IsDeleted = false,
 06387                            Name = "Открыт"
 06388                        },
 06389                        new
 06390                        {
 06391                            Id = 2L,
 06392                            Code = "InWork",
 06393                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06394                            Description = "",
 06395                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06396                            IsDeleted = false,
 06397                            Name = "В работе"
 06398                        },
 06399                        new
 06400                        {
 06401                            Id = 3L,
 06402                            Code = "Resolved",
 06403                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06404                            Description = "",
 06405                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06406                            IsDeleted = false,
 06407                            Name = "Решен"
 06408                        },
 06409                        new
 06410                        {
 06411                            Id = 4L,
 06412                            Code = "Canceled",
 06413                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06414                            Description = "",
 06415                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06416                            IsDeleted = false,
 06417                            Name = "Отменен"
 06418                        },
 06419                        new
 06420                        {
 06421                            Id = 5L,
 06422                            Code = "Closed",
 06423                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06424                            Description = "",
 06425                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06426                            IsDeleted = false,
 06427                            Name = "Закрыт"
 06428                        });
 06429                });
 6430
 06431            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.JobLogger", b =>
 06432                {
 06433                    b.Property<long>("Id")
 06434                        .ValueGeneratedOnAdd()
 06435                        .HasColumnType("bigint")
 06436                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06437
 06438                    b.Property<long?>("CreatedByUserId")
 06439                        .HasColumnType("bigint");
 06440
 06441                    b.Property<DateTime>("CreationDateTime")
 06442                        .HasColumnType("timestamp without time zone");
 06443
 06444                    b.Property<Guid>("GUID")
 06445                        .ValueGeneratedOnAdd()
 06446                        .HasColumnType("uuid");
 06447
 06448                    b.Property<bool>("IsDeleted")
 06449                        .HasColumnType("boolean");
 06450
 06451                    b.Property<string>("JobName")
 06452                        .HasColumnType("text");
 06453
 06454                    b.Property<string>("Log")
 06455                        .HasColumnType("text");
 06456
 06457                    b.Property<string>("LogLevel")
 06458                        .HasColumnType("text");
 06459
 06460                    b.Property<DateTime?>("ModificationDateTime")
 06461                        .HasColumnType("timestamp without time zone");
 06462
 06463                    b.Property<long?>("ModifiedByUserId")
 06464                        .HasColumnType("bigint");
 06465
 06466                    b.Property<long?>("RecStateId")
 06467                        .HasColumnType("bigint");
 06468
 06469                    b.HasKey("Id");
 06470
 06471                    b.HasIndex("CreatedByUserId");
 06472
 06473                    b.HasIndex("ModifiedByUserId");
 06474
 06475                    b.HasIndex("RecStateId");
 06476
 06477                    b.ToTable("JobLoggers");
 06478                });
 6479
 06480            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MethodRole", b =>
 06481                {
 06482                    b.Property<long>("RoleId")
 06483                        .HasColumnType("bigint");
 06484
 06485                    b.Property<long>("MethodId")
 06486                        .HasColumnType("bigint");
 06487
 06488                    b.Property<long?>("CreatedByUserId")
 06489                        .HasColumnType("bigint");
 06490
 06491                    b.Property<DateTime>("CreationDateTime")
 06492                        .HasColumnType("timestamp without time zone");
 06493
 06494                    b.Property<Guid>("GUID")
 06495                        .ValueGeneratedOnAdd()
 06496                        .HasColumnType("uuid");
 06497
 06498                    b.HasKey("RoleId", "MethodId");
 06499
 06500                    b.HasIndex("MethodId");
 06501
 06502                    b.ToTable("MethodRole");
 06503                });
 6504
 06505            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", b =>
 06506                {
 06507                    b.Property<long>("Id")
 06508                        .ValueGeneratedOnAdd()
 06509                        .HasColumnType("bigint")
 06510                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06511
 06512                    b.Property<long?>("CreatedByUserId")
 06513                        .HasColumnType("bigint");
 06514
 06515                    b.Property<DateTime>("CreationDateTime")
 06516                        .HasColumnType("timestamp without time zone");
 06517
 06518                    b.Property<string>("Description")
 06519                        .HasColumnType("text");
 06520
 06521                    b.Property<Guid>("GUID")
 06522                        .ValueGeneratedOnAdd()
 06523                        .HasColumnType("uuid");
 06524
 06525                    b.Property<bool>("IsDeleted")
 06526                        .HasColumnType("boolean");
 06527
 06528                    b.Property<string>("MethodName")
 06529                        .IsRequired()
 06530                        .HasColumnType("text");
 06531
 06532                    b.Property<DateTime?>("ModificationDateTime")
 06533                        .HasColumnType("timestamp without time zone");
 06534
 06535                    b.Property<long?>("ModifiedByUserId")
 06536                        .HasColumnType("bigint");
 06537
 06538                    b.Property<long?>("RecStateId")
 06539                        .HasColumnType("bigint");
 06540
 06541                    b.HasKey("Id");
 06542
 06543                    b.HasIndex("CreatedByUserId");
 06544
 06545                    b.HasIndex("ModifiedByUserId");
 06546
 06547                    b.HasIndex("RecStateId");
 06548
 06549                    b.ToTable("Methods");
 06550                });
 6551
 06552            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", b =>
 06553                {
 06554                    b.Property<long>("Id")
 06555                        .ValueGeneratedOnAdd()
 06556                        .HasColumnType("bigint")
 06557                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06558
 06559                    b.Property<string>("Attachment")
 06560                        .HasColumnType("text");
 06561
 06562                    b.Property<long?>("ChildrenId")
 06563                        .HasColumnType("bigint");
 06564
 06565                    b.Property<long?>("CreatedByUserId")
 06566                        .HasColumnType("bigint");
 06567
 06568                    b.Property<DateTime>("CreationDateTime")
 06569                        .HasColumnType("timestamp without time zone");
 06570
 06571                    b.Property<long>("CustomerId")
 06572                        .HasColumnType("bigint");
 06573
 06574                    b.Property<string>("DocumentNumber")
 06575                        .IsRequired()
 06576                        .HasColumnType("text");
 06577
 06578                    b.Property<DateTime>("DtCreated")
 06579                        .HasColumnType("timestamp without time zone");
 06580
 06581                    b.Property<Guid>("GUID")
 06582                        .ValueGeneratedOnAdd()
 06583                        .HasColumnType("uuid");
 06584
 06585                    b.Property<bool>("IsDeleted")
 06586                        .HasColumnType("boolean");
 06587
 06588                    b.Property<DateTime?>("ModificationDateTime")
 06589                        .HasColumnType("timestamp without time zone");
 06590
 06591                    b.Property<long?>("ModifiedByUserId")
 06592                        .HasColumnType("bigint");
 06593
 06594                    b.Property<long>("MovementStatusId")
 06595                        .HasColumnType("bigint");
 06596
 06597                    b.Property<long>("MovementTypeId")
 06598                        .HasColumnType("bigint");
 06599
 06600                    b.Property<long?>("ParentId")
 06601                        .HasColumnType("bigint");
 06602
 06603                    b.Property<decimal>("PrepaimentPercent")
 06604                        .HasColumnType("numeric");
 06605
 06606                    b.Property<decimal>("PrepaimentSum")
 06607                        .HasColumnType("numeric");
 06608
 06609                    b.Property<long?>("RecStateId")
 06610                        .HasColumnType("bigint");
 06611
 06612                    b.Property<long>("ReceiverId")
 06613                        .HasColumnType("bigint");
 06614
 06615                    b.Property<long?>("SenderId")
 06616                        .HasColumnType("bigint");
 06617
 06618                    b.Property<long>("SupplierId")
 06619                        .HasColumnType("bigint");
 06620
 06621                    b.Property<DateTime?>("SupplierTransferDate")
 06622                        .HasColumnType("timestamp without time zone");
 06623
 06624                    b.HasKey("Id");
 06625
 06626                    b.HasIndex("ChildrenId");
 06627
 06628                    b.HasIndex("CreatedByUserId");
 06629
 06630                    b.HasIndex("CustomerId");
 06631
 06632                    b.HasIndex("ModifiedByUserId");
 06633
 06634                    b.HasIndex("MovementStatusId");
 06635
 06636                    b.HasIndex("MovementTypeId");
 06637
 06638                    b.HasIndex("ParentId");
 06639
 06640                    b.HasIndex("RecStateId");
 06641
 06642                    b.HasIndex("ReceiverId");
 06643
 06644                    b.HasIndex("SenderId");
 06645
 06646                    b.HasIndex("SupplierId");
 06647
 06648                    b.ToTable("Movements");
 06649                });
 6650
 06651            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementItem", b =>
 06652                {
 06653                    b.Property<long>("Id")
 06654                        .ValueGeneratedOnAdd()
 06655                        .HasColumnType("bigint")
 06656                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06657
 06658                    b.Property<string>("Comment")
 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<long>("GoodId")
 06672                        .HasColumnType("bigint");
 06673
 06674                    b.Property<bool>("IsDeleted")
 06675                        .HasColumnType("boolean");
 06676
 06677                    b.Property<DateTime?>("ModificationDateTime")
 06678                        .HasColumnType("timestamp without time zone");
 06679
 06680                    b.Property<long?>("ModifiedByUserId")
 06681                        .HasColumnType("bigint");
 06682
 06683                    b.Property<long?>("MovementId")
 06684                        .HasColumnType("bigint");
 06685
 06686                    b.Property<decimal>("Price")
 06687                        .HasColumnType("numeric");
 06688
 06689                    b.Property<decimal>("Quantity")
 06690                        .HasColumnType("numeric");
 06691
 06692                    b.Property<long?>("RecStateId")
 06693                        .HasColumnType("bigint");
 06694
 06695                    b.HasKey("Id");
 06696
 06697                    b.HasIndex("CreatedByUserId");
 06698
 06699                    b.HasIndex("GoodId");
 06700
 06701                    b.HasIndex("ModifiedByUserId");
 06702
 06703                    b.HasIndex("MovementId");
 06704
 06705                    b.HasIndex("RecStateId");
 06706
 06707                    b.ToTable("MovementItems");
 06708                });
 6709
 06710            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementNote", b =>
 06711                {
 06712                    b.Property<long>("Id")
 06713                        .ValueGeneratedOnAdd()
 06714                        .HasColumnType("bigint")
 06715                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06716
 06717                    b.Property<string>("Body")
 06718                        .IsRequired()
 06719                        .HasColumnType("text");
 06720
 06721                    b.Property<long?>("CreatedByUserId")
 06722                        .HasColumnType("bigint");
 06723
 06724                    b.Property<DateTime>("CreationDateTime")
 06725                        .HasColumnType("timestamp without time zone");
 06726
 06727                    b.Property<Guid>("GUID")
 06728                        .ValueGeneratedOnAdd()
 06729                        .HasColumnType("uuid");
 06730
 06731                    b.Property<bool>("IsDeleted")
 06732                        .HasColumnType("boolean");
 06733
 06734                    b.Property<DateTime?>("ModificationDateTime")
 06735                        .HasColumnType("timestamp without time zone");
 06736
 06737                    b.Property<long?>("ModifiedByUserId")
 06738                        .HasColumnType("bigint");
 06739
 06740                    b.Property<long?>("MovementId")
 06741                        .HasColumnType("bigint");
 06742
 06743                    b.Property<long?>("RecStateId")
 06744                        .HasColumnType("bigint");
 06745
 06746                    b.HasKey("Id");
 06747
 06748                    b.HasIndex("CreatedByUserId");
 06749
 06750                    b.HasIndex("ModifiedByUserId");
 06751
 06752                    b.HasIndex("MovementId");
 06753
 06754                    b.HasIndex("RecStateId");
 06755
 06756                    b.ToTable("MovementNotes");
 06757                });
 6758
 06759            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementRouteAction", b =>
 06760                {
 06761                    b.Property<long>("Id")
 06762                        .ValueGeneratedOnAdd()
 06763                        .HasColumnType("bigint")
 06764                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 06765                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06766
 06767                    b.Property<string>("Action")
 06768                        .HasColumnType("text");
 06769
 06770                    b.Property<string>("Caption")
 06771                        .HasColumnType("text");
 06772
 06773                    b.Property<string>("Code")
 06774                        .HasColumnType("text");
 06775
 06776                    b.Property<long?>("CreatedByUserId")
 06777                        .HasColumnType("bigint");
 06778
 06779                    b.Property<DateTime>("CreationDateTime")
 06780                        .HasColumnType("timestamp without time zone");
 06781
 06782                    b.Property<Guid>("GUID")
 06783                        .ValueGeneratedOnAdd()
 06784                        .HasColumnType("uuid");
 06785
 06786                    b.Property<bool>("IsDeleted")
 06787                        .HasColumnType("boolean");
 06788
 06789                    b.Property<DateTime?>("ModificationDateTime")
 06790                        .HasColumnType("timestamp without time zone");
 06791
 06792                    b.Property<long?>("ModifiedByUserId")
 06793                        .HasColumnType("bigint");
 06794
 06795                    b.Property<long>("OwnerActionId")
 06796                        .HasColumnType("bigint");
 06797
 06798                    b.Property<long?>("RecStateId")
 06799                        .HasColumnType("bigint");
 06800
 06801                    b.Property<long>("StatusId")
 06802                        .HasColumnType("bigint");
 06803
 06804                    b.Property<string>("Type")
 06805                        .HasColumnType("text");
 06806
 06807                    b.HasKey("Id");
 06808
 06809                    b.HasIndex("CreatedByUserId");
 06810
 06811                    b.HasIndex("ModifiedByUserId");
 06812
 06813                    b.HasIndex("OwnerActionId");
 06814
 06815                    b.HasIndex("RecStateId");
 06816
 06817                    b.HasIndex("StatusId");
 06818
 06819                    b.ToTable("MovementRouteActions");
 06820
 06821                    b.HasData(
 06822                        new
 06823                        {
 06824                            Id = 1L,
 06825                            Action = "Orders/{id}/DownloadOrderToFile",
 06826                            Caption = "Скачать CSV",
 06827                            Code = "Csv",
 06828                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06829                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06830                            IsDeleted = false,
 06831                            OwnerActionId = 1L,
 06832                            StatusId = 1L,
 06833                            Type = "GET"
 06834                        },
 06835                        new
 06836                        {
 06837                            Id = 2L,
 06838                            Action = "Orders/{id}",
 06839                            Caption = "Изменить",
 06840                            Code = "Edit",
 06841                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06842                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06843                            IsDeleted = false,
 06844                            OwnerActionId = 1L,
 06845                            StatusId = 1L,
 06846                            Type = "GET"
 06847                        },
 06848                        new
 06849                        {
 06850                            Id = 3L,
 06851                            Action = "Orders/{id}",
 06852                            Caption = "Удалить",
 06853                            Code = "Delete",
 06854                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06855                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06856                            IsDeleted = false,
 06857                            OwnerActionId = 1L,
 06858                            StatusId = 1L,
 06859                            Type = "DELETE"
 06860                        },
 06861                        new
 06862                        {
 06863                            Id = 4L,
 06864                            Action = "Orders/{id}/Send",
 06865                            Caption = "Отправить заявку",
 06866                            Code = "Send",
 06867                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06868                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06869                            IsDeleted = false,
 06870                            OwnerActionId = 1L,
 06871                            StatusId = 1L,
 06872                            Type = "POST"
 06873                        },
 06874                        new
 06875                        {
 06876                            Id = 5L,
 06877                            Action = "Orders/{id}/DownloadOrderToFile",
 06878                            Caption = "Скачать CSV",
 06879                            Code = "Csv",
 06880                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06881                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06882                            IsDeleted = false,
 06883                            OwnerActionId = 1L,
 06884                            StatusId = 2L,
 06885                            Type = "GET"
 06886                        },
 06887                        new
 06888                        {
 06889                            Id = 6L,
 06890                            Action = "Orders/{id}/Clone",
 06891                            Caption = "Создать копию",
 06892                            Code = "Clone",
 06893                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06894                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06895                            IsDeleted = false,
 06896                            OwnerActionId = 1L,
 06897                            StatusId = 2L,
 06898                            Type = "POST"
 06899                        },
 06900                        new
 06901                        {
 06902                            Id = 7L,
 06903                            Action = "Orders/{id}/Reject",
 06904                            Caption = "Отказаться",
 06905                            Code = "Reject",
 06906                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06907                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06908                            IsDeleted = false,
 06909                            OwnerActionId = 1L,
 06910                            StatusId = 2L,
 06911                            Type = "POST"
 06912                        },
 06913                        new
 06914                        {
 06915                            Id = 8L,
 06916                            Action = "Orders/{id}",
 06917                            Caption = "Принять",
 06918                            Code = "Confirm",
 06919                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06920                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06921                            IsDeleted = false,
 06922                            OwnerActionId = 3L,
 06923                            StatusId = 2L,
 06924                            Type = "POST"
 06925                        },
 06926                        new
 06927                        {
 06928                            Id = 85L,
 06929                            Action = "Orders/{id}/Reject",
 06930                            Caption = "Отказать",
 06931                            Code = "Reject",
 06932                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06933                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06934                            IsDeleted = false,
 06935                            OwnerActionId = 3L,
 06936                            StatusId = 2L,
 06937                            Type = "POST"
 06938                        },
 06939                        new
 06940                        {
 06941                            Id = 9L,
 06942                            Action = "Orders/{id}/DownloadOrderToFile",
 06943                            Caption = "Скачать CSV",
 06944                            Code = "Csv",
 06945                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06946                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06947                            IsDeleted = false,
 06948                            OwnerActionId = 3L,
 06949                            StatusId = 2L,
 06950                            Type = "GET"
 06951                        },
 06952                        new
 06953                        {
 06954                            Id = 10L,
 06955                            Action = "Orders/{id}/DownloadOrderToFile",
 06956                            Caption = "Скачать CSV",
 06957                            Code = "Csv",
 06958                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06959                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06960                            IsDeleted = false,
 06961                            OwnerActionId = 1L,
 06962                            StatusId = 3L,
 06963                            Type = "GET"
 06964                        },
 06965                        new
 06966                        {
 06967                            Id = 11L,
 06968                            Action = "Orders/{id}/Clone",
 06969                            Caption = "Создать копию",
 06970                            Code = "Clone",
 06971                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06972                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06973                            IsDeleted = false,
 06974                            OwnerActionId = 1L,
 06975                            StatusId = 3L,
 06976                            Type = "POST"
 06977                        },
 06978                        new
 06979                        {
 06980                            Id = 86L,
 06981                            Action = "Orders/{id}/Reject",
 06982                            Caption = "Отказаться",
 06983                            Code = "Reject",
 06984                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06985                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06986                            IsDeleted = false,
 06987                            OwnerActionId = 1L,
 06988                            StatusId = 3L,
 06989                            Type = "POST"
 06990                        },
 06991                        new
 06992                        {
 06993                            Id = 12L,
 06994                            Action = "Orders/{id}/DownloadOrderToFile",
 06995                            Caption = "Скачать CSV",
 06996                            Code = "Csv",
 06997                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06998                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06999                            IsDeleted = false,
 07000                            OwnerActionId = 1L,
 07001                            StatusId = 4L,
 07002                            Type = "GET"
 07003                        },
 07004                        new
 07005                        {
 07006                            Id = 13L,
 07007                            Action = "Orders/{id}/Clone",
 07008                            Caption = "Создать копию",
 07009                            Code = "Clone",
 07010                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07011                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07012                            IsDeleted = false,
 07013                            OwnerActionId = 1L,
 07014                            StatusId = 4L,
 07015                            Type = "POST"
 07016                        },
 07017                        new
 07018                        {
 07019                            Id = 87L,
 07020                            Action = "Orders/{id}/DownloadOrderToFile",
 07021                            Caption = "Скачать CSV",
 07022                            Code = "Csv",
 07023                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07024                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07025                            IsDeleted = false,
 07026                            OwnerActionId = 3L,
 07027                            StatusId = 4L,
 07028                            Type = "GET"
 07029                        },
 07030                        new
 07031                        {
 07032                            Id = 14L,
 07033                            Action = "Orders/{id}/DownloadOrderToFile",
 07034                            Caption = "Скачать CSV",
 07035                            Code = "Csv",
 07036                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07037                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07038                            IsDeleted = false,
 07039                            OwnerActionId = 1L,
 07040                            StatusId = 5L,
 07041                            Type = "GET"
 07042                        },
 07043                        new
 07044                        {
 07045                            Id = 15L,
 07046                            Action = "Orders/{id}/Clone",
 07047                            Caption = "Создать копию",
 07048                            Code = "Clone",
 07049                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07050                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07051                            IsDeleted = false,
 07052                            OwnerActionId = 1L,
 07053                            StatusId = 5L,
 07054                            Type = "POST"
 07055                        },
 07056                        new
 07057                        {
 07058                            Id = 16L,
 07059                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07060                            Caption = "Скачать CSV",
 07061                            Code = "Csv",
 07062                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07063                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07064                            IsDeleted = false,
 07065                            OwnerActionId = 2L,
 07066                            StatusId = 6L,
 07067                            Type = "GET"
 07068                        },
 07069                        new
 07070                        {
 07071                            Id = 17L,
 07072                            Action = "Shipments/{id}/PaymentReserve",
 07073                            Caption = "Принять",
 07074                            Code = "PaymentReserve",
 07075                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07076                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07077                            IsDeleted = false,
 07078                            OwnerActionId = 2L,
 07079                            StatusId = 6L,
 07080                            Type = "POST"
 07081                        },
 07082                        new
 07083                        {
 07084                            Id = 83L,
 07085                            Action = "Shipments/{id}/SupplierReject",
 07086                            Caption = "Отказать",
 07087                            Code = "RejectBySupplier",
 07088                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07089                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07090                            IsDeleted = false,
 07091                            OwnerActionId = 2L,
 07092                            StatusId = 6L,
 07093                            Type = "POST"
 07094                        },
 07095                        new
 07096                        {
 07097                            Id = 103L,
 07098                            Action = "Shipments/{id}/SimplePrint",
 07099                            Caption = "Скачать PDF",
 07100                            Code = "SimpleShipmentPdf",
 07101                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07102                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07103                            IsDeleted = false,
 07104                            OwnerActionId = 2L,
 07105                            StatusId = 6L,
 07106                            Type = "GET"
 07107                        },
 07108                        new
 07109                        {
 07110                            Id = 18L,
 07111                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07112                            Caption = "Скачать CSV",
 07113                            Code = "Csv",
 07114                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07115                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07116                            IsDeleted = false,
 07117                            OwnerActionId = 3L,
 07118                            StatusId = 6L,
 07119                            Type = "GET"
 07120                        },
 07121                        new
 07122                        {
 07123                            Id = 158L,
 07124                            Action = "Orders/{parentId}",
 07125                            Caption = "Перейти к заявке-основанию",
 07126                            Code = "GetOnBase",
 07127                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07128                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07129                            IsDeleted = false,
 07130                            OwnerActionId = 3L,
 07131                            StatusId = 6L,
 07132                            Type = "Get"
 07133                        },
 07134                        new
 07135                        {
 07136                            Id = 104L,
 07137                            Action = "Shipments/{id}/SimplePrint",
 07138                            Caption = "Скачать PDF",
 07139                            Code = "SimpleShipmentPdf",
 07140                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07141                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07142                            IsDeleted = false,
 07143                            OwnerActionId = 3L,
 07144                            StatusId = 6L,
 07145                            Type = "GET"
 07146                        },
 07147                        new
 07148                        {
 07149                            Id = 19L,
 07150                            Action = "Shipments/{id}/Payment",
 07151                            Caption = "Оплатить",
 07152                            Code = "Payment",
 07153                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07154                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07155                            IsDeleted = false,
 07156                            OwnerActionId = 1L,
 07157                            StatusId = 8L,
 07158                            Type = "POST"
 07159                        },
 07160                        new
 07161                        {
 07162                            Id = 45L,
 07163                            Action = "Shipments/{id}/CustomerReject",
 07164                            Caption = "Отказаться",
 07165                            Code = "RejectByCustomer",
 07166                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07167                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07168                            IsDeleted = false,
 07169                            OwnerActionId = 1L,
 07170                            StatusId = 8L,
 07171                            Type = "POST"
 07172                        },
 07173                        new
 07174                        {
 07175                            Id = 20L,
 07176                            Action = "Orders/CreateOnBase",
 07177                            Caption = "Создать заявку на основе",
 07178                            Code = "CreateOnBase",
 07179                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07180                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07181                            IsDeleted = false,
 07182                            OwnerActionId = 1L,
 07183                            StatusId = 8L,
 07184                            Type = "POST"
 07185                        },
 07186                        new
 07187                        {
 07188                            Id = 136L,
 07189                            Action = "Orders/{parentId}",
 07190                            Caption = "Перейти к заявке-основанию",
 07191                            Code = "GetOnBase",
 07192                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07193                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07194                            IsDeleted = false,
 07195                            OwnerActionId = 1L,
 07196                            StatusId = 8L,
 07197                            Type = "Get"
 07198                        },
 07199                        new
 07200                        {
 07201                            Id = 21L,
 07202                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07203                            Caption = "Скачать CSV",
 07204                            Code = "Csv",
 07205                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07206                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07207                            IsDeleted = false,
 07208                            OwnerActionId = 1L,
 07209                            StatusId = 8L,
 07210                            Type = "GET"
 07211                        },
 07212                        new
 07213                        {
 07214                            Id = 22L,
 07215                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07216                            Caption = "Скачать CSV",
 07217                            Code = "Csv",
 07218                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07219                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07220                            IsDeleted = false,
 07221                            OwnerActionId = 2L,
 07222                            StatusId = 8L,
 07223                            Type = "GET"
 07224                        },
 07225                        new
 07226                        {
 07227                            Id = 23L,
 07228                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07229                            Caption = "Скачать CSV",
 07230                            Code = "Csv",
 07231                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07232                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07233                            IsDeleted = false,
 07234                            OwnerActionId = 3L,
 07235                            StatusId = 8L,
 07236                            Type = "GET"
 07237                        },
 07238                        new
 07239                        {
 07240                            Id = 137L,
 07241                            Action = "Orders/{parentId}",
 07242                            Caption = "Перейти к заявке-основанию",
 07243                            Code = "GetOnBase",
 07244                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07245                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07246                            IsDeleted = false,
 07247                            OwnerActionId = 3L,
 07248                            StatusId = 8L,
 07249                            Type = "Get"
 07250                        },
 07251                        new
 07252                        {
 07253                            Id = 24L,
 07254                            Action = "Orders/CreateOnBase",
 07255                            Caption = "Создать заявку на основе",
 07256                            Code = "CreateOnBase",
 07257                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07258                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07259                            IsDeleted = false,
 07260                            OwnerActionId = 1L,
 07261                            StatusId = 9L,
 07262                            Type = "POST"
 07263                        },
 07264                        new
 07265                        {
 07266                            Id = 25L,
 07267                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07268                            Caption = "Скачать CSV",
 07269                            Code = "Csv",
 07270                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07271                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07272                            IsDeleted = false,
 07273                            OwnerActionId = 1L,
 07274                            StatusId = 9L,
 07275                            Type = "GET"
 07276                        },
 07277                        new
 07278                        {
 07279                            Id = 88L,
 07280                            Action = "Shipments/{id}/CustomerReject",
 07281                            Caption = "Отказаться",
 07282                            Code = "RejectByCustomer",
 07283                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07284                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07285                            IsDeleted = false,
 07286                            OwnerActionId = 1L,
 07287                            StatusId = 9L,
 07288                            Type = "POST"
 07289                        },
 07290                        new
 07291                        {
 07292                            Id = 138L,
 07293                            Action = "Orders/{parentId}",
 07294                            Caption = "Перейти к заявке-основанию",
 07295                            Code = "GetOnBase",
 07296                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07297                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07298                            IsDeleted = false,
 07299                            OwnerActionId = 1L,
 07300                            StatusId = 9L,
 07301                            Type = "Get"
 07302                        },
 07303                        new
 07304                        {
 07305                            Id = 26L,
 07306                            Action = "Shipments/{id}/ReadyToShip",
 07307                            Caption = "Подготовить к выдаче",
 07308                            Code = "ReadyToShip",
 07309                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07310                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07311                            IsDeleted = false,
 07312                            OwnerActionId = 2L,
 07313                            StatusId = 9L,
 07314                            Type = "POST"
 07315                        },
 07316                        new
 07317                        {
 07318                            Id = 27L,
 07319                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07320                            Caption = "Скачать CSV",
 07321                            Code = "Csv",
 07322                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07323                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07324                            IsDeleted = false,
 07325                            OwnerActionId = 2L,
 07326                            StatusId = 9L,
 07327                            Type = "GET"
 07328                        },
 07329                        new
 07330                        {
 07331                            Id = 43L,
 07332                            Action = "Shipments/{id}/SupplierReject",
 07333                            Caption = "Отказать",
 07334                            Code = "RejectBySupplier",
 07335                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07336                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07337                            IsDeleted = false,
 07338                            OwnerActionId = 2L,
 07339                            StatusId = 9L,
 07340                            Type = "POST"
 07341                        },
 07342                        new
 07343                        {
 07344                            Id = 28L,
 07345                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07346                            Caption = "Скачать CSV",
 07347                            Code = "Csv",
 07348                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07349                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07350                            IsDeleted = false,
 07351                            OwnerActionId = 3L,
 07352                            StatusId = 9L,
 07353                            Type = "GET"
 07354                        },
 07355                        new
 07356                        {
 07357                            Id = 139L,
 07358                            Action = "Orders/{parentId}",
 07359                            Caption = "Перейти к заявке-основанию",
 07360                            Code = "GetOnBase",
 07361                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07362                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07363                            IsDeleted = false,
 07364                            OwnerActionId = 3L,
 07365                            StatusId = 9L,
 07366                            Type = "Get"
 07367                        },
 07368                        new
 07369                        {
 07370                            Id = 29L,
 07371                            Action = "Orders/CreateOnBase",
 07372                            Caption = "Создать заявку на основе",
 07373                            Code = "CreateOnBase",
 07374                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07375                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07376                            IsDeleted = false,
 07377                            OwnerActionId = 1L,
 07378                            StatusId = 10L,
 07379                            Type = "POST"
 07380                        },
 07381                        new
 07382                        {
 07383                            Id = 30L,
 07384                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07385                            Caption = "Скачать CSV",
 07386                            Code = "Csv",
 07387                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07388                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07389                            IsDeleted = false,
 07390                            OwnerActionId = 1L,
 07391                            StatusId = 10L,
 07392                            Type = "GET"
 07393                        },
 07394                        new
 07395                        {
 07396                            Id = 34L,
 07397                            Action = "Shipments/{id}/Print",
 07398                            Caption = "Распечатать УПД",
 07399                            Code = "Pdf",
 07400                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07401                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07402                            IsDeleted = false,
 07403                            OwnerActionId = 1L,
 07404                            StatusId = 10L,
 07405                            Type = "GET"
 07406                        },
 07407                        new
 07408                        {
 07409                            Id = 89L,
 07410                            Action = "Shipments/{id}/CustomerReject",
 07411                            Caption = "Отказаться",
 07412                            Code = "RejectByCustomer",
 07413                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07414                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07415                            IsDeleted = false,
 07416                            OwnerActionId = 1L,
 07417                            StatusId = 10L,
 07418                            Type = "POST"
 07419                        },
 07420                        new
 07421                        {
 07422                            Id = 140L,
 07423                            Action = "Orders/{parentId}",
 07424                            Caption = "Перейти к заявке-основанию",
 07425                            Code = "GetOnBase",
 07426                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07427                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07428                            IsDeleted = false,
 07429                            OwnerActionId = 1L,
 07430                            StatusId = 10L,
 07431                            Type = "Get"
 07432                        },
 07433                        new
 07434                        {
 07435                            Id = 31L,
 07436                            Action = "Shipments/{id}/Ship",
 07437                            Caption = "Выдать",
 07438                            Code = "Ship",
 07439                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07440                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07441                            IsDeleted = false,
 07442                            OwnerActionId = 2L,
 07443                            StatusId = 10L,
 07444                            Type = "POST"
 07445                        },
 07446                        new
 07447                        {
 07448                            Id = 35L,
 07449                            Action = "Shipments/{id}/Correction",
 07450                            Caption = "Редактировать",
 07451                            Code = "Edit",
 07452                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07453                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07454                            IsDeleted = false,
 07455                            OwnerActionId = 2L,
 07456                            StatusId = 10L,
 07457                            Type = "POST"
 07458                        },
 07459                        new
 07460                        {
 07461                            Id = 44L,
 07462                            Action = "Shipments/{id}/SupplierReject",
 07463                            Caption = "Отказать",
 07464                            Code = "RejectBySupplier",
 07465                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07466                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07467                            IsDeleted = false,
 07468                            OwnerActionId = 2L,
 07469                            StatusId = 10L,
 07470                            Type = "POST"
 07471                        },
 07472                        new
 07473                        {
 07474                            Id = 32L,
 07475                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07476                            Caption = "Скачать CSV",
 07477                            Code = "Csv",
 07478                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07479                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07480                            IsDeleted = false,
 07481                            OwnerActionId = 2L,
 07482                            StatusId = 10L,
 07483                            Type = "GET"
 07484                        },
 07485                        new
 07486                        {
 07487                            Id = 33L,
 07488                            Action = "Shipments/{id}/Print",
 07489                            Caption = "Распечатать УПД",
 07490                            Code = "Pdf",
 07491                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07492                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07493                            IsDeleted = false,
 07494                            OwnerActionId = 2L,
 07495                            StatusId = 10L,
 07496                            Type = "GET"
 07497                        },
 07498                        new
 07499                        {
 07500                            Id = 98L,
 07501                            Action = "Shipments/{id}/Print",
 07502                            Caption = "Распечатать УПД",
 07503                            Code = "Pdf",
 07504                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07505                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07506                            IsDeleted = false,
 07507                            OwnerActionId = 3L,
 07508                            StatusId = 10L,
 07509                            Type = "GET"
 07510                        },
 07511                        new
 07512                        {
 07513                            Id = 97L,
 07514                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07515                            Caption = "Скачать CSV",
 07516                            Code = "Csv",
 07517                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07518                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07519                            IsDeleted = false,
 07520                            OwnerActionId = 3L,
 07521                            StatusId = 10L,
 07522                            Type = "GET"
 07523                        },
 07524                        new
 07525                        {
 07526                            Id = 141L,
 07527                            Action = "Orders/{parentId}",
 07528                            Caption = "Перейти к заявке-основанию",
 07529                            Code = "GetOnBase",
 07530                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07531                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07532                            IsDeleted = false,
 07533                            OwnerActionId = 3L,
 07534                            StatusId = 10L,
 07535                            Type = "Get"
 07536                        },
 07537                        new
 07538                        {
 07539                            Id = 36L,
 07540                            Action = "Orders/CreateOnBase",
 07541                            Caption = "Создать заявку на основе",
 07542                            Code = "CreateOnBase",
 07543                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07544                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07545                            IsDeleted = false,
 07546                            OwnerActionId = 1L,
 07547                            StatusId = 11L,
 07548                            Type = "POST"
 07549                        },
 07550                        new
 07551                        {
 07552                            Id = 37L,
 07553                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07554                            Caption = "Скачать CSV",
 07555                            Code = "Csv",
 07556                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07557                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07558                            IsDeleted = false,
 07559                            OwnerActionId = 1L,
 07560                            StatusId = 11L,
 07561                            Type = "GET"
 07562                        },
 07563                        new
 07564                        {
 07565                            Id = 90L,
 07566                            Action = "Shipments/{id}/CustomerReject",
 07567                            Caption = "Отказаться",
 07568                            Code = "RejectByCustomer",
 07569                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07570                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07571                            IsDeleted = false,
 07572                            OwnerActionId = 1L,
 07573                            StatusId = 11L,
 07574                            Type = "POST"
 07575                        },
 07576                        new
 07577                        {
 07578                            Id = 142L,
 07579                            Action = "Orders/{parentId}",
 07580                            Caption = "Перейти к заявке-основанию",
 07581                            Code = "GetOnBase",
 07582                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07583                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07584                            IsDeleted = false,
 07585                            OwnerActionId = 1L,
 07586                            StatusId = 11L,
 07587                            Type = "Get"
 07588                        },
 07589                        new
 07590                        {
 07591                            Id = 38L,
 07592                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07593                            Caption = "Скачать CSV",
 07594                            Code = "Csv",
 07595                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07596                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07597                            IsDeleted = false,
 07598                            OwnerActionId = 2L,
 07599                            StatusId = 11L,
 07600                            Type = "GET"
 07601                        },
 07602                        new
 07603                        {
 07604                            Id = 39L,
 07605                            Action = "Shipments/{id}/ReadyToShip",
 07606                            Caption = "Подготовить к выдаче",
 07607                            Code = "ReadyToShip",
 07608                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07609                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07610                            IsDeleted = false,
 07611                            OwnerActionId = 2L,
 07612                            StatusId = 11L,
 07613                            Type = "POST"
 07614                        },
 07615                        new
 07616                        {
 07617                            Id = 81L,
 07618                            Action = "Shipments/{id}/SupplierReject",
 07619                            Caption = "Отказать",
 07620                            Code = "RejectBySupplier",
 07621                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07622                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07623                            IsDeleted = false,
 07624                            OwnerActionId = 2L,
 07625                            StatusId = 11L,
 07626                            Type = "POST"
 07627                        },
 07628                        new
 07629                        {
 07630                            Id = 40L,
 07631                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07632                            Caption = "Скачать CSV",
 07633                            Code = "Csv",
 07634                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07635                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07636                            IsDeleted = false,
 07637                            OwnerActionId = 3L,
 07638                            StatusId = 11L,
 07639                            Type = "GET"
 07640                        },
 07641                        new
 07642                        {
 07643                            Id = 143L,
 07644                            Action = "Orders/{parentId}",
 07645                            Caption = "Перейти к заявке-основанию",
 07646                            Code = "GetOnBase",
 07647                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07648                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07649                            IsDeleted = false,
 07650                            OwnerActionId = 3L,
 07651                            StatusId = 11L,
 07652                            Type = "Get"
 07653                        },
 07654                        new
 07655                        {
 07656                            Id = 41L,
 07657                            Action = "Orders/CreateOnBase",
 07658                            Caption = "Создать заявку на основе",
 07659                            Code = "CreateOnBase",
 07660                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07661                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07662                            IsDeleted = false,
 07663                            OwnerActionId = 1L,
 07664                            StatusId = 12L,
 07665                            Type = "POST"
 07666                        },
 07667                        new
 07668                        {
 07669                            Id = 42L,
 07670                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07671                            Caption = "Скачать CSV",
 07672                            Code = "Csv",
 07673                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07674                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07675                            IsDeleted = false,
 07676                            OwnerActionId = 1L,
 07677                            StatusId = 12L,
 07678                            Type = "GET"
 07679                        },
 07680                        new
 07681                        {
 07682                            Id = 144L,
 07683                            Action = "Orders/{parentId}",
 07684                            Caption = "Перейти к заявке-основанию",
 07685                            Code = "GetOnBase",
 07686                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07687                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07688                            IsDeleted = false,
 07689                            OwnerActionId = 1L,
 07690                            StatusId = 12L,
 07691                            Type = "Get"
 07692                        },
 07693                        new
 07694                        {
 07695                            Id = 46L,
 07696                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07697                            Caption = "Скачать CSV",
 07698                            Code = "Csv",
 07699                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07700                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07701                            IsDeleted = false,
 07702                            OwnerActionId = 2L,
 07703                            StatusId = 12L,
 07704                            Type = "GET"
 07705                        },
 07706                        new
 07707                        {
 07708                            Id = 47L,
 07709                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07710                            Caption = "Скачать CSV",
 07711                            Code = "Csv",
 07712                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07713                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07714                            IsDeleted = false,
 07715                            OwnerActionId = 3L,
 07716                            StatusId = 12L,
 07717                            Type = "GET"
 07718                        },
 07719                        new
 07720                        {
 07721                            Id = 145L,
 07722                            Action = "Orders/{parentId}",
 07723                            Caption = "Перейти к заявке-основанию",
 07724                            Code = "GetOnBase",
 07725                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07726                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07727                            IsDeleted = false,
 07728                            OwnerActionId = 3L,
 07729                            StatusId = 12L,
 07730                            Type = "Get"
 07731                        },
 07732                        new
 07733                        {
 07734                            Id = 48L,
 07735                            Action = "Orders/CreateOnBase",
 07736                            Caption = "Создать заявку на основе",
 07737                            Code = "CreateOnBase",
 07738                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07739                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07740                            IsDeleted = false,
 07741                            OwnerActionId = 1L,
 07742                            StatusId = 13L,
 07743                            Type = "POST"
 07744                        },
 07745                        new
 07746                        {
 07747                            Id = 49L,
 07748                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07749                            Caption = "Скачать CSV",
 07750                            Code = "Csv",
 07751                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07752                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07753                            IsDeleted = false,
 07754                            OwnerActionId = 1L,
 07755                            StatusId = 13L,
 07756                            Type = "GET"
 07757                        },
 07758                        new
 07759                        {
 07760                            Id = 91L,
 07761                            Action = "Shipments/{id}/Print",
 07762                            Caption = "Распечатать УПД",
 07763                            Code = "Pdf",
 07764                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07765                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07766                            IsDeleted = false,
 07767                            OwnerActionId = 1L,
 07768                            StatusId = 13L,
 07769                            Type = "GET"
 07770                        },
 07771                        new
 07772                        {
 07773                            Id = 82L,
 07774                            Action = "Shipments/{id}/Accept",
 07775                            Caption = "Принять",
 07776                            Code = "Accept",
 07777                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07778                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07779                            IsDeleted = false,
 07780                            OwnerActionId = 1L,
 07781                            StatusId = 13L,
 07782                            Type = "PUT"
 07783                        },
 07784                        new
 07785                        {
 07786                            Id = 84L,
 07787                            Action = "Shipments/{id}/CustomerReject",
 07788                            Caption = "Отказаться",
 07789                            Code = "RejectByCustomer",
 07790                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07791                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07792                            IsDeleted = false,
 07793                            OwnerActionId = 1L,
 07794                            StatusId = 13L,
 07795                            Type = "POST"
 07796                        },
 07797                        new
 07798                        {
 07799                            Id = 146L,
 07800                            Action = "Orders/{parentId}",
 07801                            Caption = "Перейти к заявке-основанию",
 07802                            Code = "GetOnBase",
 07803                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07804                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07805                            IsDeleted = false,
 07806                            OwnerActionId = 1L,
 07807                            StatusId = 13L,
 07808                            Type = "Get"
 07809                        },
 07810                        new
 07811                        {
 07812                            Id = 50L,
 07813                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07814                            Caption = "Скачать CSV",
 07815                            Code = "Csv",
 07816                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07817                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07818                            IsDeleted = false,
 07819                            OwnerActionId = 2L,
 07820                            StatusId = 13L,
 07821                            Type = "GET"
 07822                        },
 07823                        new
 07824                        {
 07825                            Id = 51L,
 07826                            Action = "Shipments/{id}/Print",
 07827                            Caption = "Распечатать УПД",
 07828                            Code = "Pdf",
 07829                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07830                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07831                            IsDeleted = false,
 07832                            OwnerActionId = 2L,
 07833                            StatusId = 13L,
 07834                            Type = "GET"
 07835                        },
 07836                        new
 07837                        {
 07838                            Id = 52L,
 07839                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07840                            Caption = "Скачать CSV",
 07841                            Code = "Csv",
 07842                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07843                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07844                            IsDeleted = false,
 07845                            OwnerActionId = 3L,
 07846                            StatusId = 13L,
 07847                            Type = "GET"
 07848                        },
 07849                        new
 07850                        {
 07851                            Id = 53L,
 07852                            Action = "Shipments/{id}/Print",
 07853                            Caption = "Распечатать УПД",
 07854                            Code = "Pdf",
 07855                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07856                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07857                            IsDeleted = false,
 07858                            OwnerActionId = 3L,
 07859                            StatusId = 13L,
 07860                            Type = "GET"
 07861                        },
 07862                        new
 07863                        {
 07864                            Id = 147L,
 07865                            Action = "Orders/{parentId}",
 07866                            Caption = "Перейти к заявке-основанию",
 07867                            Code = "GetOnBase",
 07868                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07869                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07870                            IsDeleted = false,
 07871                            OwnerActionId = 3L,
 07872                            StatusId = 13L,
 07873                            Type = "Get"
 07874                        },
 07875                        new
 07876                        {
 07877                            Id = 54L,
 07878                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07879                            Caption = "Скачать CSV",
 07880                            Code = "Csv",
 07881                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07882                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07883                            IsDeleted = false,
 07884                            OwnerActionId = 1L,
 07885                            StatusId = 14L,
 07886                            Type = "GET"
 07887                        },
 07888                        new
 07889                        {
 07890                            Id = 55L,
 07891                            Action = "Shipments/{id}/Print",
 07892                            Caption = "Распечатать УПД",
 07893                            Code = "Pdf",
 07894                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07895                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07896                            IsDeleted = false,
 07897                            OwnerActionId = 1L,
 07898                            StatusId = 14L,
 07899                            Type = "GET"
 07900                        },
 07901                        new
 07902                        {
 07903                            Id = 148L,
 07904                            Action = "Orders/{parentId}",
 07905                            Caption = "Перейти к заявке-основанию",
 07906                            Code = "GetOnBase",
 07907                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07908                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07909                            IsDeleted = false,
 07910                            OwnerActionId = 1L,
 07911                            StatusId = 14L,
 07912                            Type = "Get"
 07913                        },
 07914                        new
 07915                        {
 07916                            Id = 56L,
 07917                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07918                            Caption = "Скачать CSV",
 07919                            Code = "Csv",
 07920                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07921                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07922                            IsDeleted = false,
 07923                            OwnerActionId = 2L,
 07924                            StatusId = 14L,
 07925                            Type = "GET"
 07926                        },
 07927                        new
 07928                        {
 07929                            Id = 57L,
 07930                            Action = "Shipments/{id}/Print",
 07931                            Caption = "Распечатать УПД",
 07932                            Code = "Pdf",
 07933                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07934                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07935                            IsDeleted = false,
 07936                            OwnerActionId = 2L,
 07937                            StatusId = 14L,
 07938                            Type = "GET"
 07939                        },
 07940                        new
 07941                        {
 07942                            Id = 58L,
 07943                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07944                            Caption = "Скачать CSV",
 07945                            Code = "Csv",
 07946                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07947                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07948                            IsDeleted = false,
 07949                            OwnerActionId = 3L,
 07950                            StatusId = 14L,
 07951                            Type = "GET"
 07952                        },
 07953                        new
 07954                        {
 07955                            Id = 92L,
 07956                            Action = "Shipments/{id}/Print",
 07957                            Caption = "Распечатать УПД",
 07958                            Code = "Pdf",
 07959                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07960                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07961                            IsDeleted = false,
 07962                            OwnerActionId = 3L,
 07963                            StatusId = 14L,
 07964                            Type = "GET"
 07965                        },
 07966                        new
 07967                        {
 07968                            Id = 149L,
 07969                            Action = "Orders/{parentId}",
 07970                            Caption = "Перейти к заявке-основанию",
 07971                            Code = "GetOnBase",
 07972                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07973                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07974                            IsDeleted = false,
 07975                            OwnerActionId = 3L,
 07976                            StatusId = 14L,
 07977                            Type = "Get"
 07978                        },
 07979                        new
 07980                        {
 07981                            Id = 59L,
 07982                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07983                            Caption = "Скачать CSV",
 07984                            Code = "Csv",
 07985                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07986                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07987                            IsDeleted = false,
 07988                            OwnerActionId = 1L,
 07989                            StatusId = 15L,
 07990                            Type = "GET"
 07991                        },
 07992                        new
 07993                        {
 07994                            Id = 60L,
 07995                            Action = "Shipments/{id}/Print",
 07996                            Caption = "Распечатать УПД",
 07997                            Code = "Pdf",
 07998                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07999                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08000                            IsDeleted = false,
 08001                            OwnerActionId = 1L,
 08002                            StatusId = 15L,
 08003                            Type = "GET"
 08004                        },
 08005                        new
 08006                        {
 08007                            Id = 150L,
 08008                            Action = "Orders/{parentId}",
 08009                            Caption = "Перейти к заявке-основанию",
 08010                            Code = "GetOnBase",
 08011                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08012                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08013                            IsDeleted = false,
 08014                            OwnerActionId = 1L,
 08015                            StatusId = 15L,
 08016                            Type = "Get"
 08017                        },
 08018                        new
 08019                        {
 08020                            Id = 61L,
 08021                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08022                            Caption = "Скачать CSV",
 08023                            Code = "Csv",
 08024                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08025                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08026                            IsDeleted = false,
 08027                            OwnerActionId = 2L,
 08028                            StatusId = 15L,
 08029                            Type = "GET"
 08030                        },
 08031                        new
 08032                        {
 08033                            Id = 62L,
 08034                            Action = "Shipments/{id}/Print",
 08035                            Caption = "Распечатать УПД",
 08036                            Code = "Pdf",
 08037                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08038                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08039                            IsDeleted = false,
 08040                            OwnerActionId = 2L,
 08041                            StatusId = 15L,
 08042                            Type = "GET"
 08043                        },
 08044                        new
 08045                        {
 08046                            Id = 63L,
 08047                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08048                            Caption = "Скачать CSV",
 08049                            Code = "Csv",
 08050                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08051                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08052                            IsDeleted = false,
 08053                            OwnerActionId = 3L,
 08054                            StatusId = 15L,
 08055                            Type = "GET"
 08056                        },
 08057                        new
 08058                        {
 08059                            Id = 93L,
 08060                            Action = "Shipments/{id}/Print",
 08061                            Caption = "Распечатать УПД",
 08062                            Code = "Pdf",
 08063                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08064                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08065                            IsDeleted = false,
 08066                            OwnerActionId = 3L,
 08067                            StatusId = 15L,
 08068                            Type = "GET"
 08069                        },
 08070                        new
 08071                        {
 08072                            Id = 151L,
 08073                            Action = "Orders/{parentId}",
 08074                            Caption = "Перейти к заявке-основанию",
 08075                            Code = "GetOnBase",
 08076                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08077                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08078                            IsDeleted = false,
 08079                            OwnerActionId = 3L,
 08080                            StatusId = 15L,
 08081                            Type = "Get"
 08082                        },
 08083                        new
 08084                        {
 08085                            Id = 64L,
 08086                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08087                            Caption = "Скачать CSV",
 08088                            Code = "Csv",
 08089                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08090                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08091                            IsDeleted = false,
 08092                            OwnerActionId = 1L,
 08093                            StatusId = 16L,
 08094                            Type = "GET"
 08095                        },
 08096                        new
 08097                        {
 08098                            Id = 65L,
 08099                            Action = "Shipments/{id}/Print",
 08100                            Caption = "Распечатать УПД",
 08101                            Code = "Pdf",
 08102                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08103                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08104                            IsDeleted = false,
 08105                            OwnerActionId = 1L,
 08106                            StatusId = 16L,
 08107                            Type = "GET"
 08108                        },
 08109                        new
 08110                        {
 08111                            Id = 152L,
 08112                            Action = "Orders/{parentId}",
 08113                            Caption = "Перейти к заявке-основанию",
 08114                            Code = "GetOnBase",
 08115                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08116                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08117                            IsDeleted = false,
 08118                            OwnerActionId = 1L,
 08119                            StatusId = 16L,
 08120                            Type = "Get"
 08121                        },
 08122                        new
 08123                        {
 08124                            Id = 66L,
 08125                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08126                            Caption = "Скачать CSV",
 08127                            Code = "Csv",
 08128                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08129                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08130                            IsDeleted = false,
 08131                            OwnerActionId = 2L,
 08132                            StatusId = 16L,
 08133                            Type = "GET"
 08134                        },
 08135                        new
 08136                        {
 08137                            Id = 67L,
 08138                            Action = "Shipments/{id}/Print",
 08139                            Caption = "Распечатать УПД",
 08140                            Code = "Pdf",
 08141                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08142                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08143                            IsDeleted = false,
 08144                            OwnerActionId = 2L,
 08145                            StatusId = 16L,
 08146                            Type = "GET"
 08147                        },
 08148                        new
 08149                        {
 08150                            Id = 68L,
 08151                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08152                            Caption = "Скачать CSV",
 08153                            Code = "Csv",
 08154                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08155                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08156                            IsDeleted = false,
 08157                            OwnerActionId = 3L,
 08158                            StatusId = 16L,
 08159                            Type = "GET"
 08160                        },
 08161                        new
 08162                        {
 08163                            Id = 94L,
 08164                            Action = "Shipments/{id}/Print",
 08165                            Caption = "Распечатать УПД",
 08166                            Code = "Pdf",
 08167                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08168                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08169                            IsDeleted = false,
 08170                            OwnerActionId = 3L,
 08171                            StatusId = 16L,
 08172                            Type = "GET"
 08173                        },
 08174                        new
 08175                        {
 08176                            Id = 69L,
 08177                            Action = "Shipments/{id}/AcceptClaim",
 08178                            Caption = "Принять",
 08179                            Code = "AcceptClaim",
 08180                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08181                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08182                            IsDeleted = false,
 08183                            OwnerActionId = 3L,
 08184                            StatusId = 16L,
 08185                            Type = "POST"
 08186                        },
 08187                        new
 08188                        {
 08189                            Id = 70L,
 08190                            Action = "Shipments/{id}/DeclineClaim",
 08191                            Caption = "Отказать",
 08192                            Code = "DeclineClaim",
 08193                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08194                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08195                            IsDeleted = false,
 08196                            OwnerActionId = 3L,
 08197                            StatusId = 16L,
 08198                            Type = "POST"
 08199                        },
 08200                        new
 08201                        {
 08202                            Id = 153L,
 08203                            Action = "Orders/{parentId}",
 08204                            Caption = "Перейти к заявке-основанию",
 08205                            Code = "GetOnBase",
 08206                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08207                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08208                            IsDeleted = false,
 08209                            OwnerActionId = 3L,
 08210                            StatusId = 16L,
 08211                            Type = "Get"
 08212                        },
 08213                        new
 08214                        {
 08215                            Id = 71L,
 08216                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08217                            Caption = "Скачать CSV",
 08218                            Code = "Csv",
 08219                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08220                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08221                            IsDeleted = false,
 08222                            OwnerActionId = 1L,
 08223                            StatusId = 17L,
 08224                            Type = "GET"
 08225                        },
 08226                        new
 08227                        {
 08228                            Id = 72L,
 08229                            Action = "Shipments/{id}/Print",
 08230                            Caption = "Распечатать УПД",
 08231                            Code = "Pdf",
 08232                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08233                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08234                            IsDeleted = false,
 08235                            OwnerActionId = 1L,
 08236                            StatusId = 17L,
 08237                            Type = "GET"
 08238                        },
 08239                        new
 08240                        {
 08241                            Id = 154L,
 08242                            Action = "Orders/{parentId}",
 08243                            Caption = "Перейти к заявке-основанию",
 08244                            Code = "GetOnBase",
 08245                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08246                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08247                            IsDeleted = false,
 08248                            OwnerActionId = 1L,
 08249                            StatusId = 17L,
 08250                            Type = "Get"
 08251                        },
 08252                        new
 08253                        {
 08254                            Id = 73L,
 08255                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08256                            Caption = "Скачать CSV",
 08257                            Code = "Csv",
 08258                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08259                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08260                            IsDeleted = false,
 08261                            OwnerActionId = 2L,
 08262                            StatusId = 17L,
 08263                            Type = "GET"
 08264                        },
 08265                        new
 08266                        {
 08267                            Id = 74L,
 08268                            Action = "Shipments/{id}/Print",
 08269                            Caption = "Распечатать УПД",
 08270                            Code = "Pdf",
 08271                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08272                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08273                            IsDeleted = false,
 08274                            OwnerActionId = 2L,
 08275                            StatusId = 17L,
 08276                            Type = "GET"
 08277                        },
 08278                        new
 08279                        {
 08280                            Id = 75L,
 08281                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08282                            Caption = "Скачать CSV",
 08283                            Code = "Csv",
 08284                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08285                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08286                            IsDeleted = false,
 08287                            OwnerActionId = 3L,
 08288                            StatusId = 17L,
 08289                            Type = "GET"
 08290                        },
 08291                        new
 08292                        {
 08293                            Id = 95L,
 08294                            Action = "Shipments/{id}/Print",
 08295                            Caption = "Распечатать УПД",
 08296                            Code = "Pdf",
 08297                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08298                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08299                            IsDeleted = false,
 08300                            OwnerActionId = 3L,
 08301                            StatusId = 17L,
 08302                            Type = "GET"
 08303                        },
 08304                        new
 08305                        {
 08306                            Id = 155L,
 08307                            Action = "Orders/{parentId}",
 08308                            Caption = "Перейти к заявке-основанию",
 08309                            Code = "GetOnBase",
 08310                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08311                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08312                            IsDeleted = false,
 08313                            OwnerActionId = 3L,
 08314                            StatusId = 17L,
 08315                            Type = "Get"
 08316                        },
 08317                        new
 08318                        {
 08319                            Id = 76L,
 08320                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08321                            Caption = "Скачать CSV",
 08322                            Code = "Csv",
 08323                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08324                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08325                            IsDeleted = false,
 08326                            OwnerActionId = 1L,
 08327                            StatusId = 18L,
 08328                            Type = "GET"
 08329                        },
 08330                        new
 08331                        {
 08332                            Id = 77L,
 08333                            Action = "Shipments/{id}/Print",
 08334                            Caption = "Распечатать УПД",
 08335                            Code = "Pdf",
 08336                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08337                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08338                            IsDeleted = false,
 08339                            OwnerActionId = 1L,
 08340                            StatusId = 18L,
 08341                            Type = "GET"
 08342                        },
 08343                        new
 08344                        {
 08345                            Id = 156L,
 08346                            Action = "Orders/{parentId}",
 08347                            Caption = "Перейти к заявке-основанию",
 08348                            Code = "GetOnBase",
 08349                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08350                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08351                            IsDeleted = false,
 08352                            OwnerActionId = 1L,
 08353                            StatusId = 18L,
 08354                            Type = "Get"
 08355                        },
 08356                        new
 08357                        {
 08358                            Id = 78L,
 08359                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08360                            Caption = "Скачать CSV",
 08361                            Code = "Csv",
 08362                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08363                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08364                            IsDeleted = false,
 08365                            OwnerActionId = 2L,
 08366                            StatusId = 18L,
 08367                            Type = "GET"
 08368                        },
 08369                        new
 08370                        {
 08371                            Id = 79L,
 08372                            Action = "Shipments/{id}/Print",
 08373                            Caption = "Распечатать УПД",
 08374                            Code = "Pdf",
 08375                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08376                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08377                            IsDeleted = false,
 08378                            OwnerActionId = 2L,
 08379                            StatusId = 18L,
 08380                            Type = "GET"
 08381                        },
 08382                        new
 08383                        {
 08384                            Id = 80L,
 08385                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08386                            Caption = "Скачать CSV",
 08387                            Code = "Csv",
 08388                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08389                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08390                            IsDeleted = false,
 08391                            OwnerActionId = 3L,
 08392                            StatusId = 18L,
 08393                            Type = "GET"
 08394                        },
 08395                        new
 08396                        {
 08397                            Id = 96L,
 08398                            Action = "Shipments/{id}/Print",
 08399                            Caption = "Распечатать УПД",
 08400                            Code = "Pdf",
 08401                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08402                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08403                            IsDeleted = false,
 08404                            OwnerActionId = 3L,
 08405                            StatusId = 18L,
 08406                            Type = "GET"
 08407                        },
 08408                        new
 08409                        {
 08410                            Id = 157L,
 08411                            Action = "Orders/{parentId}",
 08412                            Caption = "Перейти к заявке-основанию",
 08413                            Code = "GetOnBase",
 08414                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08415                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08416                            IsDeleted = false,
 08417                            OwnerActionId = 3L,
 08418                            StatusId = 18L,
 08419                            Type = "Get"
 08420                        },
 08421                        new
 08422                        {
 08423                            Id = 99L,
 08424                            Action = "Orders/{id}/Print",
 08425                            Caption = "Скачать PDF",
 08426                            Code = "SimpleOrderPdf",
 08427                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08428                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08429                            IsDeleted = false,
 08430                            OwnerActionId = 1L,
 08431                            StatusId = 1L,
 08432                            Type = "GET"
 08433                        },
 08434                        new
 08435                        {
 08436                            Id = 100L,
 08437                            Action = "Orders/{id}/Print",
 08438                            Caption = "Скачать PDF",
 08439                            Code = "SimpleOrderPdf",
 08440                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08441                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08442                            IsDeleted = false,
 08443                            OwnerActionId = 1L,
 08444                            StatusId = 2L,
 08445                            Type = "GET"
 08446                        },
 08447                        new
 08448                        {
 08449                            Id = 101L,
 08450                            Action = "Orders/{id}/Print",
 08451                            Caption = "Скачать PDF",
 08452                            Code = "SimpleOrderPdf",
 08453                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08454                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08455                            IsDeleted = false,
 08456                            OwnerActionId = 3L,
 08457                            StatusId = 2L,
 08458                            Type = "GET"
 08459                        },
 08460                        new
 08461                        {
 08462                            Id = 102L,
 08463                            Action = "Orders/{id}/Print",
 08464                            Caption = "Скачать PDF",
 08465                            Code = "SimpleOrderPdf",
 08466                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08467                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08468                            IsDeleted = false,
 08469                            OwnerActionId = 1L,
 08470                            StatusId = 3L,
 08471                            Type = "GET"
 08472                        },
 08473                        new
 08474                        {
 08475                            Id = 105L,
 08476                            Action = "Orders/{id}/Print",
 08477                            Caption = "Скачать PDF",
 08478                            Code = "SimpleOrderPdf",
 08479                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08480                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08481                            IsDeleted = false,
 08482                            OwnerActionId = 1L,
 08483                            StatusId = 4L,
 08484                            Type = "GET"
 08485                        },
 08486                        new
 08487                        {
 08488                            Id = 106L,
 08489                            Action = "Orders/{id}/Print",
 08490                            Caption = "Скачать PDF",
 08491                            Code = "SimpleOrderPdf",
 08492                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08493                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08494                            IsDeleted = false,
 08495                            OwnerActionId = 3L,
 08496                            StatusId = 4L,
 08497                            Type = "GET"
 08498                        },
 08499                        new
 08500                        {
 08501                            Id = 107L,
 08502                            Action = "Orders/{id}/Print",
 08503                            Caption = "Скачать PDF",
 08504                            Code = "SimpleOrderPdf",
 08505                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08506                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08507                            IsDeleted = false,
 08508                            OwnerActionId = 1L,
 08509                            StatusId = 5L,
 08510                            Type = "GET"
 08511                        },
 08512                        new
 08513                        {
 08514                            Id = 108L,
 08515                            Action = "Orders/{id}/Print",
 08516                            Caption = "Скачать PDF",
 08517                            Code = "SimpleOrderPdf",
 08518                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08519                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08520                            IsDeleted = false,
 08521                            OwnerActionId = 3L,
 08522                            StatusId = 5L,
 08523                            Type = "GET"
 08524                        },
 08525                        new
 08526                        {
 08527                            Id = 109L,
 08528                            Action = "Shipments/{id}/SimplePrint",
 08529                            Caption = "Скачать PDF",
 08530                            Code = "SimpleShipmentPdf",
 08531                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08532                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08533                            IsDeleted = false,
 08534                            OwnerActionId = 1L,
 08535                            StatusId = 8L,
 08536                            Type = "GET"
 08537                        },
 08538                        new
 08539                        {
 08540                            Id = 110L,
 08541                            Action = "Shipments/{id}/SimplePrint",
 08542                            Caption = "Скачать PDF",
 08543                            Code = "SimpleShipmentPdf",
 08544                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08545                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08546                            IsDeleted = false,
 08547                            OwnerActionId = 2L,
 08548                            StatusId = 8L,
 08549                            Type = "GET"
 08550                        },
 08551                        new
 08552                        {
 08553                            Id = 111L,
 08554                            Action = "Shipments/{id}/SimplePrint",
 08555                            Caption = "Скачать PDF",
 08556                            Code = "SimpleShipmentPdf",
 08557                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08558                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08559                            IsDeleted = false,
 08560                            OwnerActionId = 3L,
 08561                            StatusId = 8L,
 08562                            Type = "GET"
 08563                        },
 08564                        new
 08565                        {
 08566                            Id = 112L,
 08567                            Action = "Shipments/{id}/SimplePrint",
 08568                            Caption = "Скачать PDF",
 08569                            Code = "SimpleShipmentPdf",
 08570                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08571                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08572                            IsDeleted = false,
 08573                            OwnerActionId = 1L,
 08574                            StatusId = 9L,
 08575                            Type = "GET"
 08576                        },
 08577                        new
 08578                        {
 08579                            Id = 113L,
 08580                            Action = "Shipments/{id}/SimplePrint",
 08581                            Caption = "Скачать PDF",
 08582                            Code = "SimpleShipmentPdf",
 08583                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08584                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08585                            IsDeleted = false,
 08586                            OwnerActionId = 3L,
 08587                            StatusId = 9L,
 08588                            Type = "GET"
 08589                        },
 08590                        new
 08591                        {
 08592                            Id = 114L,
 08593                            Action = "Shipments/{id}/Attachment",
 08594                            Caption = "Скачать вложение",
 08595                            Code = "GetAttachment",
 08596                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08597                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08598                            IsDeleted = false,
 08599                            OwnerActionId = 1L,
 08600                            StatusId = 10L,
 08601                            Type = "GET"
 08602                        },
 08603                        new
 08604                        {
 08605                            Id = 115L,
 08606                            Action = "Shipments/{id}/Attachment",
 08607                            Caption = "Приложить файл",
 08608                            Code = "SetAttachment",
 08609                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08610                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08611                            IsDeleted = false,
 08612                            OwnerActionId = 2L,
 08613                            StatusId = 10L,
 08614                            Type = "POST"
 08615                        },
 08616                        new
 08617                        {
 08618                            Id = 116L,
 08619                            Action = "Shipments/{id}/Attachment",
 08620                            Caption = "Удалить вложение",
 08621                            Code = "DeleteAttachment",
 08622                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08623                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08624                            IsDeleted = false,
 08625                            OwnerActionId = 2L,
 08626                            StatusId = 11L,
 08627                            Type = "DELETE"
 08628                        },
 08629                        new
 08630                        {
 08631                            Id = 117L,
 08632                            Action = "Shipments/{id}/Attachment",
 08633                            Caption = "Скачать вложение",
 08634                            Code = "GetAttachment",
 08635                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08636                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08637                            IsDeleted = false,
 08638                            OwnerActionId = 1L,
 08639                            StatusId = 13L,
 08640                            Type = "GET"
 08641                        },
 08642                        new
 08643                        {
 08644                            Id = 118L,
 08645                            Action = "Shipments/{id}/Attachment",
 08646                            Caption = "Скачать вложение",
 08647                            Code = "GetAttachment",
 08648                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08649                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08650                            IsDeleted = false,
 08651                            OwnerActionId = 2L,
 08652                            StatusId = 13L,
 08653                            Type = "GET"
 08654                        },
 08655                        new
 08656                        {
 08657                            Id = 119L,
 08658                            Action = "Shipments/{id}/Attachment",
 08659                            Caption = "Приложить файл",
 08660                            Code = "SetAttachment",
 08661                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08662                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08663                            IsDeleted = false,
 08664                            OwnerActionId = 2L,
 08665                            StatusId = 13L,
 08666                            Type = "POST"
 08667                        },
 08668                        new
 08669                        {
 08670                            Id = 120L,
 08671                            Action = "Shipments/{id}/Attachment",
 08672                            Caption = "Скачать вложение",
 08673                            Code = "GetAttachment",
 08674                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08675                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08676                            IsDeleted = false,
 08677                            OwnerActionId = 3L,
 08678                            StatusId = 13L,
 08679                            Type = "GET"
 08680                        },
 08681                        new
 08682                        {
 08683                            Id = 121L,
 08684                            Action = "Shipments/{id}/Attachment",
 08685                            Caption = "Скачать вложение",
 08686                            Code = "GetAttachment",
 08687                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08688                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08689                            IsDeleted = false,
 08690                            OwnerActionId = 1L,
 08691                            StatusId = 14L,
 08692                            Type = "GET"
 08693                        },
 08694                        new
 08695                        {
 08696                            Id = 122L,
 08697                            Action = "Shipments/{id}/Attachment",
 08698                            Caption = "Скачать вложение",
 08699                            Code = "GetAttachment",
 08700                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08701                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08702                            IsDeleted = false,
 08703                            OwnerActionId = 2L,
 08704                            StatusId = 14L,
 08705                            Type = "GET"
 08706                        },
 08707                        new
 08708                        {
 08709                            Id = 123L,
 08710                            Action = "Shipments/{id}/Attachment",
 08711                            Caption = "Скачать вложение",
 08712                            Code = "GetAttachment",
 08713                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08714                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08715                            IsDeleted = false,
 08716                            OwnerActionId = 3L,
 08717                            StatusId = 14L,
 08718                            Type = "GET"
 08719                        },
 08720                        new
 08721                        {
 08722                            Id = 124L,
 08723                            Action = "Shipments/{id}/Attachment",
 08724                            Caption = "Скачать вложение",
 08725                            Code = "GetAttachment",
 08726                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08727                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08728                            IsDeleted = false,
 08729                            OwnerActionId = 1L,
 08730                            StatusId = 15L,
 08731                            Type = "GET"
 08732                        },
 08733                        new
 08734                        {
 08735                            Id = 125L,
 08736                            Action = "Shipments/{id}/Attachment",
 08737                            Caption = "Скачать вложение",
 08738                            Code = "GetAttachment",
 08739                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08740                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08741                            IsDeleted = false,
 08742                            OwnerActionId = 2L,
 08743                            StatusId = 15L,
 08744                            Type = "GET"
 08745                        },
 08746                        new
 08747                        {
 08748                            Id = 126L,
 08749                            Action = "Shipments/{id}/Attachment",
 08750                            Caption = "Скачать вложение",
 08751                            Code = "GetAttachment",
 08752                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08753                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08754                            IsDeleted = false,
 08755                            OwnerActionId = 3L,
 08756                            StatusId = 15L,
 08757                            Type = "GET"
 08758                        },
 08759                        new
 08760                        {
 08761                            Id = 127L,
 08762                            Action = "Shipments/{id}/Attachment",
 08763                            Caption = "Скачать вложение",
 08764                            Code = "GetAttachment",
 08765                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08766                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08767                            IsDeleted = false,
 08768                            OwnerActionId = 1L,
 08769                            StatusId = 16L,
 08770                            Type = "GET"
 08771                        },
 08772                        new
 08773                        {
 08774                            Id = 128L,
 08775                            Action = "Shipments/{id}/Attachment",
 08776                            Caption = "Скачать вложение",
 08777                            Code = "GetAttachment",
 08778                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08779                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08780                            IsDeleted = false,
 08781                            OwnerActionId = 2L,
 08782                            StatusId = 16L,
 08783                            Type = "GET"
 08784                        },
 08785                        new
 08786                        {
 08787                            Id = 129L,
 08788                            Action = "Shipments/{id}/Attachment",
 08789                            Caption = "Скачать вложение",
 08790                            Code = "GetAttachment",
 08791                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08792                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08793                            IsDeleted = false,
 08794                            OwnerActionId = 3L,
 08795                            StatusId = 16L,
 08796                            Type = "GET"
 08797                        },
 08798                        new
 08799                        {
 08800                            Id = 130L,
 08801                            Action = "Shipments/{id}/Attachment",
 08802                            Caption = "Скачать вложение",
 08803                            Code = "GetAttachment",
 08804                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08805                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08806                            IsDeleted = false,
 08807                            OwnerActionId = 1L,
 08808                            StatusId = 17L,
 08809                            Type = "GET"
 08810                        },
 08811                        new
 08812                        {
 08813                            Id = 131L,
 08814                            Action = "Shipments/{id}/Attachment",
 08815                            Caption = "Скачать вложение",
 08816                            Code = "GetAttachment",
 08817                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08818                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08819                            IsDeleted = false,
 08820                            OwnerActionId = 2L,
 08821                            StatusId = 17L,
 08822                            Type = "GET"
 08823                        },
 08824                        new
 08825                        {
 08826                            Id = 132L,
 08827                            Action = "Shipments/{id}/Attachment",
 08828                            Caption = "Скачать вложение",
 08829                            Code = "GetAttachment",
 08830                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08831                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08832                            IsDeleted = false,
 08833                            OwnerActionId = 3L,
 08834                            StatusId = 17L,
 08835                            Type = "GET"
 08836                        },
 08837                        new
 08838                        {
 08839                            Id = 133L,
 08840                            Action = "Shipments/{id}/Attachment",
 08841                            Caption = "Скачать вложение",
 08842                            Code = "GetAttachment",
 08843                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08844                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08845                            IsDeleted = false,
 08846                            OwnerActionId = 1L,
 08847                            StatusId = 18L,
 08848                            Type = "GET"
 08849                        },
 08850                        new
 08851                        {
 08852                            Id = 134L,
 08853                            Action = "Shipments/{id}/Attachment",
 08854                            Caption = "Скачать вложение",
 08855                            Code = "GetAttachment",
 08856                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08857                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08858                            IsDeleted = false,
 08859                            OwnerActionId = 2L,
 08860                            StatusId = 18L,
 08861                            Type = "GET"
 08862                        },
 08863                        new
 08864                        {
 08865                            Id = 135L,
 08866                            Action = "Shipments/{id}/Attachment",
 08867                            Caption = "Скачать вложение",
 08868                            Code = "GetAttachment",
 08869                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08870                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08871                            IsDeleted = false,
 08872                            OwnerActionId = 3L,
 08873                            StatusId = 18L,
 08874                            Type = "GET"
 08875                        },
 08876                        new
 08877                        {
 08878                            Id = 159L,
 08879                            Action = "Orders/{parentId}",
 08880                            Caption = "Перейти к заявке-основанию",
 08881                            Code = "GetOnBase",
 08882                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08883                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08884                            IsDeleted = false,
 08885                            OwnerActionId = 1L,
 08886                            StatusId = 7L,
 08887                            Type = "Get"
 08888                        },
 08889                        new
 08890                        {
 08891                            Id = 160L,
 08892                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08893                            Caption = "Скачать CSV",
 08894                            Code = "Csv",
 08895                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08896                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08897                            IsDeleted = false,
 08898                            OwnerActionId = 1L,
 08899                            StatusId = 7L,
 08900                            Type = "GET"
 08901                        },
 08902                        new
 08903                        {
 08904                            Id = 161L,
 08905                            Action = "Orders/CreateOnBase",
 08906                            Caption = "Создать заявку на основе",
 08907                            Code = "CreateOnBase",
 08908                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08909                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08910                            IsDeleted = false,
 08911                            OwnerActionId = 1L,
 08912                            StatusId = 7L,
 08913                            Type = "POST"
 08914                        },
 08915                        new
 08916                        {
 08917                            Id = 162L,
 08918                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08919                            Caption = "Скачать CSV",
 08920                            Code = "Csv",
 08921                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08922                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08923                            IsDeleted = false,
 08924                            OwnerActionId = 2L,
 08925                            StatusId = 7L,
 08926                            Type = "GET"
 08927                        },
 08928                        new
 08929                        {
 08930                            Id = 163L,
 08931                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08932                            Caption = "Скачать CSV",
 08933                            Code = "Csv",
 08934                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08935                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08936                            IsDeleted = false,
 08937                            OwnerActionId = 3L,
 08938                            StatusId = 7L,
 08939                            Type = "GET"
 08940                        },
 08941                        new
 08942                        {
 08943                            Id = 164L,
 08944                            Action = "Orders/{parentId}",
 08945                            Caption = "Перейти к заявке-основанию",
 08946                            Code = "GetOnBase",
 08947                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08948                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08949                            IsDeleted = false,
 08950                            OwnerActionId = 3L,
 08951                            StatusId = 7L,
 08952                            Type = "Get"
 08953                        });
 08954                });
 8955
 08956            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", b =>
 08957                {
 08958                    b.Property<long>("Id")
 08959                        .ValueGeneratedOnAdd()
 08960                        .HasColumnType("bigint")
 08961                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 08962                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 08963
 08964                    b.Property<string>("Code")
 08965                        .IsRequired()
 08966                        .HasColumnType("text");
 08967
 08968                    b.Property<long?>("CreatedByUserId")
 08969                        .HasColumnType("bigint");
 08970
 08971                    b.Property<DateTime>("CreationDateTime")
 08972                        .HasColumnType("timestamp without time zone");
 08973
 08974                    b.Property<string>("Description")
 08975                        .HasColumnType("text");
 08976
 08977                    b.Property<Guid>("GUID")
 08978                        .ValueGeneratedOnAdd()
 08979                        .HasColumnType("uuid");
 08980
 08981                    b.Property<bool>("IsDeleted")
 08982                        .HasColumnType("boolean");
 08983
 08984                    b.Property<DateTime?>("ModificationDateTime")
 08985                        .HasColumnType("timestamp without time zone");
 08986
 08987                    b.Property<long?>("ModifiedByUserId")
 08988                        .HasColumnType("bigint");
 08989
 08990                    b.Property<long>("MovementTypeId")
 08991                        .HasColumnType("bigint");
 08992
 08993                    b.Property<string>("Name")
 08994                        .IsRequired()
 08995                        .HasColumnType("text");
 08996
 08997                    b.Property<long?>("RecStateId")
 08998                        .HasColumnType("bigint");
 08999
 09000                    b.Property<long>("StatusOwnerId")
 09001                        .HasColumnType("bigint");
 09002
 09003                    b.HasKey("Id");
 09004
 09005                    b.HasIndex("CreatedByUserId");
 09006
 09007                    b.HasIndex("ModifiedByUserId");
 09008
 09009                    b.HasIndex("MovementTypeId");
 09010
 09011                    b.HasIndex("RecStateId");
 09012
 09013                    b.HasIndex("StatusOwnerId");
 09014
 09015                    b.ToTable("MovementStatus");
 09016
 09017                    b.HasData(
 09018                        new
 09019                        {
 09020                            Id = 1L,
 09021                            Code = "Draft",
 09022                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09023                            Description = "",
 09024                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09025                            IsDeleted = false,
 09026                            MovementTypeId = 1L,
 09027                            Name = "Черновик",
 09028                            StatusOwnerId = 1L
 09029                        },
 09030                        new
 09031                        {
 09032                            Id = 2L,
 09033                            Code = "InQueue",
 09034                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09035                            Description = "",
 09036                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09037                            IsDeleted = false,
 09038                            MovementTypeId = 1L,
 09039                            Name = "В очереди на обработку",
 09040                            StatusOwnerId = 3L
 09041                        },
 09042                        new
 09043                        {
 09044                            Id = 3L,
 09045                            Code = "InProgress",
 09046                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09047                            Description = "",
 09048                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09049                            IsDeleted = false,
 09050                            MovementTypeId = 1L,
 09051                            Name = "В обработке",
 09052                            StatusOwnerId = 2L
 09053                        },
 09054                        new
 09055                        {
 09056                            Id = 4L,
 09057                            Code = "Reject",
 09058                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09059                            Description = "",
 09060                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09061                            IsDeleted = false,
 09062                            MovementTypeId = 1L,
 09063                            Name = "Отказ",
 09064                            StatusOwnerId = 3L
 09065                        },
 09066                        new
 09067                        {
 09068                            Id = 5L,
 09069                            Code = "Finished",
 09070                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09071                            Description = "",
 09072                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09073                            IsDeleted = false,
 09074                            MovementTypeId = 1L,
 09075                            Name = "Обработано",
 09076                            StatusOwnerId = 2L
 09077                        },
 09078                        new
 09079                        {
 09080                            Id = 6L,
 09081                            Code = "Draft",
 09082                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09083                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09084                            IsDeleted = false,
 09085                            MovementTypeId = 2L,
 09086                            Name = "Черновик",
 09087                            StatusOwnerId = 2L
 09088                        },
 09089                        new
 09090                        {
 09091                            Id = 7L,
 09092                            Code = "Reject",
 09093                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09094                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09095                            IsDeleted = false,
 09096                            MovementTypeId = 2L,
 09097                            Name = "Отказ",
 09098                            StatusOwnerId = 1L
 09099                        },
 09100                        new
 09101                        {
 09102                            Id = 8L,
 09103                            Code = "PaymentAwaiting",
 09104                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09105                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09106                            IsDeleted = false,
 09107                            MovementTypeId = 2L,
 09108                            Name = "Ожидает оплаты",
 09109                            StatusOwnerId = 1L
 09110                        },
 09111                        new
 09112                        {
 09113                            Id = 9L,
 09114                            Code = "Picking",
 09115                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09116                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09117                            IsDeleted = false,
 09118                            MovementTypeId = 2L,
 09119                            Name = "Сборка заказа",
 09120                            StatusOwnerId = 2L
 09121                        },
 09122                        new
 09123                        {
 09124                            Id = 10L,
 09125                            Code = "ReadyForShipment",
 09126                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09127                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09128                            IsDeleted = false,
 09129                            MovementTypeId = 2L,
 09130                            Name = "Готово к выдаче",
 09131                            StatusOwnerId = 2L
 09132                        },
 09133                        new
 09134                        {
 09135                            Id = 11L,
 09136                            Code = "Correction",
 09137                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09138                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09139                            IsDeleted = false,
 09140                            MovementTypeId = 2L,
 09141                            Name = "Корректировка",
 09142                            StatusOwnerId = 2L
 09143                        },
 09144                        new
 09145                        {
 09146                            Id = 12L,
 09147                            Code = "SupplierReject",
 09148                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09149                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09150                            IsDeleted = false,
 09151                            MovementTypeId = 2L,
 09152                            Name = "Отказ поставщика",
 09153                            StatusOwnerId = 2L
 09154                        },
 09155                        new
 09156                        {
 09157                            Id = 13L,
 09158                            Code = "Shipped",
 09159                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09160                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09161                            IsDeleted = false,
 09162                            MovementTypeId = 2L,
 09163                            Name = "Выдано",
 09164                            StatusOwnerId = 1L
 09165                        },
 09166                        new
 09167                        {
 09168                            Id = 14L,
 09169                            Code = "Received",
 09170                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09171                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09172                            IsDeleted = false,
 09173                            MovementTypeId = 2L,
 09174                            Name = "Принято",
 09175                            StatusOwnerId = 1L
 09176                        },
 09177                        new
 09178                        {
 09179                            Id = 15L,
 09180                            Code = "CustomerReject",
 09181                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09182                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09183                            IsDeleted = false,
 09184                            MovementTypeId = 2L,
 09185                            Name = "Отказ покупателя",
 09186                            StatusOwnerId = 1L
 09187                        },
 09188                        new
 09189                        {
 09190                            Id = 16L,
 09191                            Code = "ClaimInProgress",
 09192                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09193                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09194                            IsDeleted = false,
 09195                            MovementTypeId = 2L,
 09196                            Name = "Претензия разбор",
 09197                            StatusOwnerId = 3L
 09198                        },
 09199                        new
 09200                        {
 09201                            Id = 17L,
 09202                            Code = "ClaimDeclined",
 09203                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09204                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09205                            IsDeleted = false,
 09206                            MovementTypeId = 2L,
 09207                            Name = "Претензия отказано",
 09208                            StatusOwnerId = 3L
 09209                        },
 09210                        new
 09211                        {
 09212                            Id = 18L,
 09213                            Code = "ClaimAccepted",
 09214                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09215                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09216                            IsDeleted = false,
 09217                            MovementTypeId = 2L,
 09218                            Name = "Претензия подтверждено",
 09219                            StatusOwnerId = 3L
 09220                        });
 09221                });
 9222
 09223            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusJournal", b =>
 09224                {
 09225                    b.Property<long>("Id")
 09226                        .ValueGeneratedOnAdd()
 09227                        .HasColumnType("bigint")
 09228                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09229
 09230                    b.Property<long?>("CreatedByUserId")
 09231                        .HasColumnType("bigint");
 09232
 09233                    b.Property<DateTime>("CreationDateTime")
 09234                        .HasColumnType("timestamp without time zone");
 09235
 09236                    b.Property<Guid>("GUID")
 09237                        .ValueGeneratedOnAdd()
 09238                        .HasColumnType("uuid");
 09239
 09240                    b.Property<bool>("IsDeleted")
 09241                        .HasColumnType("boolean");
 09242
 09243                    b.Property<DateTime?>("ModificationDateTime")
 09244                        .HasColumnType("timestamp without time zone");
 09245
 09246                    b.Property<long?>("ModifiedByUserId")
 09247                        .HasColumnType("bigint");
 09248
 09249                    b.Property<long?>("MovementId")
 09250                        .HasColumnType("bigint");
 09251
 09252                    b.Property<long?>("RecStateId")
 09253                        .HasColumnType("bigint");
 09254
 09255                    b.Property<long?>("StatusCurrentId")
 09256                        .HasColumnType("bigint");
 09257
 09258                    b.HasKey("Id");
 09259
 09260                    b.HasIndex("CreatedByUserId");
 09261
 09262                    b.HasIndex("ModifiedByUserId");
 09263
 09264                    b.HasIndex("MovementId");
 09265
 09266                    b.HasIndex("RecStateId");
 09267
 09268                    b.HasIndex("StatusCurrentId");
 09269
 09270                    b.ToTable("MovementStatusJournals");
 09271                });
 9272
 09273            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", b =>
 09274                {
 09275                    b.Property<long>("Id")
 09276                        .ValueGeneratedOnAdd()
 09277                        .HasColumnType("bigint")
 09278                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09279                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09280
 09281                    b.Property<long?>("CreatedByUserId")
 09282                        .HasColumnType("bigint");
 09283
 09284                    b.Property<DateTime>("CreationDateTime")
 09285                        .HasColumnType("timestamp without time zone");
 09286
 09287                    b.Property<bool>("IsDeleted")
 09288                        .HasColumnType("boolean");
 09289
 09290                    b.Property<DateTime?>("ModificationDateTime")
 09291                        .HasColumnType("timestamp without time zone");
 09292
 09293                    b.Property<long?>("ModifiedByUserId")
 09294                        .HasColumnType("bigint");
 09295
 09296                    b.Property<string>("Name")
 09297                        .HasColumnType("text");
 09298
 09299                    b.Property<long?>("RecStateId")
 09300                        .HasColumnType("bigint");
 09301
 09302                    b.HasKey("Id");
 09303
 09304                    b.HasIndex("CreatedByUserId");
 09305
 09306                    b.HasIndex("ModifiedByUserId");
 09307
 09308                    b.HasIndex("RecStateId");
 09309
 09310                    b.ToTable("MovementStatusOwners");
 09311
 09312                    b.HasData(
 09313                        new
 09314                        {
 09315                            Id = 1L,
 09316                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09317                            IsDeleted = false,
 09318                            Name = "Customer"
 09319                        },
 09320                        new
 09321                        {
 09322                            Id = 2L,
 09323                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09324                            IsDeleted = false,
 09325                            Name = "Supplier"
 09326                        },
 09327                        new
 09328                        {
 09329                            Id = 3L,
 09330                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09331                            IsDeleted = false,
 09332                            Name = "Platform"
 09333                        });
 09334                });
 9335
 09336            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusRoute", b =>
 09337                {
 09338                    b.Property<long>("Id")
 09339                        .ValueGeneratedOnAdd()
 09340                        .HasColumnType("bigint")
 09341                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09342                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09343
 09344                    b.Property<long?>("CreatedByUserId")
 09345                        .HasColumnType("bigint");
 09346
 09347                    b.Property<DateTime>("CreationDateTime")
 09348                        .HasColumnType("timestamp without time zone");
 09349
 09350                    b.Property<Guid>("GUID")
 09351                        .ValueGeneratedOnAdd()
 09352                        .HasColumnType("uuid");
 09353
 09354                    b.Property<int>("Hour")
 09355                        .HasColumnType("integer");
 09356
 09357                    b.Property<bool>("IsDeleted")
 09358                        .HasColumnType("boolean");
 09359
 09360                    b.Property<DateTime?>("ModificationDateTime")
 09361                        .HasColumnType("timestamp without time zone");
 09362
 09363                    b.Property<long?>("ModifiedByUserId")
 09364                        .HasColumnType("bigint");
 09365
 09366                    b.Property<long?>("RecStateId")
 09367                        .HasColumnType("bigint");
 09368
 09369                    b.Property<string>("RouteKey")
 09370                        .HasColumnType("text");
 09371
 09372                    b.Property<long>("StatusCurrentId")
 09373                        .HasColumnType("bigint");
 09374
 09375                    b.Property<long>("StatusNextId")
 09376                        .HasColumnType("bigint");
 09377
 09378                    b.HasKey("Id");
 09379
 09380                    b.HasIndex("CreatedByUserId");
 09381
 09382                    b.HasIndex("ModifiedByUserId");
 09383
 09384                    b.HasIndex("RecStateId");
 09385
 09386                    b.HasIndex("StatusCurrentId");
 09387
 09388                    b.HasIndex("StatusNextId");
 09389
 09390                    b.ToTable("MovementStatusRoutes");
 09391
 09392                    b.HasData(
 09393                        new
 09394                        {
 09395                            Id = 1L,
 09396                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09397                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09398                            Hour = 0,
 09399                            IsDeleted = false,
 09400                            RouteKey = "Send",
 09401                            StatusCurrentId = 1L,
 09402                            StatusNextId = 2L
 09403                        },
 09404                        new
 09405                        {
 09406                            Id = 2L,
 09407                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09408                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09409                            Hour = 0,
 09410                            IsDeleted = false,
 09411                            RouteKey = "Confirm",
 09412                            StatusCurrentId = 2L,
 09413                            StatusNextId = 3L
 09414                        },
 09415                        new
 09416                        {
 09417                            Id = 3L,
 09418                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09419                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09420                            Hour = 8,
 09421                            IsDeleted = false,
 09422                            RouteKey = "Auto",
 09423                            StatusCurrentId = 2L,
 09424                            StatusNextId = 4L
 09425                        },
 09426                        new
 09427                        {
 09428                            Id = 4L,
 09429                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09430                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09431                            Hour = 0,
 09432                            IsDeleted = false,
 09433                            RouteKey = "RejectOrder",
 09434                            StatusCurrentId = 2L,
 09435                            StatusNextId = 4L
 09436                        },
 09437                        new
 09438                        {
 09439                            Id = 5L,
 09440                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09441                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09442                            Hour = 8,
 09443                            IsDeleted = false,
 09444                            RouteKey = "Auto",
 09445                            StatusCurrentId = 3L,
 09446                            StatusNextId = 4L
 09447                        },
 09448                        new
 09449                        {
 09450                            Id = 6L,
 09451                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09452                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09453                            Hour = 0,
 09454                            IsDeleted = false,
 09455                            RouteKey = "Finished",
 09456                            StatusCurrentId = 3L,
 09457                            StatusNextId = 5L
 09458                        },
 09459                        new
 09460                        {
 09461                            Id = 7L,
 09462                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09463                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09464                            Hour = 0,
 09465                            IsDeleted = false,
 09466                            RouteKey = "RejectOrder",
 09467                            StatusCurrentId = 3L,
 09468                            StatusNextId = 4L
 09469                        },
 09470                        new
 09471                        {
 09472                            Id = 8L,
 09473                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09474                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09475                            Hour = 0,
 09476                            IsDeleted = false,
 09477                            RouteKey = "SupplierReject",
 09478                            StatusCurrentId = 6L,
 09479                            StatusNextId = 12L
 09480                        },
 09481                        new
 09482                        {
 09483                            Id = 9L,
 09484                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09485                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09486                            Hour = 0,
 09487                            IsDeleted = false,
 09488                            RouteKey = "PaymentReserve",
 09489                            StatusCurrentId = 6L,
 09490                            StatusNextId = 8L
 09491                        },
 09492                        new
 09493                        {
 09494                            Id = 10L,
 09495                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09496                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09497                            Hour = 0,
 09498                            IsDeleted = false,
 09499                            RouteKey = "Payment",
 09500                            StatusCurrentId = 8L,
 09501                            StatusNextId = 9L
 09502                        },
 09503                        new
 09504                        {
 09505                            Id = 11L,
 09506                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09507                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09508                            Hour = 0,
 09509                            IsDeleted = false,
 09510                            RouteKey = "CustomerReject",
 09511                            StatusCurrentId = 8L,
 09512                            StatusNextId = 15L
 09513                        },
 09514                        new
 09515                        {
 09516                            Id = 12L,
 09517                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09518                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09519                            Hour = 24,
 09520                            IsDeleted = false,
 09521                            RouteKey = "Auto",
 09522                            StatusCurrentId = 8L,
 09523                            StatusNextId = 7L
 09524                        },
 09525                        new
 09526                        {
 09527                            Id = 13L,
 09528                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09529                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09530                            Hour = 0,
 09531                            IsDeleted = false,
 09532                            RouteKey = "SupplierReject",
 09533                            StatusCurrentId = 9L,
 09534                            StatusNextId = 12L
 09535                        },
 09536                        new
 09537                        {
 09538                            Id = 14L,
 09539                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09540                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09541                            Hour = 24,
 09542                            IsDeleted = false,
 09543                            RouteKey = "Auto",
 09544                            StatusCurrentId = 9L,
 09545                            StatusNextId = 7L
 09546                        },
 09547                        new
 09548                        {
 09549                            Id = 15L,
 09550                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09551                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09552                            Hour = 0,
 09553                            IsDeleted = false,
 09554                            RouteKey = "ReadyToShip",
 09555                            StatusCurrentId = 9L,
 09556                            StatusNextId = 10L
 09557                        },
 09558                        new
 09559                        {
 09560                            Id = 30L,
 09561                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09562                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09563                            Hour = 0,
 09564                            IsDeleted = false,
 09565                            RouteKey = "CustomerReject",
 09566                            StatusCurrentId = 9L,
 09567                            StatusNextId = 15L
 09568                        },
 09569                        new
 09570                        {
 09571                            Id = 16L,
 09572                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09573                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09574                            Hour = 0,
 09575                            IsDeleted = false,
 09576                            RouteKey = "Ship",
 09577                            StatusCurrentId = 10L,
 09578                            StatusNextId = 13L
 09579                        },
 09580                        new
 09581                        {
 09582                            Id = 17L,
 09583                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09584                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09585                            Hour = 24,
 09586                            IsDeleted = false,
 09587                            RouteKey = "Auto",
 09588                            StatusCurrentId = 10L,
 09589                            StatusNextId = 7L
 09590                        },
 09591                        new
 09592                        {
 09593                            Id = 18L,
 09594                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09595                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09596                            Hour = 0,
 09597                            IsDeleted = false,
 09598                            RouteKey = "SupplierReject",
 09599                            StatusCurrentId = 10L,
 09600                            StatusNextId = 12L
 09601                        },
 09602                        new
 09603                        {
 09604                            Id = 19L,
 09605                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09606                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09607                            Hour = 0,
 09608                            IsDeleted = false,
 09609                            RouteKey = "Correction",
 09610                            StatusCurrentId = 10L,
 09611                            StatusNextId = 11L
 09612                        },
 09613                        new
 09614                        {
 09615                            Id = 31L,
 09616                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09617                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09618                            Hour = 0,
 09619                            IsDeleted = false,
 09620                            RouteKey = "CustomerReject",
 09621                            StatusCurrentId = 10L,
 09622                            StatusNextId = 15L
 09623                        },
 09624                        new
 09625                        {
 09626                            Id = 20L,
 09627                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09628                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09629                            Hour = 8,
 09630                            IsDeleted = false,
 09631                            RouteKey = "Auto",
 09632                            StatusCurrentId = 11L,
 09633                            StatusNextId = 7L
 09634                        },
 09635                        new
 09636                        {
 09637                            Id = 21L,
 09638                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09639                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09640                            Hour = 0,
 09641                            IsDeleted = false,
 09642                            RouteKey = "SupplierReject",
 09643                            StatusCurrentId = 11L,
 09644                            StatusNextId = 12L
 09645                        },
 09646                        new
 09647                        {
 09648                            Id = 22L,
 09649                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09650                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09651                            Hour = 0,
 09652                            IsDeleted = false,
 09653                            RouteKey = "ReadyToShip",
 09654                            StatusCurrentId = 11L,
 09655                            StatusNextId = 10L
 09656                        },
 09657                        new
 09658                        {
 09659                            Id = 32L,
 09660                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09661                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09662                            Hour = 0,
 09663                            IsDeleted = false,
 09664                            RouteKey = "CustomerReject",
 09665                            StatusCurrentId = 11L,
 09666                            StatusNextId = 15L
 09667                        },
 09668                        new
 09669                        {
 09670                            Id = 23L,
 09671                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09672                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09673                            Hour = 0,
 09674                            IsDeleted = false,
 09675                            RouteKey = "Accept",
 09676                            StatusCurrentId = 13L,
 09677                            StatusNextId = 14L
 09678                        },
 09679                        new
 09680                        {
 09681                            Id = 24L,
 09682                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09683                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09684                            Hour = 0,
 09685                            IsDeleted = false,
 09686                            RouteKey = "CustomerReject",
 09687                            StatusCurrentId = 13L,
 09688                            StatusNextId = 15L
 09689                        },
 09690                        new
 09691                        {
 09692                            Id = 25L,
 09693                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09694                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09695                            Hour = 24,
 09696                            IsDeleted = false,
 09697                            RouteKey = "Auto",
 09698                            StatusCurrentId = 13L,
 09699                            StatusNextId = 14L
 09700                        },
 09701                        new
 09702                        {
 09703                            Id = 26L,
 09704                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09705                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09706                            Hour = 0,
 09707                            IsDeleted = false,
 09708                            RouteKey = "ClaimProcess",
 09709                            StatusCurrentId = 15L,
 09710                            StatusNextId = 16L
 09711                        },
 09712                        new
 09713                        {
 09714                            Id = 27L,
 09715                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09716                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09717                            Hour = 0,
 09718                            IsDeleted = false,
 09719                            RouteKey = "ClaimAccept",
 09720                            StatusCurrentId = 16L,
 09721                            StatusNextId = 18L
 09722                        },
 09723                        new
 09724                        {
 09725                            Id = 28L,
 09726                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09727                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09728                            Hour = 24,
 09729                            IsDeleted = false,
 09730                            RouteKey = "Auto",
 09731                            StatusCurrentId = 16L,
 09732                            StatusNextId = 18L
 09733                        },
 09734                        new
 09735                        {
 09736                            Id = 29L,
 09737                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09738                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09739                            Hour = 0,
 09740                            IsDeleted = false,
 09741                            RouteKey = "ClaimDecline",
 09742                            StatusCurrentId = 16L,
 09743                            StatusNextId = 17L
 09744                        });
 09745                });
 9746
 09747            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", b =>
 09748                {
 09749                    b.Property<long>("Id")
 09750                        .ValueGeneratedOnAdd()
 09751                        .HasColumnType("bigint")
 09752                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09753                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09754
 09755                    b.Property<string>("Code")
 09756                        .IsRequired()
 09757                        .HasColumnType("text");
 09758
 09759                    b.Property<long?>("CreatedByUserId")
 09760                        .HasColumnType("bigint");
 09761
 09762                    b.Property<DateTime>("CreationDateTime")
 09763                        .HasColumnType("timestamp without time zone");
 09764
 09765                    b.Property<string>("Description")
 09766                        .HasColumnType("text");
 09767
 09768                    b.Property<Guid>("GUID")
 09769                        .ValueGeneratedOnAdd()
 09770                        .HasColumnType("uuid");
 09771
 09772                    b.Property<bool>("IsDeleted")
 09773                        .HasColumnType("boolean");
 09774
 09775                    b.Property<DateTime?>("ModificationDateTime")
 09776                        .HasColumnType("timestamp without time zone");
 09777
 09778                    b.Property<long?>("ModifiedByUserId")
 09779                        .HasColumnType("bigint");
 09780
 09781                    b.Property<string>("Name")
 09782                        .IsRequired()
 09783                        .HasColumnType("text");
 09784
 09785                    b.Property<long?>("RecStateId")
 09786                        .HasColumnType("bigint");
 09787
 09788                    b.HasKey("Id");
 09789
 09790                    b.HasIndex("CreatedByUserId");
 09791
 09792                    b.HasIndex("ModifiedByUserId");
 09793
 09794                    b.HasIndex("RecStateId");
 09795
 09796                    b.ToTable("MovementType");
 09797
 09798                    b.HasData(
 09799                        new
 09800                        {
 09801                            Id = 1L,
 09802                            Code = "Order",
 09803                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09804                            Description = "",
 09805                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09806                            IsDeleted = false,
 09807                            Name = "Заказ"
 09808                        },
 09809                        new
 09810                        {
 09811                            Id = 2L,
 09812                            Code = "Shipment",
 09813                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09814                            Description = "",
 09815                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09816                            IsDeleted = false,
 09817                            Name = "Отгрузка"
 09818                        },
 09819                        new
 09820                        {
 09821                            Id = 3L,
 09822                            Code = "Arrival",
 09823                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09824                            Description = "",
 09825                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09826                            IsDeleted = false,
 09827                            Name = "Приход"
 09828                        },
 09829                        new
 09830                        {
 09831                            Id = 4L,
 09832                            Code = "Deny",
 09833                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09834                            Description = "",
 09835                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09836                            IsDeleted = false,
 09837                            Name = "Отказ"
 09838                        });
 09839                });
 9840
 09841            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", b =>
 09842                {
 09843                    b.Property<long>("Id")
 09844                        .ValueGeneratedOnAdd()
 09845                        .HasColumnType("bigint")
 09846                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09847
 09848                    b.Property<string>("Body")
 09849                        .IsRequired()
 09850                        .HasColumnType("text");
 09851
 09852                    b.Property<long?>("CreatedByUserId")
 09853                        .HasColumnType("bigint");
 09854
 09855                    b.Property<DateTime>("CreationDateTime")
 09856                        .HasColumnType("timestamp without time zone");
 09857
 09858                    b.Property<Guid>("GUID")
 09859                        .ValueGeneratedOnAdd()
 09860                        .HasColumnType("uuid");
 09861
 09862                    b.Property<bool>("IsDeleted")
 09863                        .HasColumnType("boolean");
 09864
 09865                    b.Property<DateTime?>("ModificationDateTime")
 09866                        .HasColumnType("timestamp without time zone");
 09867
 09868                    b.Property<long?>("ModifiedByUserId")
 09869                        .HasColumnType("bigint");
 09870
 09871                    b.Property<long>("NotificationsTypeId")
 09872                        .HasColumnType("bigint");
 09873
 09874                    b.Property<long?>("RecStateId")
 09875                        .HasColumnType("bigint");
 09876
 09877                    b.Property<string>("Subject")
 09878                        .IsRequired()
 09879                        .HasColumnType("text");
 09880
 09881                    b.Property<DateTime>("TimeToTurnOff")
 09882                        .HasColumnType("timestamp without time zone");
 09883
 09884                    b.Property<long>("UserId")
 09885                        .HasColumnType("bigint");
 09886
 09887                    b.HasKey("Id");
 09888
 09889                    b.HasIndex("CreatedByUserId");
 09890
 09891                    b.HasIndex("ModifiedByUserId");
 09892
 09893                    b.HasIndex("NotificationsTypeId");
 09894
 09895                    b.HasIndex("RecStateId");
 09896
 09897                    b.HasIndex("UserId");
 09898
 09899                    b.ToTable("Notifications");
 09900                });
 9901
 09902            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationUsers", b =>
 09903                {
 09904                    b.Property<long>("Id")
 09905                        .ValueGeneratedOnAdd()
 09906                        .HasColumnType("bigint")
 09907                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09908
 09909                    b.Property<long?>("CreatedByUserId")
 09910                        .HasColumnType("bigint");
 09911
 09912                    b.Property<DateTime>("CreationDateTime")
 09913                        .HasColumnType("timestamp without time zone");
 09914
 09915                    b.Property<Guid>("GUID")
 09916                        .ValueGeneratedOnAdd()
 09917                        .HasColumnType("uuid");
 09918
 09919                    b.Property<bool>("IsDeleted")
 09920                        .HasColumnType("boolean");
 09921
 09922                    b.Property<DateTime?>("ModificationDateTime")
 09923                        .HasColumnType("timestamp without time zone");
 09924
 09925                    b.Property<long?>("ModifiedByUserId")
 09926                        .HasColumnType("bigint");
 09927
 09928                    b.Property<long>("NotificationId")
 09929                        .HasColumnType("bigint");
 09930
 09931                    b.Property<long?>("NotificationsStatusId")
 09932                        .HasColumnType("bigint");
 09933
 09934                    b.Property<long?>("RecStateId")
 09935                        .HasColumnType("bigint");
 09936
 09937                    b.Property<long?>("UserId")
 09938                        .HasColumnType("bigint");
 09939
 09940                    b.HasKey("Id");
 09941
 09942                    b.HasIndex("CreatedByUserId");
 09943
 09944                    b.HasIndex("ModifiedByUserId");
 09945
 09946                    b.HasIndex("NotificationId");
 09947
 09948                    b.HasIndex("NotificationsStatusId");
 09949
 09950                    b.HasIndex("RecStateId");
 09951
 09952                    b.HasIndex("UserId");
 09953
 09954                    b.ToTable("NotificationUsers");
 09955                });
 9956
 09957            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", b =>
 09958                {
 09959                    b.Property<long>("Id")
 09960                        .ValueGeneratedOnAdd()
 09961                        .HasColumnType("bigint")
 09962                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09963                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09964
 09965                    b.Property<string>("Code")
 09966                        .IsRequired()
 09967                        .HasColumnType("text");
 09968
 09969                    b.Property<long?>("CreatedByUserId")
 09970                        .HasColumnType("bigint");
 09971
 09972                    b.Property<DateTime>("CreationDateTime")
 09973                        .HasColumnType("timestamp without time zone");
 09974
 09975                    b.Property<string>("Description")
 09976                        .HasColumnType("text");
 09977
 09978                    b.Property<Guid>("GUID")
 09979                        .ValueGeneratedOnAdd()
 09980                        .HasColumnType("uuid");
 09981
 09982                    b.Property<bool>("IsDeleted")
 09983                        .HasColumnType("boolean");
 09984
 09985                    b.Property<DateTime?>("ModificationDateTime")
 09986                        .HasColumnType("timestamp without time zone");
 09987
 09988                    b.Property<long?>("ModifiedByUserId")
 09989                        .HasColumnType("bigint");
 09990
 09991                    b.Property<string>("Name")
 09992                        .IsRequired()
 09993                        .HasColumnType("text");
 09994
 09995                    b.Property<long?>("RecStateId")
 09996                        .HasColumnType("bigint");
 09997
 09998                    b.HasKey("Id");
 09999
 010000                    b.HasIndex("CreatedByUserId");
 010001
 010002                    b.HasIndex("ModifiedByUserId");
 010003
 010004                    b.HasIndex("RecStateId");
 010005
 010006                    b.ToTable("NotificationsStatus");
 010007
 010008                    b.HasData(
 010009                        new
 010010                        {
 010011                            Id = 1L,
 010012                            Code = "Unknown",
 010013                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010014                            Description = "",
 010015                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010016                            IsDeleted = false,
 010017                            Name = "Неизвестно"
 010018                        },
 010019                        new
 010020                        {
 010021                            Id = 2L,
 010022                            Code = "Created",
 010023                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010024                            Description = "",
 010025                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010026                            IsDeleted = false,
 010027                            Name = "Создано"
 010028                        },
 010029                        new
 010030                        {
 010031                            Id = 3L,
 010032                            Code = "Sent",
 010033                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010034                            Description = "",
 010035                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010036                            IsDeleted = false,
 010037                            Name = "Отправлено"
 010038                        },
 010039                        new
 010040                        {
 010041                            Id = 4L,
 010042                            Code = "Read",
 010043                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010044                            Description = "",
 010045                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010046                            IsDeleted = false,
 010047                            Name = "Прочитано"
 010048                        },
 010049                        new
 010050                        {
 010051                            Id = 5L,
 010052                            Code = "Deactivated",
 010053                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010054                            Description = "",
 010055                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010056                            IsDeleted = false,
 010057                            Name = "Отключено"
 010058                        });
 010059                });
 10060
 010061            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", b =>
 010062                {
 010063                    b.Property<long>("Id")
 010064                        .ValueGeneratedOnAdd()
 010065                        .HasColumnType("bigint")
 010066                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010067                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010068
 010069                    b.Property<string>("Code")
 010070                        .IsRequired()
 010071                        .HasColumnType("text");
 010072
 010073                    b.Property<long?>("CreatedByUserId")
 010074                        .HasColumnType("bigint");
 010075
 010076                    b.Property<DateTime>("CreationDateTime")
 010077                        .HasColumnType("timestamp without time zone");
 010078
 010079                    b.Property<string>("Description")
 010080                        .HasColumnType("text");
 010081
 010082                    b.Property<Guid>("GUID")
 010083                        .ValueGeneratedOnAdd()
 010084                        .HasColumnType("uuid");
 010085
 010086                    b.Property<bool>("IsDeleted")
 010087                        .HasColumnType("boolean");
 010088
 010089                    b.Property<DateTime?>("ModificationDateTime")
 010090                        .HasColumnType("timestamp without time zone");
 010091
 010092                    b.Property<long?>("ModifiedByUserId")
 010093                        .HasColumnType("bigint");
 010094
 010095                    b.Property<string>("Name")
 010096                        .IsRequired()
 010097                        .HasColumnType("text");
 010098
 010099                    b.Property<long?>("RecStateId")
 010100                        .HasColumnType("bigint");
 010101
 010102                    b.HasKey("Id");
 010103
 010104                    b.HasIndex("CreatedByUserId");
 010105
 010106                    b.HasIndex("ModifiedByUserId");
 010107
 010108                    b.HasIndex("RecStateId");
 010109
 010110                    b.ToTable("NotificationsType");
 010111
 010112                    b.HasData(
 010113                        new
 010114                        {
 010115                            Id = 1L,
 010116                            Code = "System",
 010117                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010118                            Description = "",
 010119                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010120                            IsDeleted = false,
 010121                            Name = "Системное"
 010122                        },
 010123                        new
 010124                        {
 010125                            Id = 2L,
 010126                            Code = "News",
 010127                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010128                            Description = "",
 010129                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010130                            IsDeleted = false,
 010131                            Name = "Новость"
 010132                        });
 010133                });
 10134
 010135            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Photo", b =>
 010136                {
 010137                    b.Property<long>("Id")
 010138                        .ValueGeneratedOnAdd()
 010139                        .HasColumnType("bigint")
 010140                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010141
 010142                    b.Property<long?>("CreatedByUserId")
 010143                        .HasColumnType("bigint");
 010144
 010145                    b.Property<DateTime>("CreationDateTime")
 010146                        .HasColumnType("timestamp without time zone");
 010147
 010148                    b.Property<int>("FullSizeHeight")
 010149                        .HasColumnType("integer");
 010150
 010151                    b.Property<string>("FullSizeUrl")
 010152                        .HasColumnType("text");
 010153
 010154                    b.Property<int>("FullSizeWidth")
 010155                        .HasColumnType("integer");
 010156
 010157                    b.Property<Guid>("GUID")
 010158                        .ValueGeneratedOnAdd()
 010159                        .HasColumnType("uuid");
 010160
 010161                    b.Property<long?>("GoodId")
 010162                        .HasColumnType("bigint");
 010163
 010164                    b.Property<bool>("IsDeleted")
 010165                        .HasColumnType("boolean");
 010166
 010167                    b.Property<DateTime?>("ModificationDateTime")
 010168                        .HasColumnType("timestamp without time zone");
 010169
 010170                    b.Property<long?>("ModifiedByUserId")
 010171                        .HasColumnType("bigint");
 010172
 010173                    b.Property<int>("PreviewHeight")
 010174                        .HasColumnType("integer");
 010175
 010176                    b.Property<string>("PreviewUrl")
 010177                        .HasColumnType("text");
 010178
 010179                    b.Property<int>("PreviewWidth")
 010180                        .HasColumnType("integer");
 010181
 010182                    b.Property<long?>("RecStateId")
 010183                        .HasColumnType("bigint");
 010184
 010185                    b.HasKey("Id");
 010186
 010187                    b.HasIndex("CreatedByUserId");
 010188
 010189                    b.HasIndex("GoodId");
 010190
 010191                    b.HasIndex("ModifiedByUserId");
 010192
 010193                    b.HasIndex("RecStateId");
 010194
 010195                    b.ToTable("Photos");
 010196                });
 10197
 010198            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceCurrent", b =>
 010199                {
 010200                    b.Property<long>("Id")
 010201                        .ValueGeneratedOnAdd()
 010202                        .HasColumnType("bigint")
 010203                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010204
 010205                    b.Property<long?>("CreatedByUserId")
 010206                        .HasColumnType("bigint");
 010207
 010208                    b.Property<DateTime>("CreationDateTime")
 010209                        .HasColumnType("timestamp without time zone");
 010210
 010211                    b.Property<Guid>("GUID")
 010212                        .ValueGeneratedOnAdd()
 010213                        .HasColumnType("uuid");
 010214
 010215                    b.Property<long>("GoodId")
 010216                        .HasColumnType("bigint");
 010217
 010218                    b.Property<bool>("IsDeleted")
 010219                        .HasColumnType("boolean");
 010220
 010221                    b.Property<DateTime?>("ModificationDateTime")
 010222                        .HasColumnType("timestamp without time zone");
 010223
 010224                    b.Property<long?>("ModifiedByUserId")
 010225                        .HasColumnType("bigint");
 010226
 010227                    b.Property<decimal>("Price")
 010228                        .HasColumnType("numeric");
 010229
 010230                    b.Property<long?>("RecStateId")
 010231                        .HasColumnType("bigint");
 010232
 010233                    b.Property<long>("SupplierDepartmentId")
 010234                        .HasColumnType("bigint");
 010235
 010236                    b.HasKey("Id");
 010237
 010238                    b.HasIndex("CreatedByUserId");
 010239
 010240                    b.HasIndex("GoodId");
 010241
 010242                    b.HasIndex("ModifiedByUserId");
 010243
 010244                    b.HasIndex("RecStateId");
 010245
 010246                    b.HasIndex("SupplierDepartmentId");
 010247
 010248                    b.ToTable("PricesCurrent");
 010249                });
 10250
 010251            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", b =>
 010252                {
 010253                    b.Property<long>("Id")
 010254                        .ValueGeneratedOnAdd()
 010255                        .HasColumnType("bigint")
 010256                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010257
 010258                    b.Property<DateTime>("BeginDate")
 010259                        .HasColumnType("timestamp without time zone");
 010260
 010261                    b.Property<long?>("CreatedByUserId")
 010262                        .HasColumnType("bigint");
 010263
 010264                    b.Property<DateTime>("CreationDateTime")
 010265                        .HasColumnType("timestamp without time zone");
 010266
 010267                    b.Property<string>("DocNumber")
 010268                        .IsRequired()
 010269                        .HasColumnType("text");
 010270
 010271                    b.Property<DateTime>("EndDate")
 010272                        .HasColumnType("timestamp without time zone");
 010273
 010274                    b.Property<Guid>("GUID")
 010275                        .ValueGeneratedOnAdd()
 010276                        .HasColumnType("uuid");
 010277
 010278                    b.Property<bool>("IsDeleted")
 010279                        .HasColumnType("boolean");
 010280
 010281                    b.Property<DateTime?>("ModificationDateTime")
 010282                        .HasColumnType("timestamp without time zone");
 010283
 010284                    b.Property<long?>("ModifiedByUserId")
 010285                        .HasColumnType("bigint");
 010286
 010287                    b.Property<long?>("RecStateId")
 010288                        .HasColumnType("bigint");
 010289
 010290                    b.Property<long>("SupplierDepartmentId")
 010291                        .HasColumnType("bigint");
 010292
 010293                    b.HasKey("Id");
 010294
 010295                    b.HasIndex("CreatedByUserId");
 010296
 010297                    b.HasIndex("ModifiedByUserId");
 010298
 010299                    b.HasIndex("RecStateId");
 010300
 010301                    b.HasIndex("SupplierDepartmentId");
 010302
 010303                    b.ToTable("PricesTrend");
 010304                });
 10305
 010306            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrendDetail", b =>
 010307                {
 010308                    b.Property<long>("Id")
 010309                        .ValueGeneratedOnAdd()
 010310                        .HasColumnType("bigint")
 010311                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010312
 010313                    b.Property<long?>("CreatedByUserId")
 010314                        .HasColumnType("bigint");
 010315
 010316                    b.Property<DateTime>("CreationDateTime")
 010317                        .HasColumnType("timestamp without time zone");
 010318
 010319                    b.Property<int?>("Discount")
 010320                        .HasColumnType("integer");
 010321
 010322                    b.Property<Guid>("GUID")
 010323                        .ValueGeneratedOnAdd()
 010324                        .HasColumnType("uuid");
 010325
 010326                    b.Property<long>("GoodId")
 010327                        .HasColumnType("bigint");
 010328
 010329                    b.Property<bool>("IsDeleted")
 010330                        .HasColumnType("boolean");
 010331
 010332                    b.Property<DateTime?>("ModificationDateTime")
 010333                        .HasColumnType("timestamp without time zone");
 010334
 010335                    b.Property<long?>("ModifiedByUserId")
 010336                        .HasColumnType("bigint");
 010337
 010338                    b.Property<decimal>("PriceNew")
 010339                        .HasColumnType("numeric");
 010340
 010341                    b.Property<decimal?>("PriceOld")
 010342                        .HasColumnType("numeric");
 010343
 010344                    b.Property<long>("PriceTrendId")
 010345                        .HasColumnType("bigint");
 010346
 010347                    b.Property<long?>("RecStateId")
 010348                        .HasColumnType("bigint");
 010349
 010350                    b.HasKey("Id");
 010351
 010352                    b.HasIndex("CreatedByUserId");
 010353
 010354                    b.HasIndex("ModifiedByUserId");
 010355
 010356                    b.HasIndex("PriceTrendId");
 010357
 010358                    b.HasIndex("RecStateId");
 010359
 010360                    b.HasIndex("GoodId", "PriceTrendId")
 010361                        .IsUnique();
 010362
 010363                    b.ToTable("PriceTrendDetails");
 010364                });
 10365
 010366            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoBid", b =>
 010367                {
 010368                    b.Property<long>("Id")
 010369                        .ValueGeneratedOnAdd()
 010370                        .HasColumnType("bigint")
 010371                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010372
 010373                    b.Property<long?>("CreatedByUserId")
 010374                        .HasColumnType("bigint");
 010375
 010376                    b.Property<DateTime>("CreationDate")
 010377                        .HasColumnType("timestamp without time zone");
 010378
 010379                    b.Property<DateTime>("CreationDateTime")
 010380                        .HasColumnType("timestamp without time zone");
 010381
 010382                    b.Property<long>("CustomerDepartmentId")
 010383                        .HasColumnType("bigint");
 010384
 010385                    b.Property<DateTime>("DateEnd")
 010386                        .HasColumnType("timestamp without time zone");
 010387
 010388                    b.Property<Guid>("GUID")
 010389                        .ValueGeneratedOnAdd()
 010390                        .HasColumnType("uuid");
 010391
 010392                    b.Property<long>("GoodId")
 010393                        .HasColumnType("bigint");
 010394
 010395                    b.Property<bool>("IsDeleted")
 010396                        .HasColumnType("boolean");
 010397
 010398                    b.Property<DateTime?>("ModificationDateTime")
 010399                        .HasColumnType("timestamp without time zone");
 010400
 010401                    b.Property<long?>("ModifiedByUserId")
 010402                        .HasColumnType("bigint");
 010403
 010404                    b.Property<decimal>("Price")
 010405                        .HasColumnType("numeric");
 010406
 010407                    b.Property<long>("PromoOfferId")
 010408                        .HasColumnType("bigint");
 010409
 010410                    b.Property<decimal>("Quantity")
 010411                        .HasColumnType("numeric");
 010412
 010413                    b.Property<long?>("RecStateId")
 010414                        .HasColumnType("bigint");
 010415
 010416                    b.Property<decimal>("Sum")
 010417                        .HasColumnType("numeric");
 010418
 010419                    b.HasKey("Id");
 010420
 010421                    b.HasIndex("CreatedByUserId");
 010422
 010423                    b.HasIndex("CustomerDepartmentId");
 010424
 010425                    b.HasIndex("GoodId");
 010426
 010427                    b.HasIndex("ModifiedByUserId");
 010428
 010429                    b.HasIndex("PromoOfferId");
 010430
 010431                    b.HasIndex("RecStateId");
 010432
 010433                    b.ToTable("PromoBids");
 010434                });
 10435
 010436            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoOffer", b =>
 010437                {
 010438                    b.Property<long>("Id")
 010439                        .ValueGeneratedOnAdd()
 010440                        .HasColumnType("bigint")
 010441                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010442
 010443                    b.Property<long?>("CreatedByUserId")
 010444                        .HasColumnType("bigint");
 010445
 010446                    b.Property<DateTime>("CreationDateTime")
 010447                        .HasColumnType("timestamp without time zone");
 010448
 010449                    b.Property<DateTime>("DateBegin")
 010450                        .HasColumnType("timestamp without time zone");
 010451
 010452                    b.Property<DateTime>("DateEnd")
 010453                        .HasColumnType("timestamp without time zone");
 010454
 010455                    b.Property<Guid>("GUID")
 010456                        .ValueGeneratedOnAdd()
 010457                        .HasColumnType("uuid");
 010458
 010459                    b.Property<long>("GoodId")
 010460                        .HasColumnType("bigint");
 010461
 010462                    b.Property<bool>("IsDeleted")
 010463                        .HasColumnType("boolean");
 010464
 010465                    b.Property<decimal?>("MaxQuantity")
 010466                        .HasColumnType("numeric");
 010467
 010468                    b.Property<decimal>("MinQuantity")
 010469                        .HasColumnType("numeric");
 010470
 010471                    b.Property<DateTime?>("ModificationDateTime")
 010472                        .HasColumnType("timestamp without time zone");
 010473
 010474                    b.Property<long?>("ModifiedByUserId")
 010475                        .HasColumnType("bigint");
 010476
 010477                    b.Property<decimal>("Price")
 010478                        .HasColumnType("numeric");
 010479
 010480                    b.Property<long?>("RecStateId")
 010481                        .HasColumnType("bigint");
 010482
 010483                    b.Property<long>("SupplierDepartmentId")
 010484                        .HasColumnType("bigint");
 010485
 010486                    b.HasKey("Id");
 010487
 010488                    b.HasIndex("CreatedByUserId");
 010489
 010490                    b.HasIndex("GoodId");
 010491
 010492                    b.HasIndex("ModifiedByUserId");
 010493
 010494                    b.HasIndex("RecStateId");
 010495
 010496                    b.HasIndex("SupplierDepartmentId");
 010497
 010498                    b.ToTable("PromoOffers");
 010499                });
 10500
 010501            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", b =>
 010502                {
 010503                    b.Property<long>("Id")
 010504                        .ValueGeneratedOnAdd()
 010505                        .HasColumnType("bigint")
 010506                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010507                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010508
 010509                    b.Property<string>("Code")
 010510                        .IsRequired()
 010511                        .HasColumnType("text");
 010512
 010513                    b.Property<long?>("CreatedByUserId")
 010514                        .HasColumnType("bigint");
 010515
 010516                    b.Property<DateTime>("CreationDateTime")
 010517                        .HasColumnType("timestamp without time zone");
 010518
 010519                    b.Property<string>("Description")
 010520                        .HasColumnType("text");
 010521
 010522                    b.Property<Guid>("GUID")
 010523                        .ValueGeneratedOnAdd()
 010524                        .HasColumnType("uuid");
 010525
 010526                    b.Property<bool>("IsDeleted")
 010527                        .HasColumnType("boolean");
 010528
 010529                    b.Property<DateTime?>("ModificationDateTime")
 010530                        .HasColumnType("timestamp without time zone");
 010531
 010532                    b.Property<long?>("ModifiedByUserId")
 010533                        .HasColumnType("bigint");
 010534
 010535                    b.Property<string>("Name")
 010536                        .IsRequired()
 010537                        .HasColumnType("text");
 010538
 010539                    b.Property<long?>("RecStateId")
 010540                        .HasColumnType("bigint");
 010541
 010542                    b.HasKey("Id");
 010543
 010544                    b.HasIndex("CreatedByUserId");
 010545
 010546                    b.HasIndex("ModifiedByUserId");
 010547
 010548                    b.HasIndex("RecStateId");
 010549
 010550                    b.ToTable("RecordsState");
 010551
 010552                    b.HasData(
 010553                        new
 010554                        {
 010555                            Id = 1L,
 010556                            Code = "Error",
 010557                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010558                            Description = "",
 010559                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010560                            IsDeleted = false,
 010561                            Name = "Ошибка"
 010562                        },
 010563                        new
 010564                        {
 010565                            Id = 2L,
 010566                            Code = "Active",
 010567                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010568                            Description = "",
 010569                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010570                            IsDeleted = false,
 010571                            Name = "Активно"
 010572                        },
 010573                        new
 010574                        {
 010575                            Id = 3L,
 010576                            Code = "Inactive",
 010577                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010578                            Description = "",
 010579                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010580                            IsDeleted = false,
 010581                            Name = "Неактивно"
 010582                        },
 010583                        new
 010584                        {
 010585                            Id = 4L,
 010586                            Code = "Deleted",
 010587                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010588                            Description = "",
 010589                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010590                            IsDeleted = false,
 010591                            Name = "Удалено"
 010592                        },
 010593                        new
 010594                        {
 010595                            Id = 5L,
 010596                            Code = "Empty",
 010597                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010598                            Description = "",
 010599                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010600                            IsDeleted = false,
 010601                            Name = "Пусто"
 010602                        });
 010603                });
 10604
 010605            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Rest", b =>
 010606                {
 010607                    b.Property<long>("Id")
 010608                        .ValueGeneratedOnAdd()
 010609                        .HasColumnType("bigint")
 010610                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010611
 010612                    b.Property<long?>("CreatedByUserId")
 010613                        .HasColumnType("bigint");
 010614
 010615                    b.Property<DateTime>("CreationDateTime")
 010616                        .HasColumnType("timestamp without time zone");
 010617
 010618                    b.Property<long>("DepartmentId")
 010619                        .HasColumnType("bigint");
 010620
 010621                    b.Property<Guid>("GUID")
 010622                        .ValueGeneratedOnAdd()
 010623                        .HasColumnType("uuid");
 010624
 010625                    b.Property<long>("GoodId")
 010626                        .HasColumnType("bigint");
 010627
 010628                    b.Property<bool>("IsDeleted")
 010629                        .HasColumnType("boolean");
 010630
 010631                    b.Property<DateTime?>("ModificationDateTime")
 010632                        .HasColumnType("timestamp without time zone");
 010633
 010634                    b.Property<long?>("ModifiedByUserId")
 010635                        .HasColumnType("bigint");
 010636
 010637                    b.Property<decimal>("Quantity")
 010638                        .HasColumnType("numeric");
 010639
 010640                    b.Property<long?>("RecStateId")
 010641                        .HasColumnType("bigint");
 010642
 010643                    b.HasKey("Id");
 010644
 010645                    b.HasIndex("CreatedByUserId");
 010646
 010647                    b.HasIndex("DepartmentId");
 010648
 010649                    b.HasIndex("ModifiedByUserId");
 010650
 010651                    b.HasIndex("RecStateId");
 010652
 010653                    b.HasIndex("GoodId", "DepartmentId")
 010654                        .IsUnique();
 010655
 010656                    b.ToTable("Rests");
 010657                });
 10658
 010659            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RestHold", b =>
 010660                {
 010661                    b.Property<long>("Id")
 010662                        .ValueGeneratedOnAdd()
 010663                        .HasColumnType("bigint")
 010664                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010665
 010666                    b.Property<long?>("CreatedByUserId")
 010667                        .HasColumnType("bigint");
 010668
 010669                    b.Property<DateTime>("CreationDateTime")
 010670                        .HasColumnType("timestamp without time zone");
 010671
 010672                    b.Property<Guid>("GUID")
 010673                        .ValueGeneratedOnAdd()
 010674                        .HasColumnType("uuid");
 010675
 010676                    b.Property<long>("GoodId")
 010677                        .HasColumnType("bigint");
 010678
 010679                    b.Property<bool>("IsDeleted")
 010680                        .HasColumnType("boolean");
 010681
 010682                    b.Property<DateTime?>("ModificationDateTime")
 010683                        .HasColumnType("timestamp without time zone");
 010684
 010685                    b.Property<long?>("ModifiedByUserId")
 010686                        .HasColumnType("bigint");
 010687
 010688                    b.Property<long>("MovementId")
 010689                        .HasColumnType("bigint");
 010690
 010691                    b.Property<decimal>("Quantity")
 010692                        .HasColumnType("numeric");
 010693
 010694                    b.Property<long?>("RecStateId")
 010695                        .HasColumnType("bigint");
 010696
 010697                    b.HasKey("Id");
 010698
 010699                    b.HasIndex("CreatedByUserId");
 010700
 010701                    b.HasIndex("GoodId");
 010702
 010703                    b.HasIndex("ModifiedByUserId");
 010704
 010705                    b.HasIndex("MovementId");
 010706
 010707                    b.HasIndex("RecStateId");
 010708
 010709                    b.ToTable("RestHolds");
 010710                });
 10711
 010712            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", b =>
 010713                {
 010714                    b.Property<long>("Id")
 010715                        .ValueGeneratedOnAdd()
 010716                        .HasColumnType("bigint")
 010717                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010718                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010719
 010720                    b.Property<long?>("CreatedByUserId")
 010721                        .HasColumnType("bigint");
 010722
 010723                    b.Property<DateTime>("CreationDateTime")
 010724                        .HasColumnType("timestamp without time zone");
 010725
 010726                    b.Property<string>("Description")
 010727                        .HasColumnType("text");
 010728
 010729                    b.Property<Guid>("GUID")
 010730                        .ValueGeneratedOnAdd()
 010731                        .HasColumnType("uuid");
 010732
 010733                    b.Property<bool>("IsDeleted")
 010734                        .HasColumnType("boolean");
 010735
 010736                    b.Property<DateTime?>("ModificationDateTime")
 010737                        .HasColumnType("timestamp without time zone");
 010738
 010739                    b.Property<long?>("ModifiedByUserId")
 010740                        .HasColumnType("bigint");
 010741
 010742                    b.Property<string>("Name")
 010743                        .IsRequired()
 010744                        .HasColumnType("text");
 010745
 010746                    b.Property<long?>("RecStateId")
 010747                        .HasColumnType("bigint");
 010748
 010749                    b.HasKey("Id");
 010750
 010751                    b.HasIndex("CreatedByUserId");
 010752
 010753                    b.HasIndex("ModifiedByUserId");
 010754
 010755                    b.HasIndex("RecStateId");
 010756
 010757                    b.ToTable("Roles");
 010758
 010759                    b.HasData(
 010760                        new
 010761                        {
 010762                            Id = 1L,
 010763                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010764                            Description = "Администратор системы",
 010765                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010766                            IsDeleted = false,
 010767                            Name = "dd_sys_hi_level"
 010768                        },
 010769                        new
 010770                        {
 010771                            Id = 2L,
 010772                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010773                            Description = "Оператор системы",
 010774                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010775                            IsDeleted = false,
 010776                            Name = "dd_sys_low_level"
 010777                        },
 010778                        new
 010779                        {
 010780                            Id = 3L,
 010781                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010782                            Description = "Владелец магазина",
 010783                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010784                            IsDeleted = false,
 010785                            Name = "dd_cust_hi_level"
 010786                        },
 010787                        new
 010788                        {
 010789                            Id = 4L,
 010790                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010791                            Description = "Товаровед магазина",
 010792                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010793                            IsDeleted = false,
 010794                            Name = "dd_cust_mid_level"
 010795                        },
 010796                        new
 010797                        {
 010798                            Id = 5L,
 010799                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010800                            Description = "Продавец магазина",
 010801                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010802                            IsDeleted = false,
 010803                            Name = "dd_cust_low_level"
 010804                        },
 010805                        new
 010806                        {
 010807                            Id = 6L,
 010808                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010809                            Description = "Владелец поставщика (дистрибьютера)",
 010810                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010811                            IsDeleted = false,
 010812                            Name = "dd_supp_hi_level"
 010813                        },
 010814                        new
 010815                        {
 010816                            Id = 7L,
 010817                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010818                            Description = "Управляющий поставщика",
 010819                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010820                            IsDeleted = false,
 010821                            Name = "dd_supp_mid_level"
 010822                        },
 010823                        new
 010824                        {
 010825                            Id = 8L,
 010826                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010827                            Description = "Кладовщик поставщика",
 010828                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010829                            IsDeleted = false,
 010830                            Name = "dd_supp_low_level"
 010831                        },
 010832                        new
 010833                        {
 010834                            Id = 9L,
 010835                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010836                            Description = "Анонимный пользователь",
 010837                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010838                            IsDeleted = false,
 010839                            Name = "dd_anonym"
 010840                        });
 010841                });
 10842
 010843            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.SupplyContract", b =>
 010844                {
 010845                    b.Property<long>("Id")
 010846                        .ValueGeneratedOnAdd()
 010847                        .HasColumnType("bigint")
 010848                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010849
 010850                    b.Property<DateTime>("BeginDate")
 010851                        .HasColumnType("timestamp without time zone");
 010852
 010853                    b.Property<long>("BuyerId")
 010854                        .HasColumnType("bigint");
 010855
 010856                    b.Property<long?>("CreatedByUserId")
 010857                        .HasColumnType("bigint");
 010858
 010859                    b.Property<DateTime>("CreationDateTime")
 010860                        .HasColumnType("timestamp without time zone");
 010861
 010862                    b.Property<string>("DocumentNumber")
 010863                        .IsRequired()
 010864                        .HasColumnType("text");
 010865
 010866                    b.Property<DateTime>("EndDate")
 010867                        .HasColumnType("timestamp without time zone");
 010868
 010869                    b.Property<Guid>("GUID")
 010870                        .ValueGeneratedOnAdd()
 010871                        .HasColumnType("uuid");
 010872
 010873                    b.Property<bool>("IsDeleted")
 010874                        .HasColumnType("boolean");
 010875
 010876                    b.Property<DateTime?>("ModificationDateTime")
 010877                        .HasColumnType("timestamp without time zone");
 010878
 010879                    b.Property<long?>("ModifiedByUserId")
 010880                        .HasColumnType("bigint");
 010881
 010882                    b.Property<decimal>("PrepaimentPercent")
 010883                        .HasColumnType("numeric");
 010884
 010885                    b.Property<long?>("RecStateId")
 010886                        .HasColumnType("bigint");
 010887
 010888                    b.Property<long>("SellerId")
 010889                        .HasColumnType("bigint");
 010890
 010891                    b.Property<DateTime>("SignOffDate")
 010892                        .HasColumnType("timestamp without time zone");
 010893
 010894                    b.Property<decimal>("TradeRatio")
 010895                        .HasColumnType("numeric");
 010896
 010897                    b.HasKey("Id");
 010898
 010899                    b.HasIndex("BuyerId");
 010900
 010901                    b.HasIndex("CreatedByUserId");
 010902
 010903                    b.HasIndex("DocumentNumber");
 010904
 010905                    b.HasIndex("ModifiedByUserId");
 010906
 010907                    b.HasIndex("RecStateId");
 010908
 010909                    b.HasIndex("SellerId");
 010910
 010911                    b.ToTable("SupplyContract");
 010912                });
 10913
 010914            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", b =>
 010915                {
 010916                    b.Property<long>("Id")
 010917                        .ValueGeneratedOnAdd()
 010918                        .HasColumnType("bigint")
 010919                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010920                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010921
 010922                    b.Property<string>("Code")
 010923                        .HasColumnType("text");
 010924
 010925                    b.Property<long?>("CreatedByUserId")
 010926                        .HasColumnType("bigint");
 010927
 010928                    b.Property<DateTime>("CreationDateTime")
 010929                        .HasColumnType("timestamp without time zone");
 010930
 010931                    b.Property<string>("Description")
 010932                        .HasColumnType("text");
 010933
 010934                    b.Property<Guid>("GUID")
 010935                        .ValueGeneratedOnAdd()
 010936                        .HasColumnType("uuid");
 010937
 010938                    b.Property<bool>("IsDeleted")
 010939                        .HasColumnType("boolean");
 010940
 010941                    b.Property<DateTime?>("ModificationDateTime")
 010942                        .HasColumnType("timestamp without time zone");
 010943
 010944                    b.Property<long?>("ModifiedByUserId")
 010945                        .HasColumnType("bigint");
 010946
 010947                    b.Property<string>("Name")
 010948                        .HasColumnType("text");
 010949
 010950                    b.Property<long?>("RecStateId")
 010951                        .HasColumnType("bigint");
 010952
 010953                    b.HasKey("Id");
 010954
 010955                    b.HasIndex("CreatedByUserId");
 010956
 010957                    b.HasIndex("ModifiedByUserId");
 010958
 010959                    b.HasIndex("RecStateId");
 010960
 010961                    b.ToTable("TaxSystems");
 010962
 010963                    b.HasData(
 010964                        new
 010965                        {
 010966                            Id = 1L,
 010967                            Code = "УСН",
 010968                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010969                            Description = "Упрощенка",
 010970                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010971                            IsDeleted = false,
 010972                            Name = "Упрощенная система налогообложения"
 010973                        },
 010974                        new
 010975                        {
 010976                            Id = 2L,
 010977                            Code = "ЕНВД",
 010978                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010979                            Description = "Вмененка",
 010980                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010981                            IsDeleted = false,
 010982                            Name = "Единый налог на вмененные доходы"
 010983                        },
 010984                        new
 010985                        {
 010986                            Id = 3L,
 010987                            Code = "ES",
 010988                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010989                            Description = "Единый сельскохозяйственный налог",
 010990                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010991                            IsDeleted = false,
 010992                            Name = "ЕСХН"
 010993                        },
 010994                        new
 010995                        {
 010996                            Id = 4L,
 010997                            Code = "ОСН",
 010998                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010999                            Description = "Стандартная",
 011000                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011001                            IsDeleted = false,
 011002                            Name = "Основная система налогообложения"
 011003                        });
 011004                });
 11005
 011006            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", b =>
 011007                {
 011008                    b.Property<long>("Id")
 011009                        .ValueGeneratedOnAdd()
 011010                        .HasColumnType("bigint")
 011011                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011012                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011013
 011014                    b.Property<string>("Code")
 011015                        .IsRequired()
 011016                        .HasColumnType("text");
 011017
 011018                    b.Property<long?>("CreatedByUserId")
 011019                        .HasColumnType("bigint");
 011020
 011021                    b.Property<DateTime>("CreationDateTime")
 011022                        .HasColumnType("timestamp without time zone");
 011023
 011024                    b.Property<string>("Description")
 011025                        .HasColumnType("text");
 011026
 011027                    b.Property<Guid>("GUID")
 011028                        .ValueGeneratedOnAdd()
 011029                        .HasColumnType("uuid");
 011030
 011031                    b.Property<bool>("IsDeleted")
 011032                        .HasColumnType("boolean");
 011033
 011034                    b.Property<DateTime?>("ModificationDateTime")
 011035                        .HasColumnType("timestamp without time zone");
 011036
 011037                    b.Property<long?>("ModifiedByUserId")
 011038                        .HasColumnType("bigint");
 011039
 011040                    b.Property<string>("Name")
 011041                        .IsRequired()
 011042                        .HasColumnType("text");
 011043
 011044                    b.Property<long?>("RecStateId")
 011045                        .HasColumnType("bigint");
 011046
 011047                    b.Property<string>("StrCode")
 011048                        .HasColumnType("text");
 011049
 011050                    b.HasKey("Id");
 011051
 011052                    b.HasIndex("CreatedByUserId");
 011053
 011054                    b.HasIndex("ModifiedByUserId");
 011055
 011056                    b.HasIndex("RecStateId");
 011057
 011058                    b.ToTable("UnitsKind");
 011059
 011060                    b.HasData(
 011061                        new
 011062                        {
 011063                            Id = 1L,
 011064                            Code = "1",
 011065                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011066                            Description = "",
 011067                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011068                            IsDeleted = false,
 011069                            Name = "Неизвестно",
 011070                            StrCode = "Unknown"
 011071                        },
 011072                        new
 011073                        {
 011074                            Id = 2L,
 011075                            Code = "166",
 011076                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011077                            Description = "Килограмм",
 011078                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011079                            IsDeleted = false,
 011080                            Name = "КГ",
 011081                            StrCode = "Kg"
 011082                        },
 011083                        new
 011084                        {
 011085                            Id = 3L,
 011086                            Code = "112",
 011087                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011088                            Description = "Литр",
 011089                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011090                            IsDeleted = false,
 011091                            Name = "Л",
 011092                            StrCode = "Litre"
 011093                        },
 011094                        new
 011095                        {
 011096                            Id = 4L,
 011097                            Code = "6",
 011098                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011099                            Description = "Метр",
 011100                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011101                            IsDeleted = false,
 011102                            Name = "М",
 011103                            StrCode = "Meter"
 011104                        },
 011105                        new
 011106                        {
 011107                            Id = 5L,
 011108                            Code = "796",
 011109                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011110                            Description = "Штука (1 единица товара)",
 011111                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011112                            IsDeleted = false,
 011113                            Name = "ШТ",
 011114                            StrCode = "Item"
 011115                        },
 011116                        new
 011117                        {
 011118                            Id = 6L,
 011119                            Code = "55",
 011120                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011121                            Description = "Квадратный метр",
 011122                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011123                            IsDeleted = false,
 011124                            Name = "М2",
 011125                            StrCode = "SquareMetre"
 011126                        },
 011127                        new
 011128                        {
 011129                            Id = 7L,
 011130                            Code = "113",
 011131                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011132                            Description = "Кубический метр",
 011133                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011134                            IsDeleted = false,
 011135                            Name = "М3",
 011136                            StrCode = "CubicMetre"
 011137                        });
 011138                });
 11139
 011140            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", b =>
 011141                {
 011142                    b.Property<long>("Id")
 011143                        .ValueGeneratedOnAdd()
 011144                        .HasColumnType("bigint")
 011145                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011146
 011147                    b.Property<long?>("CreatedByUserId")
 011148                        .HasColumnType("bigint");
 011149
 011150                    b.Property<DateTime>("CreationDateTime")
 011151                        .HasColumnType("timestamp without time zone");
 011152
 011153                    b.Property<Guid>("GUID")
 011154                        .ValueGeneratedOnAdd()
 011155                        .HasColumnType("uuid");
 011156
 011157                    b.Property<bool>("IsDeleted")
 011158                        .HasColumnType("boolean");
 011159
 011160                    b.Property<DateTime?>("ModificationDateTime")
 011161                        .HasColumnType("timestamp without time zone");
 011162
 011163                    b.Property<long?>("ModifiedByUserId")
 011164                        .HasColumnType("bigint");
 011165
 011166                    b.Property<long?>("RecStateId")
 011167                        .HasColumnType("bigint");
 011168
 011169                    b.Property<byte[]>("ResultFile")
 011170                        .HasColumnType("bytea");
 011171
 011172                    b.Property<byte[]>("SourceFile")
 011173                        .HasColumnType("bytea");
 011174
 011175                    b.Property<string>("SourceFileName")
 011176                        .HasColumnType("text");
 011177
 011178                    b.Property<int>("SourceRecordCount")
 011179                        .HasColumnType("integer");
 011180
 011181                    b.Property<int>("Status")
 011182                        .HasColumnType("integer");
 011183
 011184                    b.Property<int>("UploadedRecordCount")
 011185                        .HasColumnType("integer");
 011186
 011187                    b.HasKey("Id");
 011188
 011189                    b.HasIndex("CreatedByUserId");
 011190
 011191                    b.HasIndex("ModifiedByUserId");
 011192
 011193                    b.HasIndex("RecStateId");
 011194
 011195                    b.ToTable("Uploads");
 011196                });
 11197
 011198            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UploadItem", b =>
 011199                {
 011200                    b.Property<long>("Id")
 011201                        .ValueGeneratedOnAdd()
 011202                        .HasColumnType("bigint")
 011203                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011204
 011205                    b.Property<long?>("CreatedByUserId")
 011206                        .HasColumnType("bigint");
 011207
 011208                    b.Property<DateTime>("CreationDateTime")
 011209                        .HasColumnType("timestamp without time zone");
 011210
 011211                    b.Property<long>("EndityId")
 011212                        .HasColumnType("bigint");
 011213
 011214                    b.Property<string>("EntityName")
 011215                        .IsRequired()
 011216                        .HasColumnType("text");
 011217
 011218                    b.Property<Guid>("GUID")
 011219                        .ValueGeneratedOnAdd()
 011220                        .HasColumnType("uuid");
 011221
 011222                    b.Property<bool>("IsDeleted")
 011223                        .HasColumnType("boolean");
 011224
 011225                    b.Property<DateTime?>("ModificationDateTime")
 011226                        .HasColumnType("timestamp without time zone");
 011227
 011228                    b.Property<long?>("ModifiedByUserId")
 011229                        .HasColumnType("bigint");
 011230
 011231                    b.Property<long?>("RecStateId")
 011232                        .HasColumnType("bigint");
 011233
 011234                    b.Property<long>("UploadId")
 011235                        .HasColumnType("bigint");
 011236
 011237                    b.HasKey("Id");
 011238
 011239                    b.HasIndex("CreatedByUserId");
 011240
 011241                    b.HasIndex("ModifiedByUserId");
 011242
 011243                    b.HasIndex("RecStateId");
 011244
 011245                    b.HasIndex("UploadId");
 011246
 011247                    b.ToTable("UploadItems");
 011248                });
 11249
 011250            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", b =>
 011251                {
 011252                    b.Property<long>("Id")
 011253                        .ValueGeneratedOnAdd()
 011254                        .HasColumnType("bigint")
 011255                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011256
 011257                    b.Property<long?>("ContragentId")
 011258                        .HasColumnType("bigint");
 011259
 011260                    b.Property<long?>("CreatedByUserId")
 011261                        .HasColumnType("bigint");
 011262
 011263                    b.Property<DateTime>("CreationDateTime")
 011264                        .HasColumnType("timestamp without time zone");
 011265
 011266                    b.Property<string>("Email")
 011267                        .HasColumnType("text");
 011268
 011269                    b.Property<Guid>("ExternalKey")
 011270                        .ValueGeneratedOnAdd()
 011271                        .HasColumnType("uuid");
 011272
 011273                    b.Property<string>("FirstName")
 011274                        .IsRequired()
 011275                        .HasColumnType("text");
 011276
 011277                    b.Property<Guid>("GUID")
 011278                        .ValueGeneratedOnAdd()
 011279                        .HasColumnType("uuid");
 011280
 011281                    b.Property<bool>("IsBlocked")
 011282                        .HasColumnType("boolean");
 011283
 011284                    b.Property<bool>("IsContactPerson")
 011285                        .HasColumnType("boolean");
 011286
 011287                    b.Property<bool>("IsDeleted")
 011288                        .HasColumnType("boolean");
 011289
 011290                    b.Property<string>("LastName")
 011291                        .IsRequired()
 011292                        .HasColumnType("text");
 011293
 011294                    b.Property<string>("Login")
 011295                        .HasColumnType("text");
 011296
 011297                    b.Property<string>("MiddleName")
 011298                        .HasColumnType("text");
 011299
 011300                    b.Property<DateTime?>("ModificationDateTime")
 011301                        .HasColumnType("timestamp without time zone");
 011302
 011303                    b.Property<long?>("ModifiedByUserId")
 011304                        .HasColumnType("bigint");
 011305
 011306                    b.Property<string>("Phone")
 011307                        .HasColumnType("text");
 011308
 011309                    b.Property<string>("Position")
 011310                        .HasColumnType("text");
 011311
 011312                    b.Property<long?>("RecStateId")
 011313                        .HasColumnType("bigint");
 011314
 011315                    b.HasKey("Id");
 011316
 011317                    b.HasIndex("ContragentId");
 011318
 011319                    b.HasIndex("CreatedByUserId");
 011320
 011321                    b.HasIndex("Email");
 011322
 011323                    b.HasIndex("LastName");
 011324
 011325                    b.HasIndex("Login");
 011326
 011327                    b.HasIndex("ModifiedByUserId");
 011328
 011329                    b.HasIndex("Phone");
 011330
 011331                    b.HasIndex("RecStateId");
 011332
 011333                    b.ToTable("Users");
 011334
 011335                    b.HasData(
 011336                        new
 011337                        {
 011338                            Id = -1L,
 011339                            ContragentId = -2L,
 011340                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011341                            Email = "EmbeddedSvetaAdmin@dd.com",
 011342                            ExternalKey = new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"),
 011343                            FirstName = "ServiceUser",
 011344                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011345                            IsBlocked = false,
 011346                            IsContactPerson = true,
 011347                            IsDeleted = false,
 011348                            LastName = "1",
 011349                            Login = "svetaAdmin",
 011350                            MiddleName = "1",
 011351                            Phone = "1",
 011352                            Position = "1"
 011353                        },
 011354                        new
 011355                        {
 011356                            Id = -2L,
 011357                            ContragentId = -1L,
 011358                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011359                            Email = "EmbeddedAnonymUser@dd.com",
 011360                            ExternalKey = new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"),
 011361                            FirstName = "Demo User",
 011362                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011363                            IsBlocked = false,
 011364                            IsContactPerson = true,
 011365                            IsDeleted = false,
 011366                            LastName = "1",
 011367                            Login = "Demo User",
 011368                            MiddleName = "Demo User",
 011369                            Phone = "1",
 011370                            Position = "Демо УЗ, не удалять"
 011371                        });
 011372                });
 11373
 011374            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserDepartment", b =>
 011375                {
 011376                    b.Property<long>("UserId")
 011377                        .HasColumnType("bigint");
 011378
 011379                    b.Property<long>("DepartmentId")
 011380                        .HasColumnType("bigint");
 011381
 011382                    b.Property<long?>("CreatedByUserId")
 011383                        .HasColumnType("bigint");
 011384
 011385                    b.Property<DateTime>("CreationDateTime")
 011386                        .HasColumnType("timestamp without time zone");
 011387
 011388                    b.Property<Guid>("GUID")
 011389                        .ValueGeneratedOnAdd()
 011390                        .HasColumnType("uuid");
 011391
 011392                    b.HasKey("UserId", "DepartmentId");
 011393
 011394                    b.HasIndex("DepartmentId");
 011395
 011396                    b.ToTable("UserDepartment");
 011397
 011398                    b.HasData(
 011399                        new
 011400                        {
 011401                            UserId = -2L,
 011402                            DepartmentId = -1L,
 011403                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011404                            GUID = new Guid("00000000-0000-0000-0000-000000000000")
 011405                        });
 011406                });
 11407
 011408            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserRole", b =>
 011409                {
 011410                    b.Property<long>("UserId")
 011411                        .HasColumnType("bigint");
 011412
 011413                    b.Property<long>("RoleId")
 011414                        .HasColumnType("bigint");
 011415
 011416                    b.Property<long?>("CreatedByUserId")
 011417                        .HasColumnType("bigint");
 011418
 011419                    b.Property<DateTime>("CreationDateTime")
 011420                        .HasColumnType("timestamp without time zone");
 011421
 011422                    b.Property<Guid>("GUID")
 011423                        .ValueGeneratedOnAdd()
 011424                        .HasColumnType("uuid");
 011425
 011426                    b.HasKey("UserId", "RoleId");
 011427
 011428                    b.HasIndex("RoleId");
 011429
 011430                    b.ToTable("UserRole");
 011431                });
 11432
 011433            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", b =>
 011434                {
 011435                    b.Property<long>("Id")
 011436                        .ValueGeneratedOnAdd()
 011437                        .HasColumnType("bigint")
 011438                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011439                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011440
 011441                    b.Property<string>("Code")
 011442                        .IsRequired()
 011443                        .HasColumnType("text");
 011444
 011445                    b.Property<long?>("CreatedByUserId")
 011446                        .HasColumnType("bigint");
 011447
 011448                    b.Property<DateTime>("CreationDateTime")
 011449                        .HasColumnType("timestamp without time zone");
 011450
 011451                    b.Property<string>("Description")
 011452                        .HasColumnType("text");
 011453
 011454                    b.Property<Guid>("GUID")
 011455                        .ValueGeneratedOnAdd()
 011456                        .HasColumnType("uuid");
 011457
 011458                    b.Property<bool>("IsDeleted")
 011459                        .HasColumnType("boolean");
 011460
 011461                    b.Property<DateTime?>("ModificationDateTime")
 011462                        .HasColumnType("timestamp without time zone");
 011463
 011464                    b.Property<long?>("ModifiedByUserId")
 011465                        .HasColumnType("bigint");
 011466
 011467                    b.Property<string>("Name")
 011468                        .IsRequired()
 011469                        .HasColumnType("text");
 011470
 011471                    b.Property<long?>("RecStateId")
 011472                        .HasColumnType("bigint");
 011473
 011474                    b.Property<string>("StrCode")
 011475                        .HasColumnType("text");
 011476
 011477                    b.Property<int>("Value")
 011478                        .HasColumnType("integer");
 011479
 011480                    b.HasKey("Id");
 011481
 011482                    b.HasIndex("CreatedByUserId");
 011483
 011484                    b.HasIndex("ModifiedByUserId");
 011485
 011486                    b.HasIndex("RecStateId");
 011487
 011488                    b.ToTable("VatsKind");
 011489
 011490                    b.HasData(
 011491                        new
 011492                        {
 011493                            Id = 1L,
 011494                            Code = "1",
 011495                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011496                            Description = "",
 011497                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011498                            IsDeleted = false,
 011499                            Name = "0%",
 011500                            StrCode = "Zero",
 011501                            Value = 1
 011502                        },
 011503                        new
 011504                        {
 011505                            Id = 2L,
 011506                            Code = "10",
 011507                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011508                            Description = "",
 011509                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011510                            IsDeleted = false,
 011511                            Name = "10%",
 011512                            StrCode = "Ten",
 011513                            Value = 10
 011514                        },
 011515                        new
 011516                        {
 011517                            Id = 3L,
 011518                            Code = "20",
 011519                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011520                            Description = "",
 011521                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011522                            IsDeleted = false,
 011523                            Name = "20%",
 011524                            StrCode = "Twenty",
 011525                            Value = 20
 011526                        },
 011527                        new
 011528                        {
 011529                            Id = 4L,
 011530                            Code = "0",
 011531                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011532                            Description = "",
 011533                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011534                            IsDeleted = false,
 011535                            Name = "Без НДС",
 011536                            StrCode = "None",
 011537                            Value = 1
 011538                        });
 011539                });
 11540
 011541            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransaction", b =>
 011542                {
 011543                    b.Property<long>("Id")
 011544                        .ValueGeneratedOnAdd()
 011545                        .HasColumnType("bigint")
 011546                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011547
 011548                    b.Property<long?>("CreatedByUserId")
 011549                        .HasColumnType("bigint");
 011550
 011551                    b.Property<DateTime>("CreationDateTime")
 011552                        .HasColumnType("timestamp without time zone");
 011553
 011554                    b.Property<Guid>("GUID")
 011555                        .ValueGeneratedOnAdd()
 011556                        .HasColumnType("uuid");
 011557
 011558                    b.Property<bool>("IsDeleted")
 011559                        .HasColumnType("boolean");
 011560
 011561                    b.Property<DateTime?>("ModificationDateTime")
 011562                        .HasColumnType("timestamp without time zone");
 011563
 011564                    b.Property<long?>("ModifiedByUserId")
 011565                        .HasColumnType("bigint");
 011566
 011567                    b.Property<long?>("MovementId")
 011568                        .HasColumnType("bigint");
 011569
 011570                    b.Property<long?>("RecStateId")
 011571                        .HasColumnType("bigint");
 011572
 011573                    b.Property<string>("SmsId")
 011574                        .HasColumnType("text");
 011575
 011576                    b.Property<long?>("StatusId")
 011577                        .HasColumnType("bigint");
 011578
 011579                    b.Property<decimal>("Sum")
 011580                        .HasColumnType("numeric");
 011581
 011582                    b.Property<string>("TransactionId")
 011583                        .HasColumnType("text");
 011584
 011585                    b.HasKey("Id");
 011586
 011587                    b.HasIndex("CreatedByUserId");
 011588
 011589                    b.HasIndex("ModifiedByUserId");
 011590
 011591                    b.HasIndex("MovementId");
 011592
 011593                    b.HasIndex("RecStateId");
 011594
 011595                    b.HasIndex("StatusId");
 011596
 011597                    b.ToTable("WalletTransactions");
 011598                });
 11599
 011600            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", b =>
 011601                {
 011602                    b.Property<long>("Id")
 011603                        .ValueGeneratedOnAdd()
 011604                        .HasColumnType("bigint")
 011605                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011606                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011607
 011608                    b.Property<string>("Code")
 011609                        .IsRequired()
 011610                        .HasColumnType("text");
 011611
 011612                    b.Property<long?>("CreatedByUserId")
 011613                        .HasColumnType("bigint");
 011614
 011615                    b.Property<DateTime>("CreationDateTime")
 011616                        .HasColumnType("timestamp without time zone");
 011617
 011618                    b.Property<string>("Description")
 011619                        .HasColumnType("text");
 011620
 011621                    b.Property<Guid>("GUID")
 011622                        .ValueGeneratedOnAdd()
 011623                        .HasColumnType("uuid");
 011624
 011625                    b.Property<bool>("IsDeleted")
 011626                        .HasColumnType("boolean");
 011627
 011628                    b.Property<DateTime?>("ModificationDateTime")
 011629                        .HasColumnType("timestamp without time zone");
 011630
 011631                    b.Property<long?>("ModifiedByUserId")
 011632                        .HasColumnType("bigint");
 011633
 011634                    b.Property<string>("Name")
 011635                        .IsRequired()
 011636                        .HasColumnType("text");
 011637
 011638                    b.Property<long?>("RecStateId")
 011639                        .HasColumnType("bigint");
 011640
 011641                    b.HasKey("Id");
 011642
 011643                    b.HasIndex("CreatedByUserId");
 011644
 011645                    b.HasIndex("ModifiedByUserId");
 011646
 011647                    b.HasIndex("RecStateId");
 011648
 011649                    b.ToTable("WalletTransactionStatuses");
 011650
 011651                    b.HasData(
 011652                        new
 011653                        {
 011654                            Id = 1L,
 011655                            Code = "WaitSms",
 011656                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011657                            Description = "",
 011658                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011659                            IsDeleted = false,
 011660                            Name = "Ожидание смс подтверждения"
 011661                        },
 011662                        new
 011663                        {
 011664                            Id = 2L,
 011665                            Code = "Hold",
 011666                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011667                            Description = "",
 011668                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011669                            IsDeleted = false,
 011670                            Name = "Холдировано"
 011671                        },
 011672                        new
 011673                        {
 011674                            Id = 3L,
 011675                            Code = "Confirm",
 011676                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011677                            Description = "",
 011678                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011679                            IsDeleted = false,
 011680                            Name = "Подтверждено"
 011681                        },
 011682                        new
 011683                        {
 011684                            Id = 4L,
 011685                            Code = "Cancel",
 011686                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011687                            Description = "",
 011688                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011689                            IsDeleted = false,
 011690                            Name = "Отменено"
 011691                        });
 011692                });
 11693
 011694            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WorkSchedule", b =>
 011695                {
 011696                    b.Property<long>("Id")
 011697                        .ValueGeneratedOnAdd()
 011698                        .HasColumnType("bigint")
 011699                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011700                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011701
 011702                    b.Property<DateTime>("BeginTime")
 011703                        .HasColumnType("timestamp without time zone");
 011704
 011705                    b.Property<long?>("CreatedByUserId")
 011706                        .HasColumnType("bigint");
 011707
 011708                    b.Property<DateTime>("CreationDateTime")
 011709                        .HasColumnType("timestamp without time zone");
 011710
 011711                    b.Property<DateTime>("EndTime")
 011712                        .HasColumnType("timestamp without time zone");
 011713
 011714                    b.Property<Guid>("GUID")
 011715                        .ValueGeneratedOnAdd()
 011716                        .HasColumnType("uuid");
 011717
 011718                    b.Property<bool>("IsDeleted")
 011719                        .HasColumnType("boolean");
 011720
 011721                    b.Property<bool>("IsWorkingDay")
 011722                        .HasColumnType("boolean");
 011723
 011724                    b.Property<DateTime?>("ModificationDateTime")
 011725                        .HasColumnType("timestamp without time zone");
 011726
 011727                    b.Property<long?>("ModifiedByUserId")
 011728                        .HasColumnType("bigint");
 011729
 011730                    b.Property<long?>("RecStateId")
 011731                        .HasColumnType("bigint");
 011732
 011733                    b.HasKey("Id");
 011734
 011735                    b.HasIndex("CreatedByUserId");
 011736
 011737                    b.HasIndex("ModifiedByUserId");
 011738
 011739                    b.HasIndex("RecStateId");
 011740
 011741                    b.ToTable("WorkScheduler");
 011742
 011743                    b.HasData(
 011744                        new
 011745                        {
 011746                            Id = 1L,
 011747                            BeginTime = new DateTime(2020, 5, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011748                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011749                            EndTime = new DateTime(2020, 5, 18, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011750                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011751                            IsDeleted = false,
 011752                            IsWorkingDay = true
 011753                        },
 011754                        new
 011755                        {
 011756                            Id = 2L,
 011757                            BeginTime = new DateTime(2020, 5, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011758                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011759                            EndTime = new DateTime(2020, 5, 19, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011760                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011761                            IsDeleted = false,
 011762                            IsWorkingDay = true
 011763                        },
 011764                        new
 011765                        {
 011766                            Id = 3L,
 011767                            BeginTime = new DateTime(2020, 5, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011768                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011769                            EndTime = new DateTime(2020, 5, 20, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011770                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011771                            IsDeleted = false,
 011772                            IsWorkingDay = true
 011773                        },
 011774                        new
 011775                        {
 011776                            Id = 4L,
 011777                            BeginTime = new DateTime(2020, 5, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011778                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011779                            EndTime = new DateTime(2020, 5, 21, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011780                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011781                            IsDeleted = false,
 011782                            IsWorkingDay = true
 011783                        },
 011784                        new
 011785                        {
 011786                            Id = 5L,
 011787                            BeginTime = new DateTime(2020, 5, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011788                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011789                            EndTime = new DateTime(2020, 5, 22, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011790                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011791                            IsDeleted = false,
 011792                            IsWorkingDay = true
 011793                        },
 011794                        new
 011795                        {
 011796                            Id = 6L,
 011797                            BeginTime = new DateTime(2020, 5, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011798                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011799                            EndTime = new DateTime(2020, 5, 23, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011800                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011801                            IsDeleted = false,
 011802                            IsWorkingDay = false
 011803                        },
 011804                        new
 011805                        {
 011806                            Id = 7L,
 011807                            BeginTime = new DateTime(2020, 5, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011808                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011809                            EndTime = new DateTime(2020, 5, 24, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011810                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011811                            IsDeleted = false,
 011812                            IsWorkingDay = false
 011813                        },
 011814                        new
 011815                        {
 011816                            Id = 8L,
 011817                            BeginTime = new DateTime(2020, 5, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011818                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011819                            EndTime = new DateTime(2020, 5, 25, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011820                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011821                            IsDeleted = false,
 011822                            IsWorkingDay = true
 011823                        },
 011824                        new
 011825                        {
 011826                            Id = 9L,
 011827                            BeginTime = new DateTime(2020, 5, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011828                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011829                            EndTime = new DateTime(2020, 5, 26, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011830                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011831                            IsDeleted = false,
 011832                            IsWorkingDay = true
 011833                        },
 011834                        new
 011835                        {
 011836                            Id = 10L,
 011837                            BeginTime = new DateTime(2020, 5, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011838                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011839                            EndTime = new DateTime(2020, 5, 27, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011840                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011841                            IsDeleted = false,
 011842                            IsWorkingDay = true
 011843                        },
 011844                        new
 011845                        {
 011846                            Id = 11L,
 011847                            BeginTime = new DateTime(2020, 5, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011848                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011849                            EndTime = new DateTime(2020, 5, 28, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011850                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011851                            IsDeleted = false,
 011852                            IsWorkingDay = true
 011853                        },
 011854                        new
 011855                        {
 011856                            Id = 12L,
 011857                            BeginTime = new DateTime(2020, 5, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011858                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011859                            EndTime = new DateTime(2020, 5, 29, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011860                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011861                            IsDeleted = false,
 011862                            IsWorkingDay = true
 011863                        },
 011864                        new
 011865                        {
 011866                            Id = 13L,
 011867                            BeginTime = new DateTime(2020, 5, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011868                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011869                            EndTime = new DateTime(2020, 5, 30, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011870                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011871                            IsDeleted = false,
 011872                            IsWorkingDay = false
 011873                        },
 011874                        new
 011875                        {
 011876                            Id = 14L,
 011877                            BeginTime = new DateTime(2020, 5, 31, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011878                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011879                            EndTime = new DateTime(2020, 5, 31, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011880                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011881                            IsDeleted = false,
 011882                            IsWorkingDay = false
 011883                        },
 011884                        new
 011885                        {
 011886                            Id = 15L,
 011887                            BeginTime = new DateTime(2020, 6, 1, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011888                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011889                            EndTime = new DateTime(2020, 6, 1, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011890                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011891                            IsDeleted = false,
 011892                            IsWorkingDay = true
 011893                        },
 011894                        new
 011895                        {
 011896                            Id = 16L,
 011897                            BeginTime = new DateTime(2020, 6, 2, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011898                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011899                            EndTime = new DateTime(2020, 6, 2, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011900                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011901                            IsDeleted = false,
 011902                            IsWorkingDay = true
 011903                        },
 011904                        new
 011905                        {
 011906                            Id = 17L,
 011907                            BeginTime = new DateTime(2020, 6, 3, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011908                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011909                            EndTime = new DateTime(2020, 6, 3, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011910                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011911                            IsDeleted = false,
 011912                            IsWorkingDay = true
 011913                        },
 011914                        new
 011915                        {
 011916                            Id = 18L,
 011917                            BeginTime = new DateTime(2020, 6, 4, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011918                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011919                            EndTime = new DateTime(2020, 6, 4, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011920                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011921                            IsDeleted = false,
 011922                            IsWorkingDay = true
 011923                        },
 011924                        new
 011925                        {
 011926                            Id = 19L,
 011927                            BeginTime = new DateTime(2020, 6, 5, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011928                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011929                            EndTime = new DateTime(2020, 6, 5, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011930                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011931                            IsDeleted = false,
 011932                            IsWorkingDay = true
 011933                        },
 011934                        new
 011935                        {
 011936                            Id = 20L,
 011937                            BeginTime = new DateTime(2020, 6, 6, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011938                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011939                            EndTime = new DateTime(2020, 6, 6, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011940                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011941                            IsDeleted = false,
 011942                            IsWorkingDay = false
 011943                        },
 011944                        new
 011945                        {
 011946                            Id = 21L,
 011947                            BeginTime = new DateTime(2020, 6, 7, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011948                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011949                            EndTime = new DateTime(2020, 6, 7, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011950                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011951                            IsDeleted = false,
 011952                            IsWorkingDay = false
 011953                        },
 011954                        new
 011955                        {
 011956                            Id = 22L,
 011957                            BeginTime = new DateTime(2020, 6, 8, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011958                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011959                            EndTime = new DateTime(2020, 6, 8, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011960                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011961                            IsDeleted = false,
 011962                            IsWorkingDay = true
 011963                        },
 011964                        new
 011965                        {
 011966                            Id = 23L,
 011967                            BeginTime = new DateTime(2020, 6, 9, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011968                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011969                            EndTime = new DateTime(2020, 6, 9, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011970                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011971                            IsDeleted = false,
 011972                            IsWorkingDay = true
 011973                        },
 011974                        new
 011975                        {
 011976                            Id = 24L,
 011977                            BeginTime = new DateTime(2020, 6, 10, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011978                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011979                            EndTime = new DateTime(2020, 6, 10, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011980                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011981                            IsDeleted = false,
 011982                            IsWorkingDay = true
 011983                        },
 011984                        new
 011985                        {
 011986                            Id = 25L,
 011987                            BeginTime = new DateTime(2020, 6, 11, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011988                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011989                            EndTime = new DateTime(2020, 6, 11, 19, 0, 0, 0, DateTimeKind.Unspecified),
 011990                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011991                            IsDeleted = false,
 011992                            IsWorkingDay = true
 011993                        },
 011994                        new
 011995                        {
 011996                            Id = 26L,
 011997                            BeginTime = new DateTime(2020, 6, 12, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011998                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011999                            EndTime = new DateTime(2020, 6, 12, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012000                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012001                            IsDeleted = false,
 012002                            IsWorkingDay = false
 012003                        },
 012004                        new
 012005                        {
 012006                            Id = 27L,
 012007                            BeginTime = new DateTime(2020, 6, 13, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012008                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012009                            EndTime = new DateTime(2020, 6, 13, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012010                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012011                            IsDeleted = false,
 012012                            IsWorkingDay = false
 012013                        },
 012014                        new
 012015                        {
 012016                            Id = 28L,
 012017                            BeginTime = new DateTime(2020, 6, 14, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012018                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012019                            EndTime = new DateTime(2020, 6, 14, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012020                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012021                            IsDeleted = false,
 012022                            IsWorkingDay = false
 012023                        },
 012024                        new
 012025                        {
 012026                            Id = 29L,
 012027                            BeginTime = new DateTime(2020, 6, 15, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012028                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012029                            EndTime = new DateTime(2020, 6, 15, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012030                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012031                            IsDeleted = false,
 012032                            IsWorkingDay = true
 012033                        },
 012034                        new
 012035                        {
 012036                            Id = 30L,
 012037                            BeginTime = new DateTime(2020, 6, 16, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012038                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012039                            EndTime = new DateTime(2020, 6, 16, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012040                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012041                            IsDeleted = false,
 012042                            IsWorkingDay = true
 012043                        },
 012044                        new
 012045                        {
 012046                            Id = 31L,
 012047                            BeginTime = new DateTime(2020, 6, 17, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012048                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012049                            EndTime = new DateTime(2020, 6, 17, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012050                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012051                            IsDeleted = false,
 012052                            IsWorkingDay = true
 012053                        },
 012054                        new
 012055                        {
 012056                            Id = 32L,
 012057                            BeginTime = new DateTime(2020, 6, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012058                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012059                            EndTime = new DateTime(2020, 6, 18, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012060                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012061                            IsDeleted = false,
 012062                            IsWorkingDay = true
 012063                        },
 012064                        new
 012065                        {
 012066                            Id = 33L,
 012067                            BeginTime = new DateTime(2020, 6, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012068                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012069                            EndTime = new DateTime(2020, 6, 19, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012070                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012071                            IsDeleted = false,
 012072                            IsWorkingDay = true
 012073                        },
 012074                        new
 012075                        {
 012076                            Id = 34L,
 012077                            BeginTime = new DateTime(2020, 6, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012078                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012079                            EndTime = new DateTime(2020, 6, 20, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012080                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012081                            IsDeleted = false,
 012082                            IsWorkingDay = false
 012083                        },
 012084                        new
 012085                        {
 012086                            Id = 35L,
 012087                            BeginTime = new DateTime(2020, 6, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012088                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012089                            EndTime = new DateTime(2020, 6, 21, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012090                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012091                            IsDeleted = false,
 012092                            IsWorkingDay = false
 012093                        },
 012094                        new
 012095                        {
 012096                            Id = 36L,
 012097                            BeginTime = new DateTime(2020, 6, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012098                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012099                            EndTime = new DateTime(2020, 6, 22, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012100                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012101                            IsDeleted = false,
 012102                            IsWorkingDay = true
 012103                        },
 012104                        new
 012105                        {
 012106                            Id = 37L,
 012107                            BeginTime = new DateTime(2020, 6, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012108                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012109                            EndTime = new DateTime(2020, 6, 23, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012110                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012111                            IsDeleted = false,
 012112                            IsWorkingDay = true
 012113                        },
 012114                        new
 012115                        {
 012116                            Id = 38L,
 012117                            BeginTime = new DateTime(2020, 6, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012118                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012119                            EndTime = new DateTime(2020, 6, 24, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012120                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012121                            IsDeleted = false,
 012122                            IsWorkingDay = true
 012123                        },
 012124                        new
 012125                        {
 012126                            Id = 39L,
 012127                            BeginTime = new DateTime(2020, 6, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012128                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012129                            EndTime = new DateTime(2020, 6, 25, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012130                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012131                            IsDeleted = false,
 012132                            IsWorkingDay = true
 012133                        },
 012134                        new
 012135                        {
 012136                            Id = 40L,
 012137                            BeginTime = new DateTime(2020, 6, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012138                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012139                            EndTime = new DateTime(2020, 6, 26, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012140                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012141                            IsDeleted = false,
 012142                            IsWorkingDay = true
 012143                        },
 012144                        new
 012145                        {
 012146                            Id = 41L,
 012147                            BeginTime = new DateTime(2020, 6, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012148                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012149                            EndTime = new DateTime(2020, 6, 27, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012150                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012151                            IsDeleted = false,
 012152                            IsWorkingDay = false
 012153                        },
 012154                        new
 012155                        {
 012156                            Id = 42L,
 012157                            BeginTime = new DateTime(2020, 6, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012158                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012159                            EndTime = new DateTime(2020, 6, 28, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012160                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012161                            IsDeleted = false,
 012162                            IsWorkingDay = false
 012163                        },
 012164                        new
 012165                        {
 012166                            Id = 43L,
 012167                            BeginTime = new DateTime(2020, 6, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012168                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012169                            EndTime = new DateTime(2020, 6, 29, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012170                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012171                            IsDeleted = false,
 012172                            IsWorkingDay = true
 012173                        },
 012174                        new
 012175                        {
 012176                            Id = 44L,
 012177                            BeginTime = new DateTime(2020, 6, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012178                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012179                            EndTime = new DateTime(2020, 6, 30, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012180                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012181                            IsDeleted = false,
 012182                            IsWorkingDay = true
 012183                        },
 012184                        new
 012185                        {
 012186                            Id = 45L,
 012187                            BeginTime = new DateTime(2020, 7, 1, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012188                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012189                            EndTime = new DateTime(2020, 7, 1, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012190                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012191                            IsDeleted = false,
 012192                            IsWorkingDay = true
 012193                        },
 012194                        new
 012195                        {
 012196                            Id = 46L,
 012197                            BeginTime = new DateTime(2020, 7, 2, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012198                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012199                            EndTime = new DateTime(2020, 7, 2, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012200                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012201                            IsDeleted = false,
 012202                            IsWorkingDay = true
 012203                        },
 012204                        new
 012205                        {
 012206                            Id = 47L,
 012207                            BeginTime = new DateTime(2020, 7, 3, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012208                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012209                            EndTime = new DateTime(2020, 7, 3, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012210                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012211                            IsDeleted = false,
 012212                            IsWorkingDay = true
 012213                        },
 012214                        new
 012215                        {
 012216                            Id = 48L,
 012217                            BeginTime = new DateTime(2020, 7, 4, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012218                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012219                            EndTime = new DateTime(2020, 7, 4, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012220                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012221                            IsDeleted = false,
 012222                            IsWorkingDay = false
 012223                        },
 012224                        new
 012225                        {
 012226                            Id = 49L,
 012227                            BeginTime = new DateTime(2020, 7, 5, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012228                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012229                            EndTime = new DateTime(2020, 7, 5, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012230                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012231                            IsDeleted = false,
 012232                            IsWorkingDay = false
 012233                        },
 012234                        new
 012235                        {
 012236                            Id = 50L,
 012237                            BeginTime = new DateTime(2020, 7, 6, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012238                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012239                            EndTime = new DateTime(2020, 7, 6, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012240                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012241                            IsDeleted = false,
 012242                            IsWorkingDay = true
 012243                        },
 012244                        new
 012245                        {
 012246                            Id = 51L,
 012247                            BeginTime = new DateTime(2020, 7, 7, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012248                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012249                            EndTime = new DateTime(2020, 7, 7, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012250                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012251                            IsDeleted = false,
 012252                            IsWorkingDay = true
 012253                        },
 012254                        new
 012255                        {
 012256                            Id = 52L,
 012257                            BeginTime = new DateTime(2020, 7, 8, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012258                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012259                            EndTime = new DateTime(2020, 7, 8, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012260                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012261                            IsDeleted = false,
 012262                            IsWorkingDay = true
 012263                        },
 012264                        new
 012265                        {
 012266                            Id = 53L,
 012267                            BeginTime = new DateTime(2020, 7, 9, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012268                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012269                            EndTime = new DateTime(2020, 7, 9, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012270                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012271                            IsDeleted = false,
 012272                            IsWorkingDay = true
 012273                        },
 012274                        new
 012275                        {
 012276                            Id = 54L,
 012277                            BeginTime = new DateTime(2020, 7, 10, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012278                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012279                            EndTime = new DateTime(2020, 7, 10, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012280                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012281                            IsDeleted = false,
 012282                            IsWorkingDay = true
 012283                        },
 012284                        new
 012285                        {
 012286                            Id = 55L,
 012287                            BeginTime = new DateTime(2020, 7, 11, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012288                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012289                            EndTime = new DateTime(2020, 7, 11, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012290                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012291                            IsDeleted = false,
 012292                            IsWorkingDay = false
 012293                        },
 012294                        new
 012295                        {
 012296                            Id = 56L,
 012297                            BeginTime = new DateTime(2020, 7, 12, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012298                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012299                            EndTime = new DateTime(2020, 7, 12, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012300                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012301                            IsDeleted = false,
 012302                            IsWorkingDay = false
 012303                        },
 012304                        new
 012305                        {
 012306                            Id = 57L,
 012307                            BeginTime = new DateTime(2020, 7, 13, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012308                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012309                            EndTime = new DateTime(2020, 7, 13, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012310                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012311                            IsDeleted = false,
 012312                            IsWorkingDay = true
 012313                        },
 012314                        new
 012315                        {
 012316                            Id = 58L,
 012317                            BeginTime = new DateTime(2020, 7, 14, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012318                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012319                            EndTime = new DateTime(2020, 7, 14, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012320                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012321                            IsDeleted = false,
 012322                            IsWorkingDay = true
 012323                        },
 012324                        new
 012325                        {
 012326                            Id = 59L,
 012327                            BeginTime = new DateTime(2020, 7, 15, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012328                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012329                            EndTime = new DateTime(2020, 7, 15, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012330                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012331                            IsDeleted = false,
 012332                            IsWorkingDay = true
 012333                        },
 012334                        new
 012335                        {
 012336                            Id = 60L,
 012337                            BeginTime = new DateTime(2020, 7, 16, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012338                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012339                            EndTime = new DateTime(2020, 7, 16, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012340                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012341                            IsDeleted = false,
 012342                            IsWorkingDay = true
 012343                        },
 012344                        new
 012345                        {
 012346                            Id = 61L,
 012347                            BeginTime = new DateTime(2020, 7, 17, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012348                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012349                            EndTime = new DateTime(2020, 7, 17, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012350                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012351                            IsDeleted = false,
 012352                            IsWorkingDay = true
 012353                        },
 012354                        new
 012355                        {
 012356                            Id = 62L,
 012357                            BeginTime = new DateTime(2020, 7, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012358                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012359                            EndTime = new DateTime(2020, 7, 18, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012360                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012361                            IsDeleted = false,
 012362                            IsWorkingDay = false
 012363                        },
 012364                        new
 012365                        {
 012366                            Id = 63L,
 012367                            BeginTime = new DateTime(2020, 7, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012368                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012369                            EndTime = new DateTime(2020, 7, 19, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012370                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012371                            IsDeleted = false,
 012372                            IsWorkingDay = false
 012373                        },
 012374                        new
 012375                        {
 012376                            Id = 64L,
 012377                            BeginTime = new DateTime(2020, 7, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012378                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012379                            EndTime = new DateTime(2020, 7, 20, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012380                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012381                            IsDeleted = false,
 012382                            IsWorkingDay = true
 012383                        },
 012384                        new
 012385                        {
 012386                            Id = 65L,
 012387                            BeginTime = new DateTime(2020, 7, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012388                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012389                            EndTime = new DateTime(2020, 7, 21, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012390                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012391                            IsDeleted = false,
 012392                            IsWorkingDay = true
 012393                        },
 012394                        new
 012395                        {
 012396                            Id = 66L,
 012397                            BeginTime = new DateTime(2020, 7, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012398                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012399                            EndTime = new DateTime(2020, 7, 22, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012400                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012401                            IsDeleted = false,
 012402                            IsWorkingDay = true
 012403                        },
 012404                        new
 012405                        {
 012406                            Id = 67L,
 012407                            BeginTime = new DateTime(2020, 7, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012408                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012409                            EndTime = new DateTime(2020, 7, 23, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012410                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012411                            IsDeleted = false,
 012412                            IsWorkingDay = true
 012413                        },
 012414                        new
 012415                        {
 012416                            Id = 68L,
 012417                            BeginTime = new DateTime(2020, 7, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012418                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012419                            EndTime = new DateTime(2020, 7, 24, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012420                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012421                            IsDeleted = false,
 012422                            IsWorkingDay = true
 012423                        },
 012424                        new
 012425                        {
 012426                            Id = 69L,
 012427                            BeginTime = new DateTime(2020, 7, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012428                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012429                            EndTime = new DateTime(2020, 7, 25, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012430                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012431                            IsDeleted = false,
 012432                            IsWorkingDay = false
 012433                        },
 012434                        new
 012435                        {
 012436                            Id = 70L,
 012437                            BeginTime = new DateTime(2020, 7, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012438                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012439                            EndTime = new DateTime(2020, 7, 26, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012440                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012441                            IsDeleted = false,
 012442                            IsWorkingDay = false
 012443                        },
 012444                        new
 012445                        {
 012446                            Id = 71L,
 012447                            BeginTime = new DateTime(2020, 7, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012448                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012449                            EndTime = new DateTime(2020, 7, 27, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012450                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012451                            IsDeleted = false,
 012452                            IsWorkingDay = true
 012453                        },
 012454                        new
 012455                        {
 012456                            Id = 72L,
 012457                            BeginTime = new DateTime(2020, 7, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012458                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012459                            EndTime = new DateTime(2020, 7, 28, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012460                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012461                            IsDeleted = false,
 012462                            IsWorkingDay = true
 012463                        },
 012464                        new
 012465                        {
 012466                            Id = 73L,
 012467                            BeginTime = new DateTime(2020, 7, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012468                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012469                            EndTime = new DateTime(2020, 7, 29, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012470                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012471                            IsDeleted = false,
 012472                            IsWorkingDay = true
 012473                        },
 012474                        new
 012475                        {
 012476                            Id = 74L,
 012477                            BeginTime = new DateTime(2020, 7, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012478                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012479                            EndTime = new DateTime(2020, 7, 30, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012480                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012481                            IsDeleted = false,
 012482                            IsWorkingDay = true
 012483                        },
 012484                        new
 012485                        {
 012486                            Id = 75L,
 012487                            BeginTime = new DateTime(2020, 7, 31, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012488                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012489                            EndTime = new DateTime(2020, 7, 31, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012490                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012491                            IsDeleted = false,
 012492                            IsWorkingDay = true
 012493                        },
 012494                        new
 012495                        {
 012496                            Id = 76L,
 012497                            BeginTime = new DateTime(2020, 8, 1, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012498                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012499                            EndTime = new DateTime(2020, 8, 1, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012500                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012501                            IsDeleted = false,
 012502                            IsWorkingDay = false
 012503                        },
 012504                        new
 012505                        {
 012506                            Id = 77L,
 012507                            BeginTime = new DateTime(2020, 8, 2, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012508                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012509                            EndTime = new DateTime(2020, 8, 2, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012510                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012511                            IsDeleted = false,
 012512                            IsWorkingDay = false
 012513                        },
 012514                        new
 012515                        {
 012516                            Id = 78L,
 012517                            BeginTime = new DateTime(2020, 8, 3, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012518                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012519                            EndTime = new DateTime(2020, 8, 3, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012520                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012521                            IsDeleted = false,
 012522                            IsWorkingDay = true
 012523                        },
 012524                        new
 012525                        {
 012526                            Id = 79L,
 012527                            BeginTime = new DateTime(2020, 8, 4, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012528                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012529                            EndTime = new DateTime(2020, 8, 4, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012530                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012531                            IsDeleted = false,
 012532                            IsWorkingDay = true
 012533                        },
 012534                        new
 012535                        {
 012536                            Id = 80L,
 012537                            BeginTime = new DateTime(2020, 8, 5, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012538                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012539                            EndTime = new DateTime(2020, 8, 5, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012540                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012541                            IsDeleted = false,
 012542                            IsWorkingDay = true
 012543                        },
 012544                        new
 012545                        {
 012546                            Id = 81L,
 012547                            BeginTime = new DateTime(2020, 8, 6, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012548                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012549                            EndTime = new DateTime(2020, 8, 6, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012550                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012551                            IsDeleted = false,
 012552                            IsWorkingDay = true
 012553                        },
 012554                        new
 012555                        {
 012556                            Id = 82L,
 012557                            BeginTime = new DateTime(2020, 8, 7, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012558                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012559                            EndTime = new DateTime(2020, 8, 7, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012560                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012561                            IsDeleted = false,
 012562                            IsWorkingDay = true
 012563                        },
 012564                        new
 012565                        {
 012566                            Id = 83L,
 012567                            BeginTime = new DateTime(2020, 8, 8, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012568                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012569                            EndTime = new DateTime(2020, 8, 8, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012570                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012571                            IsDeleted = false,
 012572                            IsWorkingDay = false
 012573                        },
 012574                        new
 012575                        {
 012576                            Id = 84L,
 012577                            BeginTime = new DateTime(2020, 8, 9, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012578                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012579                            EndTime = new DateTime(2020, 8, 9, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012580                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012581                            IsDeleted = false,
 012582                            IsWorkingDay = false
 012583                        },
 012584                        new
 012585                        {
 012586                            Id = 85L,
 012587                            BeginTime = new DateTime(2020, 8, 10, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012588                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012589                            EndTime = new DateTime(2020, 8, 10, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012590                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012591                            IsDeleted = false,
 012592                            IsWorkingDay = true
 012593                        },
 012594                        new
 012595                        {
 012596                            Id = 86L,
 012597                            BeginTime = new DateTime(2020, 8, 11, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012598                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012599                            EndTime = new DateTime(2020, 8, 11, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012600                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012601                            IsDeleted = false,
 012602                            IsWorkingDay = true
 012603                        },
 012604                        new
 012605                        {
 012606                            Id = 87L,
 012607                            BeginTime = new DateTime(2020, 8, 12, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012608                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012609                            EndTime = new DateTime(2020, 8, 12, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012610                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012611                            IsDeleted = false,
 012612                            IsWorkingDay = true
 012613                        },
 012614                        new
 012615                        {
 012616                            Id = 88L,
 012617                            BeginTime = new DateTime(2020, 8, 13, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012618                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012619                            EndTime = new DateTime(2020, 8, 13, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012620                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012621                            IsDeleted = false,
 012622                            IsWorkingDay = true
 012623                        },
 012624                        new
 012625                        {
 012626                            Id = 89L,
 012627                            BeginTime = new DateTime(2020, 8, 14, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012628                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012629                            EndTime = new DateTime(2020, 8, 14, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012630                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012631                            IsDeleted = false,
 012632                            IsWorkingDay = true
 012633                        },
 012634                        new
 012635                        {
 012636                            Id = 90L,
 012637                            BeginTime = new DateTime(2020, 8, 15, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012638                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012639                            EndTime = new DateTime(2020, 8, 15, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012640                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012641                            IsDeleted = false,
 012642                            IsWorkingDay = false
 012643                        },
 012644                        new
 012645                        {
 012646                            Id = 91L,
 012647                            BeginTime = new DateTime(2020, 8, 16, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012648                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012649                            EndTime = new DateTime(2020, 8, 16, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012650                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012651                            IsDeleted = false,
 012652                            IsWorkingDay = false
 012653                        },
 012654                        new
 012655                        {
 012656                            Id = 92L,
 012657                            BeginTime = new DateTime(2020, 8, 17, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012658                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012659                            EndTime = new DateTime(2020, 8, 17, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012660                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012661                            IsDeleted = false,
 012662                            IsWorkingDay = true
 012663                        },
 012664                        new
 012665                        {
 012666                            Id = 93L,
 012667                            BeginTime = new DateTime(2020, 8, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012668                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012669                            EndTime = new DateTime(2020, 8, 18, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012670                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012671                            IsDeleted = false,
 012672                            IsWorkingDay = true
 012673                        },
 012674                        new
 012675                        {
 012676                            Id = 94L,
 012677                            BeginTime = new DateTime(2020, 8, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012678                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012679                            EndTime = new DateTime(2020, 8, 19, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012680                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012681                            IsDeleted = false,
 012682                            IsWorkingDay = true
 012683                        },
 012684                        new
 012685                        {
 012686                            Id = 95L,
 012687                            BeginTime = new DateTime(2020, 8, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012688                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012689                            EndTime = new DateTime(2020, 8, 20, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012690                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012691                            IsDeleted = false,
 012692                            IsWorkingDay = true
 012693                        },
 012694                        new
 012695                        {
 012696                            Id = 96L,
 012697                            BeginTime = new DateTime(2020, 8, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012698                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012699                            EndTime = new DateTime(2020, 8, 21, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012700                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012701                            IsDeleted = false,
 012702                            IsWorkingDay = true
 012703                        },
 012704                        new
 012705                        {
 012706                            Id = 97L,
 012707                            BeginTime = new DateTime(2020, 8, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012708                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012709                            EndTime = new DateTime(2020, 8, 22, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012710                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012711                            IsDeleted = false,
 012712                            IsWorkingDay = false
 012713                        },
 012714                        new
 012715                        {
 012716                            Id = 98L,
 012717                            BeginTime = new DateTime(2020, 8, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012718                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012719                            EndTime = new DateTime(2020, 8, 23, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012720                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012721                            IsDeleted = false,
 012722                            IsWorkingDay = false
 012723                        },
 012724                        new
 012725                        {
 012726                            Id = 99L,
 012727                            BeginTime = new DateTime(2020, 8, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012728                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012729                            EndTime = new DateTime(2020, 8, 24, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012730                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012731                            IsDeleted = false,
 012732                            IsWorkingDay = true
 012733                        },
 012734                        new
 012735                        {
 012736                            Id = 100L,
 012737                            BeginTime = new DateTime(2020, 8, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012738                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012739                            EndTime = new DateTime(2020, 8, 25, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012740                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012741                            IsDeleted = false,
 012742                            IsWorkingDay = true
 012743                        },
 012744                        new
 012745                        {
 012746                            Id = 101L,
 012747                            BeginTime = new DateTime(2020, 8, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012748                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012749                            EndTime = new DateTime(2020, 8, 26, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012750                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012751                            IsDeleted = false,
 012752                            IsWorkingDay = true
 012753                        },
 012754                        new
 012755                        {
 012756                            Id = 102L,
 012757                            BeginTime = new DateTime(2020, 8, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012758                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012759                            EndTime = new DateTime(2020, 8, 27, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012760                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012761                            IsDeleted = false,
 012762                            IsWorkingDay = true
 012763                        },
 012764                        new
 012765                        {
 012766                            Id = 103L,
 012767                            BeginTime = new DateTime(2020, 8, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012768                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012769                            EndTime = new DateTime(2020, 8, 28, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012770                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012771                            IsDeleted = false,
 012772                            IsWorkingDay = true
 012773                        },
 012774                        new
 012775                        {
 012776                            Id = 104L,
 012777                            BeginTime = new DateTime(2020, 8, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012778                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012779                            EndTime = new DateTime(2020, 8, 29, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012780                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012781                            IsDeleted = false,
 012782                            IsWorkingDay = false
 012783                        },
 012784                        new
 012785                        {
 012786                            Id = 105L,
 012787                            BeginTime = new DateTime(2020, 8, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012788                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012789                            EndTime = new DateTime(2020, 8, 30, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012790                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012791                            IsDeleted = false,
 012792                            IsWorkingDay = false
 012793                        },
 012794                        new
 012795                        {
 012796                            Id = 106L,
 012797                            BeginTime = new DateTime(2020, 8, 31, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012798                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012799                            EndTime = new DateTime(2020, 8, 31, 19, 0, 0, 0, DateTimeKind.Unspecified),
 012800                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012801                            IsDeleted = false,
 012802                            IsWorkingDay = true
 012803                        });
 012804                });
 12805
 012806            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", b =>
 012807                {
 012808                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012809                        .WithMany()
 012810                        .HasForeignKey("CreatedByUserId");
 012811
 012812                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012813                        .WithMany()
 012814                        .HasForeignKey("ModifiedByUserId");
 012815
 012816                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012817                        .WithMany()
 012818                        .HasForeignKey("RecStateId");
 012819                });
 12820
 012821            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BankAccount", b =>
 012822                {
 012823                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 012824                        .WithMany("BankAccounts")
 012825                        .HasForeignKey("ContragentId");
 012826
 012827                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012828                        .WithMany()
 012829                        .HasForeignKey("CreatedByUserId");
 012830
 012831                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012832                        .WithMany()
 012833                        .HasForeignKey("ModifiedByUserId");
 012834
 012835                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012836                        .WithMany()
 012837                        .HasForeignKey("RecStateId");
 012838                });
 12839
 012840            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BarCode", b =>
 012841                {
 012842                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012843                        .WithMany()
 012844                        .HasForeignKey("CreatedByUserId");
 012845
 012846                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", null)
 012847                        .WithMany("Barcodes")
 012848                        .HasForeignKey("GoodId");
 012849
 012850                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012851                        .WithMany()
 012852                        .HasForeignKey("ModifiedByUserId");
 012853
 012854                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012855                        .WithMany()
 012856                        .HasForeignKey("RecStateId");
 012857                });
 12858
 012859            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", b =>
 012860                {
 012861                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012862                        .WithMany()
 012863                        .HasForeignKey("CreatedByUserId");
 012864
 012865                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012866                        .WithMany()
 012867                        .HasForeignKey("ModifiedByUserId");
 012868
 012869                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "Parent")
 012870                        .WithMany()
 012871                        .HasForeignKey("ParentId");
 012872
 012873                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012874                        .WithMany()
 012875                        .HasForeignKey("RecStateId");
 012876                });
 12877
 012878            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", b =>
 012879                {
 012880                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012881                        .WithMany()
 012882                        .HasForeignKey("CreatedByUserId");
 012883
 012884                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012885                        .WithMany()
 012886                        .HasForeignKey("ModifiedByUserId");
 012887
 012888                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Parent")
 012889                        .WithMany()
 012890                        .HasForeignKey("ParentId");
 012891
 012892                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012893                        .WithMany()
 012894                        .HasForeignKey("RecStateId");
 012895                });
 12896
 012897            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Cluster", b =>
 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.User", "ModifiedByUser")
 012904                        .WithMany()
 012905                        .HasForeignKey("ModifiedByUserId");
 012906
 012907                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012908                        .WithMany()
 012909                        .HasForeignKey("RecStateId");
 012910
 012911                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Warehouse")
 012912                        .WithMany()
 012913                        .HasForeignKey("WarehouseId")
 012914                        .OnDelete(DeleteBehavior.Cascade)
 012915                        .IsRequired();
 012916                });
 12917
 012918            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Configuration", b =>
 012919                {
 012920                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012921                        .WithMany()
 012922                        .HasForeignKey("CreatedByUserId");
 012923
 012924                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012925                        .WithMany()
 012926                        .HasForeignKey("ModifiedByUserId");
 012927
 012928                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012929                        .WithMany()
 012930                        .HasForeignKey("RecStateId");
 012931
 012932                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.ConfigurationsDataType", "ValueType")
 012933                        .WithMany()
 012934                        .HasForeignKey("ValueTypeId")
 012935                        .OnDelete(DeleteBehavior.Cascade)
 012936                        .IsRequired();
 012937                });
 12938
 012939            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ConfigurationsDataType", b =>
 012940                {
 012941                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012942                        .WithMany()
 012943                        .HasForeignKey("CreatedByUserId");
 012944
 012945                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012946                        .WithMany()
 012947                        .HasForeignKey("ModifiedByUserId");
 012948
 012949                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012950                        .WithMany()
 012951                        .HasForeignKey("RecStateId");
 012952                });
 12953
 012954            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", b =>
 012955                {
 012956                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.ContragentsKind", "ContragentsKind")
 012957                        .WithMany()
 012958                        .HasForeignKey("ContragentsKindId")
 012959                        .OnDelete(DeleteBehavior.Cascade)
 012960                        .IsRequired();
 012961
 012962                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012963                        .WithMany()
 012964                        .HasForeignKey("CreatedByUserId");
 012965
 012966                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "JuridicAddress")
 012967                        .WithMany()
 012968                        .HasForeignKey("JuridicAddressId")
 012969                        .OnDelete(DeleteBehavior.Cascade)
 012970                        .IsRequired();
 012971
 012972                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012973                        .WithMany()
 012974                        .HasForeignKey("ModifiedByUserId");
 012975
 012976                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "Owner")
 012977                        .WithMany()
 012978                        .HasForeignKey("OwnerId")
 012979                        .OnDelete(DeleteBehavior.Cascade)
 012980                        .IsRequired();
 012981
 012982                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "PhysicAddress")
 012983                        .WithMany()
 012984                        .HasForeignKey("PhysicAddressId")
 012985                        .OnDelete(DeleteBehavior.Cascade)
 012986                        .IsRequired();
 012987
 012988                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012989                        .WithMany()
 012990                        .HasForeignKey("RecStateId");
 012991
 012992                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", "TaxSystem")
 012993                        .WithMany()
 012994                        .HasForeignKey("TaxSystemId");
 012995                });
 12996
 012997            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ContragentsKind", b =>
 012998                {
 012999                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013000                        .WithMany()
 013001                        .HasForeignKey("CreatedByUserId");
 013002
 013003                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013004                        .WithMany()
 013005                        .HasForeignKey("ModifiedByUserId");
 013006
 013007                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013008                        .WithMany()
 013009                        .HasForeignKey("RecStateId");
 013010                });
 13011
 013012            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ControlAccess", b =>
 013013                {
 013014                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", "Action")
 013015                        .WithMany()
 013016                        .HasForeignKey("ActionId")
 013017                        .OnDelete(DeleteBehavior.Cascade)
 013018                        .IsRequired();
 013019
 013020                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013021                        .WithMany()
 013022                        .HasForeignKey("CreatedByUserId");
 013023
 013024                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013025                        .WithMany()
 013026                        .HasForeignKey("ModifiedByUserId");
 013027
 013028                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013029                        .WithMany()
 013030                        .HasForeignKey("RecStateId");
 013031
 013032                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Role")
 013033                        .WithMany("ControlsAccess")
 013034                        .HasForeignKey("RoleId")
 013035                        .OnDelete(DeleteBehavior.Cascade)
 013036                        .IsRequired();
 013037                });
 13038
 013039            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", b =>
 013040                {
 013041                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013042                        .WithMany()
 013043                        .HasForeignKey("CreatedByUserId");
 013044
 013045                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013046                        .WithMany()
 013047                        .HasForeignKey("ModifiedByUserId");
 013048
 013049                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013050                        .WithMany()
 013051                        .HasForeignKey("RecStateId");
 013052                });
 13053
 013054            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Currency", b =>
 013055                {
 013056                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013057                        .WithMany()
 013058                        .HasForeignKey("CreatedByUserId");
 013059
 013060                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013061                        .WithMany()
 013062                        .HasForeignKey("ModifiedByUserId");
 013063
 013064                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013065                        .WithMany()
 013066                        .HasForeignKey("RecStateId");
 013067                });
 13068
 013069            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", b =>
 013070                {
 013071                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "ActualAddress")
 013072                        .WithMany()
 013073                        .HasForeignKey("ActualAddressId");
 013074
 013075                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Cluster", "Cluster")
 013076                        .WithMany("Departments")
 013077                        .HasForeignKey("ClusterId");
 013078
 013079                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 013080                        .WithMany("Departments")
 013081                        .HasForeignKey("ContragentId")
 013082                        .OnDelete(DeleteBehavior.Cascade)
 013083                        .IsRequired();
 013084
 013085                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013086                        .WithMany()
 013087                        .HasForeignKey("CreatedByUserId");
 013088
 013089                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", "Kind")
 013090                        .WithMany()
 013091                        .HasForeignKey("KindId");
 013092
 013093                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013094                        .WithMany()
 013095                        .HasForeignKey("ModifiedByUserId");
 013096
 013097                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013098                        .WithMany()
 013099                        .HasForeignKey("RecStateId");
 013100
 013101                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsStatus", "Status")
 013102                        .WithMany()
 013103                        .HasForeignKey("StatusId");
 013104                });
 13105
 013106            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentCategoryRatio", b =>
 013107                {
 013108                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Category")
 013109                        .WithMany("DepartmentCategoryRatios")
 013110                        .HasForeignKey("CategoryId")
 013111                        .OnDelete(DeleteBehavior.Cascade)
 013112                        .IsRequired();
 013113
 013114                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013115                        .WithMany()
 013116                        .HasForeignKey("CreatedByUserId");
 013117
 013118                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 013119                        .WithMany()
 013120                        .HasForeignKey("DepartmentId")
 013121                        .OnDelete(DeleteBehavior.Cascade)
 013122                        .IsRequired();
 013123
 013124                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013125                        .WithMany()
 013126                        .HasForeignKey("ModifiedByUserId");
 013127
 013128                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013129                        .WithMany()
 013130                        .HasForeignKey("RecStateId");
 013131                });
 13132
 013133            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentGoodSetting", b =>
 013134                {
 013135                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013136                        .WithMany()
 013137                        .HasForeignKey("CreatedByUserId");
 013138
 013139                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 013140                        .WithMany()
 013141                        .HasForeignKey("DepartmentId")
 013142                        .OnDelete(DeleteBehavior.Cascade)
 013143                        .IsRequired();
 013144
 013145                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013146                        .WithMany("DepartmentGoodSettings")
 013147                        .HasForeignKey("GoodId")
 013148                        .OnDelete(DeleteBehavior.Cascade)
 013149                        .IsRequired();
 013150
 013151                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013152                        .WithMany()
 013153                        .HasForeignKey("ModifiedByUserId");
 013154
 013155                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013156                        .WithMany()
 013157                        .HasForeignKey("RecStateId");
 013158                });
 13159
 013160            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", b =>
 013161                {
 013162                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013163                        .WithMany()
 013164                        .HasForeignKey("CreatedByUserId");
 013165
 013166                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013167                        .WithMany()
 013168                        .HasForeignKey("ModifiedByUserId");
 013169
 013170                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013171                        .WithMany()
 013172                        .HasForeignKey("RecStateId");
 013173                });
 13174
 013175            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsStatus", b =>
 013176                {
 013177                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013178                        .WithMany()
 013179                        .HasForeignKey("CreatedByUserId");
 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                });
 13189
 013190            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DiscountColor", b =>
 013191                {
 013192                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013193                        .WithMany()
 013194                        .HasForeignKey("CreatedByUserId");
 013195
 013196                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013197                        .WithMany()
 013198                        .HasForeignKey("ModifiedByUserId");
 013199
 013200                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013201                        .WithMany()
 013202                        .HasForeignKey("RecStateId");
 013203                });
 13204
 013205            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DownloadGoodsImagesTask", b =>
 013206                {
 013207                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013208                        .WithMany()
 013209                        .HasForeignKey("CreatedByUserId");
 013210
 013211                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013212                        .WithMany()
 013213                        .HasForeignKey("ModifiedByUserId");
 013214
 013215                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013216                        .WithMany()
 013217                        .HasForeignKey("RecStateId");
 013218                });
 13219
 013220            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Email", b =>
 013221                {
 013222                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013223                        .WithMany()
 013224                        .HasForeignKey("CreatedByUserId");
 013225
 013226                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013227                        .WithMany()
 013228                        .HasForeignKey("ModifiedByUserId");
 013229
 013230                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013231                        .WithMany()
 013232                        .HasForeignKey("RecStateId");
 013233                });
 13234
 013235            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Event", b =>
 013236                {
 013237                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013238                        .WithMany()
 013239                        .HasForeignKey("CreatedByUserId");
 013240
 013241                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", "EventsKind")
 013242                        .WithMany()
 013243                        .HasForeignKey("EventsKindId")
 013244                        .OnDelete(DeleteBehavior.Cascade)
 013245                        .IsRequired();
 013246
 013247                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013248                        .WithMany()
 013249                        .HasForeignKey("ModifiedByUserId");
 013250
 013251                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013252                        .WithMany()
 013253                        .HasForeignKey("RecStateId");
 013254
 013255                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013256                        .WithMany()
 013257                        .HasForeignKey("UserId")
 013258                        .OnDelete(DeleteBehavior.Cascade)
 013259                        .IsRequired();
 013260                });
 13261
 013262            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", b =>
 013263                {
 013264                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013265                        .WithMany()
 013266                        .HasForeignKey("CreatedByUserId");
 013267
 013268                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013269                        .WithMany()
 013270                        .HasForeignKey("ModifiedByUserId");
 013271
 013272                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013273                        .WithMany()
 013274                        .HasForeignKey("RecStateId");
 013275                });
 13276
 013277            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ExchangeToken", b =>
 013278                {
 013279                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013280                        .WithMany()
 013281                        .HasForeignKey("CreatedByUserId");
 013282
 013283                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 013284                        .WithMany()
 013285                        .HasForeignKey("DepartmentId")
 013286                        .OnDelete(DeleteBehavior.Cascade)
 013287                        .IsRequired();
 013288
 013289                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013290                        .WithMany()
 013291                        .HasForeignKey("ModifiedByUserId");
 013292
 013293                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013294                        .WithMany()
 013295                        .HasForeignKey("RecStateId");
 013296                });
 13297
 013298            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", b =>
 013299                {
 013300                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013301                        .WithMany()
 013302                        .HasForeignKey("CreatedByUserId");
 013303
 013304                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013305                        .WithMany()
 013306                        .HasForeignKey("ModifiedByUserId");
 013307
 013308                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013309                        .WithMany()
 013310                        .HasForeignKey("RecStateId");
 013311                });
 13312
 013313            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", b =>
 013314                {
 013315                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "Brand")
 013316                        .WithMany()
 013317                        .HasForeignKey("BrandId");
 013318
 013319                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Category")
 013320                        .WithMany()
 013321                        .HasForeignKey("CategoryId")
 013322                        .OnDelete(DeleteBehavior.Cascade)
 013323                        .IsRequired();
 013324
 013325                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", "Country")
 013326                        .WithMany()
 013327                        .HasForeignKey("CountryId");
 013328
 013329                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013330                        .WithMany()
 013331                        .HasForeignKey("CreatedByUserId");
 013332
 013333                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.BarCode", "MainBarcode")
 013334                        .WithMany()
 013335                        .HasForeignKey("MainBarcodeId")
 013336                        .OnDelete(DeleteBehavior.Cascade)
 013337                        .IsRequired();
 013338
 013339                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Manufacturer")
 013340                        .WithMany()
 013341                        .HasForeignKey("ManufacturerId");
 013342
 013343                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013344                        .WithMany()
 013345                        .HasForeignKey("ModifiedByUserId");
 013346
 013347                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013348                        .WithMany()
 013349                        .HasForeignKey("RecStateId");
 013350
 013351                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "SubBrand")
 013352                        .WithMany()
 013353                        .HasForeignKey("SubBrandId");
 013354
 013355                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Supplier")
 013356                        .WithMany()
 013357                        .HasForeignKey("SupplierId");
 013358
 013359                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", "UnitsKind")
 013360                        .WithMany()
 013361                        .HasForeignKey("UnitsKindId")
 013362                        .OnDelete(DeleteBehavior.Cascade)
 013363                        .IsRequired();
 013364
 013365                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", "VatsKind")
 013366                        .WithMany()
 013367                        .HasForeignKey("VatsKindId")
 013368                        .OnDelete(DeleteBehavior.Cascade)
 013369                        .IsRequired();
 013370                });
 13371
 013372            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Incident", 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.IncidentsKind", "Kind")
 013379                        .WithMany()
 013380                        .HasForeignKey("KindId");
 013381
 013382                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013383                        .WithMany()
 013384                        .HasForeignKey("ModifiedByUserId");
 013385
 013386                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013387                        .WithMany()
 013388                        .HasForeignKey("RecStateId");
 013389
 013390                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", "Status")
 013391                        .WithMany()
 013392                        .HasForeignKey("StatusId");
 013393
 013394                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013395                        .WithMany()
 013396                        .HasForeignKey("UserId")
 013397                        .OnDelete(DeleteBehavior.Cascade)
 013398                        .IsRequired();
 013399                });
 13400
 013401            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsKind", b =>
 013402                {
 013403                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013404                        .WithMany()
 013405                        .HasForeignKey("CreatedByUserId");
 013406
 013407                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013408                        .WithMany()
 013409                        .HasForeignKey("ModifiedByUserId");
 013410
 013411                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013412                        .WithMany()
 013413                        .HasForeignKey("RecStateId");
 013414                });
 13415
 013416            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", b =>
 013417                {
 013418                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013419                        .WithMany()
 013420                        .HasForeignKey("CreatedByUserId");
 013421
 013422                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013423                        .WithMany()
 013424                        .HasForeignKey("ModifiedByUserId");
 013425
 013426                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013427                        .WithMany()
 013428                        .HasForeignKey("RecStateId");
 013429                });
 13430
 013431            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.JobLogger", b =>
 013432                {
 013433                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013434                        .WithMany()
 013435                        .HasForeignKey("CreatedByUserId");
 013436
 013437                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013438                        .WithMany()
 013439                        .HasForeignKey("ModifiedByUserId");
 013440
 013441                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013442                        .WithMany()
 013443                        .HasForeignKey("RecStateId");
 013444                });
 13445
 013446            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MethodRole", b =>
 013447                {
 013448                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", "Methods")
 013449                        .WithMany("MethodsRoles")
 013450                        .HasForeignKey("MethodId")
 013451                        .OnDelete(DeleteBehavior.Cascade)
 013452                        .IsRequired();
 013453
 013454                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Roles")
 013455                        .WithMany("MethodsRoles")
 013456                        .HasForeignKey("RoleId")
 013457                        .OnDelete(DeleteBehavior.Cascade)
 013458                        .IsRequired();
 013459                });
 13460
 013461            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", b =>
 013462                {
 013463                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013464                        .WithMany()
 013465                        .HasForeignKey("CreatedByUserId");
 013466
 013467                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013468                        .WithMany()
 013469                        .HasForeignKey("ModifiedByUserId");
 013470
 013471                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013472                        .WithMany()
 013473                        .HasForeignKey("RecStateId");
 013474                });
 13475
 013476            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", b =>
 013477                {
 013478                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Children")
 013479                        .WithMany()
 013480                        .HasForeignKey("ChildrenId");
 013481
 013482                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013483                        .WithMany()
 013484                        .HasForeignKey("CreatedByUserId");
 013485
 013486                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Customer")
 013487                        .WithMany()
 013488                        .HasForeignKey("CustomerId")
 013489                        .OnDelete(DeleteBehavior.Cascade)
 013490                        .IsRequired();
 013491
 013492                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013493                        .WithMany()
 013494                        .HasForeignKey("ModifiedByUserId");
 013495
 013496                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "MovementStatus")
 013497                        .WithMany()
 013498                        .HasForeignKey("MovementStatusId")
 013499                        .OnDelete(DeleteBehavior.Cascade)
 013500                        .IsRequired();
 013501
 013502                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", "MovementType")
 013503                        .WithMany()
 013504                        .HasForeignKey("MovementTypeId")
 013505                        .OnDelete(DeleteBehavior.Cascade)
 013506                        .IsRequired();
 013507
 013508                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Parent")
 013509                        .WithMany()
 013510                        .HasForeignKey("ParentId");
 013511
 013512                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013513                        .WithMany()
 013514                        .HasForeignKey("RecStateId");
 013515
 013516                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Receiver")
 013517                        .WithMany()
 013518                        .HasForeignKey("ReceiverId")
 013519                        .OnDelete(DeleteBehavior.Cascade)
 013520                        .IsRequired();
 013521
 013522                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Sender")
 013523                        .WithMany()
 013524                        .HasForeignKey("SenderId");
 013525
 013526                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Supplier")
 013527                        .WithMany()
 013528                        .HasForeignKey("SupplierId")
 013529                        .OnDelete(DeleteBehavior.Cascade)
 013530                        .IsRequired();
 013531                });
 13532
 013533            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementItem", 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.Good", "Good")
 013540                        .WithMany()
 013541                        .HasForeignKey("GoodId")
 013542                        .OnDelete(DeleteBehavior.Cascade)
 013543                        .IsRequired();
 013544
 013545                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013546                        .WithMany()
 013547                        .HasForeignKey("ModifiedByUserId");
 013548
 013549                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", null)
 013550                        .WithMany("Items")
 013551                        .HasForeignKey("MovementId");
 013552
 013553                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013554                        .WithMany()
 013555                        .HasForeignKey("RecStateId");
 013556                });
 13557
 013558            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementNote", b =>
 013559                {
 013560                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013561                        .WithMany()
 013562                        .HasForeignKey("CreatedByUserId");
 013563
 013564                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013565                        .WithMany()
 013566                        .HasForeignKey("ModifiedByUserId");
 013567
 013568                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", null)
 013569                        .WithMany("Notes")
 013570                        .HasForeignKey("MovementId");
 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.MovementRouteAction", 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.MovementStatusOwner", "OwnerAction")
 013588                        .WithMany()
 013589                        .HasForeignKey("OwnerActionId")
 013590                        .OnDelete(DeleteBehavior.Cascade)
 013591                        .IsRequired();
 013592
 013593                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013594                        .WithMany()
 013595                        .HasForeignKey("RecStateId");
 013596
 013597                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "Status")
 013598                        .WithMany()
 013599                        .HasForeignKey("StatusId")
 013600                        .OnDelete(DeleteBehavior.Cascade)
 013601                        .IsRequired();
 013602                });
 13603
 013604            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", b =>
 013605                {
 013606                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013607                        .WithMany()
 013608                        .HasForeignKey("CreatedByUserId");
 013609
 013610                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013611                        .WithMany()
 013612                        .HasForeignKey("ModifiedByUserId");
 013613
 013614                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", "MovementType")
 013615                        .WithMany()
 013616                        .HasForeignKey("MovementTypeId")
 013617                        .OnDelete(DeleteBehavior.Cascade)
 013618                        .IsRequired();
 013619
 013620                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013621                        .WithMany()
 013622                        .HasForeignKey("RecStateId");
 013623
 013624                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", "StatusOwner")
 013625                        .WithMany()
 013626                        .HasForeignKey("StatusOwnerId")
 013627                        .OnDelete(DeleteBehavior.Cascade)
 013628                        .IsRequired();
 013629                });
 13630
 013631            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusJournal", b =>
 013632                {
 013633                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013634                        .WithMany()
 013635                        .HasForeignKey("CreatedByUserId");
 013636
 013637                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013638                        .WithMany()
 013639                        .HasForeignKey("ModifiedByUserId");
 013640
 013641                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Movement")
 013642                        .WithMany()
 013643                        .HasForeignKey("MovementId");
 013644
 013645                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013646                        .WithMany()
 013647                        .HasForeignKey("RecStateId");
 013648
 013649                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusCurrent")
 013650                        .WithMany()
 013651                        .HasForeignKey("StatusCurrentId");
 013652                });
 13653
 013654            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", b =>
 013655                {
 013656                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013657                        .WithMany()
 013658                        .HasForeignKey("CreatedByUserId");
 013659
 013660                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013661                        .WithMany()
 013662                        .HasForeignKey("ModifiedByUserId");
 013663
 013664                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013665                        .WithMany()
 013666                        .HasForeignKey("RecStateId");
 013667                });
 13668
 013669            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusRoute", b =>
 013670                {
 013671                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013672                        .WithMany()
 013673                        .HasForeignKey("CreatedByUserId");
 013674
 013675                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013676                        .WithMany()
 013677                        .HasForeignKey("ModifiedByUserId");
 013678
 013679                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013680                        .WithMany()
 013681                        .HasForeignKey("RecStateId");
 013682
 013683                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusCurrent")
 013684                        .WithMany()
 013685                        .HasForeignKey("StatusCurrentId")
 013686                        .OnDelete(DeleteBehavior.Cascade)
 013687                        .IsRequired();
 013688
 013689                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusNext")
 013690                        .WithMany()
 013691                        .HasForeignKey("StatusNextId")
 013692                        .OnDelete(DeleteBehavior.Cascade)
 013693                        .IsRequired();
 013694                });
 13695
 013696            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", b =>
 013697                {
 013698                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013699                        .WithMany()
 013700                        .HasForeignKey("CreatedByUserId");
 013701
 013702                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013703                        .WithMany()
 013704                        .HasForeignKey("ModifiedByUserId");
 013705
 013706                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013707                        .WithMany()
 013708                        .HasForeignKey("RecStateId");
 013709                });
 13710
 013711            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", b =>
 013712                {
 013713                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013714                        .WithMany()
 013715                        .HasForeignKey("CreatedByUserId");
 013716
 013717                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013718                        .WithMany()
 013719                        .HasForeignKey("ModifiedByUserId");
 013720
 013721                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", "NotificationsType")
 013722                        .WithMany()
 013723                        .HasForeignKey("NotificationsTypeId")
 013724                        .OnDelete(DeleteBehavior.Cascade)
 013725                        .IsRequired();
 013726
 013727                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013728                        .WithMany()
 013729                        .HasForeignKey("RecStateId");
 013730
 013731                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013732                        .WithMany()
 013733                        .HasForeignKey("UserId")
 013734                        .OnDelete(DeleteBehavior.Cascade)
 013735                        .IsRequired();
 013736                });
 13737
 013738            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationUsers", b =>
 013739                {
 013740                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013741                        .WithMany()
 013742                        .HasForeignKey("CreatedByUserId");
 013743
 013744                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013745                        .WithMany()
 013746                        .HasForeignKey("ModifiedByUserId");
 013747
 013748                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", "Notification")
 013749                        .WithMany()
 013750                        .HasForeignKey("NotificationId")
 013751                        .OnDelete(DeleteBehavior.Cascade)
 013752                        .IsRequired();
 013753
 013754                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", "NotificationsStat
 013755                        .WithMany()
 013756                        .HasForeignKey("NotificationsStatusId");
 013757
 013758                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013759                        .WithMany()
 013760                        .HasForeignKey("RecStateId");
 013761
 013762                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013763                        .WithMany()
 013764                        .HasForeignKey("UserId");
 013765                });
 13766
 013767            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", b =>
 013768                {
 013769                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013770                        .WithMany()
 013771                        .HasForeignKey("CreatedByUserId");
 013772
 013773                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013774                        .WithMany()
 013775                        .HasForeignKey("ModifiedByUserId");
 013776
 013777                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013778                        .WithMany()
 013779                        .HasForeignKey("RecStateId");
 013780                });
 13781
 013782            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", b =>
 013783                {
 013784                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013785                        .WithMany()
 013786                        .HasForeignKey("CreatedByUserId");
 013787
 013788                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013789                        .WithMany()
 013790                        .HasForeignKey("ModifiedByUserId");
 013791
 013792                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013793                        .WithMany()
 013794                        .HasForeignKey("RecStateId");
 013795                });
 13796
 013797            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Photo", b =>
 013798                {
 013799                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013800                        .WithMany()
 013801                        .HasForeignKey("CreatedByUserId");
 013802
 013803                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", null)
 013804                        .WithMany("Photos")
 013805                        .HasForeignKey("GoodId");
 013806
 013807                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013808                        .WithMany()
 013809                        .HasForeignKey("ModifiedByUserId");
 013810
 013811                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013812                        .WithMany()
 013813                        .HasForeignKey("RecStateId");
 013814                });
 13815
 013816            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceCurrent", b =>
 013817                {
 013818                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013819                        .WithMany()
 013820                        .HasForeignKey("CreatedByUserId");
 013821
 013822                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013823                        .WithMany()
 013824                        .HasForeignKey("GoodId")
 013825                        .OnDelete(DeleteBehavior.Cascade)
 013826                        .IsRequired();
 013827
 013828                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013829                        .WithMany()
 013830                        .HasForeignKey("ModifiedByUserId");
 013831
 013832                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013833                        .WithMany()
 013834                        .HasForeignKey("RecStateId");
 013835
 013836                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 013837                        .WithMany()
 013838                        .HasForeignKey("SupplierDepartmentId")
 013839                        .OnDelete(DeleteBehavior.Cascade)
 013840                        .IsRequired();
 013841                });
 13842
 013843            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", b =>
 013844                {
 013845                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013846                        .WithMany()
 013847                        .HasForeignKey("CreatedByUserId");
 013848
 013849                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013850                        .WithMany()
 013851                        .HasForeignKey("ModifiedByUserId");
 013852
 013853                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013854                        .WithMany()
 013855                        .HasForeignKey("RecStateId");
 013856
 013857                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 013858                        .WithMany()
 013859                        .HasForeignKey("SupplierDepartmentId")
 013860                        .OnDelete(DeleteBehavior.Cascade)
 013861                        .IsRequired();
 013862                });
 13863
 013864            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrendDetail", b =>
 013865                {
 013866                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013867                        .WithMany()
 013868                        .HasForeignKey("CreatedByUserId");
 013869
 013870                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013871                        .WithMany("Prices")
 013872                        .HasForeignKey("GoodId")
 013873                        .OnDelete(DeleteBehavior.Cascade)
 013874                        .IsRequired();
 013875
 013876                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013877                        .WithMany()
 013878                        .HasForeignKey("ModifiedByUserId");
 013879
 013880                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", "PriceTrend")
 013881                        .WithMany("PriceTrendDetails")
 013882                        .HasForeignKey("PriceTrendId")
 013883                        .OnDelete(DeleteBehavior.Cascade)
 013884                        .IsRequired();
 013885
 013886                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013887                        .WithMany()
 013888                        .HasForeignKey("RecStateId");
 013889                });
 13890
 013891            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoBid", b =>
 013892                {
 013893                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013894                        .WithMany()
 013895                        .HasForeignKey("CreatedByUserId");
 013896
 013897                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "CustomerDepartment")
 013898                        .WithMany()
 013899                        .HasForeignKey("CustomerDepartmentId")
 013900                        .OnDelete(DeleteBehavior.Cascade)
 013901                        .IsRequired();
 013902
 013903                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013904                        .WithMany()
 013905                        .HasForeignKey("GoodId")
 013906                        .OnDelete(DeleteBehavior.Cascade)
 013907                        .IsRequired();
 013908
 013909                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013910                        .WithMany()
 013911                        .HasForeignKey("ModifiedByUserId");
 013912
 013913                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoOffer", "PromoOffer")
 013914                        .WithMany("Bids")
 013915                        .HasForeignKey("PromoOfferId")
 013916                        .OnDelete(DeleteBehavior.Cascade)
 013917                        .IsRequired();
 013918
 013919                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013920                        .WithMany()
 013921                        .HasForeignKey("RecStateId");
 013922                });
 13923
 013924            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoOffer", b =>
 013925                {
 013926                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013927                        .WithMany()
 013928                        .HasForeignKey("CreatedByUserId");
 013929
 013930                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013931                        .WithMany()
 013932                        .HasForeignKey("GoodId")
 013933                        .OnDelete(DeleteBehavior.Cascade)
 013934                        .IsRequired();
 013935
 013936                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013937                        .WithMany()
 013938                        .HasForeignKey("ModifiedByUserId");
 013939
 013940                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013941                        .WithMany()
 013942                        .HasForeignKey("RecStateId");
 013943
 013944                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 013945                        .WithMany()
 013946                        .HasForeignKey("SupplierDepartmentId")
 013947                        .OnDelete(DeleteBehavior.Cascade)
 013948                        .IsRequired();
 013949                });
 13950
 013951            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", b =>
 013952                {
 013953                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013954                        .WithMany()
 013955                        .HasForeignKey("CreatedByUserId");
 013956
 013957                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013958                        .WithMany()
 013959                        .HasForeignKey("ModifiedByUserId");
 013960
 013961                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013962                        .WithMany()
 013963                        .HasForeignKey("RecStateId");
 013964                });
 13965
 013966            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Rest", b =>
 013967                {
 013968                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013969                        .WithMany()
 013970                        .HasForeignKey("CreatedByUserId");
 013971
 013972                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 013973                        .WithMany()
 013974                        .HasForeignKey("DepartmentId")
 013975                        .OnDelete(DeleteBehavior.Cascade)
 013976                        .IsRequired();
 013977
 013978                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013979                        .WithMany("Rests")
 013980                        .HasForeignKey("GoodId")
 013981                        .OnDelete(DeleteBehavior.Cascade)
 013982                        .IsRequired();
 013983
 013984                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013985                        .WithMany()
 013986                        .HasForeignKey("ModifiedByUserId");
 013987
 013988                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013989                        .WithMany()
 013990                        .HasForeignKey("RecStateId");
 013991                });
 13992
 013993            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RestHold", b =>
 013994                {
 013995                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013996                        .WithMany()
 013997                        .HasForeignKey("CreatedByUserId");
 013998
 013999                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 014000                        .WithMany()
 014001                        .HasForeignKey("GoodId")
 014002                        .OnDelete(DeleteBehavior.Cascade)
 014003                        .IsRequired();
 014004
 014005                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014006                        .WithMany()
 014007                        .HasForeignKey("ModifiedByUserId");
 014008
 014009                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Movement")
 014010                        .WithMany()
 014011                        .HasForeignKey("MovementId")
 014012                        .OnDelete(DeleteBehavior.Cascade)
 014013                        .IsRequired();
 014014
 014015                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014016                        .WithMany()
 014017                        .HasForeignKey("RecStateId");
 014018                });
 14019
 014020            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", b =>
 014021                {
 014022                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014023                        .WithMany()
 014024                        .HasForeignKey("CreatedByUserId");
 014025
 014026                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014027                        .WithMany()
 014028                        .HasForeignKey("ModifiedByUserId");
 014029
 014030                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014031                        .WithMany()
 014032                        .HasForeignKey("RecStateId");
 014033                });
 14034
 014035            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.SupplyContract", b =>
 014036                {
 014037                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Buyer")
 014038                        .WithMany("ContractsAsBuyer")
 014039                        .HasForeignKey("BuyerId")
 014040                        .OnDelete(DeleteBehavior.Cascade)
 014041                        .IsRequired();
 014042
 014043                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014044                        .WithMany()
 014045                        .HasForeignKey("CreatedByUserId");
 014046
 014047                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014048                        .WithMany()
 014049                        .HasForeignKey("ModifiedByUserId");
 014050
 014051                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014052                        .WithMany()
 014053                        .HasForeignKey("RecStateId");
 014054
 014055                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Seller")
 014056                        .WithMany("ContractsAsSeller")
 014057                        .HasForeignKey("SellerId")
 014058                        .OnDelete(DeleteBehavior.Cascade)
 014059                        .IsRequired();
 014060                });
 14061
 014062            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", b =>
 014063                {
 014064                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014065                        .WithMany()
 014066                        .HasForeignKey("CreatedByUserId");
 014067
 014068                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014069                        .WithMany()
 014070                        .HasForeignKey("ModifiedByUserId");
 014071
 014072                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014073                        .WithMany()
 014074                        .HasForeignKey("RecStateId");
 014075                });
 14076
 014077            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", b =>
 014078                {
 014079                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014080                        .WithMany()
 014081                        .HasForeignKey("CreatedByUserId");
 014082
 014083                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014084                        .WithMany()
 014085                        .HasForeignKey("ModifiedByUserId");
 014086
 014087                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014088                        .WithMany()
 014089                        .HasForeignKey("RecStateId");
 014090                });
 14091
 014092            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", b =>
 014093                {
 014094                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014095                        .WithMany()
 014096                        .HasForeignKey("CreatedByUserId");
 014097
 014098                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014099                        .WithMany()
 014100                        .HasForeignKey("ModifiedByUserId");
 014101
 014102                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014103                        .WithMany()
 014104                        .HasForeignKey("RecStateId");
 014105                });
 14106
 014107            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UploadItem", b =>
 014108                {
 014109                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014110                        .WithMany()
 014111                        .HasForeignKey("CreatedByUserId");
 014112
 014113                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014114                        .WithMany()
 014115                        .HasForeignKey("ModifiedByUserId");
 014116
 014117                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014118                        .WithMany()
 014119                        .HasForeignKey("RecStateId");
 014120
 014121                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", null)
 014122                        .WithMany("Items")
 014123                        .HasForeignKey("UploadId")
 014124                        .OnDelete(DeleteBehavior.Cascade)
 014125                        .IsRequired();
 014126                });
 14127
 014128            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", b =>
 014129                {
 014130                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 014131                        .WithMany("User")
 014132                        .HasForeignKey("ContragentId");
 014133
 014134                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014135                        .WithMany()
 014136                        .HasForeignKey("CreatedByUserId");
 014137
 014138                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014139                        .WithMany()
 014140                        .HasForeignKey("ModifiedByUserId");
 014141
 014142                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014143                        .WithMany()
 014144                        .HasForeignKey("RecStateId");
 014145                });
 14146
 014147            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserDepartment", b =>
 014148                {
 014149                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 014150                        .WithMany("UsersDepartments")
 014151                        .HasForeignKey("DepartmentId")
 014152                        .OnDelete(DeleteBehavior.Cascade)
 014153                        .IsRequired();
 014154
 014155                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 014156                        .WithMany("UsersDepartments")
 014157                        .HasForeignKey("UserId")
 014158                        .OnDelete(DeleteBehavior.Cascade)
 014159                        .IsRequired();
 014160                });
 14161
 014162            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserRole", b =>
 014163                {
 014164                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Roles")
 014165                        .WithMany("UsersRoles")
 014166                        .HasForeignKey("RoleId")
 014167                        .OnDelete(DeleteBehavior.Cascade)
 014168                        .IsRequired();
 014169
 014170                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 014171                        .WithMany("UsersRoles")
 014172                        .HasForeignKey("UserId")
 014173                        .OnDelete(DeleteBehavior.Cascade)
 014174                        .IsRequired();
 014175                });
 14176
 014177            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", b =>
 014178                {
 014179                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014180                        .WithMany()
 014181                        .HasForeignKey("CreatedByUserId");
 014182
 014183                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014184                        .WithMany()
 014185                        .HasForeignKey("ModifiedByUserId");
 014186
 014187                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014188                        .WithMany()
 014189                        .HasForeignKey("RecStateId");
 014190                });
 14191
 014192            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransaction", b =>
 014193                {
 014194                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014195                        .WithMany()
 014196                        .HasForeignKey("CreatedByUserId");
 014197
 014198                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014199                        .WithMany()
 014200                        .HasForeignKey("ModifiedByUserId");
 014201
 014202                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Movement")
 014203                        .WithMany()
 014204                        .HasForeignKey("MovementId");
 014205
 014206                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014207                        .WithMany()
 014208                        .HasForeignKey("RecStateId");
 014209
 014210                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", "Status")
 014211                        .WithMany()
 014212                        .HasForeignKey("StatusId");
 014213                });
 14214
 014215            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", b =>
 014216                {
 014217                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014218                        .WithMany()
 014219                        .HasForeignKey("CreatedByUserId");
 014220
 014221                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014222                        .WithMany()
 014223                        .HasForeignKey("ModifiedByUserId");
 014224
 014225                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014226                        .WithMany()
 014227                        .HasForeignKey("RecStateId");
 014228                });
 14229
 014230            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WorkSchedule", b =>
 014231                {
 014232                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014233                        .WithMany()
 014234                        .HasForeignKey("CreatedByUserId");
 014235
 014236                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014237                        .WithMany()
 014238                        .HasForeignKey("ModifiedByUserId");
 014239
 014240                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014241                        .WithMany()
 014242                        .HasForeignKey("RecStateId");
 014243                });
 14244#pragma warning restore 612, 618
 014245        }
 14246    }
 14247}