< Summary

Class:SVETA.Api.Migrations.GoodUniqueCode
Assembly:SVETA.Api
File(s):/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200622145405_GoodUniqueCode.cs
/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200622145405_GoodUniqueCode.Designer.cs
Covered lines:0
Uncovered lines:14300
Coverable lines:14300
Total lines:14482
Line coverage:0% (0 of 14300)
Covered branches:0
Total branches:272
Branch coverage:0% (0 of 272)

Metrics

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

File(s)

/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200622145405_GoodUniqueCode.cs

#LineLine coverage
 1using System;
 2using Microsoft.EntityFrameworkCore.Migrations;
 3
 4namespace SVETA.Api.Migrations
 5{
 6    public partial class GoodUniqueCode : Migration
 7    {
 8        protected override void Up(MigrationBuilder migrationBuilder)
 09        {
 010            migrationBuilder.AddColumn<string>(
 011                name: "UniqueCode",
 012                table: "Goods",
 013                nullable: true);
 14
 015            migrationBuilder.UpdateData(
 016                table: "ContragentsKind",
 017                keyColumn: "Id",
 018                keyValue: 2L,
 019                column: "ExternalKey",
 020                value: new Guid("1cf9aefe-7a96-4a88-a1c9-072964c7c6a7"));
 21
 022            migrationBuilder.UpdateData(
 023                table: "ContragentsKind",
 024                keyColumn: "Id",
 025                keyValue: 3L,
 026                column: "ExternalKey",
 027                value: new Guid("ccda4192-5492-4a93-9c3e-f2d1f765d4e5"));
 28
 029            migrationBuilder.UpdateData(
 030                table: "ContragentsKind",
 031                keyColumn: "Id",
 032                keyValue: 4L,
 033                column: "ExternalKey",
 034                value: new Guid("31edf71f-4a7f-44f9-a705-869c38b9c70b"));
 35
 036            migrationBuilder.UpdateData(
 037                table: "ContragentsKind",
 038                keyColumn: "Id",
 039                keyValue: 6L,
 040                column: "ExternalKey",
 041                value: new Guid("4cd0458f-9bb0-4417-92b7-8f4004782d5b"));
 42
 043            migrationBuilder.UpdateData(
 044                table: "ExchangeTokens",
 045                keyColumn: "Id",
 046                keyValue: 1L,
 047                column: "GUID",
 048                value: new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588"));
 49
 050            migrationBuilder.UpdateData(
 051                table: "Users",
 052                keyColumn: "Id",
 053                keyValue: -2L,
 054                column: "ExternalKey",
 055                value: new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"));
 56
 057            migrationBuilder.UpdateData(
 058                table: "Users",
 059                keyColumn: "Id",
 060                keyValue: -1L,
 061                column: "ExternalKey",
 062                value: new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"));
 063        }
 64
 65        protected override void Down(MigrationBuilder migrationBuilder)
 066        {
 067            migrationBuilder.DropColumn(
 068                name: "UniqueCode",
 069                table: "Goods");
 70
 071            migrationBuilder.UpdateData(
 072                table: "ContragentsKind",
 073                keyColumn: "Id",
 074                keyValue: 2L,
 075                column: "ExternalKey",
 076                value: new Guid("1cf9aefe-7a96-4a88-a1c9-072964c7c6a7"));
 77
 078            migrationBuilder.UpdateData(
 079                table: "ContragentsKind",
 080                keyColumn: "Id",
 081                keyValue: 3L,
 082                column: "ExternalKey",
 083                value: new Guid("ccda4192-5492-4a93-9c3e-f2d1f765d4e5"));
 84
 085            migrationBuilder.UpdateData(
 086                table: "ContragentsKind",
 087                keyColumn: "Id",
 088                keyValue: 4L,
 089                column: "ExternalKey",
 090                value: new Guid("31edf71f-4a7f-44f9-a705-869c38b9c70b"));
 91
 092            migrationBuilder.UpdateData(
 093                table: "ContragentsKind",
 094                keyColumn: "Id",
 095                keyValue: 6L,
 096                column: "ExternalKey",
 097                value: new Guid("4cd0458f-9bb0-4417-92b7-8f4004782d5b"));
 98
 099            migrationBuilder.UpdateData(
 0100                table: "ExchangeTokens",
 0101                keyColumn: "Id",
 0102                keyValue: 1L,
 0103                column: "GUID",
 0104                value: new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588"));
 105
 0106            migrationBuilder.UpdateData(
 0107                table: "Users",
 0108                keyColumn: "Id",
 0109                keyValue: -2L,
 0110                column: "ExternalKey",
 0111                value: new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"));
 112
 0113            migrationBuilder.UpdateData(
 0114                table: "Users",
 0115                keyColumn: "Id",
 0116                keyValue: -1L,
 0117                column: "ExternalKey",
 0118                value: new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"));
 0119        }
 120    }
 121}

/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200622145405_GoodUniqueCode.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("20200622145405_GoodUniqueCode")]
 14    partial class GoodUniqueCode
 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 = false,
 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 = false,
 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 = false,
 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                        new
 02575                        {
 02576                            Id = 173L,
 02577                            ActionId = 22L,
 02578                            Available = true,
 02579                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02580                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02581                            IsDeleted = false,
 02582                            RoleId = 1L
 02583                        },
 02584                        new
 02585                        {
 02586                            Id = 174L,
 02587                            ActionId = 22L,
 02588                            Available = true,
 02589                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02590                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02591                            IsDeleted = false,
 02592                            RoleId = 2L
 02593                        });
 02594                });
 2595
 02596            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", b =>
 02597                {
 02598                    b.Property<long>("Id")
 02599                        .ValueGeneratedOnAdd()
 02600                        .HasColumnType("bigint")
 02601                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 02602                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 02603
 02604                    b.Property<int>("Code")
 02605                        .HasColumnType("integer");
 02606
 02607                    b.Property<long?>("CreatedByUserId")
 02608                        .HasColumnType("bigint");
 02609
 02610                    b.Property<DateTime>("CreationDateTime")
 02611                        .HasColumnType("timestamp without time zone");
 02612
 02613                    b.Property<Guid>("GUID")
 02614                        .ValueGeneratedOnAdd()
 02615                        .HasColumnType("uuid");
 02616
 02617                    b.Property<bool>("IsDeleted")
 02618                        .HasColumnType("boolean");
 02619
 02620                    b.Property<DateTime?>("ModificationDateTime")
 02621                        .HasColumnType("timestamp without time zone");
 02622
 02623                    b.Property<long?>("ModifiedByUserId")
 02624                        .HasColumnType("bigint");
 02625
 02626                    b.Property<string>("Name")
 02627                        .IsRequired()
 02628                        .HasColumnType("text");
 02629
 02630                    b.Property<long?>("RecStateId")
 02631                        .HasColumnType("bigint");
 02632
 02633                    b.HasKey("Id");
 02634
 02635                    b.HasIndex("CreatedByUserId");
 02636
 02637                    b.HasIndex("ModifiedByUserId");
 02638
 02639                    b.HasIndex("Name")
 02640                        .IsUnique();
 02641
 02642                    b.HasIndex("RecStateId");
 02643
 02644                    b.ToTable("Countries");
 02645
 02646                    b.HasData(
 02647                        new
 02648                        {
 02649                            Id = 2L,
 02650                            Code = 895,
 02651                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02652                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02653                            IsDeleted = false,
 02654                            Name = "Абхазия"
 02655                        },
 02656                        new
 02657                        {
 02658                            Id = 3L,
 02659                            Code = 36,
 02660                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02661                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02662                            IsDeleted = false,
 02663                            Name = "Австралия"
 02664                        },
 02665                        new
 02666                        {
 02667                            Id = 4L,
 02668                            Code = 40,
 02669                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02670                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02671                            IsDeleted = false,
 02672                            Name = "Австрия"
 02673                        },
 02674                        new
 02675                        {
 02676                            Id = 5L,
 02677                            Code = 31,
 02678                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02679                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02680                            IsDeleted = false,
 02681                            Name = "Азербайджан"
 02682                        },
 02683                        new
 02684                        {
 02685                            Id = 6L,
 02686                            Code = 8,
 02687                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02688                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02689                            IsDeleted = false,
 02690                            Name = "Албания"
 02691                        },
 02692                        new
 02693                        {
 02694                            Id = 7L,
 02695                            Code = 12,
 02696                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02697                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02698                            IsDeleted = false,
 02699                            Name = "Алжир"
 02700                        },
 02701                        new
 02702                        {
 02703                            Id = 8L,
 02704                            Code = 16,
 02705                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02706                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02707                            IsDeleted = false,
 02708                            Name = "Американское Самоа"
 02709                        },
 02710                        new
 02711                        {
 02712                            Id = 9L,
 02713                            Code = 660,
 02714                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02715                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02716                            IsDeleted = false,
 02717                            Name = "Ангилья"
 02718                        },
 02719                        new
 02720                        {
 02721                            Id = 10L,
 02722                            Code = 24,
 02723                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02724                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02725                            IsDeleted = false,
 02726                            Name = "Ангола"
 02727                        },
 02728                        new
 02729                        {
 02730                            Id = 11L,
 02731                            Code = 20,
 02732                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02733                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02734                            IsDeleted = false,
 02735                            Name = "Андорра"
 02736                        },
 02737                        new
 02738                        {
 02739                            Id = 12L,
 02740                            Code = 10,
 02741                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02742                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02743                            IsDeleted = false,
 02744                            Name = "Антарктида"
 02745                        },
 02746                        new
 02747                        {
 02748                            Id = 13L,
 02749                            Code = 28,
 02750                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02751                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02752                            IsDeleted = false,
 02753                            Name = "Антигуа и Барбуда"
 02754                        },
 02755                        new
 02756                        {
 02757                            Id = 14L,
 02758                            Code = 32,
 02759                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02760                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02761                            IsDeleted = false,
 02762                            Name = "Аргентина"
 02763                        },
 02764                        new
 02765                        {
 02766                            Id = 15L,
 02767                            Code = 51,
 02768                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02769                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02770                            IsDeleted = false,
 02771                            Name = "Армения"
 02772                        },
 02773                        new
 02774                        {
 02775                            Id = 16L,
 02776                            Code = 533,
 02777                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02778                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02779                            IsDeleted = false,
 02780                            Name = "Аруба"
 02781                        },
 02782                        new
 02783                        {
 02784                            Id = 17L,
 02785                            Code = 4,
 02786                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02787                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02788                            IsDeleted = false,
 02789                            Name = "Афганистан"
 02790                        },
 02791                        new
 02792                        {
 02793                            Id = 18L,
 02794                            Code = 44,
 02795                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02796                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02797                            IsDeleted = false,
 02798                            Name = "Багамы"
 02799                        },
 02800                        new
 02801                        {
 02802                            Id = 19L,
 02803                            Code = 50,
 02804                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02805                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02806                            IsDeleted = false,
 02807                            Name = "Бангладеш"
 02808                        },
 02809                        new
 02810                        {
 02811                            Id = 20L,
 02812                            Code = 52,
 02813                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02814                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02815                            IsDeleted = false,
 02816                            Name = "Барбадос"
 02817                        },
 02818                        new
 02819                        {
 02820                            Id = 21L,
 02821                            Code = 48,
 02822                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02823                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02824                            IsDeleted = false,
 02825                            Name = "Бахрейн"
 02826                        },
 02827                        new
 02828                        {
 02829                            Id = 22L,
 02830                            Code = 112,
 02831                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02832                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02833                            IsDeleted = false,
 02834                            Name = "Беларусь"
 02835                        },
 02836                        new
 02837                        {
 02838                            Id = 23L,
 02839                            Code = 84,
 02840                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02841                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02842                            IsDeleted = false,
 02843                            Name = "Белиз"
 02844                        },
 02845                        new
 02846                        {
 02847                            Id = 24L,
 02848                            Code = 56,
 02849                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02850                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02851                            IsDeleted = false,
 02852                            Name = "Бельгия"
 02853                        },
 02854                        new
 02855                        {
 02856                            Id = 25L,
 02857                            Code = 204,
 02858                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02859                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02860                            IsDeleted = false,
 02861                            Name = "Бенин"
 02862                        },
 02863                        new
 02864                        {
 02865                            Id = 26L,
 02866                            Code = 60,
 02867                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02868                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02869                            IsDeleted = false,
 02870                            Name = "Бермуды"
 02871                        },
 02872                        new
 02873                        {
 02874                            Id = 27L,
 02875                            Code = 100,
 02876                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02877                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02878                            IsDeleted = false,
 02879                            Name = "Болгария"
 02880                        },
 02881                        new
 02882                        {
 02883                            Id = 28L,
 02884                            Code = 68,
 02885                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02886                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02887                            IsDeleted = false,
 02888                            Name = "Боливия, Многонациональное Государство"
 02889                        },
 02890                        new
 02891                        {
 02892                            Id = 29L,
 02893                            Code = 535,
 02894                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02895                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02896                            IsDeleted = false,
 02897                            Name = "Бонэйр, Синт-Эстатиус и Саба"
 02898                        },
 02899                        new
 02900                        {
 02901                            Id = 30L,
 02902                            Code = 70,
 02903                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02904                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02905                            IsDeleted = false,
 02906                            Name = "Босния и Герцеговина"
 02907                        },
 02908                        new
 02909                        {
 02910                            Id = 31L,
 02911                            Code = 72,
 02912                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02913                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02914                            IsDeleted = false,
 02915                            Name = "Ботсвана"
 02916                        },
 02917                        new
 02918                        {
 02919                            Id = 32L,
 02920                            Code = 76,
 02921                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02922                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02923                            IsDeleted = false,
 02924                            Name = "Бразилия"
 02925                        },
 02926                        new
 02927                        {
 02928                            Id = 33L,
 02929                            Code = 86,
 02930                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02931                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02932                            IsDeleted = false,
 02933                            Name = "Британская территория в Индийском океане"
 02934                        },
 02935                        new
 02936                        {
 02937                            Id = 34L,
 02938                            Code = 96,
 02939                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02940                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02941                            IsDeleted = false,
 02942                            Name = "Бруней-Даруссалам"
 02943                        },
 02944                        new
 02945                        {
 02946                            Id = 35L,
 02947                            Code = 854,
 02948                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02949                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02950                            IsDeleted = false,
 02951                            Name = "Буркина-Фасо"
 02952                        },
 02953                        new
 02954                        {
 02955                            Id = 36L,
 02956                            Code = 108,
 02957                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02958                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02959                            IsDeleted = false,
 02960                            Name = "Бурунди"
 02961                        },
 02962                        new
 02963                        {
 02964                            Id = 37L,
 02965                            Code = 64,
 02966                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02967                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02968                            IsDeleted = false,
 02969                            Name = "Бутан"
 02970                        },
 02971                        new
 02972                        {
 02973                            Id = 38L,
 02974                            Code = 548,
 02975                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02976                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02977                            IsDeleted = false,
 02978                            Name = "Вануату"
 02979                        },
 02980                        new
 02981                        {
 02982                            Id = 39L,
 02983                            Code = 348,
 02984                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02985                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02986                            IsDeleted = false,
 02987                            Name = "Венгрия"
 02988                        },
 02989                        new
 02990                        {
 02991                            Id = 40L,
 02992                            Code = 862,
 02993                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02994                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02995                            IsDeleted = false,
 02996                            Name = "Венесуэла Боливарианская Республика"
 02997                        },
 02998                        new
 02999                        {
 03000                            Id = 41L,
 03001                            Code = 92,
 03002                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03003                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03004                            IsDeleted = false,
 03005                            Name = "Виргинские острова (Британские)"
 03006                        },
 03007                        new
 03008                        {
 03009                            Id = 42L,
 03010                            Code = 850,
 03011                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03012                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03013                            IsDeleted = false,
 03014                            Name = "Виргинские острова (США)"
 03015                        },
 03016                        new
 03017                        {
 03018                            Id = 43L,
 03019                            Code = 704,
 03020                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03021                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03022                            IsDeleted = false,
 03023                            Name = "Вьетнам"
 03024                        },
 03025                        new
 03026                        {
 03027                            Id = 44L,
 03028                            Code = 266,
 03029                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03030                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03031                            IsDeleted = false,
 03032                            Name = "Габон"
 03033                        },
 03034                        new
 03035                        {
 03036                            Id = 45L,
 03037                            Code = 332,
 03038                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03039                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03040                            IsDeleted = false,
 03041                            Name = "Гаити"
 03042                        },
 03043                        new
 03044                        {
 03045                            Id = 46L,
 03046                            Code = 328,
 03047                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03048                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03049                            IsDeleted = false,
 03050                            Name = "Гайана"
 03051                        },
 03052                        new
 03053                        {
 03054                            Id = 47L,
 03055                            Code = 270,
 03056                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03057                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03058                            IsDeleted = false,
 03059                            Name = "Гамбия"
 03060                        },
 03061                        new
 03062                        {
 03063                            Id = 48L,
 03064                            Code = 288,
 03065                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03066                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03067                            IsDeleted = false,
 03068                            Name = "Гана"
 03069                        },
 03070                        new
 03071                        {
 03072                            Id = 49L,
 03073                            Code = 312,
 03074                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03075                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03076                            IsDeleted = false,
 03077                            Name = "Гваделупа"
 03078                        },
 03079                        new
 03080                        {
 03081                            Id = 50L,
 03082                            Code = 320,
 03083                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03084                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03085                            IsDeleted = false,
 03086                            Name = "Гватемала"
 03087                        },
 03088                        new
 03089                        {
 03090                            Id = 51L,
 03091                            Code = 324,
 03092                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03093                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03094                            IsDeleted = false,
 03095                            Name = "Гвинея"
 03096                        },
 03097                        new
 03098                        {
 03099                            Id = 52L,
 03100                            Code = 624,
 03101                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03102                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03103                            IsDeleted = false,
 03104                            Name = "Гвинея-Бисау"
 03105                        },
 03106                        new
 03107                        {
 03108                            Id = 53L,
 03109                            Code = 276,
 03110                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03111                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03112                            IsDeleted = false,
 03113                            Name = "Германия"
 03114                        },
 03115                        new
 03116                        {
 03117                            Id = 54L,
 03118                            Code = 831,
 03119                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03120                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03121                            IsDeleted = false,
 03122                            Name = "Гернси"
 03123                        },
 03124                        new
 03125                        {
 03126                            Id = 55L,
 03127                            Code = 292,
 03128                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03129                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03130                            IsDeleted = false,
 03131                            Name = "Гибралтар"
 03132                        },
 03133                        new
 03134                        {
 03135                            Id = 56L,
 03136                            Code = 340,
 03137                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03138                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03139                            IsDeleted = false,
 03140                            Name = "Гондурас"
 03141                        },
 03142                        new
 03143                        {
 03144                            Id = 57L,
 03145                            Code = 344,
 03146                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03147                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03148                            IsDeleted = false,
 03149                            Name = "Гонконг"
 03150                        },
 03151                        new
 03152                        {
 03153                            Id = 58L,
 03154                            Code = 308,
 03155                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03156                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03157                            IsDeleted = false,
 03158                            Name = "Гренада"
 03159                        },
 03160                        new
 03161                        {
 03162                            Id = 59L,
 03163                            Code = 304,
 03164                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03165                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03166                            IsDeleted = false,
 03167                            Name = "Гренландия"
 03168                        },
 03169                        new
 03170                        {
 03171                            Id = 60L,
 03172                            Code = 300,
 03173                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03174                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03175                            IsDeleted = false,
 03176                            Name = "Греция"
 03177                        },
 03178                        new
 03179                        {
 03180                            Id = 61L,
 03181                            Code = 268,
 03182                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03183                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03184                            IsDeleted = false,
 03185                            Name = "Грузия"
 03186                        },
 03187                        new
 03188                        {
 03189                            Id = 62L,
 03190                            Code = 316,
 03191                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03192                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03193                            IsDeleted = false,
 03194                            Name = "Гуам"
 03195                        },
 03196                        new
 03197                        {
 03198                            Id = 63L,
 03199                            Code = 208,
 03200                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03201                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03202                            IsDeleted = false,
 03203                            Name = "Дания"
 03204                        },
 03205                        new
 03206                        {
 03207                            Id = 64L,
 03208                            Code = 832,
 03209                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03210                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03211                            IsDeleted = false,
 03212                            Name = "Джерси"
 03213                        },
 03214                        new
 03215                        {
 03216                            Id = 65L,
 03217                            Code = 262,
 03218                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03219                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03220                            IsDeleted = false,
 03221                            Name = "Джибути"
 03222                        },
 03223                        new
 03224                        {
 03225                            Id = 66L,
 03226                            Code = 212,
 03227                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03228                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03229                            IsDeleted = false,
 03230                            Name = "Доминика"
 03231                        },
 03232                        new
 03233                        {
 03234                            Id = 67L,
 03235                            Code = 214,
 03236                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03237                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03238                            IsDeleted = false,
 03239                            Name = "Доминиканская Республика"
 03240                        },
 03241                        new
 03242                        {
 03243                            Id = 68L,
 03244                            Code = 818,
 03245                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03246                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03247                            IsDeleted = false,
 03248                            Name = "Египет"
 03249                        },
 03250                        new
 03251                        {
 03252                            Id = 69L,
 03253                            Code = 894,
 03254                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03255                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03256                            IsDeleted = false,
 03257                            Name = "Замбия"
 03258                        },
 03259                        new
 03260                        {
 03261                            Id = 70L,
 03262                            Code = 732,
 03263                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03264                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03265                            IsDeleted = false,
 03266                            Name = "Западная Сахара"
 03267                        },
 03268                        new
 03269                        {
 03270                            Id = 71L,
 03271                            Code = 716,
 03272                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03273                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03274                            IsDeleted = false,
 03275                            Name = "Зимбабве"
 03276                        },
 03277                        new
 03278                        {
 03279                            Id = 72L,
 03280                            Code = 376,
 03281                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03282                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03283                            IsDeleted = false,
 03284                            Name = "Израиль"
 03285                        },
 03286                        new
 03287                        {
 03288                            Id = 73L,
 03289                            Code = 356,
 03290                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03291                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03292                            IsDeleted = false,
 03293                            Name = "Индия"
 03294                        },
 03295                        new
 03296                        {
 03297                            Id = 74L,
 03298                            Code = 360,
 03299                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03300                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03301                            IsDeleted = false,
 03302                            Name = "Индонезия"
 03303                        },
 03304                        new
 03305                        {
 03306                            Id = 75L,
 03307                            Code = 400,
 03308                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03309                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03310                            IsDeleted = false,
 03311                            Name = "Иордания"
 03312                        },
 03313                        new
 03314                        {
 03315                            Id = 76L,
 03316                            Code = 368,
 03317                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03318                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03319                            IsDeleted = false,
 03320                            Name = "Ирак"
 03321                        },
 03322                        new
 03323                        {
 03324                            Id = 77L,
 03325                            Code = 364,
 03326                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03327                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03328                            IsDeleted = false,
 03329                            Name = "Иран (Исламская Республика)"
 03330                        },
 03331                        new
 03332                        {
 03333                            Id = 78L,
 03334                            Code = 372,
 03335                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03336                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03337                            IsDeleted = false,
 03338                            Name = "Ирландия"
 03339                        },
 03340                        new
 03341                        {
 03342                            Id = 79L,
 03343                            Code = 352,
 03344                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03345                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03346                            IsDeleted = false,
 03347                            Name = "Исландия"
 03348                        },
 03349                        new
 03350                        {
 03351                            Id = 80L,
 03352                            Code = 724,
 03353                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03354                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03355                            IsDeleted = false,
 03356                            Name = "Испания"
 03357                        },
 03358                        new
 03359                        {
 03360                            Id = 81L,
 03361                            Code = 380,
 03362                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03363                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03364                            IsDeleted = false,
 03365                            Name = "Италия"
 03366                        },
 03367                        new
 03368                        {
 03369                            Id = 82L,
 03370                            Code = 887,
 03371                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03372                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03373                            IsDeleted = false,
 03374                            Name = "Йемен"
 03375                        },
 03376                        new
 03377                        {
 03378                            Id = 83L,
 03379                            Code = 132,
 03380                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03381                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03382                            IsDeleted = false,
 03383                            Name = "Кабо-Верде"
 03384                        },
 03385                        new
 03386                        {
 03387                            Id = 84L,
 03388                            Code = 398,
 03389                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03390                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03391                            IsDeleted = false,
 03392                            Name = "Казахстан"
 03393                        },
 03394                        new
 03395                        {
 03396                            Id = 85L,
 03397                            Code = 116,
 03398                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03399                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03400                            IsDeleted = false,
 03401                            Name = "Камбоджа"
 03402                        },
 03403                        new
 03404                        {
 03405                            Id = 86L,
 03406                            Code = 120,
 03407                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03408                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03409                            IsDeleted = false,
 03410                            Name = "Камерун"
 03411                        },
 03412                        new
 03413                        {
 03414                            Id = 87L,
 03415                            Code = 124,
 03416                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03417                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03418                            IsDeleted = false,
 03419                            Name = "Канада"
 03420                        },
 03421                        new
 03422                        {
 03423                            Id = 88L,
 03424                            Code = 634,
 03425                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03426                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03427                            IsDeleted = false,
 03428                            Name = "Катар"
 03429                        },
 03430                        new
 03431                        {
 03432                            Id = 89L,
 03433                            Code = 404,
 03434                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03435                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03436                            IsDeleted = false,
 03437                            Name = "Кения"
 03438                        },
 03439                        new
 03440                        {
 03441                            Id = 90L,
 03442                            Code = 196,
 03443                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03444                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03445                            IsDeleted = false,
 03446                            Name = "Кипр"
 03447                        },
 03448                        new
 03449                        {
 03450                            Id = 91L,
 03451                            Code = 417,
 03452                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03453                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03454                            IsDeleted = false,
 03455                            Name = "Киргизия"
 03456                        },
 03457                        new
 03458                        {
 03459                            Id = 92L,
 03460                            Code = 296,
 03461                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03462                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03463                            IsDeleted = false,
 03464                            Name = "Кирибати"
 03465                        },
 03466                        new
 03467                        {
 03468                            Id = 93L,
 03469                            Code = 156,
 03470                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03471                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03472                            IsDeleted = false,
 03473                            Name = "Китай"
 03474                        },
 03475                        new
 03476                        {
 03477                            Id = 94L,
 03478                            Code = 166,
 03479                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03480                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03481                            IsDeleted = false,
 03482                            Name = "Кокосовые (Килинг) острова"
 03483                        },
 03484                        new
 03485                        {
 03486                            Id = 95L,
 03487                            Code = 170,
 03488                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03489                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03490                            IsDeleted = false,
 03491                            Name = "Колумбия"
 03492                        },
 03493                        new
 03494                        {
 03495                            Id = 96L,
 03496                            Code = 174,
 03497                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03498                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03499                            IsDeleted = false,
 03500                            Name = "Коморы"
 03501                        },
 03502                        new
 03503                        {
 03504                            Id = 97L,
 03505                            Code = 178,
 03506                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03507                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03508                            IsDeleted = false,
 03509                            Name = "Конго"
 03510                        },
 03511                        new
 03512                        {
 03513                            Id = 98L,
 03514                            Code = 180,
 03515                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03516                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03517                            IsDeleted = false,
 03518                            Name = "Конго, Демократическая Республика"
 03519                        },
 03520                        new
 03521                        {
 03522                            Id = 99L,
 03523                            Code = 408,
 03524                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03525                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03526                            IsDeleted = false,
 03527                            Name = "Корея, Народно-Демократическая Республика"
 03528                        },
 03529                        new
 03530                        {
 03531                            Id = 100L,
 03532                            Code = 410,
 03533                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03534                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03535                            IsDeleted = false,
 03536                            Name = "Корея, Республика"
 03537                        },
 03538                        new
 03539                        {
 03540                            Id = 101L,
 03541                            Code = 188,
 03542                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03543                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03544                            IsDeleted = false,
 03545                            Name = "Коста-Рика"
 03546                        },
 03547                        new
 03548                        {
 03549                            Id = 102L,
 03550                            Code = 384,
 03551                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03552                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03553                            IsDeleted = false,
 03554                            Name = "Кот д'Ивуар"
 03555                        },
 03556                        new
 03557                        {
 03558                            Id = 103L,
 03559                            Code = 192,
 03560                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03561                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03562                            IsDeleted = false,
 03563                            Name = "Куба"
 03564                        },
 03565                        new
 03566                        {
 03567                            Id = 104L,
 03568                            Code = 414,
 03569                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03570                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03571                            IsDeleted = false,
 03572                            Name = "Кувейт"
 03573                        },
 03574                        new
 03575                        {
 03576                            Id = 105L,
 03577                            Code = 531,
 03578                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03579                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03580                            IsDeleted = false,
 03581                            Name = "Кюрасао"
 03582                        },
 03583                        new
 03584                        {
 03585                            Id = 106L,
 03586                            Code = 418,
 03587                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03588                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03589                            IsDeleted = false,
 03590                            Name = "Лаос"
 03591                        },
 03592                        new
 03593                        {
 03594                            Id = 107L,
 03595                            Code = 428,
 03596                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03597                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03598                            IsDeleted = false,
 03599                            Name = "Латвия"
 03600                        },
 03601                        new
 03602                        {
 03603                            Id = 108L,
 03604                            Code = 426,
 03605                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03606                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03607                            IsDeleted = false,
 03608                            Name = "Лесото"
 03609                        },
 03610                        new
 03611                        {
 03612                            Id = 109L,
 03613                            Code = 422,
 03614                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03615                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03616                            IsDeleted = false,
 03617                            Name = "Ливан"
 03618                        },
 03619                        new
 03620                        {
 03621                            Id = 110L,
 03622                            Code = 434,
 03623                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03624                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03625                            IsDeleted = false,
 03626                            Name = "Ливия"
 03627                        },
 03628                        new
 03629                        {
 03630                            Id = 111L,
 03631                            Code = 430,
 03632                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03633                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03634                            IsDeleted = false,
 03635                            Name = "Либерия"
 03636                        },
 03637                        new
 03638                        {
 03639                            Id = 112L,
 03640                            Code = 438,
 03641                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03642                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03643                            IsDeleted = false,
 03644                            Name = "Лихтенштейн"
 03645                        },
 03646                        new
 03647                        {
 03648                            Id = 113L,
 03649                            Code = 440,
 03650                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03651                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03652                            IsDeleted = false,
 03653                            Name = "Литва"
 03654                        },
 03655                        new
 03656                        {
 03657                            Id = 114L,
 03658                            Code = 442,
 03659                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03660                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03661                            IsDeleted = false,
 03662                            Name = "Люксембург"
 03663                        },
 03664                        new
 03665                        {
 03666                            Id = 115L,
 03667                            Code = 480,
 03668                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03669                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03670                            IsDeleted = false,
 03671                            Name = "Маврикий"
 03672                        },
 03673                        new
 03674                        {
 03675                            Id = 116L,
 03676                            Code = 478,
 03677                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03678                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03679                            IsDeleted = false,
 03680                            Name = "Мавритания"
 03681                        },
 03682                        new
 03683                        {
 03684                            Id = 117L,
 03685                            Code = 450,
 03686                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03687                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03688                            IsDeleted = false,
 03689                            Name = "Мадагаскар"
 03690                        },
 03691                        new
 03692                        {
 03693                            Id = 118L,
 03694                            Code = 175,
 03695                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03696                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03697                            IsDeleted = false,
 03698                            Name = "Майотта"
 03699                        },
 03700                        new
 03701                        {
 03702                            Id = 119L,
 03703                            Code = 446,
 03704                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03705                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03706                            IsDeleted = false,
 03707                            Name = "Макао"
 03708                        },
 03709                        new
 03710                        {
 03711                            Id = 120L,
 03712                            Code = 454,
 03713                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03714                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03715                            IsDeleted = false,
 03716                            Name = "Малави"
 03717                        },
 03718                        new
 03719                        {
 03720                            Id = 121L,
 03721                            Code = 458,
 03722                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03723                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03724                            IsDeleted = false,
 03725                            Name = "Малайзия"
 03726                        },
 03727                        new
 03728                        {
 03729                            Id = 122L,
 03730                            Code = 466,
 03731                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03732                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03733                            IsDeleted = false,
 03734                            Name = "Мали"
 03735                        },
 03736                        new
 03737                        {
 03738                            Id = 123L,
 03739                            Code = 581,
 03740                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03741                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03742                            IsDeleted = false,
 03743                            Name = "Малые Тихоокеанские отдаленные острова Соединенных Штатов"
 03744                        },
 03745                        new
 03746                        {
 03747                            Id = 124L,
 03748                            Code = 462,
 03749                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03750                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03751                            IsDeleted = false,
 03752                            Name = "Мальдивы"
 03753                        },
 03754                        new
 03755                        {
 03756                            Id = 125L,
 03757                            Code = 470,
 03758                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03759                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03760                            IsDeleted = false,
 03761                            Name = "Мальта"
 03762                        },
 03763                        new
 03764                        {
 03765                            Id = 126L,
 03766                            Code = 504,
 03767                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03768                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03769                            IsDeleted = false,
 03770                            Name = "Марокко"
 03771                        },
 03772                        new
 03773                        {
 03774                            Id = 127L,
 03775                            Code = 474,
 03776                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03777                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03778                            IsDeleted = false,
 03779                            Name = "Мартиника"
 03780                        },
 03781                        new
 03782                        {
 03783                            Id = 128L,
 03784                            Code = 584,
 03785                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03786                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03787                            IsDeleted = false,
 03788                            Name = "Маршалловы острова"
 03789                        },
 03790                        new
 03791                        {
 03792                            Id = 129L,
 03793                            Code = 484,
 03794                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03795                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03796                            IsDeleted = false,
 03797                            Name = "Мексика"
 03798                        },
 03799                        new
 03800                        {
 03801                            Id = 130L,
 03802                            Code = 583,
 03803                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03804                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03805                            IsDeleted = false,
 03806                            Name = "Микронезия, Федеративные Штаты"
 03807                        },
 03808                        new
 03809                        {
 03810                            Id = 131L,
 03811                            Code = 508,
 03812                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03813                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03814                            IsDeleted = false,
 03815                            Name = "Мозамбик"
 03816                        },
 03817                        new
 03818                        {
 03819                            Id = 132L,
 03820                            Code = 498,
 03821                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03822                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03823                            IsDeleted = false,
 03824                            Name = "Молдова, Республика"
 03825                        },
 03826                        new
 03827                        {
 03828                            Id = 133L,
 03829                            Code = 492,
 03830                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03831                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03832                            IsDeleted = false,
 03833                            Name = "Монако"
 03834                        },
 03835                        new
 03836                        {
 03837                            Id = 134L,
 03838                            Code = 496,
 03839                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03840                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03841                            IsDeleted = false,
 03842                            Name = "Монголия"
 03843                        },
 03844                        new
 03845                        {
 03846                            Id = 135L,
 03847                            Code = 500,
 03848                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03849                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03850                            IsDeleted = false,
 03851                            Name = "Монтсеррат"
 03852                        },
 03853                        new
 03854                        {
 03855                            Id = 136L,
 03856                            Code = 104,
 03857                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03858                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03859                            IsDeleted = false,
 03860                            Name = "Мьянма"
 03861                        },
 03862                        new
 03863                        {
 03864                            Id = 137L,
 03865                            Code = 516,
 03866                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03867                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03868                            IsDeleted = false,
 03869                            Name = "Намибия"
 03870                        },
 03871                        new
 03872                        {
 03873                            Id = 138L,
 03874                            Code = 520,
 03875                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03876                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03877                            IsDeleted = false,
 03878                            Name = "Науру"
 03879                        },
 03880                        new
 03881                        {
 03882                            Id = 139L,
 03883                            Code = 524,
 03884                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03885                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03886                            IsDeleted = false,
 03887                            Name = "Непал"
 03888                        },
 03889                        new
 03890                        {
 03891                            Id = 140L,
 03892                            Code = 562,
 03893                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03894                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03895                            IsDeleted = false,
 03896                            Name = "Нигер"
 03897                        },
 03898                        new
 03899                        {
 03900                            Id = 141L,
 03901                            Code = 566,
 03902                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03903                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03904                            IsDeleted = false,
 03905                            Name = "Нигерия"
 03906                        },
 03907                        new
 03908                        {
 03909                            Id = 142L,
 03910                            Code = 528,
 03911                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03912                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03913                            IsDeleted = false,
 03914                            Name = "Нидерланды"
 03915                        },
 03916                        new
 03917                        {
 03918                            Id = 143L,
 03919                            Code = 558,
 03920                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03921                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03922                            IsDeleted = false,
 03923                            Name = "Никарагуа"
 03924                        },
 03925                        new
 03926                        {
 03927                            Id = 144L,
 03928                            Code = 570,
 03929                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03930                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03931                            IsDeleted = false,
 03932                            Name = "Ниуэ"
 03933                        },
 03934                        new
 03935                        {
 03936                            Id = 145L,
 03937                            Code = 554,
 03938                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03939                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03940                            IsDeleted = false,
 03941                            Name = "Новая Зеландия"
 03942                        },
 03943                        new
 03944                        {
 03945                            Id = 146L,
 03946                            Code = 540,
 03947                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03948                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03949                            IsDeleted = false,
 03950                            Name = "Новая Каледония"
 03951                        },
 03952                        new
 03953                        {
 03954                            Id = 147L,
 03955                            Code = 578,
 03956                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03957                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03958                            IsDeleted = false,
 03959                            Name = "Норвегия"
 03960                        },
 03961                        new
 03962                        {
 03963                            Id = 148L,
 03964                            Code = 784,
 03965                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03966                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03967                            IsDeleted = false,
 03968                            Name = "Объединенные Арабские Эмираты"
 03969                        },
 03970                        new
 03971                        {
 03972                            Id = 149L,
 03973                            Code = 512,
 03974                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03975                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03976                            IsDeleted = false,
 03977                            Name = "Оман"
 03978                        },
 03979                        new
 03980                        {
 03981                            Id = 150L,
 03982                            Code = 74,
 03983                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03984                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03985                            IsDeleted = false,
 03986                            Name = "Остров Буве"
 03987                        },
 03988                        new
 03989                        {
 03990                            Id = 151L,
 03991                            Code = 833,
 03992                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03993                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03994                            IsDeleted = false,
 03995                            Name = "Остров Мэн"
 03996                        },
 03997                        new
 03998                        {
 03999                            Id = 152L,
 04000                            Code = 574,
 04001                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04002                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04003                            IsDeleted = false,
 04004                            Name = "Остров Норфолк"
 04005                        },
 04006                        new
 04007                        {
 04008                            Id = 153L,
 04009                            Code = 162,
 04010                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04011                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04012                            IsDeleted = false,
 04013                            Name = "Остров Рождества"
 04014                        },
 04015                        new
 04016                        {
 04017                            Id = 154L,
 04018                            Code = 334,
 04019                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04020                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04021                            IsDeleted = false,
 04022                            Name = "Остров Херд и острова Макдональд"
 04023                        },
 04024                        new
 04025                        {
 04026                            Id = 155L,
 04027                            Code = 136,
 04028                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04029                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04030                            IsDeleted = false,
 04031                            Name = "Острова Кайман"
 04032                        },
 04033                        new
 04034                        {
 04035                            Id = 156L,
 04036                            Code = 184,
 04037                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04038                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04039                            IsDeleted = false,
 04040                            Name = "Острова Кука"
 04041                        },
 04042                        new
 04043                        {
 04044                            Id = 157L,
 04045                            Code = 796,
 04046                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04047                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04048                            IsDeleted = false,
 04049                            Name = "Острова Теркс и Кайкос"
 04050                        },
 04051                        new
 04052                        {
 04053                            Id = 158L,
 04054                            Code = 586,
 04055                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04056                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04057                            IsDeleted = false,
 04058                            Name = "Пакистан"
 04059                        },
 04060                        new
 04061                        {
 04062                            Id = 159L,
 04063                            Code = 585,
 04064                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04065                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04066                            IsDeleted = false,
 04067                            Name = "Палау"
 04068                        },
 04069                        new
 04070                        {
 04071                            Id = 160L,
 04072                            Code = 275,
 04073                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04074                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04075                            IsDeleted = false,
 04076                            Name = "Палестина, Государство"
 04077                        },
 04078                        new
 04079                        {
 04080                            Id = 161L,
 04081                            Code = 591,
 04082                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04083                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04084                            IsDeleted = false,
 04085                            Name = "Панама"
 04086                        },
 04087                        new
 04088                        {
 04089                            Id = 162L,
 04090                            Code = 336,
 04091                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04092                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04093                            IsDeleted = false,
 04094                            Name = "Папский Престол (Государство-город Ватикан)"
 04095                        },
 04096                        new
 04097                        {
 04098                            Id = 163L,
 04099                            Code = 598,
 04100                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04101                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04102                            IsDeleted = false,
 04103                            Name = "Папуа-Новая Гвинея"
 04104                        },
 04105                        new
 04106                        {
 04107                            Id = 164L,
 04108                            Code = 600,
 04109                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04110                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04111                            IsDeleted = false,
 04112                            Name = "Парагвай"
 04113                        },
 04114                        new
 04115                        {
 04116                            Id = 165L,
 04117                            Code = 604,
 04118                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04119                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04120                            IsDeleted = false,
 04121                            Name = "Перу"
 04122                        },
 04123                        new
 04124                        {
 04125                            Id = 166L,
 04126                            Code = 612,
 04127                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04128                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04129                            IsDeleted = false,
 04130                            Name = "Питкерн"
 04131                        },
 04132                        new
 04133                        {
 04134                            Id = 167L,
 04135                            Code = 616,
 04136                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04137                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04138                            IsDeleted = false,
 04139                            Name = "Польша"
 04140                        },
 04141                        new
 04142                        {
 04143                            Id = 168L,
 04144                            Code = 620,
 04145                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04146                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04147                            IsDeleted = false,
 04148                            Name = "Португалия"
 04149                        },
 04150                        new
 04151                        {
 04152                            Id = 169L,
 04153                            Code = 630,
 04154                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04155                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04156                            IsDeleted = false,
 04157                            Name = "Пуэрто-Рико"
 04158                        },
 04159                        new
 04160                        {
 04161                            Id = 170L,
 04162                            Code = 807,
 04163                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04164                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04165                            IsDeleted = false,
 04166                            Name = "Северная Македония"
 04167                        },
 04168                        new
 04169                        {
 04170                            Id = 171L,
 04171                            Code = 638,
 04172                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04173                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04174                            IsDeleted = false,
 04175                            Name = "Реюньон"
 04176                        },
 04177                        new
 04178                        {
 04179                            Id = 172L,
 04180                            Code = 643,
 04181                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04182                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04183                            IsDeleted = false,
 04184                            Name = "Россия"
 04185                        },
 04186                        new
 04187                        {
 04188                            Id = 173L,
 04189                            Code = 646,
 04190                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04191                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04192                            IsDeleted = false,
 04193                            Name = "Руанда"
 04194                        },
 04195                        new
 04196                        {
 04197                            Id = 174L,
 04198                            Code = 642,
 04199                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04200                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04201                            IsDeleted = false,
 04202                            Name = "Румыния"
 04203                        },
 04204                        new
 04205                        {
 04206                            Id = 175L,
 04207                            Code = 882,
 04208                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04209                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04210                            IsDeleted = false,
 04211                            Name = "Самоа"
 04212                        },
 04213                        new
 04214                        {
 04215                            Id = 176L,
 04216                            Code = 674,
 04217                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04218                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04219                            IsDeleted = false,
 04220                            Name = "Сан-Марино"
 04221                        },
 04222                        new
 04223                        {
 04224                            Id = 177L,
 04225                            Code = 678,
 04226                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04227                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04228                            IsDeleted = false,
 04229                            Name = "Сан-Томе и Принсипи"
 04230                        },
 04231                        new
 04232                        {
 04233                            Id = 178L,
 04234                            Code = 682,
 04235                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04236                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04237                            IsDeleted = false,
 04238                            Name = "Саудовская Аравия"
 04239                        },
 04240                        new
 04241                        {
 04242                            Id = 179L,
 04243                            Code = 748,
 04244                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04245                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04246                            IsDeleted = false,
 04247                            Name = "Эсватини"
 04248                        },
 04249                        new
 04250                        {
 04251                            Id = 180L,
 04252                            Code = 654,
 04253                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04254                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04255                            IsDeleted = false,
 04256                            Name = "Святая Елена, Остров вознесения, Тристан-да-Кунья"
 04257                        },
 04258                        new
 04259                        {
 04260                            Id = 181L,
 04261                            Code = 580,
 04262                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04263                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04264                            IsDeleted = false,
 04265                            Name = "Северные Марианские острова"
 04266                        },
 04267                        new
 04268                        {
 04269                            Id = 182L,
 04270                            Code = 652,
 04271                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04272                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04273                            IsDeleted = false,
 04274                            Name = "Сен-Бартелеми"
 04275                        },
 04276                        new
 04277                        {
 04278                            Id = 183L,
 04279                            Code = 663,
 04280                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04281                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04282                            IsDeleted = false,
 04283                            Name = "Сен-Мартен (французская часть)"
 04284                        },
 04285                        new
 04286                        {
 04287                            Id = 184L,
 04288                            Code = 686,
 04289                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04290                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04291                            IsDeleted = false,
 04292                            Name = "Сенегал"
 04293                        },
 04294                        new
 04295                        {
 04296                            Id = 185L,
 04297                            Code = 670,
 04298                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04299                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04300                            IsDeleted = false,
 04301                            Name = "Сент-Винсент и Гренадины"
 04302                        },
 04303                        new
 04304                        {
 04305                            Id = 186L,
 04306                            Code = 659,
 04307                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04308                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04309                            IsDeleted = false,
 04310                            Name = "Сент-Китс и Невис"
 04311                        },
 04312                        new
 04313                        {
 04314                            Id = 187L,
 04315                            Code = 662,
 04316                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04317                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04318                            IsDeleted = false,
 04319                            Name = "Сент-Люсия"
 04320                        },
 04321                        new
 04322                        {
 04323                            Id = 188L,
 04324                            Code = 666,
 04325                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04326                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04327                            IsDeleted = false,
 04328                            Name = "Сен-Пьер и Микелон"
 04329                        },
 04330                        new
 04331                        {
 04332                            Id = 189L,
 04333                            Code = 688,
 04334                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04335                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04336                            IsDeleted = false,
 04337                            Name = "Сербия"
 04338                        },
 04339                        new
 04340                        {
 04341                            Id = 190L,
 04342                            Code = 690,
 04343                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04344                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04345                            IsDeleted = false,
 04346                            Name = "Сейшелы"
 04347                        },
 04348                        new
 04349                        {
 04350                            Id = 191L,
 04351                            Code = 702,
 04352                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04353                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04354                            IsDeleted = false,
 04355                            Name = "Сингапур"
 04356                        },
 04357                        new
 04358                        {
 04359                            Id = 192L,
 04360                            Code = 534,
 04361                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04362                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04363                            IsDeleted = false,
 04364                            Name = "Сен-Мартен (нидерландская часть)"
 04365                        },
 04366                        new
 04367                        {
 04368                            Id = 193L,
 04369                            Code = 760,
 04370                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04371                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04372                            IsDeleted = false,
 04373                            Name = "Сирийская Арабская Республика"
 04374                        },
 04375                        new
 04376                        {
 04377                            Id = 194L,
 04378                            Code = 703,
 04379                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04380                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04381                            IsDeleted = false,
 04382                            Name = "Словакия"
 04383                        },
 04384                        new
 04385                        {
 04386                            Id = 195L,
 04387                            Code = 705,
 04388                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04389                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04390                            IsDeleted = false,
 04391                            Name = "Словения"
 04392                        },
 04393                        new
 04394                        {
 04395                            Id = 196L,
 04396                            Code = 826,
 04397                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04398                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04399                            IsDeleted = false,
 04400                            Name = "Соединенное Королевство"
 04401                        },
 04402                        new
 04403                        {
 04404                            Id = 197L,
 04405                            Code = 840,
 04406                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04407                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04408                            IsDeleted = false,
 04409                            Name = "Соединенные Штаты"
 04410                        },
 04411                        new
 04412                        {
 04413                            Id = 198L,
 04414                            Code = 90,
 04415                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04416                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04417                            IsDeleted = false,
 04418                            Name = "Соломоновы острова"
 04419                        },
 04420                        new
 04421                        {
 04422                            Id = 199L,
 04423                            Code = 706,
 04424                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04425                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04426                            IsDeleted = false,
 04427                            Name = "Сомали"
 04428                        },
 04429                        new
 04430                        {
 04431                            Id = 200L,
 04432                            Code = 729,
 04433                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04434                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04435                            IsDeleted = false,
 04436                            Name = "Судан"
 04437                        },
 04438                        new
 04439                        {
 04440                            Id = 201L,
 04441                            Code = 740,
 04442                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04443                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04444                            IsDeleted = false,
 04445                            Name = "Суринам"
 04446                        },
 04447                        new
 04448                        {
 04449                            Id = 202L,
 04450                            Code = 694,
 04451                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04452                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04453                            IsDeleted = false,
 04454                            Name = "Сьерра-Леоне"
 04455                        },
 04456                        new
 04457                        {
 04458                            Id = 203L,
 04459                            Code = 762,
 04460                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04461                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04462                            IsDeleted = false,
 04463                            Name = "Таджикистан"
 04464                        },
 04465                        new
 04466                        {
 04467                            Id = 204L,
 04468                            Code = 764,
 04469                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04470                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04471                            IsDeleted = false,
 04472                            Name = "Таиланд"
 04473                        },
 04474                        new
 04475                        {
 04476                            Id = 205L,
 04477                            Code = 158,
 04478                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04479                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04480                            IsDeleted = false,
 04481                            Name = "Тайвань (Китай)"
 04482                        },
 04483                        new
 04484                        {
 04485                            Id = 206L,
 04486                            Code = 834,
 04487                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04488                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04489                            IsDeleted = false,
 04490                            Name = "Танзания, Объединенная Республика"
 04491                        },
 04492                        new
 04493                        {
 04494                            Id = 207L,
 04495                            Code = 626,
 04496                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04497                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04498                            IsDeleted = false,
 04499                            Name = "Тимор-Лесте"
 04500                        },
 04501                        new
 04502                        {
 04503                            Id = 208L,
 04504                            Code = 768,
 04505                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04506                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04507                            IsDeleted = false,
 04508                            Name = "Того"
 04509                        },
 04510                        new
 04511                        {
 04512                            Id = 209L,
 04513                            Code = 772,
 04514                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04515                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04516                            IsDeleted = false,
 04517                            Name = "Токелау"
 04518                        },
 04519                        new
 04520                        {
 04521                            Id = 210L,
 04522                            Code = 776,
 04523                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04524                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04525                            IsDeleted = false,
 04526                            Name = "Тонга"
 04527                        },
 04528                        new
 04529                        {
 04530                            Id = 211L,
 04531                            Code = 780,
 04532                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04533                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04534                            IsDeleted = false,
 04535                            Name = "Тринидад и Тобаго"
 04536                        },
 04537                        new
 04538                        {
 04539                            Id = 212L,
 04540                            Code = 798,
 04541                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04542                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04543                            IsDeleted = false,
 04544                            Name = "Тувалу"
 04545                        },
 04546                        new
 04547                        {
 04548                            Id = 213L,
 04549                            Code = 788,
 04550                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04551                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04552                            IsDeleted = false,
 04553                            Name = "Тунис"
 04554                        },
 04555                        new
 04556                        {
 04557                            Id = 214L,
 04558                            Code = 795,
 04559                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04560                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04561                            IsDeleted = false,
 04562                            Name = "Туркменистан"
 04563                        },
 04564                        new
 04565                        {
 04566                            Id = 215L,
 04567                            Code = 792,
 04568                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04569                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04570                            IsDeleted = false,
 04571                            Name = "Турция"
 04572                        },
 04573                        new
 04574                        {
 04575                            Id = 216L,
 04576                            Code = 800,
 04577                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04578                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04579                            IsDeleted = false,
 04580                            Name = "Уганда"
 04581                        },
 04582                        new
 04583                        {
 04584                            Id = 217L,
 04585                            Code = 860,
 04586                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04587                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04588                            IsDeleted = false,
 04589                            Name = "Узбекистан"
 04590                        },
 04591                        new
 04592                        {
 04593                            Id = 218L,
 04594                            Code = 804,
 04595                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04596                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04597                            IsDeleted = false,
 04598                            Name = "Украина"
 04599                        },
 04600                        new
 04601                        {
 04602                            Id = 219L,
 04603                            Code = 876,
 04604                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04605                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04606                            IsDeleted = false,
 04607                            Name = "Уоллис и Футуна"
 04608                        },
 04609                        new
 04610                        {
 04611                            Id = 220L,
 04612                            Code = 858,
 04613                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04614                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04615                            IsDeleted = false,
 04616                            Name = "Уругвай"
 04617                        },
 04618                        new
 04619                        {
 04620                            Id = 221L,
 04621                            Code = 234,
 04622                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04623                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04624                            IsDeleted = false,
 04625                            Name = "Фарерские острова"
 04626                        },
 04627                        new
 04628                        {
 04629                            Id = 222L,
 04630                            Code = 242,
 04631                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04632                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04633                            IsDeleted = false,
 04634                            Name = "Фиджи"
 04635                        },
 04636                        new
 04637                        {
 04638                            Id = 223L,
 04639                            Code = 608,
 04640                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04641                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04642                            IsDeleted = false,
 04643                            Name = "Филиппины"
 04644                        },
 04645                        new
 04646                        {
 04647                            Id = 224L,
 04648                            Code = 246,
 04649                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04650                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04651                            IsDeleted = false,
 04652                            Name = "Финляндия"
 04653                        },
 04654                        new
 04655                        {
 04656                            Id = 225L,
 04657                            Code = 238,
 04658                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04659                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04660                            IsDeleted = false,
 04661                            Name = "Фолклендские острова (Мальвинские)"
 04662                        },
 04663                        new
 04664                        {
 04665                            Id = 226L,
 04666                            Code = 250,
 04667                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04668                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04669                            IsDeleted = false,
 04670                            Name = "Франция"
 04671                        },
 04672                        new
 04673                        {
 04674                            Id = 227L,
 04675                            Code = 254,
 04676                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04677                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04678                            IsDeleted = false,
 04679                            Name = "Французская Гвиана"
 04680                        },
 04681                        new
 04682                        {
 04683                            Id = 228L,
 04684                            Code = 258,
 04685                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04686                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04687                            IsDeleted = false,
 04688                            Name = "Французская Полинезия"
 04689                        },
 04690                        new
 04691                        {
 04692                            Id = 229L,
 04693                            Code = 260,
 04694                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04695                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04696                            IsDeleted = false,
 04697                            Name = "Французские Южные территории"
 04698                        },
 04699                        new
 04700                        {
 04701                            Id = 230L,
 04702                            Code = 191,
 04703                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04704                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04705                            IsDeleted = false,
 04706                            Name = "Хорватия"
 04707                        },
 04708                        new
 04709                        {
 04710                            Id = 231L,
 04711                            Code = 140,
 04712                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04713                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04714                            IsDeleted = false,
 04715                            Name = "Центрально-Африканская Республика"
 04716                        },
 04717                        new
 04718                        {
 04719                            Id = 232L,
 04720                            Code = 148,
 04721                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04722                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04723                            IsDeleted = false,
 04724                            Name = "Чад"
 04725                        },
 04726                        new
 04727                        {
 04728                            Id = 233L,
 04729                            Code = 499,
 04730                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04731                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04732                            IsDeleted = false,
 04733                            Name = "Черногория"
 04734                        },
 04735                        new
 04736                        {
 04737                            Id = 234L,
 04738                            Code = 203,
 04739                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04740                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04741                            IsDeleted = false,
 04742                            Name = "Чешская Республика"
 04743                        },
 04744                        new
 04745                        {
 04746                            Id = 235L,
 04747                            Code = 152,
 04748                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04749                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04750                            IsDeleted = false,
 04751                            Name = "Чили"
 04752                        },
 04753                        new
 04754                        {
 04755                            Id = 236L,
 04756                            Code = 756,
 04757                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04758                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04759                            IsDeleted = false,
 04760                            Name = "Швейцария"
 04761                        },
 04762                        new
 04763                        {
 04764                            Id = 237L,
 04765                            Code = 752,
 04766                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04767                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04768                            IsDeleted = false,
 04769                            Name = "Швеция"
 04770                        },
 04771                        new
 04772                        {
 04773                            Id = 238L,
 04774                            Code = 744,
 04775                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04776                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04777                            IsDeleted = false,
 04778                            Name = "Шпицберген и Ян Майен"
 04779                        },
 04780                        new
 04781                        {
 04782                            Id = 239L,
 04783                            Code = 144,
 04784                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04785                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04786                            IsDeleted = false,
 04787                            Name = "Шри-Ланка"
 04788                        },
 04789                        new
 04790                        {
 04791                            Id = 240L,
 04792                            Code = 218,
 04793                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04794                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04795                            IsDeleted = false,
 04796                            Name = "Эквадор"
 04797                        },
 04798                        new
 04799                        {
 04800                            Id = 241L,
 04801                            Code = 226,
 04802                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04803                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04804                            IsDeleted = false,
 04805                            Name = "Экваториальная Гвинея"
 04806                        },
 04807                        new
 04808                        {
 04809                            Id = 242L,
 04810                            Code = 248,
 04811                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04812                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04813                            IsDeleted = false,
 04814                            Name = "Эландские острова"
 04815                        },
 04816                        new
 04817                        {
 04818                            Id = 243L,
 04819                            Code = 222,
 04820                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04821                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04822                            IsDeleted = false,
 04823                            Name = "Эль-Сальвадор"
 04824                        },
 04825                        new
 04826                        {
 04827                            Id = 244L,
 04828                            Code = 232,
 04829                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04830                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04831                            IsDeleted = false,
 04832                            Name = "Эритрея"
 04833                        },
 04834                        new
 04835                        {
 04836                            Id = 245L,
 04837                            Code = 233,
 04838                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04839                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04840                            IsDeleted = false,
 04841                            Name = "Эстония"
 04842                        },
 04843                        new
 04844                        {
 04845                            Id = 246L,
 04846                            Code = 231,
 04847                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04848                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04849                            IsDeleted = false,
 04850                            Name = "Эфиопия"
 04851                        },
 04852                        new
 04853                        {
 04854                            Id = 247L,
 04855                            Code = 710,
 04856                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04857                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04858                            IsDeleted = false,
 04859                            Name = "Южная Африка"
 04860                        },
 04861                        new
 04862                        {
 04863                            Id = 248L,
 04864                            Code = 239,
 04865                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04866                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04867                            IsDeleted = false,
 04868                            Name = "Южная Джорджия и Южные Сандвичевы острова"
 04869                        },
 04870                        new
 04871                        {
 04872                            Id = 249L,
 04873                            Code = 896,
 04874                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04875                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04876                            IsDeleted = false,
 04877                            Name = "Южная Осетия"
 04878                        },
 04879                        new
 04880                        {
 04881                            Id = 250L,
 04882                            Code = 728,
 04883                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04884                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04885                            IsDeleted = false,
 04886                            Name = "Южный Судан"
 04887                        },
 04888                        new
 04889                        {
 04890                            Id = 251L,
 04891                            Code = 388,
 04892                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04893                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04894                            IsDeleted = false,
 04895                            Name = "Ямайка"
 04896                        },
 04897                        new
 04898                        {
 04899                            Id = 252L,
 04900                            Code = 392,
 04901                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04902                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04903                            IsDeleted = false,
 04904                            Name = "Япония"
 04905                        });
 04906                });
 4907
 04908            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Currency", b =>
 04909                {
 04910                    b.Property<long>("Id")
 04911                        .ValueGeneratedOnAdd()
 04912                        .HasColumnType("bigint")
 04913                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 04914                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 04915
 04916                    b.Property<string>("CODE")
 04917                        .IsRequired()
 04918                        .HasColumnType("text");
 04919
 04920                    b.Property<string>("COUNTRY")
 04921                        .IsRequired()
 04922                        .HasColumnType("text");
 04923
 04924                    b.Property<long?>("CreatedByUserId")
 04925                        .HasColumnType("bigint");
 04926
 04927                    b.Property<DateTime>("CreationDateTime")
 04928                        .HasColumnType("timestamp without time zone");
 04929
 04930                    b.Property<Guid>("GUID")
 04931                        .ValueGeneratedOnAdd()
 04932                        .HasColumnType("uuid");
 04933
 04934                    b.Property<bool>("IsDeleted")
 04935                        .HasColumnType("boolean");
 04936
 04937                    b.Property<DateTime?>("ModificationDateTime")
 04938                        .HasColumnType("timestamp without time zone");
 04939
 04940                    b.Property<long?>("ModifiedByUserId")
 04941                        .HasColumnType("bigint");
 04942
 04943                    b.Property<string>("NAME")
 04944                        .IsRequired()
 04945                        .HasColumnType("text");
 04946
 04947                    b.Property<decimal>("Rate")
 04948                        .HasColumnType("numeric");
 04949
 04950                    b.Property<long?>("RecStateId")
 04951                        .HasColumnType("bigint");
 04952
 04953                    b.Property<string>("STRCODE")
 04954                        .IsRequired()
 04955                        .HasColumnType("text");
 04956
 04957                    b.Property<string>("global_id")
 04958                        .HasColumnType("text");
 04959
 04960                    b.Property<string>("system_object_id")
 04961                        .HasColumnType("text");
 04962
 04963                    b.HasKey("Id");
 04964
 04965                    b.HasIndex("CODE")
 04966                        .IsUnique();
 04967
 04968                    b.HasIndex("CreatedByUserId");
 04969
 04970                    b.HasIndex("ModifiedByUserId");
 04971
 04972                    b.HasIndex("NAME")
 04973                        .IsUnique();
 04974
 04975                    b.HasIndex("RecStateId");
 04976
 04977                    b.HasIndex("STRCODE")
 04978                        .IsUnique();
 04979
 04980                    b.ToTable("Currency");
 04981
 04982                    b.HasData(
 04983                        new
 04984                        {
 04985                            Id = 1L,
 04986                            CODE = "643",
 04987                            COUNTRY = "Россия",
 04988                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04989                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04990                            IsDeleted = false,
 04991                            NAME = "Российский рубль",
 04992                            Rate = 1m,
 04993                            STRCODE = "RUB",
 04994                            global_id = "62838439",
 04995                            system_object_id = "643"
 04996                        });
 04997                });
 4998
 04999            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", b =>
 05000                {
 05001                    b.Property<long>("Id")
 05002                        .ValueGeneratedOnAdd()
 05003                        .HasColumnType("bigint")
 05004                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05005
 05006                    b.Property<long?>("ActualAddressId")
 05007                        .HasColumnType("bigint");
 05008
 05009                    b.Property<decimal>("Area")
 05010                        .HasColumnType("numeric");
 05011
 05012                    b.Property<long?>("ClusterId")
 05013                        .HasColumnType("bigint");
 05014
 05015                    b.Property<long>("ContragentId")
 05016                        .HasColumnType("bigint");
 05017
 05018                    b.Property<long?>("CreatedByUserId")
 05019                        .HasColumnType("bigint");
 05020
 05021                    b.Property<DateTime>("CreationDateTime")
 05022                        .HasColumnType("timestamp without time zone");
 05023
 05024                    b.Property<string>("Email")
 05025                        .HasColumnType("text");
 05026
 05027                    b.Property<Guid>("GUID")
 05028                        .ValueGeneratedOnAdd()
 05029                        .HasColumnType("uuid");
 05030
 05031                    b.Property<bool>("IsDeleted")
 05032                        .HasColumnType("boolean");
 05033
 05034                    b.Property<long?>("KindId")
 05035                        .HasColumnType("bigint");
 05036
 05037                    b.Property<string>("Kpp")
 05038                        .HasColumnType("text");
 05039
 05040                    b.Property<DateTime?>("ModificationDateTime")
 05041                        .HasColumnType("timestamp without time zone");
 05042
 05043                    b.Property<long?>("ModifiedByUserId")
 05044                        .HasColumnType("bigint");
 05045
 05046                    b.Property<string>("Name")
 05047                        .IsRequired()
 05048                        .HasColumnType("text");
 05049
 05050                    b.Property<string>("PhoneNumber")
 05051                        .IsRequired()
 05052                        .HasColumnType("text");
 05053
 05054                    b.Property<long?>("RecStateId")
 05055                        .HasColumnType("bigint");
 05056
 05057                    b.Property<long?>("StatusId")
 05058                        .HasColumnType("bigint");
 05059
 05060                    b.HasKey("Id");
 05061
 05062                    b.HasIndex("ActualAddressId");
 05063
 05064                    b.HasIndex("ClusterId");
 05065
 05066                    b.HasIndex("ContragentId");
 05067
 05068                    b.HasIndex("CreatedByUserId");
 05069
 05070                    b.HasIndex("KindId");
 05071
 05072                    b.HasIndex("ModifiedByUserId");
 05073
 05074                    b.HasIndex("Name")
 05075                        .IsUnique();
 05076
 05077                    b.HasIndex("PhoneNumber");
 05078
 05079                    b.HasIndex("RecStateId");
 05080
 05081                    b.HasIndex("StatusId");
 05082
 05083                    b.ToTable("Departments");
 05084
 05085                    b.HasData(
 05086                        new
 05087                        {
 05088                            Id = -2L,
 05089                            ActualAddressId = -1L,
 05090                            Area = 100.0m,
 05091                            ContragentId = -2L,
 05092                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05093                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05094                            IsDeleted = false,
 05095                            KindId = 4L,
 05096                            Kpp = "4",
 05097                            Name = "Сервисный департамент",
 05098                            PhoneNumber = "88008008000",
 05099                            StatusId = 2L
 05100                        },
 05101                        new
 05102                        {
 05103                            Id = -1L,
 05104                            ActualAddressId = -1L,
 05105                            Area = 100.0m,
 05106                            ContragentId = -1L,
 05107                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05108                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05109                            IsDeleted = false,
 05110                            KindId = 2L,
 05111                            Kpp = "3",
 05112                            Name = "Демонстрационный магазин №1",
 05113                            PhoneNumber = "88008008000",
 05114                            StatusId = 2L
 05115                        });
 05116                });
 5117
 05118            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentCategoryRatio", b =>
 05119                {
 05120                    b.Property<long>("Id")
 05121                        .ValueGeneratedOnAdd()
 05122                        .HasColumnType("bigint")
 05123                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05124
 05125                    b.Property<long>("CategoryId")
 05126                        .HasColumnType("bigint");
 05127
 05128                    b.Property<long?>("CreatedByUserId")
 05129                        .HasColumnType("bigint");
 05130
 05131                    b.Property<DateTime>("CreationDateTime")
 05132                        .HasColumnType("timestamp without time zone");
 05133
 05134                    b.Property<long>("DepartmentId")
 05135                        .HasColumnType("bigint");
 05136
 05137                    b.Property<Guid>("GUID")
 05138                        .ValueGeneratedOnAdd()
 05139                        .HasColumnType("uuid");
 05140
 05141                    b.Property<bool>("IsDeleted")
 05142                        .HasColumnType("boolean");
 05143
 05144                    b.Property<DateTime?>("ModificationDateTime")
 05145                        .HasColumnType("timestamp without time zone");
 05146
 05147                    b.Property<long?>("ModifiedByUserId")
 05148                        .HasColumnType("bigint");
 05149
 05150                    b.Property<long?>("RecStateId")
 05151                        .HasColumnType("bigint");
 05152
 05153                    b.Property<decimal>("TradeRatio")
 05154                        .HasColumnType("numeric");
 05155
 05156                    b.HasKey("Id");
 05157
 05158                    b.HasIndex("CategoryId");
 05159
 05160                    b.HasIndex("CreatedByUserId");
 05161
 05162                    b.HasIndex("ModifiedByUserId");
 05163
 05164                    b.HasIndex("RecStateId");
 05165
 05166                    b.HasIndex("DepartmentId", "CategoryId")
 05167                        .IsUnique();
 05168
 05169                    b.ToTable("DepartmentCategoryRatio");
 05170                });
 5171
 05172            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentGoodSetting", b =>
 05173                {
 05174                    b.Property<long>("Id")
 05175                        .ValueGeneratedOnAdd()
 05176                        .HasColumnType("bigint")
 05177                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05178
 05179                    b.Property<long?>("CreatedByUserId")
 05180                        .HasColumnType("bigint");
 05181
 05182                    b.Property<DateTime>("CreationDateTime")
 05183                        .HasColumnType("timestamp without time zone");
 05184
 05185                    b.Property<long>("DepartmentId")
 05186                        .HasColumnType("bigint");
 05187
 05188                    b.Property<Guid>("GUID")
 05189                        .ValueGeneratedOnAdd()
 05190                        .HasColumnType("uuid");
 05191
 05192                    b.Property<long>("GoodId")
 05193                        .HasColumnType("bigint");
 05194
 05195                    b.Property<bool>("IsDeleted")
 05196                        .HasColumnType("boolean");
 05197
 05198                    b.Property<decimal>("MinQuantity")
 05199                        .HasColumnType("numeric");
 05200
 05201                    b.Property<DateTime?>("ModificationDateTime")
 05202                        .HasColumnType("timestamp without time zone");
 05203
 05204                    b.Property<long?>("ModifiedByUserId")
 05205                        .HasColumnType("bigint");
 05206
 05207                    b.Property<decimal>("PickingQuantum")
 05208                        .HasColumnType("numeric");
 05209
 05210                    b.Property<long?>("RecStateId")
 05211                        .HasColumnType("bigint");
 05212
 05213                    b.HasKey("Id");
 05214
 05215                    b.HasIndex("CreatedByUserId");
 05216
 05217                    b.HasIndex("DepartmentId");
 05218
 05219                    b.HasIndex("ModifiedByUserId");
 05220
 05221                    b.HasIndex("RecStateId");
 05222
 05223                    b.HasIndex("GoodId", "DepartmentId")
 05224                        .IsUnique();
 05225
 05226                    b.ToTable("DepartmentGoodSetting");
 05227                });
 5228
 05229            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", b =>
 05230                {
 05231                    b.Property<long>("Id")
 05232                        .ValueGeneratedOnAdd()
 05233                        .HasColumnType("bigint")
 05234                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05235                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05236
 05237                    b.Property<string>("Code")
 05238                        .IsRequired()
 05239                        .HasColumnType("text");
 05240
 05241                    b.Property<long?>("CreatedByUserId")
 05242                        .HasColumnType("bigint");
 05243
 05244                    b.Property<DateTime>("CreationDateTime")
 05245                        .HasColumnType("timestamp without time zone");
 05246
 05247                    b.Property<string>("Description")
 05248                        .HasColumnType("text");
 05249
 05250                    b.Property<Guid>("GUID")
 05251                        .ValueGeneratedOnAdd()
 05252                        .HasColumnType("uuid");
 05253
 05254                    b.Property<bool>("IsDeleted")
 05255                        .HasColumnType("boolean");
 05256
 05257                    b.Property<DateTime?>("ModificationDateTime")
 05258                        .HasColumnType("timestamp without time zone");
 05259
 05260                    b.Property<long?>("ModifiedByUserId")
 05261                        .HasColumnType("bigint");
 05262
 05263                    b.Property<string>("Name")
 05264                        .IsRequired()
 05265                        .HasColumnType("text");
 05266
 05267                    b.Property<long?>("RecStateId")
 05268                        .HasColumnType("bigint");
 05269
 05270                    b.HasKey("Id");
 05271
 05272                    b.HasIndex("CreatedByUserId");
 05273
 05274                    b.HasIndex("ModifiedByUserId");
 05275
 05276                    b.HasIndex("RecStateId");
 05277
 05278                    b.ToTable("DepartmentsKind");
 05279
 05280                    b.HasData(
 05281                        new
 05282                        {
 05283                            Id = 1L,
 05284                            Code = "Warehouse",
 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                        new
 05292                        {
 05293                            Id = 2L,
 05294                            Code = "Shop",
 05295                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05296                            Description = "",
 05297                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05298                            IsDeleted = false,
 05299                            Name = "Магазин"
 05300                        },
 05301                        new
 05302                        {
 05303                            Id = 3L,
 05304                            Code = "Plant",
 05305                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05306                            Description = "",
 05307                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05308                            IsDeleted = false,
 05309                            Name = "Завод"
 05310                        },
 05311                        new
 05312                        {
 05313                            Id = 4L,
 05314                            Code = "Maintenance",
 05315                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05316                            Description = "",
 05317                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05318                            IsDeleted = false,
 05319                            Name = "Сервисная служба"
 05320                        });
 05321                });
 5322
 05323            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsStatus", b =>
 05324                {
 05325                    b.Property<long>("Id")
 05326                        .ValueGeneratedOnAdd()
 05327                        .HasColumnType("bigint")
 05328                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05329                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05330
 05331                    b.Property<string>("Code")
 05332                        .IsRequired()
 05333                        .HasColumnType("text");
 05334
 05335                    b.Property<long?>("CreatedByUserId")
 05336                        .HasColumnType("bigint");
 05337
 05338                    b.Property<DateTime>("CreationDateTime")
 05339                        .HasColumnType("timestamp without time zone");
 05340
 05341                    b.Property<string>("Description")
 05342                        .HasColumnType("text");
 05343
 05344                    b.Property<Guid>("GUID")
 05345                        .ValueGeneratedOnAdd()
 05346                        .HasColumnType("uuid");
 05347
 05348                    b.Property<bool>("IsDeleted")
 05349                        .HasColumnType("boolean");
 05350
 05351                    b.Property<DateTime?>("ModificationDateTime")
 05352                        .HasColumnType("timestamp without time zone");
 05353
 05354                    b.Property<long?>("ModifiedByUserId")
 05355                        .HasColumnType("bigint");
 05356
 05357                    b.Property<string>("Name")
 05358                        .IsRequired()
 05359                        .HasColumnType("text");
 05360
 05361                    b.Property<long?>("RecStateId")
 05362                        .HasColumnType("bigint");
 05363
 05364                    b.HasKey("Id");
 05365
 05366                    b.HasIndex("CreatedByUserId");
 05367
 05368                    b.HasIndex("ModifiedByUserId");
 05369
 05370                    b.HasIndex("RecStateId");
 05371
 05372                    b.ToTable("DepartmentsStatus");
 05373
 05374                    b.HasData(
 05375                        new
 05376                        {
 05377                            Id = 1L,
 05378                            Code = "New",
 05379                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05380                            Description = "",
 05381                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05382                            IsDeleted = false,
 05383                            Name = "Новый"
 05384                        },
 05385                        new
 05386                        {
 05387                            Id = 2L,
 05388                            Code = "Active",
 05389                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05390                            Description = "",
 05391                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05392                            IsDeleted = false,
 05393                            Name = "Активный"
 05394                        },
 05395                        new
 05396                        {
 05397                            Id = 3L,
 05398                            Code = "Inactive",
 05399                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05400                            Description = "",
 05401                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05402                            IsDeleted = false,
 05403                            Name = "Неактивный"
 05404                        },
 05405                        new
 05406                        {
 05407                            Id = 4L,
 05408                            Code = "Paused",
 05409                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05410                            Description = "",
 05411                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05412                            IsDeleted = false,
 05413                            Name = "На паузе"
 05414                        });
 05415                });
 5416
 05417            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DiscountColor", b =>
 05418                {
 05419                    b.Property<long>("Id")
 05420                        .ValueGeneratedOnAdd()
 05421                        .HasColumnType("bigint")
 05422                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05423                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05424
 05425                    b.Property<long?>("CreatedByUserId")
 05426                        .HasColumnType("bigint");
 05427
 05428                    b.Property<DateTime>("CreationDateTime")
 05429                        .HasColumnType("timestamp without time zone");
 05430
 05431                    b.Property<int>("DiscountLevel")
 05432                        .HasColumnType("integer");
 05433
 05434                    b.Property<Guid>("GUID")
 05435                        .ValueGeneratedOnAdd()
 05436                        .HasColumnType("uuid");
 05437
 05438                    b.Property<bool>("IsDeleted")
 05439                        .HasColumnType("boolean");
 05440
 05441                    b.Property<string>("LabelColor")
 05442                        .IsRequired()
 05443                        .HasColumnType("text");
 05444
 05445                    b.Property<DateTime?>("ModificationDateTime")
 05446                        .HasColumnType("timestamp without time zone");
 05447
 05448                    b.Property<long?>("ModifiedByUserId")
 05449                        .HasColumnType("bigint");
 05450
 05451                    b.Property<long?>("RecStateId")
 05452                        .HasColumnType("bigint");
 05453
 05454                    b.HasKey("Id");
 05455
 05456                    b.HasIndex("CreatedByUserId");
 05457
 05458                    b.HasIndex("ModifiedByUserId");
 05459
 05460                    b.HasIndex("RecStateId");
 05461
 05462                    b.HasIndex("DiscountLevel", "LabelColor")
 05463                        .IsUnique();
 05464
 05465                    b.ToTable("DiscountColors");
 05466
 05467                    b.HasData(
 05468                        new
 05469                        {
 05470                            Id = 1L,
 05471                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05472                            DiscountLevel = 10,
 05473                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05474                            IsDeleted = false,
 05475                            LabelColor = "EA6B6A"
 05476                        });
 05477                });
 5478
 05479            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DownloadGoodsImagesTask", b =>
 05480                {
 05481                    b.Property<long>("Id")
 05482                        .ValueGeneratedOnAdd()
 05483                        .HasColumnType("bigint")
 05484                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05485
 05486                    b.Property<bool>("ActiveGoodsOnly")
 05487                        .HasColumnType("boolean");
 05488
 05489                    b.Property<long?>("CreatedByUserId")
 05490                        .HasColumnType("bigint");
 05491
 05492                    b.Property<DateTime>("CreationDateTime")
 05493                        .HasColumnType("timestamp without time zone");
 05494
 05495                    b.Property<string>("DownloadUrl")
 05496                        .HasColumnType("text");
 05497
 05498                    b.Property<string>("Error")
 05499                        .HasColumnType("text");
 05500
 05501                    b.Property<DateTime?>("FinishedDate")
 05502                        .HasColumnType("timestamp without time zone");
 05503
 05504                    b.Property<bool>("InProgress")
 05505                        .HasColumnType("boolean");
 05506
 05507                    b.Property<string>("InnerError")
 05508                        .HasColumnType("text");
 05509
 05510                    b.Property<string>("InnerStackTrace")
 05511                        .HasColumnType("text");
 05512
 05513                    b.Property<bool>("IsDeleted")
 05514                        .HasColumnType("boolean");
 05515
 05516                    b.Property<DateTime?>("ModificationDateTime")
 05517                        .HasColumnType("timestamp without time zone");
 05518
 05519                    b.Property<long?>("ModifiedByUserId")
 05520                        .HasColumnType("bigint");
 05521
 05522                    b.Property<long?>("RecStateId")
 05523                        .HasColumnType("bigint");
 05524
 05525                    b.Property<string>("StackTrace")
 05526                        .HasColumnType("text");
 05527
 05528                    b.HasKey("Id");
 05529
 05530                    b.HasIndex("CreatedByUserId");
 05531
 05532                    b.HasIndex("ModifiedByUserId");
 05533
 05534                    b.HasIndex("RecStateId");
 05535
 05536                    b.ToTable("DownloadGoodsImagesTasks");
 05537                });
 5538
 05539            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Email", b =>
 05540                {
 05541                    b.Property<long>("Id")
 05542                        .ValueGeneratedOnAdd()
 05543                        .HasColumnType("bigint")
 05544                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05545
 05546                    b.Property<string>("Attachment")
 05547                        .HasColumnType("text");
 05548
 05549                    b.Property<string>("Body")
 05550                        .IsRequired()
 05551                        .HasColumnType("text");
 05552
 05553                    b.Property<long?>("CreatedByUserId")
 05554                        .HasColumnType("bigint");
 05555
 05556                    b.Property<DateTime>("CreationDateTime")
 05557                        .HasColumnType("timestamp without time zone");
 05558
 05559                    b.Property<string>("Error")
 05560                        .HasColumnType("text");
 05561
 05562                    b.Property<Guid>("GUID")
 05563                        .ValueGeneratedOnAdd()
 05564                        .HasColumnType("uuid");
 05565
 05566                    b.Property<bool>("IsDeleted")
 05567                        .HasColumnType("boolean");
 05568
 05569                    b.Property<DateTime?>("ModificationDateTime")
 05570                        .HasColumnType("timestamp without time zone");
 05571
 05572                    b.Property<long?>("ModifiedByUserId")
 05573                        .HasColumnType("bigint");
 05574
 05575                    b.Property<long?>("RecStateId")
 05576                        .HasColumnType("bigint");
 05577
 05578                    b.Property<string>("Receiver")
 05579                        .IsRequired()
 05580                        .HasColumnType("text");
 05581
 05582                    b.Property<int>("Status")
 05583                        .HasColumnType("integer");
 05584
 05585                    b.Property<string>("Subject")
 05586                        .IsRequired()
 05587                        .HasColumnType("text");
 05588
 05589                    b.HasKey("Id");
 05590
 05591                    b.HasIndex("CreatedByUserId");
 05592
 05593                    b.HasIndex("ModifiedByUserId");
 05594
 05595                    b.HasIndex("RecStateId");
 05596
 05597                    b.ToTable("Emails");
 05598                });
 5599
 05600            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Event", b =>
 05601                {
 05602                    b.Property<long>("Id")
 05603                        .ValueGeneratedOnAdd()
 05604                        .HasColumnType("bigint")
 05605                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05606
 05607                    b.Property<long?>("CreatedByUserId")
 05608                        .HasColumnType("bigint");
 05609
 05610                    b.Property<DateTime>("CreationDateTime")
 05611                        .HasColumnType("timestamp without time zone");
 05612
 05613                    b.Property<DateTime>("DtCreated")
 05614                        .HasColumnType("timestamp without time zone");
 05615
 05616                    b.Property<string>("Entity")
 05617                        .IsRequired()
 05618                        .HasColumnType("text");
 05619
 05620                    b.Property<long>("EventsKindId")
 05621                        .HasColumnType("bigint");
 05622
 05623                    b.Property<Guid>("GUID")
 05624                        .ValueGeneratedOnAdd()
 05625                        .HasColumnType("uuid");
 05626
 05627                    b.Property<bool>("IsDeleted")
 05628                        .HasColumnType("boolean");
 05629
 05630                    b.Property<DateTime?>("ModificationDateTime")
 05631                        .HasColumnType("timestamp without time zone");
 05632
 05633                    b.Property<long?>("ModifiedByUserId")
 05634                        .HasColumnType("bigint");
 05635
 05636                    b.Property<string>("ReasonJson")
 05637                        .HasColumnType("text");
 05638
 05639                    b.Property<long?>("RecStateId")
 05640                        .HasColumnType("bigint");
 05641
 05642                    b.Property<Guid>("RecordGuid")
 05643                        .HasColumnType("uuid");
 05644
 05645                    b.Property<long>("UserId")
 05646                        .HasColumnType("bigint");
 05647
 05648                    b.HasKey("Id");
 05649
 05650                    b.HasIndex("CreatedByUserId");
 05651
 05652                    b.HasIndex("Entity");
 05653
 05654                    b.HasIndex("EventsKindId");
 05655
 05656                    b.HasIndex("ModifiedByUserId");
 05657
 05658                    b.HasIndex("ReasonJson");
 05659
 05660                    b.HasIndex("RecStateId");
 05661
 05662                    b.HasIndex("UserId");
 05663
 05664                    b.ToTable("Events");
 05665                });
 5666
 05667            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", b =>
 05668                {
 05669                    b.Property<long>("Id")
 05670                        .ValueGeneratedOnAdd()
 05671                        .HasColumnType("bigint")
 05672                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05673                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05674
 05675                    b.Property<string>("Code")
 05676                        .IsRequired()
 05677                        .HasColumnType("text");
 05678
 05679                    b.Property<long?>("CreatedByUserId")
 05680                        .HasColumnType("bigint");
 05681
 05682                    b.Property<DateTime>("CreationDateTime")
 05683                        .HasColumnType("timestamp without time zone");
 05684
 05685                    b.Property<string>("Description")
 05686                        .HasColumnType("text");
 05687
 05688                    b.Property<Guid>("GUID")
 05689                        .ValueGeneratedOnAdd()
 05690                        .HasColumnType("uuid");
 05691
 05692                    b.Property<bool>("IsDeleted")
 05693                        .HasColumnType("boolean");
 05694
 05695                    b.Property<DateTime?>("ModificationDateTime")
 05696                        .HasColumnType("timestamp without time zone");
 05697
 05698                    b.Property<long?>("ModifiedByUserId")
 05699                        .HasColumnType("bigint");
 05700
 05701                    b.Property<string>("Name")
 05702                        .IsRequired()
 05703                        .HasColumnType("text");
 05704
 05705                    b.Property<long?>("RecStateId")
 05706                        .HasColumnType("bigint");
 05707
 05708                    b.HasKey("Id");
 05709
 05710                    b.HasIndex("CreatedByUserId");
 05711
 05712                    b.HasIndex("ModifiedByUserId");
 05713
 05714                    b.HasIndex("RecStateId");
 05715
 05716                    b.ToTable("EventsKind");
 05717
 05718                    b.HasData(
 05719                        new
 05720                        {
 05721                            Id = 1L,
 05722                            Code = "Unknown",
 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                        new
 05730                        {
 05731                            Id = 2L,
 05732                            Code = "Create",
 05733                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05734                            Description = "",
 05735                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05736                            IsDeleted = false,
 05737                            Name = "Создание"
 05738                        },
 05739                        new
 05740                        {
 05741                            Id = 3L,
 05742                            Code = "Update",
 05743                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05744                            Description = "",
 05745                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05746                            IsDeleted = false,
 05747                            Name = "Обновление"
 05748                        },
 05749                        new
 05750                        {
 05751                            Id = 4L,
 05752                            Code = "Delete",
 05753                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05754                            Description = "",
 05755                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05756                            IsDeleted = false,
 05757                            Name = "Удаление"
 05758                        });
 05759                });
 5760
 05761            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ExchangeToken", b =>
 05762                {
 05763                    b.Property<long>("Id")
 05764                        .ValueGeneratedOnAdd()
 05765                        .HasColumnType("bigint")
 05766                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05767                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05768
 05769                    b.Property<long?>("CreatedByUserId")
 05770                        .HasColumnType("bigint");
 05771
 05772                    b.Property<DateTime>("CreationDateTime")
 05773                        .HasColumnType("timestamp without time zone");
 05774
 05775                    b.Property<long>("DepartmentId")
 05776                        .HasColumnType("bigint");
 05777
 05778                    b.Property<string>("Description")
 05779                        .HasColumnType("text");
 05780
 05781                    b.Property<Guid>("GUID")
 05782                        .ValueGeneratedOnAdd()
 05783                        .HasColumnType("uuid");
 05784
 05785                    b.Property<bool>("IsDeleted")
 05786                        .HasColumnType("boolean");
 05787
 05788                    b.Property<DateTime?>("ModificationDateTime")
 05789                        .HasColumnType("timestamp without time zone");
 05790
 05791                    b.Property<long?>("ModifiedByUserId")
 05792                        .HasColumnType("bigint");
 05793
 05794                    b.Property<long?>("RecStateId")
 05795                        .HasColumnType("bigint");
 05796
 05797                    b.HasKey("Id");
 05798
 05799                    b.HasIndex("CreatedByUserId");
 05800
 05801                    b.HasIndex("DepartmentId");
 05802
 05803                    b.HasIndex("ModifiedByUserId");
 05804
 05805                    b.HasIndex("RecStateId");
 05806
 05807                    b.ToTable("ExchangeTokens");
 05808
 05809                    b.HasData(
 05810                        new
 05811                        {
 05812                            Id = 1L,
 05813                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05814                            DepartmentId = -2L,
 05815                            Description = "Для синхронизации с CRM",
 05816                            GUID = new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588"),
 05817                            IsDeleted = false,
 05818                            RecStateId = 2L
 05819                        });
 05820                });
 5821
 05822            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", b =>
 05823                {
 05824                    b.Property<long>("Id")
 05825                        .ValueGeneratedOnAdd()
 05826                        .HasColumnType("bigint")
 05827                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05828                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05829
 05830                    b.Property<long?>("CreatedByUserId")
 05831                        .HasColumnType("bigint");
 05832
 05833                    b.Property<DateTime>("CreationDateTime")
 05834                        .HasColumnType("timestamp without time zone");
 05835
 05836                    b.Property<string>("Description")
 05837                        .HasColumnType("text");
 05838
 05839                    b.Property<Guid>("GUID")
 05840                        .ValueGeneratedOnAdd()
 05841                        .HasColumnType("uuid");
 05842
 05843                    b.Property<bool>("IsDeleted")
 05844                        .HasColumnType("boolean");
 05845
 05846                    b.Property<DateTime?>("ModificationDateTime")
 05847                        .HasColumnType("timestamp without time zone");
 05848
 05849                    b.Property<long?>("ModifiedByUserId")
 05850                        .HasColumnType("bigint");
 05851
 05852                    b.Property<string>("Name")
 05853                        .IsRequired()
 05854                        .HasColumnType("text");
 05855
 05856                    b.Property<long?>("RecStateId")
 05857                        .HasColumnType("bigint");
 05858
 05859                    b.HasKey("Id");
 05860
 05861                    b.HasIndex("CreatedByUserId");
 05862
 05863                    b.HasIndex("ModifiedByUserId");
 05864
 05865                    b.HasIndex("RecStateId");
 05866
 05867                    b.ToTable("FrontActions");
 05868
 05869                    b.HasData(
 05870                        new
 05871                        {
 05872                            Id = 1L,
 05873                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05874                            Description = "Доступ к черновикам",
 05875                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05876                            IsDeleted = false,
 05877                            Name = "viewOrderDraft"
 05878                        },
 05879                        new
 05880                        {
 05881                            Id = 2L,
 05882                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05883                            Description = "Доступ к ценообразованию",
 05884                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05885                            IsDeleted = false,
 05886                            Name = "viewPricing"
 05887                        },
 05888                        new
 05889                        {
 05890                            Id = 3L,
 05891                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05892                            Description = "Доступ к уведомлениям",
 05893                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05894                            IsDeleted = false,
 05895                            Name = "viewNotifications"
 05896                        },
 05897                        new
 05898                        {
 05899                            Id = 4L,
 05900                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05901                            Description = "Доступ к отгрузкам",
 05902                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05903                            IsDeleted = false,
 05904                            Name = "viewShipments"
 05905                        },
 05906                        new
 05907                        {
 05908                            Id = 5L,
 05909                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05910                            Description = "Доступ к поддержке",
 05911                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05912                            IsDeleted = false,
 05913                            Name = "viewSupport"
 05914                        },
 05915                        new
 05916                        {
 05917                            Id = 6L,
 05918                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05919                            Description = "Доступ к аналитике",
 05920                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05921                            IsDeleted = false,
 05922                            Name = "viewAnalytics"
 05923                        },
 05924                        new
 05925                        {
 05926                            Id = 7L,
 05927                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05928                            Description = "Доступ к товарному запасу",
 05929                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05930                            IsDeleted = false,
 05931                            Name = "viewRests"
 05932                        },
 05933                        new
 05934                        {
 05935                            Id = 8L,
 05936                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05937                            Description = "Доступ к заявкам",
 05938                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05939                            IsDeleted = false,
 05940                            Name = "viewOrders"
 05941                        },
 05942                        new
 05943                        {
 05944                            Id = 9L,
 05945                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05946                            Description = "Доступ к профилю пользователя",
 05947                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05948                            IsDeleted = false,
 05949                            Name = "viewUser"
 05950                        },
 05951                        new
 05952                        {
 05953                            Id = 10L,
 05954                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05955                            Description = "Доступ к параметрам отборки",
 05956                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05957                            IsDeleted = false,
 05958                            Name = "viewSelectionParameters"
 05959                        },
 05960                        new
 05961                        {
 05962                            Id = 11L,
 05963                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05964                            Description = "Доступ к витрине",
 05965                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05966                            IsDeleted = false,
 05967                            Name = "viewShowcase"
 05968                        },
 05969                        new
 05970                        {
 05971                            Id = 12L,
 05972                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05973                            Description = "Доступ к управлению платформой",
 05974                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05975                            IsDeleted = false,
 05976                            Name = "viewSystemManagement"
 05977                        },
 05978                        new
 05979                        {
 05980                            Id = 13L,
 05981                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05982                            Description = "Доступ к настройкам",
 05983                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05984                            IsDeleted = false,
 05985                            Name = "viewSettings"
 05986                        },
 05987                        new
 05988                        {
 05989                            Id = 14L,
 05990                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05991                            Description = "Доступ к подразделениям",
 05992                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05993                            IsDeleted = false,
 05994                            Name = "viewDepartments"
 05995                        },
 05996                        new
 05997                        {
 05998                            Id = 15L,
 05999                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06000                            Description = "Доступ к профилю кошелька",
 06001                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06002                            IsDeleted = false,
 06003                            Name = "viewOrganisationPaymentAccount"
 06004                        },
 06005                        new
 06006                        {
 06007                            Id = 16L,
 06008                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06009                            Description = "Доступ к номенклатуре",
 06010                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06011                            IsDeleted = false,
 06012                            Name = "viewNomenclature"
 06013                        },
 06014                        new
 06015                        {
 06016                            Id = 17L,
 06017                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06018                            Description = "Доступ к брендам",
 06019                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06020                            IsDeleted = false,
 06021                            Name = "viewBrands"
 06022                        },
 06023                        new
 06024                        {
 06025                            Id = 18L,
 06026                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06027                            Description = "Доступ к товарной иерархии",
 06028                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06029                            IsDeleted = false,
 06030                            Name = "viewGoodsHierarchy"
 06031                        },
 06032                        new
 06033                        {
 06034                            Id = 19L,
 06035                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06036                            Description = "Доступ к добавлению подразделений",
 06037                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06038                            IsDeleted = false,
 06039                            Name = "addDepartment"
 06040                        },
 06041                        new
 06042                        {
 06043                            Id = 20L,
 06044                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06045                            Description = "Доступ к редактированию контрактов",
 06046                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06047                            IsDeleted = false,
 06048                            Name = "editContracts"
 06049                        },
 06050                        new
 06051                        {
 06052                            Id = 21L,
 06053                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06054                            Description = "Доступ к удалению контрактов",
 06055                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06056                            IsDeleted = false,
 06057                            Name = "deleteContracts"
 06058                        },
 06059                        new
 06060                        {
 06061                            Id = 22L,
 06062                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06063                            Description = "Доступ к администрированию",
 06064                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06065                            IsDeleted = false,
 06066                            Name = "viewAdministration"
 06067                        });
 06068                });
 6069
 06070            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", b =>
 06071                {
 06072                    b.Property<long>("Id")
 06073                        .ValueGeneratedOnAdd()
 06074                        .HasColumnType("bigint")
 06075                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06076
 06077                    b.Property<long?>("BrandId")
 06078                        .HasColumnType("bigint");
 06079
 06080                    b.Property<long>("CategoryId")
 06081                        .HasColumnType("bigint");
 06082
 06083                    b.Property<string>("ConformityCertNumber")
 06084                        .IsRequired()
 06085                        .HasColumnType("text");
 06086
 06087                    b.Property<long?>("CountryId")
 06088                        .HasColumnType("bigint");
 06089
 06090                    b.Property<long?>("CreatedByUserId")
 06091                        .HasColumnType("bigint");
 06092
 06093                    b.Property<DateTime>("CreationDateTime")
 06094                        .HasColumnType("timestamp without time zone");
 06095
 06096                    b.Property<string>("CustomDeclarationNumber")
 06097                        .IsRequired()
 06098                        .HasColumnType("text");
 06099
 06100                    b.Property<int>("ExpirationDays")
 06101                        .HasColumnType("integer");
 06102
 06103                    b.Property<Guid>("GUID")
 06104                        .ValueGeneratedOnAdd()
 06105                        .HasColumnType("uuid");
 06106
 06107                    b.Property<decimal>("GroupPackHeight")
 06108                        .HasColumnType("numeric");
 06109
 06110                    b.Property<int>("GroupPackNesting")
 06111                        .HasColumnType("integer");
 06112
 06113                    b.Property<decimal>("GroupPackThickness")
 06114                        .HasColumnType("numeric");
 06115
 06116                    b.Property<decimal>("GroupPackWidth")
 06117                        .HasColumnType("numeric");
 06118
 06119                    b.Property<decimal>("Height")
 06120                        .HasColumnType("numeric");
 06121
 06122                    b.Property<bool>("IsDeleted")
 06123                        .HasColumnType("boolean");
 06124
 06125                    b.Property<long>("MainBarcodeId")
 06126                        .HasColumnType("bigint");
 06127
 06128                    b.Property<long?>("ManufacturerId")
 06129                        .HasColumnType("bigint");
 06130
 06131                    b.Property<decimal>("MinDeliveryLot")
 06132                        .HasColumnType("numeric");
 06133
 06134                    b.Property<DateTime?>("ModificationDateTime")
 06135                        .HasColumnType("timestamp without time zone");
 06136
 06137                    b.Property<long?>("ModifiedByUserId")
 06138                        .HasColumnType("bigint");
 06139
 06140                    b.Property<string>("Name")
 06141                        .IsRequired()
 06142                        .HasColumnType("text");
 06143
 06144                    b.Property<int>("PalletNesting")
 06145                        .HasColumnType("integer");
 06146
 06147                    b.Property<long?>("RecStateId")
 06148                        .HasColumnType("bigint");
 06149
 06150                    b.Property<long?>("SubBrandId")
 06151                        .HasColumnType("bigint");
 06152
 06153                    b.Property<long?>("SupplierId")
 06154                        .HasColumnType("bigint");
 06155
 06156                    b.Property<decimal>("Thickness")
 06157                        .HasColumnType("numeric");
 06158
 06159                    b.Property<string>("UniqueCode")
 06160                        .HasColumnType("text");
 06161
 06162                    b.Property<long>("UnitsKindId")
 06163                        .HasColumnType("bigint");
 06164
 06165                    b.Property<long>("VatsKindId")
 06166                        .HasColumnType("bigint");
 06167
 06168                    b.Property<string>("VendorCode")
 06169                        .IsRequired()
 06170                        .HasColumnType("text");
 06171
 06172                    b.Property<decimal>("Weight")
 06173                        .HasColumnType("numeric");
 06174
 06175                    b.Property<decimal>("Width")
 06176                        .HasColumnType("numeric");
 06177
 06178                    b.HasKey("Id");
 06179
 06180                    b.HasIndex("BrandId");
 06181
 06182                    b.HasIndex("CategoryId");
 06183
 06184                    b.HasIndex("CountryId");
 06185
 06186                    b.HasIndex("CreatedByUserId");
 06187
 06188                    b.HasIndex("MainBarcodeId");
 06189
 06190                    b.HasIndex("ManufacturerId");
 06191
 06192                    b.HasIndex("ModifiedByUserId");
 06193
 06194                    b.HasIndex("Name");
 06195
 06196                    b.HasIndex("RecStateId");
 06197
 06198                    b.HasIndex("SubBrandId");
 06199
 06200                    b.HasIndex("SupplierId");
 06201
 06202                    b.HasIndex("UnitsKindId");
 06203
 06204                    b.HasIndex("VatsKindId");
 06205
 06206                    b.ToTable("Goods");
 06207                });
 6208
 06209            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.GoodLabel", b =>
 06210                {
 06211                    b.Property<long>("Id")
 06212                        .ValueGeneratedOnAdd()
 06213                        .HasColumnType("bigint")
 06214                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06215
 06216                    b.Property<long?>("CreatedByUserId")
 06217                        .HasColumnType("bigint");
 06218
 06219                    b.Property<DateTime>("CreationDateTime")
 06220                        .HasColumnType("timestamp without time zone");
 06221
 06222                    b.Property<Guid>("GUID")
 06223                        .ValueGeneratedOnAdd()
 06224                        .HasColumnType("uuid");
 06225
 06226                    b.Property<bool>("IsDeleted")
 06227                        .HasColumnType("boolean");
 06228
 06229                    b.Property<string>("LabelColor")
 06230                        .HasColumnType("text");
 06231
 06232                    b.Property<DateTime?>("ModificationDateTime")
 06233                        .HasColumnType("timestamp without time zone");
 06234
 06235                    b.Property<long?>("ModifiedByUserId")
 06236                        .HasColumnType("bigint");
 06237
 06238                    b.Property<string>("Name")
 06239                        .IsRequired()
 06240                        .HasColumnType("text");
 06241
 06242                    b.Property<int>("Priority")
 06243                        .HasColumnType("integer");
 06244
 06245                    b.Property<long?>("RecStateId")
 06246                        .HasColumnType("bigint");
 06247
 06248                    b.Property<string>("TextColor")
 06249                        .HasColumnType("text");
 06250
 06251                    b.HasKey("Id");
 06252
 06253                    b.HasIndex("CreatedByUserId");
 06254
 06255                    b.HasIndex("ModifiedByUserId");
 06256
 06257                    b.HasIndex("Name")
 06258                        .IsUnique();
 06259
 06260                    b.HasIndex("RecStateId");
 06261
 06262                    b.ToTable("GoodLabels");
 06263                });
 6264
 06265            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Incident", b =>
 06266                {
 06267                    b.Property<long>("Id")
 06268                        .ValueGeneratedOnAdd()
 06269                        .HasColumnType("bigint")
 06270                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06271
 06272                    b.Property<string>("Body")
 06273                        .HasColumnType("text");
 06274
 06275                    b.Property<long?>("CreatedByUserId")
 06276                        .HasColumnType("bigint");
 06277
 06278                    b.Property<DateTime>("CreationDateTime")
 06279                        .HasColumnType("timestamp without time zone");
 06280
 06281                    b.Property<DateTime>("DtCreated")
 06282                        .HasColumnType("timestamp without time zone");
 06283
 06284                    b.Property<Guid>("GUID")
 06285                        .ValueGeneratedOnAdd()
 06286                        .HasColumnType("uuid");
 06287
 06288                    b.Property<bool>("IsDeleted")
 06289                        .HasColumnType("boolean");
 06290
 06291                    b.Property<long?>("KindId")
 06292                        .HasColumnType("bigint");
 06293
 06294                    b.Property<DateTime?>("ModificationDateTime")
 06295                        .HasColumnType("timestamp without time zone");
 06296
 06297                    b.Property<long?>("ModifiedByUserId")
 06298                        .HasColumnType("bigint");
 06299
 06300                    b.Property<long?>("RecStateId")
 06301                        .HasColumnType("bigint");
 06302
 06303                    b.Property<long?>("StatusId")
 06304                        .HasColumnType("bigint");
 06305
 06306                    b.Property<string>("Subject")
 06307                        .HasColumnType("text");
 06308
 06309                    b.Property<string>("Ticket")
 06310                        .HasColumnType("text");
 06311
 06312                    b.Property<long>("UserId")
 06313                        .HasColumnType("bigint");
 06314
 06315                    b.HasKey("Id");
 06316
 06317                    b.HasIndex("CreatedByUserId");
 06318
 06319                    b.HasIndex("KindId");
 06320
 06321                    b.HasIndex("ModifiedByUserId");
 06322
 06323                    b.HasIndex("RecStateId");
 06324
 06325                    b.HasIndex("StatusId");
 06326
 06327                    b.HasIndex("UserId");
 06328
 06329                    b.ToTable("Incidents");
 06330                });
 6331
 06332            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsKind", b =>
 06333                {
 06334                    b.Property<long>("Id")
 06335                        .ValueGeneratedOnAdd()
 06336                        .HasColumnType("bigint")
 06337                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 06338                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06339
 06340                    b.Property<string>("Code")
 06341                        .IsRequired()
 06342                        .HasColumnType("text");
 06343
 06344                    b.Property<long?>("CreatedByUserId")
 06345                        .HasColumnType("bigint");
 06346
 06347                    b.Property<DateTime>("CreationDateTime")
 06348                        .HasColumnType("timestamp without time zone");
 06349
 06350                    b.Property<string>("Description")
 06351                        .HasColumnType("text");
 06352
 06353                    b.Property<Guid>("GUID")
 06354                        .ValueGeneratedOnAdd()
 06355                        .HasColumnType("uuid");
 06356
 06357                    b.Property<bool>("IsDeleted")
 06358                        .HasColumnType("boolean");
 06359
 06360                    b.Property<DateTime?>("ModificationDateTime")
 06361                        .HasColumnType("timestamp without time zone");
 06362
 06363                    b.Property<long?>("ModifiedByUserId")
 06364                        .HasColumnType("bigint");
 06365
 06366                    b.Property<string>("Name")
 06367                        .IsRequired()
 06368                        .HasColumnType("text");
 06369
 06370                    b.Property<long?>("RecStateId")
 06371                        .HasColumnType("bigint");
 06372
 06373                    b.HasKey("Id");
 06374
 06375                    b.HasIndex("CreatedByUserId");
 06376
 06377                    b.HasIndex("ModifiedByUserId");
 06378
 06379                    b.HasIndex("RecStateId");
 06380
 06381                    b.ToTable("IncidentsKind");
 06382
 06383                    b.HasData(
 06384                        new
 06385                        {
 06386                            Id = 1L,
 06387                            Code = "Unknown",
 06388                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06389                            Description = "",
 06390                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06391                            IsDeleted = false,
 06392                            Name = "Неизвестно"
 06393                        },
 06394                        new
 06395                        {
 06396                            Id = 2L,
 06397                            Code = "Error",
 06398                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06399                            Description = "",
 06400                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06401                            IsDeleted = false,
 06402                            Name = "Ошибка"
 06403                        },
 06404                        new
 06405                        {
 06406                            Id = 3L,
 06407                            Code = "Question",
 06408                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06409                            Description = "",
 06410                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06411                            IsDeleted = false,
 06412                            Name = "Вопрос"
 06413                        },
 06414                        new
 06415                        {
 06416                            Id = 4L,
 06417                            Code = "Suggestion",
 06418                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06419                            Description = "",
 06420                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06421                            IsDeleted = false,
 06422                            Name = "Предложение"
 06423                        });
 06424                });
 6425
 06426            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", b =>
 06427                {
 06428                    b.Property<long>("Id")
 06429                        .ValueGeneratedOnAdd()
 06430                        .HasColumnType("bigint")
 06431                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 06432                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06433
 06434                    b.Property<string>("Code")
 06435                        .IsRequired()
 06436                        .HasColumnType("text");
 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<string>("Description")
 06445                        .HasColumnType("text");
 06446
 06447                    b.Property<Guid>("GUID")
 06448                        .ValueGeneratedOnAdd()
 06449                        .HasColumnType("uuid");
 06450
 06451                    b.Property<bool>("IsDeleted")
 06452                        .HasColumnType("boolean");
 06453
 06454                    b.Property<DateTime?>("ModificationDateTime")
 06455                        .HasColumnType("timestamp without time zone");
 06456
 06457                    b.Property<long?>("ModifiedByUserId")
 06458                        .HasColumnType("bigint");
 06459
 06460                    b.Property<string>("Name")
 06461                        .IsRequired()
 06462                        .HasColumnType("text");
 06463
 06464                    b.Property<long?>("RecStateId")
 06465                        .HasColumnType("bigint");
 06466
 06467                    b.HasKey("Id");
 06468
 06469                    b.HasIndex("CreatedByUserId");
 06470
 06471                    b.HasIndex("ModifiedByUserId");
 06472
 06473                    b.HasIndex("RecStateId");
 06474
 06475                    b.ToTable("IncidentsStatus");
 06476
 06477                    b.HasData(
 06478                        new
 06479                        {
 06480                            Id = 1L,
 06481                            Code = "Open",
 06482                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06483                            Description = "",
 06484                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06485                            IsDeleted = false,
 06486                            Name = "Открыт"
 06487                        },
 06488                        new
 06489                        {
 06490                            Id = 2L,
 06491                            Code = "InWork",
 06492                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06493                            Description = "",
 06494                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06495                            IsDeleted = false,
 06496                            Name = "В работе"
 06497                        },
 06498                        new
 06499                        {
 06500                            Id = 3L,
 06501                            Code = "Resolved",
 06502                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06503                            Description = "",
 06504                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06505                            IsDeleted = false,
 06506                            Name = "Решен"
 06507                        },
 06508                        new
 06509                        {
 06510                            Id = 4L,
 06511                            Code = "Canceled",
 06512                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06513                            Description = "",
 06514                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06515                            IsDeleted = false,
 06516                            Name = "Отменен"
 06517                        },
 06518                        new
 06519                        {
 06520                            Id = 5L,
 06521                            Code = "Closed",
 06522                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06523                            Description = "",
 06524                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06525                            IsDeleted = false,
 06526                            Name = "Закрыт"
 06527                        });
 06528                });
 6529
 06530            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.JobLogger", b =>
 06531                {
 06532                    b.Property<long>("Id")
 06533                        .ValueGeneratedOnAdd()
 06534                        .HasColumnType("bigint")
 06535                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06536
 06537                    b.Property<long?>("CreatedByUserId")
 06538                        .HasColumnType("bigint");
 06539
 06540                    b.Property<DateTime>("CreationDateTime")
 06541                        .HasColumnType("timestamp without time zone");
 06542
 06543                    b.Property<Guid>("GUID")
 06544                        .ValueGeneratedOnAdd()
 06545                        .HasColumnType("uuid");
 06546
 06547                    b.Property<bool>("IsDeleted")
 06548                        .HasColumnType("boolean");
 06549
 06550                    b.Property<string>("JobName")
 06551                        .HasColumnType("text");
 06552
 06553                    b.Property<string>("Log")
 06554                        .HasColumnType("text");
 06555
 06556                    b.Property<string>("LogLevel")
 06557                        .HasColumnType("text");
 06558
 06559                    b.Property<DateTime?>("ModificationDateTime")
 06560                        .HasColumnType("timestamp without time zone");
 06561
 06562                    b.Property<long?>("ModifiedByUserId")
 06563                        .HasColumnType("bigint");
 06564
 06565                    b.Property<long?>("RecStateId")
 06566                        .HasColumnType("bigint");
 06567
 06568                    b.HasKey("Id");
 06569
 06570                    b.HasIndex("CreatedByUserId");
 06571
 06572                    b.HasIndex("ModifiedByUserId");
 06573
 06574                    b.HasIndex("RecStateId");
 06575
 06576                    b.ToTable("JobLoggers");
 06577                });
 6578
 06579            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MethodRole", b =>
 06580                {
 06581                    b.Property<long>("RoleId")
 06582                        .HasColumnType("bigint");
 06583
 06584                    b.Property<long>("MethodId")
 06585                        .HasColumnType("bigint");
 06586
 06587                    b.Property<long?>("CreatedByUserId")
 06588                        .HasColumnType("bigint");
 06589
 06590                    b.Property<DateTime>("CreationDateTime")
 06591                        .HasColumnType("timestamp without time zone");
 06592
 06593                    b.Property<Guid>("GUID")
 06594                        .ValueGeneratedOnAdd()
 06595                        .HasColumnType("uuid");
 06596
 06597                    b.HasKey("RoleId", "MethodId");
 06598
 06599                    b.HasIndex("MethodId");
 06600
 06601                    b.ToTable("MethodRole");
 06602                });
 6603
 06604            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", b =>
 06605                {
 06606                    b.Property<long>("Id")
 06607                        .ValueGeneratedOnAdd()
 06608                        .HasColumnType("bigint")
 06609                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06610
 06611                    b.Property<long?>("CreatedByUserId")
 06612                        .HasColumnType("bigint");
 06613
 06614                    b.Property<DateTime>("CreationDateTime")
 06615                        .HasColumnType("timestamp without time zone");
 06616
 06617                    b.Property<string>("Description")
 06618                        .HasColumnType("text");
 06619
 06620                    b.Property<Guid>("GUID")
 06621                        .ValueGeneratedOnAdd()
 06622                        .HasColumnType("uuid");
 06623
 06624                    b.Property<bool>("IsDeleted")
 06625                        .HasColumnType("boolean");
 06626
 06627                    b.Property<string>("MethodName")
 06628                        .IsRequired()
 06629                        .HasColumnType("text");
 06630
 06631                    b.Property<DateTime?>("ModificationDateTime")
 06632                        .HasColumnType("timestamp without time zone");
 06633
 06634                    b.Property<long?>("ModifiedByUserId")
 06635                        .HasColumnType("bigint");
 06636
 06637                    b.Property<long?>("RecStateId")
 06638                        .HasColumnType("bigint");
 06639
 06640                    b.HasKey("Id");
 06641
 06642                    b.HasIndex("CreatedByUserId");
 06643
 06644                    b.HasIndex("ModifiedByUserId");
 06645
 06646                    b.HasIndex("RecStateId");
 06647
 06648                    b.ToTable("Methods");
 06649                });
 6650
 06651            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", b =>
 06652                {
 06653                    b.Property<long>("Id")
 06654                        .ValueGeneratedOnAdd()
 06655                        .HasColumnType("bigint")
 06656                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06657
 06658                    b.Property<string>("Attachment")
 06659                        .HasColumnType("text");
 06660
 06661                    b.Property<long?>("ChildrenId")
 06662                        .HasColumnType("bigint");
 06663
 06664                    b.Property<long?>("CreatedByUserId")
 06665                        .HasColumnType("bigint");
 06666
 06667                    b.Property<DateTime>("CreationDateTime")
 06668                        .HasColumnType("timestamp without time zone");
 06669
 06670                    b.Property<long>("CustomerId")
 06671                        .HasColumnType("bigint");
 06672
 06673                    b.Property<string>("DocumentNumber")
 06674                        .IsRequired()
 06675                        .HasColumnType("text");
 06676
 06677                    b.Property<DateTime>("DtCreated")
 06678                        .HasColumnType("timestamp without time zone");
 06679
 06680                    b.Property<Guid>("GUID")
 06681                        .ValueGeneratedOnAdd()
 06682                        .HasColumnType("uuid");
 06683
 06684                    b.Property<bool>("IsDeleted")
 06685                        .HasColumnType("boolean");
 06686
 06687                    b.Property<DateTime?>("ModificationDateTime")
 06688                        .HasColumnType("timestamp without time zone");
 06689
 06690                    b.Property<long?>("ModifiedByUserId")
 06691                        .HasColumnType("bigint");
 06692
 06693                    b.Property<long>("MovementStatusId")
 06694                        .HasColumnType("bigint");
 06695
 06696                    b.Property<long>("MovementTypeId")
 06697                        .HasColumnType("bigint");
 06698
 06699                    b.Property<long?>("ParentId")
 06700                        .HasColumnType("bigint");
 06701
 06702                    b.Property<decimal>("PrepaimentPercent")
 06703                        .HasColumnType("numeric");
 06704
 06705                    b.Property<decimal>("PrepaimentSum")
 06706                        .HasColumnType("numeric");
 06707
 06708                    b.Property<long?>("RecStateId")
 06709                        .HasColumnType("bigint");
 06710
 06711                    b.Property<long>("ReceiverId")
 06712                        .HasColumnType("bigint");
 06713
 06714                    b.Property<long?>("SenderId")
 06715                        .HasColumnType("bigint");
 06716
 06717                    b.Property<long>("SupplierId")
 06718                        .HasColumnType("bigint");
 06719
 06720                    b.Property<DateTime?>("SupplierTransferDate")
 06721                        .HasColumnType("timestamp without time zone");
 06722
 06723                    b.HasKey("Id");
 06724
 06725                    b.HasIndex("ChildrenId");
 06726
 06727                    b.HasIndex("CreatedByUserId");
 06728
 06729                    b.HasIndex("CustomerId");
 06730
 06731                    b.HasIndex("ModifiedByUserId");
 06732
 06733                    b.HasIndex("MovementStatusId");
 06734
 06735                    b.HasIndex("MovementTypeId");
 06736
 06737                    b.HasIndex("ParentId");
 06738
 06739                    b.HasIndex("RecStateId");
 06740
 06741                    b.HasIndex("ReceiverId");
 06742
 06743                    b.HasIndex("SenderId");
 06744
 06745                    b.HasIndex("SupplierId");
 06746
 06747                    b.ToTable("Movements");
 06748                });
 6749
 06750            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementItem", b =>
 06751                {
 06752                    b.Property<long>("Id")
 06753                        .ValueGeneratedOnAdd()
 06754                        .HasColumnType("bigint")
 06755                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06756
 06757                    b.Property<string>("Comment")
 06758                        .HasColumnType("text");
 06759
 06760                    b.Property<long?>("CreatedByUserId")
 06761                        .HasColumnType("bigint");
 06762
 06763                    b.Property<DateTime>("CreationDateTime")
 06764                        .HasColumnType("timestamp without time zone");
 06765
 06766                    b.Property<Guid>("GUID")
 06767                        .ValueGeneratedOnAdd()
 06768                        .HasColumnType("uuid");
 06769
 06770                    b.Property<long>("GoodId")
 06771                        .HasColumnType("bigint");
 06772
 06773                    b.Property<bool>("IsDeleted")
 06774                        .HasColumnType("boolean");
 06775
 06776                    b.Property<DateTime?>("ModificationDateTime")
 06777                        .HasColumnType("timestamp without time zone");
 06778
 06779                    b.Property<long?>("ModifiedByUserId")
 06780                        .HasColumnType("bigint");
 06781
 06782                    b.Property<long?>("MovementId")
 06783                        .HasColumnType("bigint");
 06784
 06785                    b.Property<decimal>("Price")
 06786                        .HasColumnType("numeric");
 06787
 06788                    b.Property<decimal>("Quantity")
 06789                        .HasColumnType("numeric");
 06790
 06791                    b.Property<long?>("RecStateId")
 06792                        .HasColumnType("bigint");
 06793
 06794                    b.HasKey("Id");
 06795
 06796                    b.HasIndex("CreatedByUserId");
 06797
 06798                    b.HasIndex("GoodId");
 06799
 06800                    b.HasIndex("ModifiedByUserId");
 06801
 06802                    b.HasIndex("MovementId");
 06803
 06804                    b.HasIndex("RecStateId");
 06805
 06806                    b.ToTable("MovementItems");
 06807                });
 6808
 06809            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementNote", b =>
 06810                {
 06811                    b.Property<long>("Id")
 06812                        .ValueGeneratedOnAdd()
 06813                        .HasColumnType("bigint")
 06814                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06815
 06816                    b.Property<string>("Body")
 06817                        .IsRequired()
 06818                        .HasColumnType("text");
 06819
 06820                    b.Property<long?>("CreatedByUserId")
 06821                        .HasColumnType("bigint");
 06822
 06823                    b.Property<DateTime>("CreationDateTime")
 06824                        .HasColumnType("timestamp without time zone");
 06825
 06826                    b.Property<Guid>("GUID")
 06827                        .ValueGeneratedOnAdd()
 06828                        .HasColumnType("uuid");
 06829
 06830                    b.Property<bool>("IsDeleted")
 06831                        .HasColumnType("boolean");
 06832
 06833                    b.Property<DateTime?>("ModificationDateTime")
 06834                        .HasColumnType("timestamp without time zone");
 06835
 06836                    b.Property<long?>("ModifiedByUserId")
 06837                        .HasColumnType("bigint");
 06838
 06839                    b.Property<long?>("MovementId")
 06840                        .HasColumnType("bigint");
 06841
 06842                    b.Property<long?>("RecStateId")
 06843                        .HasColumnType("bigint");
 06844
 06845                    b.HasKey("Id");
 06846
 06847                    b.HasIndex("CreatedByUserId");
 06848
 06849                    b.HasIndex("ModifiedByUserId");
 06850
 06851                    b.HasIndex("MovementId");
 06852
 06853                    b.HasIndex("RecStateId");
 06854
 06855                    b.ToTable("MovementNotes");
 06856                });
 6857
 06858            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementRouteAction", b =>
 06859                {
 06860                    b.Property<long>("Id")
 06861                        .ValueGeneratedOnAdd()
 06862                        .HasColumnType("bigint")
 06863                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 06864                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06865
 06866                    b.Property<string>("Action")
 06867                        .HasColumnType("text");
 06868
 06869                    b.Property<string>("Caption")
 06870                        .HasColumnType("text");
 06871
 06872                    b.Property<string>("Code")
 06873                        .HasColumnType("text");
 06874
 06875                    b.Property<long?>("CreatedByUserId")
 06876                        .HasColumnType("bigint");
 06877
 06878                    b.Property<DateTime>("CreationDateTime")
 06879                        .HasColumnType("timestamp without time zone");
 06880
 06881                    b.Property<Guid>("GUID")
 06882                        .ValueGeneratedOnAdd()
 06883                        .HasColumnType("uuid");
 06884
 06885                    b.Property<bool>("IsDeleted")
 06886                        .HasColumnType("boolean");
 06887
 06888                    b.Property<DateTime?>("ModificationDateTime")
 06889                        .HasColumnType("timestamp without time zone");
 06890
 06891                    b.Property<long?>("ModifiedByUserId")
 06892                        .HasColumnType("bigint");
 06893
 06894                    b.Property<long>("OwnerActionId")
 06895                        .HasColumnType("bigint");
 06896
 06897                    b.Property<long?>("RecStateId")
 06898                        .HasColumnType("bigint");
 06899
 06900                    b.Property<long>("StatusId")
 06901                        .HasColumnType("bigint");
 06902
 06903                    b.Property<string>("Type")
 06904                        .HasColumnType("text");
 06905
 06906                    b.HasKey("Id");
 06907
 06908                    b.HasIndex("CreatedByUserId");
 06909
 06910                    b.HasIndex("ModifiedByUserId");
 06911
 06912                    b.HasIndex("OwnerActionId");
 06913
 06914                    b.HasIndex("RecStateId");
 06915
 06916                    b.HasIndex("StatusId");
 06917
 06918                    b.ToTable("MovementRouteActions");
 06919
 06920                    b.HasData(
 06921                        new
 06922                        {
 06923                            Id = 1L,
 06924                            Action = "Orders/{id}/DownloadOrderToFile",
 06925                            Caption = "Скачать CSV",
 06926                            Code = "Csv",
 06927                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06928                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06929                            IsDeleted = false,
 06930                            OwnerActionId = 1L,
 06931                            StatusId = 1L,
 06932                            Type = "GET"
 06933                        },
 06934                        new
 06935                        {
 06936                            Id = 2L,
 06937                            Action = "Orders/{id}",
 06938                            Caption = "Изменить",
 06939                            Code = "Edit",
 06940                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06941                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06942                            IsDeleted = false,
 06943                            OwnerActionId = 1L,
 06944                            StatusId = 1L,
 06945                            Type = "GET"
 06946                        },
 06947                        new
 06948                        {
 06949                            Id = 3L,
 06950                            Action = "Orders/{id}",
 06951                            Caption = "Удалить",
 06952                            Code = "Delete",
 06953                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06954                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06955                            IsDeleted = false,
 06956                            OwnerActionId = 1L,
 06957                            StatusId = 1L,
 06958                            Type = "DELETE"
 06959                        },
 06960                        new
 06961                        {
 06962                            Id = 4L,
 06963                            Action = "Orders/{id}/Send",
 06964                            Caption = "Отправить заявку",
 06965                            Code = "Send",
 06966                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06967                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06968                            IsDeleted = false,
 06969                            OwnerActionId = 1L,
 06970                            StatusId = 1L,
 06971                            Type = "POST"
 06972                        },
 06973                        new
 06974                        {
 06975                            Id = 5L,
 06976                            Action = "Orders/{id}/DownloadOrderToFile",
 06977                            Caption = "Скачать CSV",
 06978                            Code = "Csv",
 06979                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06980                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06981                            IsDeleted = false,
 06982                            OwnerActionId = 1L,
 06983                            StatusId = 2L,
 06984                            Type = "GET"
 06985                        },
 06986                        new
 06987                        {
 06988                            Id = 6L,
 06989                            Action = "Orders/{id}/Clone",
 06990                            Caption = "Создать копию",
 06991                            Code = "Clone",
 06992                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06993                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06994                            IsDeleted = false,
 06995                            OwnerActionId = 1L,
 06996                            StatusId = 2L,
 06997                            Type = "POST"
 06998                        },
 06999                        new
 07000                        {
 07001                            Id = 7L,
 07002                            Action = "Orders/{id}/Reject",
 07003                            Caption = "Отказаться",
 07004                            Code = "Reject",
 07005                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07006                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07007                            IsDeleted = false,
 07008                            OwnerActionId = 1L,
 07009                            StatusId = 2L,
 07010                            Type = "POST"
 07011                        },
 07012                        new
 07013                        {
 07014                            Id = 8L,
 07015                            Action = "Orders/{id}",
 07016                            Caption = "Принять",
 07017                            Code = "Confirm",
 07018                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07019                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07020                            IsDeleted = false,
 07021                            OwnerActionId = 3L,
 07022                            StatusId = 2L,
 07023                            Type = "POST"
 07024                        },
 07025                        new
 07026                        {
 07027                            Id = 85L,
 07028                            Action = "Orders/{id}/Reject",
 07029                            Caption = "Отказать",
 07030                            Code = "Reject",
 07031                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07032                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07033                            IsDeleted = false,
 07034                            OwnerActionId = 3L,
 07035                            StatusId = 2L,
 07036                            Type = "POST"
 07037                        },
 07038                        new
 07039                        {
 07040                            Id = 9L,
 07041                            Action = "Orders/{id}/DownloadOrderToFile",
 07042                            Caption = "Скачать CSV",
 07043                            Code = "Csv",
 07044                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07045                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07046                            IsDeleted = false,
 07047                            OwnerActionId = 3L,
 07048                            StatusId = 2L,
 07049                            Type = "GET"
 07050                        },
 07051                        new
 07052                        {
 07053                            Id = 10L,
 07054                            Action = "Orders/{id}/DownloadOrderToFile",
 07055                            Caption = "Скачать CSV",
 07056                            Code = "Csv",
 07057                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07058                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07059                            IsDeleted = false,
 07060                            OwnerActionId = 1L,
 07061                            StatusId = 3L,
 07062                            Type = "GET"
 07063                        },
 07064                        new
 07065                        {
 07066                            Id = 11L,
 07067                            Action = "Orders/{id}/Clone",
 07068                            Caption = "Создать копию",
 07069                            Code = "Clone",
 07070                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07071                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07072                            IsDeleted = false,
 07073                            OwnerActionId = 1L,
 07074                            StatusId = 3L,
 07075                            Type = "POST"
 07076                        },
 07077                        new
 07078                        {
 07079                            Id = 86L,
 07080                            Action = "Orders/{id}/Reject",
 07081                            Caption = "Отказаться",
 07082                            Code = "Reject",
 07083                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07084                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07085                            IsDeleted = false,
 07086                            OwnerActionId = 1L,
 07087                            StatusId = 3L,
 07088                            Type = "POST"
 07089                        },
 07090                        new
 07091                        {
 07092                            Id = 12L,
 07093                            Action = "Orders/{id}/DownloadOrderToFile",
 07094                            Caption = "Скачать CSV",
 07095                            Code = "Csv",
 07096                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07097                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07098                            IsDeleted = false,
 07099                            OwnerActionId = 1L,
 07100                            StatusId = 4L,
 07101                            Type = "GET"
 07102                        },
 07103                        new
 07104                        {
 07105                            Id = 13L,
 07106                            Action = "Orders/{id}/Clone",
 07107                            Caption = "Создать копию",
 07108                            Code = "Clone",
 07109                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07110                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07111                            IsDeleted = false,
 07112                            OwnerActionId = 1L,
 07113                            StatusId = 4L,
 07114                            Type = "POST"
 07115                        },
 07116                        new
 07117                        {
 07118                            Id = 87L,
 07119                            Action = "Orders/{id}/DownloadOrderToFile",
 07120                            Caption = "Скачать CSV",
 07121                            Code = "Csv",
 07122                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07123                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07124                            IsDeleted = false,
 07125                            OwnerActionId = 3L,
 07126                            StatusId = 4L,
 07127                            Type = "GET"
 07128                        },
 07129                        new
 07130                        {
 07131                            Id = 14L,
 07132                            Action = "Orders/{id}/DownloadOrderToFile",
 07133                            Caption = "Скачать CSV",
 07134                            Code = "Csv",
 07135                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07136                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07137                            IsDeleted = false,
 07138                            OwnerActionId = 1L,
 07139                            StatusId = 5L,
 07140                            Type = "GET"
 07141                        },
 07142                        new
 07143                        {
 07144                            Id = 15L,
 07145                            Action = "Orders/{id}/Clone",
 07146                            Caption = "Создать копию",
 07147                            Code = "Clone",
 07148                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07149                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07150                            IsDeleted = false,
 07151                            OwnerActionId = 1L,
 07152                            StatusId = 5L,
 07153                            Type = "POST"
 07154                        },
 07155                        new
 07156                        {
 07157                            Id = 16L,
 07158                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07159                            Caption = "Скачать CSV",
 07160                            Code = "Csv",
 07161                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07162                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07163                            IsDeleted = false,
 07164                            OwnerActionId = 2L,
 07165                            StatusId = 6L,
 07166                            Type = "GET"
 07167                        },
 07168                        new
 07169                        {
 07170                            Id = 17L,
 07171                            Action = "Shipments/{id}/PaymentReserve",
 07172                            Caption = "Принять",
 07173                            Code = "PaymentReserve",
 07174                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07175                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07176                            IsDeleted = false,
 07177                            OwnerActionId = 2L,
 07178                            StatusId = 6L,
 07179                            Type = "POST"
 07180                        },
 07181                        new
 07182                        {
 07183                            Id = 83L,
 07184                            Action = "Shipments/{id}/SupplierReject",
 07185                            Caption = "Отказать",
 07186                            Code = "RejectBySupplier",
 07187                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07188                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07189                            IsDeleted = false,
 07190                            OwnerActionId = 2L,
 07191                            StatusId = 6L,
 07192                            Type = "POST"
 07193                        },
 07194                        new
 07195                        {
 07196                            Id = 103L,
 07197                            Action = "Shipments/{id}/SimplePrint",
 07198                            Caption = "Скачать PDF",
 07199                            Code = "SimpleShipmentPdf",
 07200                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07201                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07202                            IsDeleted = false,
 07203                            OwnerActionId = 2L,
 07204                            StatusId = 6L,
 07205                            Type = "GET"
 07206                        },
 07207                        new
 07208                        {
 07209                            Id = 18L,
 07210                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07211                            Caption = "Скачать CSV",
 07212                            Code = "Csv",
 07213                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07214                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07215                            IsDeleted = false,
 07216                            OwnerActionId = 3L,
 07217                            StatusId = 6L,
 07218                            Type = "GET"
 07219                        },
 07220                        new
 07221                        {
 07222                            Id = 158L,
 07223                            Action = "Orders/{parentId}",
 07224                            Caption = "Перейти к заявке-основанию",
 07225                            Code = "GetOnBase",
 07226                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07227                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07228                            IsDeleted = false,
 07229                            OwnerActionId = 3L,
 07230                            StatusId = 6L,
 07231                            Type = "Get"
 07232                        },
 07233                        new
 07234                        {
 07235                            Id = 104L,
 07236                            Action = "Shipments/{id}/SimplePrint",
 07237                            Caption = "Скачать PDF",
 07238                            Code = "SimpleShipmentPdf",
 07239                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07240                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07241                            IsDeleted = false,
 07242                            OwnerActionId = 3L,
 07243                            StatusId = 6L,
 07244                            Type = "GET"
 07245                        },
 07246                        new
 07247                        {
 07248                            Id = 19L,
 07249                            Action = "Shipments/{id}/Payment",
 07250                            Caption = "Оплатить",
 07251                            Code = "Payment",
 07252                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07253                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07254                            IsDeleted = false,
 07255                            OwnerActionId = 1L,
 07256                            StatusId = 8L,
 07257                            Type = "POST"
 07258                        },
 07259                        new
 07260                        {
 07261                            Id = 45L,
 07262                            Action = "Shipments/{id}/CustomerReject",
 07263                            Caption = "Отказаться",
 07264                            Code = "RejectByCustomer",
 07265                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07266                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07267                            IsDeleted = false,
 07268                            OwnerActionId = 1L,
 07269                            StatusId = 8L,
 07270                            Type = "POST"
 07271                        },
 07272                        new
 07273                        {
 07274                            Id = 20L,
 07275                            Action = "Orders/CreateOnBase",
 07276                            Caption = "Создать заявку на основе",
 07277                            Code = "CreateOnBase",
 07278                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07279                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07280                            IsDeleted = false,
 07281                            OwnerActionId = 1L,
 07282                            StatusId = 8L,
 07283                            Type = "POST"
 07284                        },
 07285                        new
 07286                        {
 07287                            Id = 136L,
 07288                            Action = "Orders/{parentId}",
 07289                            Caption = "Перейти к заявке-основанию",
 07290                            Code = "GetOnBase",
 07291                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07292                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07293                            IsDeleted = false,
 07294                            OwnerActionId = 1L,
 07295                            StatusId = 8L,
 07296                            Type = "Get"
 07297                        },
 07298                        new
 07299                        {
 07300                            Id = 21L,
 07301                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07302                            Caption = "Скачать CSV",
 07303                            Code = "Csv",
 07304                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07305                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07306                            IsDeleted = false,
 07307                            OwnerActionId = 1L,
 07308                            StatusId = 8L,
 07309                            Type = "GET"
 07310                        },
 07311                        new
 07312                        {
 07313                            Id = 22L,
 07314                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07315                            Caption = "Скачать CSV",
 07316                            Code = "Csv",
 07317                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07318                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07319                            IsDeleted = false,
 07320                            OwnerActionId = 2L,
 07321                            StatusId = 8L,
 07322                            Type = "GET"
 07323                        },
 07324                        new
 07325                        {
 07326                            Id = 23L,
 07327                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07328                            Caption = "Скачать CSV",
 07329                            Code = "Csv",
 07330                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07331                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07332                            IsDeleted = false,
 07333                            OwnerActionId = 3L,
 07334                            StatusId = 8L,
 07335                            Type = "GET"
 07336                        },
 07337                        new
 07338                        {
 07339                            Id = 137L,
 07340                            Action = "Orders/{parentId}",
 07341                            Caption = "Перейти к заявке-основанию",
 07342                            Code = "GetOnBase",
 07343                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07344                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07345                            IsDeleted = false,
 07346                            OwnerActionId = 3L,
 07347                            StatusId = 8L,
 07348                            Type = "Get"
 07349                        },
 07350                        new
 07351                        {
 07352                            Id = 24L,
 07353                            Action = "Orders/CreateOnBase",
 07354                            Caption = "Создать заявку на основе",
 07355                            Code = "CreateOnBase",
 07356                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07357                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07358                            IsDeleted = false,
 07359                            OwnerActionId = 1L,
 07360                            StatusId = 9L,
 07361                            Type = "POST"
 07362                        },
 07363                        new
 07364                        {
 07365                            Id = 25L,
 07366                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07367                            Caption = "Скачать CSV",
 07368                            Code = "Csv",
 07369                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07370                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07371                            IsDeleted = false,
 07372                            OwnerActionId = 1L,
 07373                            StatusId = 9L,
 07374                            Type = "GET"
 07375                        },
 07376                        new
 07377                        {
 07378                            Id = 88L,
 07379                            Action = "Shipments/{id}/CustomerReject",
 07380                            Caption = "Отказаться",
 07381                            Code = "RejectByCustomer",
 07382                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07383                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07384                            IsDeleted = false,
 07385                            OwnerActionId = 1L,
 07386                            StatusId = 9L,
 07387                            Type = "POST"
 07388                        },
 07389                        new
 07390                        {
 07391                            Id = 138L,
 07392                            Action = "Orders/{parentId}",
 07393                            Caption = "Перейти к заявке-основанию",
 07394                            Code = "GetOnBase",
 07395                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07396                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07397                            IsDeleted = false,
 07398                            OwnerActionId = 1L,
 07399                            StatusId = 9L,
 07400                            Type = "Get"
 07401                        },
 07402                        new
 07403                        {
 07404                            Id = 26L,
 07405                            Action = "Shipments/{id}/ReadyToShip",
 07406                            Caption = "Подготовить к выдаче",
 07407                            Code = "ReadyToShip",
 07408                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07409                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07410                            IsDeleted = false,
 07411                            OwnerActionId = 2L,
 07412                            StatusId = 9L,
 07413                            Type = "POST"
 07414                        },
 07415                        new
 07416                        {
 07417                            Id = 27L,
 07418                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07419                            Caption = "Скачать CSV",
 07420                            Code = "Csv",
 07421                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07422                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07423                            IsDeleted = false,
 07424                            OwnerActionId = 2L,
 07425                            StatusId = 9L,
 07426                            Type = "GET"
 07427                        },
 07428                        new
 07429                        {
 07430                            Id = 43L,
 07431                            Action = "Shipments/{id}/SupplierReject",
 07432                            Caption = "Отказать",
 07433                            Code = "RejectBySupplier",
 07434                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07435                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07436                            IsDeleted = false,
 07437                            OwnerActionId = 2L,
 07438                            StatusId = 9L,
 07439                            Type = "POST"
 07440                        },
 07441                        new
 07442                        {
 07443                            Id = 28L,
 07444                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07445                            Caption = "Скачать CSV",
 07446                            Code = "Csv",
 07447                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07448                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07449                            IsDeleted = false,
 07450                            OwnerActionId = 3L,
 07451                            StatusId = 9L,
 07452                            Type = "GET"
 07453                        },
 07454                        new
 07455                        {
 07456                            Id = 139L,
 07457                            Action = "Orders/{parentId}",
 07458                            Caption = "Перейти к заявке-основанию",
 07459                            Code = "GetOnBase",
 07460                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07461                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07462                            IsDeleted = false,
 07463                            OwnerActionId = 3L,
 07464                            StatusId = 9L,
 07465                            Type = "Get"
 07466                        },
 07467                        new
 07468                        {
 07469                            Id = 29L,
 07470                            Action = "Orders/CreateOnBase",
 07471                            Caption = "Создать заявку на основе",
 07472                            Code = "CreateOnBase",
 07473                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07474                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07475                            IsDeleted = false,
 07476                            OwnerActionId = 1L,
 07477                            StatusId = 10L,
 07478                            Type = "POST"
 07479                        },
 07480                        new
 07481                        {
 07482                            Id = 30L,
 07483                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07484                            Caption = "Скачать CSV",
 07485                            Code = "Csv",
 07486                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07487                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07488                            IsDeleted = false,
 07489                            OwnerActionId = 1L,
 07490                            StatusId = 10L,
 07491                            Type = "GET"
 07492                        },
 07493                        new
 07494                        {
 07495                            Id = 34L,
 07496                            Action = "Shipments/{id}/Print",
 07497                            Caption = "Распечатать УПД",
 07498                            Code = "Pdf",
 07499                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07500                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07501                            IsDeleted = false,
 07502                            OwnerActionId = 1L,
 07503                            StatusId = 10L,
 07504                            Type = "GET"
 07505                        },
 07506                        new
 07507                        {
 07508                            Id = 89L,
 07509                            Action = "Shipments/{id}/CustomerReject",
 07510                            Caption = "Отказаться",
 07511                            Code = "RejectByCustomer",
 07512                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07513                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07514                            IsDeleted = false,
 07515                            OwnerActionId = 1L,
 07516                            StatusId = 10L,
 07517                            Type = "POST"
 07518                        },
 07519                        new
 07520                        {
 07521                            Id = 140L,
 07522                            Action = "Orders/{parentId}",
 07523                            Caption = "Перейти к заявке-основанию",
 07524                            Code = "GetOnBase",
 07525                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07526                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07527                            IsDeleted = false,
 07528                            OwnerActionId = 1L,
 07529                            StatusId = 10L,
 07530                            Type = "Get"
 07531                        },
 07532                        new
 07533                        {
 07534                            Id = 31L,
 07535                            Action = "Shipments/{id}/Ship",
 07536                            Caption = "Выдать",
 07537                            Code = "Ship",
 07538                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07539                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07540                            IsDeleted = false,
 07541                            OwnerActionId = 2L,
 07542                            StatusId = 10L,
 07543                            Type = "POST"
 07544                        },
 07545                        new
 07546                        {
 07547                            Id = 35L,
 07548                            Action = "Shipments/{id}/Correction",
 07549                            Caption = "Редактировать",
 07550                            Code = "Edit",
 07551                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07552                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07553                            IsDeleted = false,
 07554                            OwnerActionId = 2L,
 07555                            StatusId = 10L,
 07556                            Type = "POST"
 07557                        },
 07558                        new
 07559                        {
 07560                            Id = 44L,
 07561                            Action = "Shipments/{id}/SupplierReject",
 07562                            Caption = "Отказать",
 07563                            Code = "RejectBySupplier",
 07564                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07565                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07566                            IsDeleted = false,
 07567                            OwnerActionId = 2L,
 07568                            StatusId = 10L,
 07569                            Type = "POST"
 07570                        },
 07571                        new
 07572                        {
 07573                            Id = 32L,
 07574                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07575                            Caption = "Скачать CSV",
 07576                            Code = "Csv",
 07577                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07578                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07579                            IsDeleted = false,
 07580                            OwnerActionId = 2L,
 07581                            StatusId = 10L,
 07582                            Type = "GET"
 07583                        },
 07584                        new
 07585                        {
 07586                            Id = 33L,
 07587                            Action = "Shipments/{id}/Print",
 07588                            Caption = "Распечатать УПД",
 07589                            Code = "Pdf",
 07590                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07591                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07592                            IsDeleted = false,
 07593                            OwnerActionId = 2L,
 07594                            StatusId = 10L,
 07595                            Type = "GET"
 07596                        },
 07597                        new
 07598                        {
 07599                            Id = 98L,
 07600                            Action = "Shipments/{id}/Print",
 07601                            Caption = "Распечатать УПД",
 07602                            Code = "Pdf",
 07603                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07604                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07605                            IsDeleted = false,
 07606                            OwnerActionId = 3L,
 07607                            StatusId = 10L,
 07608                            Type = "GET"
 07609                        },
 07610                        new
 07611                        {
 07612                            Id = 97L,
 07613                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07614                            Caption = "Скачать CSV",
 07615                            Code = "Csv",
 07616                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07617                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07618                            IsDeleted = false,
 07619                            OwnerActionId = 3L,
 07620                            StatusId = 10L,
 07621                            Type = "GET"
 07622                        },
 07623                        new
 07624                        {
 07625                            Id = 141L,
 07626                            Action = "Orders/{parentId}",
 07627                            Caption = "Перейти к заявке-основанию",
 07628                            Code = "GetOnBase",
 07629                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07630                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07631                            IsDeleted = false,
 07632                            OwnerActionId = 3L,
 07633                            StatusId = 10L,
 07634                            Type = "Get"
 07635                        },
 07636                        new
 07637                        {
 07638                            Id = 36L,
 07639                            Action = "Orders/CreateOnBase",
 07640                            Caption = "Создать заявку на основе",
 07641                            Code = "CreateOnBase",
 07642                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07643                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07644                            IsDeleted = false,
 07645                            OwnerActionId = 1L,
 07646                            StatusId = 11L,
 07647                            Type = "POST"
 07648                        },
 07649                        new
 07650                        {
 07651                            Id = 37L,
 07652                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07653                            Caption = "Скачать CSV",
 07654                            Code = "Csv",
 07655                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07656                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07657                            IsDeleted = false,
 07658                            OwnerActionId = 1L,
 07659                            StatusId = 11L,
 07660                            Type = "GET"
 07661                        },
 07662                        new
 07663                        {
 07664                            Id = 90L,
 07665                            Action = "Shipments/{id}/CustomerReject",
 07666                            Caption = "Отказаться",
 07667                            Code = "RejectByCustomer",
 07668                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07669                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07670                            IsDeleted = false,
 07671                            OwnerActionId = 1L,
 07672                            StatusId = 11L,
 07673                            Type = "POST"
 07674                        },
 07675                        new
 07676                        {
 07677                            Id = 142L,
 07678                            Action = "Orders/{parentId}",
 07679                            Caption = "Перейти к заявке-основанию",
 07680                            Code = "GetOnBase",
 07681                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07682                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07683                            IsDeleted = false,
 07684                            OwnerActionId = 1L,
 07685                            StatusId = 11L,
 07686                            Type = "Get"
 07687                        },
 07688                        new
 07689                        {
 07690                            Id = 38L,
 07691                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07692                            Caption = "Скачать CSV",
 07693                            Code = "Csv",
 07694                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07695                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07696                            IsDeleted = false,
 07697                            OwnerActionId = 2L,
 07698                            StatusId = 11L,
 07699                            Type = "GET"
 07700                        },
 07701                        new
 07702                        {
 07703                            Id = 39L,
 07704                            Action = "Shipments/{id}/ReadyToShip",
 07705                            Caption = "Подготовить к выдаче",
 07706                            Code = "ReadyToShip",
 07707                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07708                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07709                            IsDeleted = false,
 07710                            OwnerActionId = 2L,
 07711                            StatusId = 11L,
 07712                            Type = "POST"
 07713                        },
 07714                        new
 07715                        {
 07716                            Id = 81L,
 07717                            Action = "Shipments/{id}/SupplierReject",
 07718                            Caption = "Отказать",
 07719                            Code = "RejectBySupplier",
 07720                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07721                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07722                            IsDeleted = false,
 07723                            OwnerActionId = 2L,
 07724                            StatusId = 11L,
 07725                            Type = "POST"
 07726                        },
 07727                        new
 07728                        {
 07729                            Id = 40L,
 07730                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07731                            Caption = "Скачать CSV",
 07732                            Code = "Csv",
 07733                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07734                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07735                            IsDeleted = false,
 07736                            OwnerActionId = 3L,
 07737                            StatusId = 11L,
 07738                            Type = "GET"
 07739                        },
 07740                        new
 07741                        {
 07742                            Id = 143L,
 07743                            Action = "Orders/{parentId}",
 07744                            Caption = "Перейти к заявке-основанию",
 07745                            Code = "GetOnBase",
 07746                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07747                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07748                            IsDeleted = false,
 07749                            OwnerActionId = 3L,
 07750                            StatusId = 11L,
 07751                            Type = "Get"
 07752                        },
 07753                        new
 07754                        {
 07755                            Id = 41L,
 07756                            Action = "Orders/CreateOnBase",
 07757                            Caption = "Создать заявку на основе",
 07758                            Code = "CreateOnBase",
 07759                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07760                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07761                            IsDeleted = false,
 07762                            OwnerActionId = 1L,
 07763                            StatusId = 12L,
 07764                            Type = "POST"
 07765                        },
 07766                        new
 07767                        {
 07768                            Id = 42L,
 07769                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07770                            Caption = "Скачать CSV",
 07771                            Code = "Csv",
 07772                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07773                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07774                            IsDeleted = false,
 07775                            OwnerActionId = 1L,
 07776                            StatusId = 12L,
 07777                            Type = "GET"
 07778                        },
 07779                        new
 07780                        {
 07781                            Id = 144L,
 07782                            Action = "Orders/{parentId}",
 07783                            Caption = "Перейти к заявке-основанию",
 07784                            Code = "GetOnBase",
 07785                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07786                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07787                            IsDeleted = false,
 07788                            OwnerActionId = 1L,
 07789                            StatusId = 12L,
 07790                            Type = "Get"
 07791                        },
 07792                        new
 07793                        {
 07794                            Id = 46L,
 07795                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07796                            Caption = "Скачать CSV",
 07797                            Code = "Csv",
 07798                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07799                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07800                            IsDeleted = false,
 07801                            OwnerActionId = 2L,
 07802                            StatusId = 12L,
 07803                            Type = "GET"
 07804                        },
 07805                        new
 07806                        {
 07807                            Id = 47L,
 07808                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07809                            Caption = "Скачать CSV",
 07810                            Code = "Csv",
 07811                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07812                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07813                            IsDeleted = false,
 07814                            OwnerActionId = 3L,
 07815                            StatusId = 12L,
 07816                            Type = "GET"
 07817                        },
 07818                        new
 07819                        {
 07820                            Id = 145L,
 07821                            Action = "Orders/{parentId}",
 07822                            Caption = "Перейти к заявке-основанию",
 07823                            Code = "GetOnBase",
 07824                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07825                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07826                            IsDeleted = false,
 07827                            OwnerActionId = 3L,
 07828                            StatusId = 12L,
 07829                            Type = "Get"
 07830                        },
 07831                        new
 07832                        {
 07833                            Id = 48L,
 07834                            Action = "Orders/CreateOnBase",
 07835                            Caption = "Создать заявку на основе",
 07836                            Code = "CreateOnBase",
 07837                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07838                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07839                            IsDeleted = false,
 07840                            OwnerActionId = 1L,
 07841                            StatusId = 13L,
 07842                            Type = "POST"
 07843                        },
 07844                        new
 07845                        {
 07846                            Id = 49L,
 07847                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07848                            Caption = "Скачать CSV",
 07849                            Code = "Csv",
 07850                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07851                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07852                            IsDeleted = false,
 07853                            OwnerActionId = 1L,
 07854                            StatusId = 13L,
 07855                            Type = "GET"
 07856                        },
 07857                        new
 07858                        {
 07859                            Id = 91L,
 07860                            Action = "Shipments/{id}/Print",
 07861                            Caption = "Распечатать УПД",
 07862                            Code = "Pdf",
 07863                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07864                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07865                            IsDeleted = false,
 07866                            OwnerActionId = 1L,
 07867                            StatusId = 13L,
 07868                            Type = "GET"
 07869                        },
 07870                        new
 07871                        {
 07872                            Id = 82L,
 07873                            Action = "Shipments/{id}/Accept",
 07874                            Caption = "Принять",
 07875                            Code = "Accept",
 07876                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07877                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07878                            IsDeleted = false,
 07879                            OwnerActionId = 1L,
 07880                            StatusId = 13L,
 07881                            Type = "PUT"
 07882                        },
 07883                        new
 07884                        {
 07885                            Id = 84L,
 07886                            Action = "Shipments/{id}/CustomerReject",
 07887                            Caption = "Отказаться",
 07888                            Code = "RejectByCustomer",
 07889                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07890                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07891                            IsDeleted = false,
 07892                            OwnerActionId = 1L,
 07893                            StatusId = 13L,
 07894                            Type = "POST"
 07895                        },
 07896                        new
 07897                        {
 07898                            Id = 146L,
 07899                            Action = "Orders/{parentId}",
 07900                            Caption = "Перейти к заявке-основанию",
 07901                            Code = "GetOnBase",
 07902                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07903                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07904                            IsDeleted = false,
 07905                            OwnerActionId = 1L,
 07906                            StatusId = 13L,
 07907                            Type = "Get"
 07908                        },
 07909                        new
 07910                        {
 07911                            Id = 50L,
 07912                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07913                            Caption = "Скачать CSV",
 07914                            Code = "Csv",
 07915                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07916                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07917                            IsDeleted = false,
 07918                            OwnerActionId = 2L,
 07919                            StatusId = 13L,
 07920                            Type = "GET"
 07921                        },
 07922                        new
 07923                        {
 07924                            Id = 51L,
 07925                            Action = "Shipments/{id}/Print",
 07926                            Caption = "Распечатать УПД",
 07927                            Code = "Pdf",
 07928                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07929                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07930                            IsDeleted = false,
 07931                            OwnerActionId = 2L,
 07932                            StatusId = 13L,
 07933                            Type = "GET"
 07934                        },
 07935                        new
 07936                        {
 07937                            Id = 52L,
 07938                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07939                            Caption = "Скачать CSV",
 07940                            Code = "Csv",
 07941                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07942                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07943                            IsDeleted = false,
 07944                            OwnerActionId = 3L,
 07945                            StatusId = 13L,
 07946                            Type = "GET"
 07947                        },
 07948                        new
 07949                        {
 07950                            Id = 53L,
 07951                            Action = "Shipments/{id}/Print",
 07952                            Caption = "Распечатать УПД",
 07953                            Code = "Pdf",
 07954                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07955                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07956                            IsDeleted = false,
 07957                            OwnerActionId = 3L,
 07958                            StatusId = 13L,
 07959                            Type = "GET"
 07960                        },
 07961                        new
 07962                        {
 07963                            Id = 147L,
 07964                            Action = "Orders/{parentId}",
 07965                            Caption = "Перейти к заявке-основанию",
 07966                            Code = "GetOnBase",
 07967                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07968                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07969                            IsDeleted = false,
 07970                            OwnerActionId = 3L,
 07971                            StatusId = 13L,
 07972                            Type = "Get"
 07973                        },
 07974                        new
 07975                        {
 07976                            Id = 54L,
 07977                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07978                            Caption = "Скачать CSV",
 07979                            Code = "Csv",
 07980                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07981                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07982                            IsDeleted = false,
 07983                            OwnerActionId = 1L,
 07984                            StatusId = 14L,
 07985                            Type = "GET"
 07986                        },
 07987                        new
 07988                        {
 07989                            Id = 55L,
 07990                            Action = "Shipments/{id}/Print",
 07991                            Caption = "Распечатать УПД",
 07992                            Code = "Pdf",
 07993                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 07994                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 07995                            IsDeleted = false,
 07996                            OwnerActionId = 1L,
 07997                            StatusId = 14L,
 07998                            Type = "GET"
 07999                        },
 08000                        new
 08001                        {
 08002                            Id = 148L,
 08003                            Action = "Orders/{parentId}",
 08004                            Caption = "Перейти к заявке-основанию",
 08005                            Code = "GetOnBase",
 08006                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08007                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08008                            IsDeleted = false,
 08009                            OwnerActionId = 1L,
 08010                            StatusId = 14L,
 08011                            Type = "Get"
 08012                        },
 08013                        new
 08014                        {
 08015                            Id = 56L,
 08016                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08017                            Caption = "Скачать CSV",
 08018                            Code = "Csv",
 08019                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08020                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08021                            IsDeleted = false,
 08022                            OwnerActionId = 2L,
 08023                            StatusId = 14L,
 08024                            Type = "GET"
 08025                        },
 08026                        new
 08027                        {
 08028                            Id = 57L,
 08029                            Action = "Shipments/{id}/Print",
 08030                            Caption = "Распечатать УПД",
 08031                            Code = "Pdf",
 08032                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08033                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08034                            IsDeleted = false,
 08035                            OwnerActionId = 2L,
 08036                            StatusId = 14L,
 08037                            Type = "GET"
 08038                        },
 08039                        new
 08040                        {
 08041                            Id = 58L,
 08042                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08043                            Caption = "Скачать CSV",
 08044                            Code = "Csv",
 08045                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08046                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08047                            IsDeleted = false,
 08048                            OwnerActionId = 3L,
 08049                            StatusId = 14L,
 08050                            Type = "GET"
 08051                        },
 08052                        new
 08053                        {
 08054                            Id = 92L,
 08055                            Action = "Shipments/{id}/Print",
 08056                            Caption = "Распечатать УПД",
 08057                            Code = "Pdf",
 08058                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08059                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08060                            IsDeleted = false,
 08061                            OwnerActionId = 3L,
 08062                            StatusId = 14L,
 08063                            Type = "GET"
 08064                        },
 08065                        new
 08066                        {
 08067                            Id = 149L,
 08068                            Action = "Orders/{parentId}",
 08069                            Caption = "Перейти к заявке-основанию",
 08070                            Code = "GetOnBase",
 08071                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08072                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08073                            IsDeleted = false,
 08074                            OwnerActionId = 3L,
 08075                            StatusId = 14L,
 08076                            Type = "Get"
 08077                        },
 08078                        new
 08079                        {
 08080                            Id = 59L,
 08081                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08082                            Caption = "Скачать CSV",
 08083                            Code = "Csv",
 08084                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08085                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08086                            IsDeleted = false,
 08087                            OwnerActionId = 1L,
 08088                            StatusId = 15L,
 08089                            Type = "GET"
 08090                        },
 08091                        new
 08092                        {
 08093                            Id = 60L,
 08094                            Action = "Shipments/{id}/Print",
 08095                            Caption = "Распечатать УПД",
 08096                            Code = "Pdf",
 08097                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08098                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08099                            IsDeleted = false,
 08100                            OwnerActionId = 1L,
 08101                            StatusId = 15L,
 08102                            Type = "GET"
 08103                        },
 08104                        new
 08105                        {
 08106                            Id = 150L,
 08107                            Action = "Orders/{parentId}",
 08108                            Caption = "Перейти к заявке-основанию",
 08109                            Code = "GetOnBase",
 08110                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08111                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08112                            IsDeleted = false,
 08113                            OwnerActionId = 1L,
 08114                            StatusId = 15L,
 08115                            Type = "Get"
 08116                        },
 08117                        new
 08118                        {
 08119                            Id = 61L,
 08120                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08121                            Caption = "Скачать CSV",
 08122                            Code = "Csv",
 08123                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08124                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08125                            IsDeleted = false,
 08126                            OwnerActionId = 2L,
 08127                            StatusId = 15L,
 08128                            Type = "GET"
 08129                        },
 08130                        new
 08131                        {
 08132                            Id = 62L,
 08133                            Action = "Shipments/{id}/Print",
 08134                            Caption = "Распечатать УПД",
 08135                            Code = "Pdf",
 08136                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08137                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08138                            IsDeleted = false,
 08139                            OwnerActionId = 2L,
 08140                            StatusId = 15L,
 08141                            Type = "GET"
 08142                        },
 08143                        new
 08144                        {
 08145                            Id = 63L,
 08146                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08147                            Caption = "Скачать CSV",
 08148                            Code = "Csv",
 08149                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08150                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08151                            IsDeleted = false,
 08152                            OwnerActionId = 3L,
 08153                            StatusId = 15L,
 08154                            Type = "GET"
 08155                        },
 08156                        new
 08157                        {
 08158                            Id = 93L,
 08159                            Action = "Shipments/{id}/Print",
 08160                            Caption = "Распечатать УПД",
 08161                            Code = "Pdf",
 08162                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08163                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08164                            IsDeleted = false,
 08165                            OwnerActionId = 3L,
 08166                            StatusId = 15L,
 08167                            Type = "GET"
 08168                        },
 08169                        new
 08170                        {
 08171                            Id = 151L,
 08172                            Action = "Orders/{parentId}",
 08173                            Caption = "Перейти к заявке-основанию",
 08174                            Code = "GetOnBase",
 08175                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08176                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08177                            IsDeleted = false,
 08178                            OwnerActionId = 3L,
 08179                            StatusId = 15L,
 08180                            Type = "Get"
 08181                        },
 08182                        new
 08183                        {
 08184                            Id = 64L,
 08185                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08186                            Caption = "Скачать CSV",
 08187                            Code = "Csv",
 08188                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08189                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08190                            IsDeleted = false,
 08191                            OwnerActionId = 1L,
 08192                            StatusId = 16L,
 08193                            Type = "GET"
 08194                        },
 08195                        new
 08196                        {
 08197                            Id = 65L,
 08198                            Action = "Shipments/{id}/Print",
 08199                            Caption = "Распечатать УПД",
 08200                            Code = "Pdf",
 08201                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08202                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08203                            IsDeleted = false,
 08204                            OwnerActionId = 1L,
 08205                            StatusId = 16L,
 08206                            Type = "GET"
 08207                        },
 08208                        new
 08209                        {
 08210                            Id = 152L,
 08211                            Action = "Orders/{parentId}",
 08212                            Caption = "Перейти к заявке-основанию",
 08213                            Code = "GetOnBase",
 08214                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08215                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08216                            IsDeleted = false,
 08217                            OwnerActionId = 1L,
 08218                            StatusId = 16L,
 08219                            Type = "Get"
 08220                        },
 08221                        new
 08222                        {
 08223                            Id = 66L,
 08224                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08225                            Caption = "Скачать CSV",
 08226                            Code = "Csv",
 08227                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08228                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08229                            IsDeleted = false,
 08230                            OwnerActionId = 2L,
 08231                            StatusId = 16L,
 08232                            Type = "GET"
 08233                        },
 08234                        new
 08235                        {
 08236                            Id = 67L,
 08237                            Action = "Shipments/{id}/Print",
 08238                            Caption = "Распечатать УПД",
 08239                            Code = "Pdf",
 08240                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08241                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08242                            IsDeleted = false,
 08243                            OwnerActionId = 2L,
 08244                            StatusId = 16L,
 08245                            Type = "GET"
 08246                        },
 08247                        new
 08248                        {
 08249                            Id = 68L,
 08250                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08251                            Caption = "Скачать CSV",
 08252                            Code = "Csv",
 08253                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08254                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08255                            IsDeleted = false,
 08256                            OwnerActionId = 3L,
 08257                            StatusId = 16L,
 08258                            Type = "GET"
 08259                        },
 08260                        new
 08261                        {
 08262                            Id = 94L,
 08263                            Action = "Shipments/{id}/Print",
 08264                            Caption = "Распечатать УПД",
 08265                            Code = "Pdf",
 08266                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08267                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08268                            IsDeleted = false,
 08269                            OwnerActionId = 3L,
 08270                            StatusId = 16L,
 08271                            Type = "GET"
 08272                        },
 08273                        new
 08274                        {
 08275                            Id = 69L,
 08276                            Action = "Shipments/{id}/AcceptClaim",
 08277                            Caption = "Принять",
 08278                            Code = "AcceptClaim",
 08279                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08280                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08281                            IsDeleted = false,
 08282                            OwnerActionId = 3L,
 08283                            StatusId = 16L,
 08284                            Type = "POST"
 08285                        },
 08286                        new
 08287                        {
 08288                            Id = 70L,
 08289                            Action = "Shipments/{id}/DeclineClaim",
 08290                            Caption = "Отказать",
 08291                            Code = "DeclineClaim",
 08292                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08293                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08294                            IsDeleted = false,
 08295                            OwnerActionId = 3L,
 08296                            StatusId = 16L,
 08297                            Type = "POST"
 08298                        },
 08299                        new
 08300                        {
 08301                            Id = 153L,
 08302                            Action = "Orders/{parentId}",
 08303                            Caption = "Перейти к заявке-основанию",
 08304                            Code = "GetOnBase",
 08305                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08306                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08307                            IsDeleted = false,
 08308                            OwnerActionId = 3L,
 08309                            StatusId = 16L,
 08310                            Type = "Get"
 08311                        },
 08312                        new
 08313                        {
 08314                            Id = 71L,
 08315                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08316                            Caption = "Скачать CSV",
 08317                            Code = "Csv",
 08318                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08319                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08320                            IsDeleted = false,
 08321                            OwnerActionId = 1L,
 08322                            StatusId = 17L,
 08323                            Type = "GET"
 08324                        },
 08325                        new
 08326                        {
 08327                            Id = 72L,
 08328                            Action = "Shipments/{id}/Print",
 08329                            Caption = "Распечатать УПД",
 08330                            Code = "Pdf",
 08331                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08332                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08333                            IsDeleted = false,
 08334                            OwnerActionId = 1L,
 08335                            StatusId = 17L,
 08336                            Type = "GET"
 08337                        },
 08338                        new
 08339                        {
 08340                            Id = 154L,
 08341                            Action = "Orders/{parentId}",
 08342                            Caption = "Перейти к заявке-основанию",
 08343                            Code = "GetOnBase",
 08344                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08345                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08346                            IsDeleted = false,
 08347                            OwnerActionId = 1L,
 08348                            StatusId = 17L,
 08349                            Type = "Get"
 08350                        },
 08351                        new
 08352                        {
 08353                            Id = 73L,
 08354                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08355                            Caption = "Скачать CSV",
 08356                            Code = "Csv",
 08357                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08358                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08359                            IsDeleted = false,
 08360                            OwnerActionId = 2L,
 08361                            StatusId = 17L,
 08362                            Type = "GET"
 08363                        },
 08364                        new
 08365                        {
 08366                            Id = 74L,
 08367                            Action = "Shipments/{id}/Print",
 08368                            Caption = "Распечатать УПД",
 08369                            Code = "Pdf",
 08370                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08371                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08372                            IsDeleted = false,
 08373                            OwnerActionId = 2L,
 08374                            StatusId = 17L,
 08375                            Type = "GET"
 08376                        },
 08377                        new
 08378                        {
 08379                            Id = 75L,
 08380                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08381                            Caption = "Скачать CSV",
 08382                            Code = "Csv",
 08383                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08384                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08385                            IsDeleted = false,
 08386                            OwnerActionId = 3L,
 08387                            StatusId = 17L,
 08388                            Type = "GET"
 08389                        },
 08390                        new
 08391                        {
 08392                            Id = 95L,
 08393                            Action = "Shipments/{id}/Print",
 08394                            Caption = "Распечатать УПД",
 08395                            Code = "Pdf",
 08396                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08397                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08398                            IsDeleted = false,
 08399                            OwnerActionId = 3L,
 08400                            StatusId = 17L,
 08401                            Type = "GET"
 08402                        },
 08403                        new
 08404                        {
 08405                            Id = 155L,
 08406                            Action = "Orders/{parentId}",
 08407                            Caption = "Перейти к заявке-основанию",
 08408                            Code = "GetOnBase",
 08409                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08410                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08411                            IsDeleted = false,
 08412                            OwnerActionId = 3L,
 08413                            StatusId = 17L,
 08414                            Type = "Get"
 08415                        },
 08416                        new
 08417                        {
 08418                            Id = 76L,
 08419                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08420                            Caption = "Скачать CSV",
 08421                            Code = "Csv",
 08422                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08423                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08424                            IsDeleted = false,
 08425                            OwnerActionId = 1L,
 08426                            StatusId = 18L,
 08427                            Type = "GET"
 08428                        },
 08429                        new
 08430                        {
 08431                            Id = 77L,
 08432                            Action = "Shipments/{id}/Print",
 08433                            Caption = "Распечатать УПД",
 08434                            Code = "Pdf",
 08435                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08436                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08437                            IsDeleted = false,
 08438                            OwnerActionId = 1L,
 08439                            StatusId = 18L,
 08440                            Type = "GET"
 08441                        },
 08442                        new
 08443                        {
 08444                            Id = 156L,
 08445                            Action = "Orders/{parentId}",
 08446                            Caption = "Перейти к заявке-основанию",
 08447                            Code = "GetOnBase",
 08448                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08449                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08450                            IsDeleted = false,
 08451                            OwnerActionId = 1L,
 08452                            StatusId = 18L,
 08453                            Type = "Get"
 08454                        },
 08455                        new
 08456                        {
 08457                            Id = 78L,
 08458                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08459                            Caption = "Скачать CSV",
 08460                            Code = "Csv",
 08461                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08462                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08463                            IsDeleted = false,
 08464                            OwnerActionId = 2L,
 08465                            StatusId = 18L,
 08466                            Type = "GET"
 08467                        },
 08468                        new
 08469                        {
 08470                            Id = 79L,
 08471                            Action = "Shipments/{id}/Print",
 08472                            Caption = "Распечатать УПД",
 08473                            Code = "Pdf",
 08474                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08475                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08476                            IsDeleted = false,
 08477                            OwnerActionId = 2L,
 08478                            StatusId = 18L,
 08479                            Type = "GET"
 08480                        },
 08481                        new
 08482                        {
 08483                            Id = 80L,
 08484                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08485                            Caption = "Скачать CSV",
 08486                            Code = "Csv",
 08487                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08488                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08489                            IsDeleted = false,
 08490                            OwnerActionId = 3L,
 08491                            StatusId = 18L,
 08492                            Type = "GET"
 08493                        },
 08494                        new
 08495                        {
 08496                            Id = 96L,
 08497                            Action = "Shipments/{id}/Print",
 08498                            Caption = "Распечатать УПД",
 08499                            Code = "Pdf",
 08500                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08501                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08502                            IsDeleted = false,
 08503                            OwnerActionId = 3L,
 08504                            StatusId = 18L,
 08505                            Type = "GET"
 08506                        },
 08507                        new
 08508                        {
 08509                            Id = 157L,
 08510                            Action = "Orders/{parentId}",
 08511                            Caption = "Перейти к заявке-основанию",
 08512                            Code = "GetOnBase",
 08513                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08514                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08515                            IsDeleted = false,
 08516                            OwnerActionId = 3L,
 08517                            StatusId = 18L,
 08518                            Type = "Get"
 08519                        },
 08520                        new
 08521                        {
 08522                            Id = 99L,
 08523                            Action = "Orders/{id}/Print",
 08524                            Caption = "Скачать PDF",
 08525                            Code = "SimpleOrderPdf",
 08526                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08527                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08528                            IsDeleted = false,
 08529                            OwnerActionId = 1L,
 08530                            StatusId = 1L,
 08531                            Type = "GET"
 08532                        },
 08533                        new
 08534                        {
 08535                            Id = 100L,
 08536                            Action = "Orders/{id}/Print",
 08537                            Caption = "Скачать PDF",
 08538                            Code = "SimpleOrderPdf",
 08539                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08540                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08541                            IsDeleted = false,
 08542                            OwnerActionId = 1L,
 08543                            StatusId = 2L,
 08544                            Type = "GET"
 08545                        },
 08546                        new
 08547                        {
 08548                            Id = 101L,
 08549                            Action = "Orders/{id}/Print",
 08550                            Caption = "Скачать PDF",
 08551                            Code = "SimpleOrderPdf",
 08552                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08553                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08554                            IsDeleted = false,
 08555                            OwnerActionId = 3L,
 08556                            StatusId = 2L,
 08557                            Type = "GET"
 08558                        },
 08559                        new
 08560                        {
 08561                            Id = 102L,
 08562                            Action = "Orders/{id}/Print",
 08563                            Caption = "Скачать PDF",
 08564                            Code = "SimpleOrderPdf",
 08565                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08566                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08567                            IsDeleted = false,
 08568                            OwnerActionId = 1L,
 08569                            StatusId = 3L,
 08570                            Type = "GET"
 08571                        },
 08572                        new
 08573                        {
 08574                            Id = 105L,
 08575                            Action = "Orders/{id}/Print",
 08576                            Caption = "Скачать PDF",
 08577                            Code = "SimpleOrderPdf",
 08578                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08579                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08580                            IsDeleted = false,
 08581                            OwnerActionId = 1L,
 08582                            StatusId = 4L,
 08583                            Type = "GET"
 08584                        },
 08585                        new
 08586                        {
 08587                            Id = 106L,
 08588                            Action = "Orders/{id}/Print",
 08589                            Caption = "Скачать PDF",
 08590                            Code = "SimpleOrderPdf",
 08591                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08592                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08593                            IsDeleted = false,
 08594                            OwnerActionId = 3L,
 08595                            StatusId = 4L,
 08596                            Type = "GET"
 08597                        },
 08598                        new
 08599                        {
 08600                            Id = 107L,
 08601                            Action = "Orders/{id}/Print",
 08602                            Caption = "Скачать PDF",
 08603                            Code = "SimpleOrderPdf",
 08604                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08605                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08606                            IsDeleted = false,
 08607                            OwnerActionId = 1L,
 08608                            StatusId = 5L,
 08609                            Type = "GET"
 08610                        },
 08611                        new
 08612                        {
 08613                            Id = 108L,
 08614                            Action = "Orders/{id}/Print",
 08615                            Caption = "Скачать PDF",
 08616                            Code = "SimpleOrderPdf",
 08617                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08618                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08619                            IsDeleted = false,
 08620                            OwnerActionId = 3L,
 08621                            StatusId = 5L,
 08622                            Type = "GET"
 08623                        },
 08624                        new
 08625                        {
 08626                            Id = 109L,
 08627                            Action = "Shipments/{id}/SimplePrint",
 08628                            Caption = "Скачать PDF",
 08629                            Code = "SimpleShipmentPdf",
 08630                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08631                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08632                            IsDeleted = false,
 08633                            OwnerActionId = 1L,
 08634                            StatusId = 8L,
 08635                            Type = "GET"
 08636                        },
 08637                        new
 08638                        {
 08639                            Id = 110L,
 08640                            Action = "Shipments/{id}/SimplePrint",
 08641                            Caption = "Скачать PDF",
 08642                            Code = "SimpleShipmentPdf",
 08643                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08644                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08645                            IsDeleted = false,
 08646                            OwnerActionId = 2L,
 08647                            StatusId = 8L,
 08648                            Type = "GET"
 08649                        },
 08650                        new
 08651                        {
 08652                            Id = 111L,
 08653                            Action = "Shipments/{id}/SimplePrint",
 08654                            Caption = "Скачать PDF",
 08655                            Code = "SimpleShipmentPdf",
 08656                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08657                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08658                            IsDeleted = false,
 08659                            OwnerActionId = 3L,
 08660                            StatusId = 8L,
 08661                            Type = "GET"
 08662                        },
 08663                        new
 08664                        {
 08665                            Id = 112L,
 08666                            Action = "Shipments/{id}/SimplePrint",
 08667                            Caption = "Скачать PDF",
 08668                            Code = "SimpleShipmentPdf",
 08669                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08670                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08671                            IsDeleted = false,
 08672                            OwnerActionId = 1L,
 08673                            StatusId = 9L,
 08674                            Type = "GET"
 08675                        },
 08676                        new
 08677                        {
 08678                            Id = 113L,
 08679                            Action = "Shipments/{id}/SimplePrint",
 08680                            Caption = "Скачать PDF",
 08681                            Code = "SimpleShipmentPdf",
 08682                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08683                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08684                            IsDeleted = false,
 08685                            OwnerActionId = 3L,
 08686                            StatusId = 9L,
 08687                            Type = "GET"
 08688                        },
 08689                        new
 08690                        {
 08691                            Id = 114L,
 08692                            Action = "Shipments/{id}/Attachment",
 08693                            Caption = "Скачать вложение",
 08694                            Code = "GetAttachment",
 08695                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08696                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08697                            IsDeleted = false,
 08698                            OwnerActionId = 1L,
 08699                            StatusId = 10L,
 08700                            Type = "GET"
 08701                        },
 08702                        new
 08703                        {
 08704                            Id = 115L,
 08705                            Action = "Shipments/{id}/Attachment",
 08706                            Caption = "Приложить файл",
 08707                            Code = "SetAttachment",
 08708                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08709                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08710                            IsDeleted = false,
 08711                            OwnerActionId = 2L,
 08712                            StatusId = 10L,
 08713                            Type = "POST"
 08714                        },
 08715                        new
 08716                        {
 08717                            Id = 116L,
 08718                            Action = "Shipments/{id}/Attachment",
 08719                            Caption = "Удалить вложение",
 08720                            Code = "DeleteAttachment",
 08721                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08722                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08723                            IsDeleted = false,
 08724                            OwnerActionId = 2L,
 08725                            StatusId = 11L,
 08726                            Type = "DELETE"
 08727                        },
 08728                        new
 08729                        {
 08730                            Id = 117L,
 08731                            Action = "Shipments/{id}/Attachment",
 08732                            Caption = "Скачать вложение",
 08733                            Code = "GetAttachment",
 08734                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08735                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08736                            IsDeleted = false,
 08737                            OwnerActionId = 1L,
 08738                            StatusId = 13L,
 08739                            Type = "GET"
 08740                        },
 08741                        new
 08742                        {
 08743                            Id = 118L,
 08744                            Action = "Shipments/{id}/Attachment",
 08745                            Caption = "Скачать вложение",
 08746                            Code = "GetAttachment",
 08747                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08748                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08749                            IsDeleted = false,
 08750                            OwnerActionId = 2L,
 08751                            StatusId = 13L,
 08752                            Type = "GET"
 08753                        },
 08754                        new
 08755                        {
 08756                            Id = 119L,
 08757                            Action = "Shipments/{id}/Attachment",
 08758                            Caption = "Приложить файл",
 08759                            Code = "SetAttachment",
 08760                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08761                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08762                            IsDeleted = false,
 08763                            OwnerActionId = 2L,
 08764                            StatusId = 13L,
 08765                            Type = "POST"
 08766                        },
 08767                        new
 08768                        {
 08769                            Id = 120L,
 08770                            Action = "Shipments/{id}/Attachment",
 08771                            Caption = "Скачать вложение",
 08772                            Code = "GetAttachment",
 08773                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08774                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08775                            IsDeleted = false,
 08776                            OwnerActionId = 3L,
 08777                            StatusId = 13L,
 08778                            Type = "GET"
 08779                        },
 08780                        new
 08781                        {
 08782                            Id = 121L,
 08783                            Action = "Shipments/{id}/Attachment",
 08784                            Caption = "Скачать вложение",
 08785                            Code = "GetAttachment",
 08786                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08787                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08788                            IsDeleted = false,
 08789                            OwnerActionId = 1L,
 08790                            StatusId = 14L,
 08791                            Type = "GET"
 08792                        },
 08793                        new
 08794                        {
 08795                            Id = 122L,
 08796                            Action = "Shipments/{id}/Attachment",
 08797                            Caption = "Скачать вложение",
 08798                            Code = "GetAttachment",
 08799                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08800                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08801                            IsDeleted = false,
 08802                            OwnerActionId = 2L,
 08803                            StatusId = 14L,
 08804                            Type = "GET"
 08805                        },
 08806                        new
 08807                        {
 08808                            Id = 123L,
 08809                            Action = "Shipments/{id}/Attachment",
 08810                            Caption = "Скачать вложение",
 08811                            Code = "GetAttachment",
 08812                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08813                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08814                            IsDeleted = false,
 08815                            OwnerActionId = 3L,
 08816                            StatusId = 14L,
 08817                            Type = "GET"
 08818                        },
 08819                        new
 08820                        {
 08821                            Id = 124L,
 08822                            Action = "Shipments/{id}/Attachment",
 08823                            Caption = "Скачать вложение",
 08824                            Code = "GetAttachment",
 08825                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08826                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08827                            IsDeleted = false,
 08828                            OwnerActionId = 1L,
 08829                            StatusId = 15L,
 08830                            Type = "GET"
 08831                        },
 08832                        new
 08833                        {
 08834                            Id = 125L,
 08835                            Action = "Shipments/{id}/Attachment",
 08836                            Caption = "Скачать вложение",
 08837                            Code = "GetAttachment",
 08838                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08839                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08840                            IsDeleted = false,
 08841                            OwnerActionId = 2L,
 08842                            StatusId = 15L,
 08843                            Type = "GET"
 08844                        },
 08845                        new
 08846                        {
 08847                            Id = 126L,
 08848                            Action = "Shipments/{id}/Attachment",
 08849                            Caption = "Скачать вложение",
 08850                            Code = "GetAttachment",
 08851                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08852                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08853                            IsDeleted = false,
 08854                            OwnerActionId = 3L,
 08855                            StatusId = 15L,
 08856                            Type = "GET"
 08857                        },
 08858                        new
 08859                        {
 08860                            Id = 127L,
 08861                            Action = "Shipments/{id}/Attachment",
 08862                            Caption = "Скачать вложение",
 08863                            Code = "GetAttachment",
 08864                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08865                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08866                            IsDeleted = false,
 08867                            OwnerActionId = 1L,
 08868                            StatusId = 16L,
 08869                            Type = "GET"
 08870                        },
 08871                        new
 08872                        {
 08873                            Id = 128L,
 08874                            Action = "Shipments/{id}/Attachment",
 08875                            Caption = "Скачать вложение",
 08876                            Code = "GetAttachment",
 08877                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08878                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08879                            IsDeleted = false,
 08880                            OwnerActionId = 2L,
 08881                            StatusId = 16L,
 08882                            Type = "GET"
 08883                        },
 08884                        new
 08885                        {
 08886                            Id = 129L,
 08887                            Action = "Shipments/{id}/Attachment",
 08888                            Caption = "Скачать вложение",
 08889                            Code = "GetAttachment",
 08890                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08891                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08892                            IsDeleted = false,
 08893                            OwnerActionId = 3L,
 08894                            StatusId = 16L,
 08895                            Type = "GET"
 08896                        },
 08897                        new
 08898                        {
 08899                            Id = 130L,
 08900                            Action = "Shipments/{id}/Attachment",
 08901                            Caption = "Скачать вложение",
 08902                            Code = "GetAttachment",
 08903                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08904                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08905                            IsDeleted = false,
 08906                            OwnerActionId = 1L,
 08907                            StatusId = 17L,
 08908                            Type = "GET"
 08909                        },
 08910                        new
 08911                        {
 08912                            Id = 131L,
 08913                            Action = "Shipments/{id}/Attachment",
 08914                            Caption = "Скачать вложение",
 08915                            Code = "GetAttachment",
 08916                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08917                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08918                            IsDeleted = false,
 08919                            OwnerActionId = 2L,
 08920                            StatusId = 17L,
 08921                            Type = "GET"
 08922                        },
 08923                        new
 08924                        {
 08925                            Id = 132L,
 08926                            Action = "Shipments/{id}/Attachment",
 08927                            Caption = "Скачать вложение",
 08928                            Code = "GetAttachment",
 08929                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08930                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08931                            IsDeleted = false,
 08932                            OwnerActionId = 3L,
 08933                            StatusId = 17L,
 08934                            Type = "GET"
 08935                        },
 08936                        new
 08937                        {
 08938                            Id = 133L,
 08939                            Action = "Shipments/{id}/Attachment",
 08940                            Caption = "Скачать вложение",
 08941                            Code = "GetAttachment",
 08942                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08943                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08944                            IsDeleted = false,
 08945                            OwnerActionId = 1L,
 08946                            StatusId = 18L,
 08947                            Type = "GET"
 08948                        },
 08949                        new
 08950                        {
 08951                            Id = 134L,
 08952                            Action = "Shipments/{id}/Attachment",
 08953                            Caption = "Скачать вложение",
 08954                            Code = "GetAttachment",
 08955                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08956                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08957                            IsDeleted = false,
 08958                            OwnerActionId = 2L,
 08959                            StatusId = 18L,
 08960                            Type = "GET"
 08961                        },
 08962                        new
 08963                        {
 08964                            Id = 135L,
 08965                            Action = "Shipments/{id}/Attachment",
 08966                            Caption = "Скачать вложение",
 08967                            Code = "GetAttachment",
 08968                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08969                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08970                            IsDeleted = false,
 08971                            OwnerActionId = 3L,
 08972                            StatusId = 18L,
 08973                            Type = "GET"
 08974                        },
 08975                        new
 08976                        {
 08977                            Id = 159L,
 08978                            Action = "Orders/{parentId}",
 08979                            Caption = "Перейти к заявке-основанию",
 08980                            Code = "GetOnBase",
 08981                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08982                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08983                            IsDeleted = false,
 08984                            OwnerActionId = 1L,
 08985                            StatusId = 7L,
 08986                            Type = "Get"
 08987                        },
 08988                        new
 08989                        {
 08990                            Id = 160L,
 08991                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08992                            Caption = "Скачать CSV",
 08993                            Code = "Csv",
 08994                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08995                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08996                            IsDeleted = false,
 08997                            OwnerActionId = 1L,
 08998                            StatusId = 7L,
 08999                            Type = "GET"
 09000                        },
 09001                        new
 09002                        {
 09003                            Id = 161L,
 09004                            Action = "Orders/CreateOnBase",
 09005                            Caption = "Создать заявку на основе",
 09006                            Code = "CreateOnBase",
 09007                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09008                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09009                            IsDeleted = false,
 09010                            OwnerActionId = 1L,
 09011                            StatusId = 7L,
 09012                            Type = "POST"
 09013                        },
 09014                        new
 09015                        {
 09016                            Id = 162L,
 09017                            Action = "Shipments/{id}/DownloadShipmentToFile",
 09018                            Caption = "Скачать CSV",
 09019                            Code = "Csv",
 09020                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09021                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09022                            IsDeleted = false,
 09023                            OwnerActionId = 2L,
 09024                            StatusId = 7L,
 09025                            Type = "GET"
 09026                        },
 09027                        new
 09028                        {
 09029                            Id = 163L,
 09030                            Action = "Shipments/{id}/DownloadShipmentToFile",
 09031                            Caption = "Скачать CSV",
 09032                            Code = "Csv",
 09033                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09034                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09035                            IsDeleted = false,
 09036                            OwnerActionId = 3L,
 09037                            StatusId = 7L,
 09038                            Type = "GET"
 09039                        },
 09040                        new
 09041                        {
 09042                            Id = 164L,
 09043                            Action = "Orders/{parentId}",
 09044                            Caption = "Перейти к заявке-основанию",
 09045                            Code = "GetOnBase",
 09046                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09047                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09048                            IsDeleted = false,
 09049                            OwnerActionId = 3L,
 09050                            StatusId = 7L,
 09051                            Type = "Get"
 09052                        });
 09053                });
 9054
 09055            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", b =>
 09056                {
 09057                    b.Property<long>("Id")
 09058                        .ValueGeneratedOnAdd()
 09059                        .HasColumnType("bigint")
 09060                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09061                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09062
 09063                    b.Property<string>("Code")
 09064                        .IsRequired()
 09065                        .HasColumnType("text");
 09066
 09067                    b.Property<long?>("CreatedByUserId")
 09068                        .HasColumnType("bigint");
 09069
 09070                    b.Property<DateTime>("CreationDateTime")
 09071                        .HasColumnType("timestamp without time zone");
 09072
 09073                    b.Property<string>("Description")
 09074                        .HasColumnType("text");
 09075
 09076                    b.Property<Guid>("GUID")
 09077                        .ValueGeneratedOnAdd()
 09078                        .HasColumnType("uuid");
 09079
 09080                    b.Property<bool>("IsDeleted")
 09081                        .HasColumnType("boolean");
 09082
 09083                    b.Property<DateTime?>("ModificationDateTime")
 09084                        .HasColumnType("timestamp without time zone");
 09085
 09086                    b.Property<long?>("ModifiedByUserId")
 09087                        .HasColumnType("bigint");
 09088
 09089                    b.Property<long>("MovementTypeId")
 09090                        .HasColumnType("bigint");
 09091
 09092                    b.Property<string>("Name")
 09093                        .IsRequired()
 09094                        .HasColumnType("text");
 09095
 09096                    b.Property<long?>("RecStateId")
 09097                        .HasColumnType("bigint");
 09098
 09099                    b.Property<long>("StatusOwnerId")
 09100                        .HasColumnType("bigint");
 09101
 09102                    b.HasKey("Id");
 09103
 09104                    b.HasIndex("CreatedByUserId");
 09105
 09106                    b.HasIndex("ModifiedByUserId");
 09107
 09108                    b.HasIndex("MovementTypeId");
 09109
 09110                    b.HasIndex("RecStateId");
 09111
 09112                    b.HasIndex("StatusOwnerId");
 09113
 09114                    b.ToTable("MovementStatus");
 09115
 09116                    b.HasData(
 09117                        new
 09118                        {
 09119                            Id = 1L,
 09120                            Code = "Draft",
 09121                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09122                            Description = "",
 09123                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09124                            IsDeleted = false,
 09125                            MovementTypeId = 1L,
 09126                            Name = "Черновик",
 09127                            StatusOwnerId = 1L
 09128                        },
 09129                        new
 09130                        {
 09131                            Id = 2L,
 09132                            Code = "InQueue",
 09133                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09134                            Description = "",
 09135                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09136                            IsDeleted = false,
 09137                            MovementTypeId = 1L,
 09138                            Name = "В очереди на обработку",
 09139                            StatusOwnerId = 3L
 09140                        },
 09141                        new
 09142                        {
 09143                            Id = 3L,
 09144                            Code = "InProgress",
 09145                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09146                            Description = "",
 09147                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09148                            IsDeleted = false,
 09149                            MovementTypeId = 1L,
 09150                            Name = "В обработке",
 09151                            StatusOwnerId = 2L
 09152                        },
 09153                        new
 09154                        {
 09155                            Id = 4L,
 09156                            Code = "Reject",
 09157                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09158                            Description = "",
 09159                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09160                            IsDeleted = false,
 09161                            MovementTypeId = 1L,
 09162                            Name = "Отказ",
 09163                            StatusOwnerId = 3L
 09164                        },
 09165                        new
 09166                        {
 09167                            Id = 5L,
 09168                            Code = "Finished",
 09169                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09170                            Description = "",
 09171                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09172                            IsDeleted = false,
 09173                            MovementTypeId = 1L,
 09174                            Name = "Обработано",
 09175                            StatusOwnerId = 2L
 09176                        },
 09177                        new
 09178                        {
 09179                            Id = 6L,
 09180                            Code = "Draft",
 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 = 2L
 09187                        },
 09188                        new
 09189                        {
 09190                            Id = 7L,
 09191                            Code = "Reject",
 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 = 1L
 09198                        },
 09199                        new
 09200                        {
 09201                            Id = 8L,
 09202                            Code = "PaymentAwaiting",
 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 = 1L
 09209                        },
 09210                        new
 09211                        {
 09212                            Id = 9L,
 09213                            Code = "Picking",
 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 = 2L
 09220                        },
 09221                        new
 09222                        {
 09223                            Id = 10L,
 09224                            Code = "ReadyForShipment",
 09225                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09226                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09227                            IsDeleted = false,
 09228                            MovementTypeId = 2L,
 09229                            Name = "Готово к выдаче",
 09230                            StatusOwnerId = 2L
 09231                        },
 09232                        new
 09233                        {
 09234                            Id = 11L,
 09235                            Code = "Correction",
 09236                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09237                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09238                            IsDeleted = false,
 09239                            MovementTypeId = 2L,
 09240                            Name = "Корректировка",
 09241                            StatusOwnerId = 2L
 09242                        },
 09243                        new
 09244                        {
 09245                            Id = 12L,
 09246                            Code = "SupplierReject",
 09247                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09248                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09249                            IsDeleted = false,
 09250                            MovementTypeId = 2L,
 09251                            Name = "Отказ поставщика",
 09252                            StatusOwnerId = 2L
 09253                        },
 09254                        new
 09255                        {
 09256                            Id = 13L,
 09257                            Code = "Shipped",
 09258                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09259                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09260                            IsDeleted = false,
 09261                            MovementTypeId = 2L,
 09262                            Name = "Выдано",
 09263                            StatusOwnerId = 1L
 09264                        },
 09265                        new
 09266                        {
 09267                            Id = 14L,
 09268                            Code = "Received",
 09269                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09270                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09271                            IsDeleted = false,
 09272                            MovementTypeId = 2L,
 09273                            Name = "Принято",
 09274                            StatusOwnerId = 1L
 09275                        },
 09276                        new
 09277                        {
 09278                            Id = 15L,
 09279                            Code = "CustomerReject",
 09280                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09281                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09282                            IsDeleted = false,
 09283                            MovementTypeId = 2L,
 09284                            Name = "Отказ покупателя",
 09285                            StatusOwnerId = 1L
 09286                        },
 09287                        new
 09288                        {
 09289                            Id = 16L,
 09290                            Code = "ClaimInProgress",
 09291                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09292                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09293                            IsDeleted = false,
 09294                            MovementTypeId = 2L,
 09295                            Name = "Претензия разбор",
 09296                            StatusOwnerId = 3L
 09297                        },
 09298                        new
 09299                        {
 09300                            Id = 17L,
 09301                            Code = "ClaimDeclined",
 09302                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09303                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09304                            IsDeleted = false,
 09305                            MovementTypeId = 2L,
 09306                            Name = "Претензия отказано",
 09307                            StatusOwnerId = 3L
 09308                        },
 09309                        new
 09310                        {
 09311                            Id = 18L,
 09312                            Code = "ClaimAccepted",
 09313                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09314                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09315                            IsDeleted = false,
 09316                            MovementTypeId = 2L,
 09317                            Name = "Претензия подтверждено",
 09318                            StatusOwnerId = 3L
 09319                        });
 09320                });
 9321
 09322            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusJournal", b =>
 09323                {
 09324                    b.Property<long>("Id")
 09325                        .ValueGeneratedOnAdd()
 09326                        .HasColumnType("bigint")
 09327                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09328
 09329                    b.Property<long?>("CreatedByUserId")
 09330                        .HasColumnType("bigint");
 09331
 09332                    b.Property<DateTime>("CreationDateTime")
 09333                        .HasColumnType("timestamp without time zone");
 09334
 09335                    b.Property<Guid>("GUID")
 09336                        .ValueGeneratedOnAdd()
 09337                        .HasColumnType("uuid");
 09338
 09339                    b.Property<bool>("IsDeleted")
 09340                        .HasColumnType("boolean");
 09341
 09342                    b.Property<DateTime?>("ModificationDateTime")
 09343                        .HasColumnType("timestamp without time zone");
 09344
 09345                    b.Property<long?>("ModifiedByUserId")
 09346                        .HasColumnType("bigint");
 09347
 09348                    b.Property<long?>("MovementId")
 09349                        .HasColumnType("bigint");
 09350
 09351                    b.Property<long?>("RecStateId")
 09352                        .HasColumnType("bigint");
 09353
 09354                    b.Property<long?>("StatusCurrentId")
 09355                        .HasColumnType("bigint");
 09356
 09357                    b.HasKey("Id");
 09358
 09359                    b.HasIndex("CreatedByUserId");
 09360
 09361                    b.HasIndex("ModifiedByUserId");
 09362
 09363                    b.HasIndex("MovementId");
 09364
 09365                    b.HasIndex("RecStateId");
 09366
 09367                    b.HasIndex("StatusCurrentId");
 09368
 09369                    b.ToTable("MovementStatusJournals");
 09370                });
 9371
 09372            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", b =>
 09373                {
 09374                    b.Property<long>("Id")
 09375                        .ValueGeneratedOnAdd()
 09376                        .HasColumnType("bigint")
 09377                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09378                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09379
 09380                    b.Property<long?>("CreatedByUserId")
 09381                        .HasColumnType("bigint");
 09382
 09383                    b.Property<DateTime>("CreationDateTime")
 09384                        .HasColumnType("timestamp without time zone");
 09385
 09386                    b.Property<bool>("IsDeleted")
 09387                        .HasColumnType("boolean");
 09388
 09389                    b.Property<DateTime?>("ModificationDateTime")
 09390                        .HasColumnType("timestamp without time zone");
 09391
 09392                    b.Property<long?>("ModifiedByUserId")
 09393                        .HasColumnType("bigint");
 09394
 09395                    b.Property<string>("Name")
 09396                        .HasColumnType("text");
 09397
 09398                    b.Property<long?>("RecStateId")
 09399                        .HasColumnType("bigint");
 09400
 09401                    b.HasKey("Id");
 09402
 09403                    b.HasIndex("CreatedByUserId");
 09404
 09405                    b.HasIndex("ModifiedByUserId");
 09406
 09407                    b.HasIndex("RecStateId");
 09408
 09409                    b.ToTable("MovementStatusOwners");
 09410
 09411                    b.HasData(
 09412                        new
 09413                        {
 09414                            Id = 1L,
 09415                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09416                            IsDeleted = false,
 09417                            Name = "Customer"
 09418                        },
 09419                        new
 09420                        {
 09421                            Id = 2L,
 09422                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09423                            IsDeleted = false,
 09424                            Name = "Supplier"
 09425                        },
 09426                        new
 09427                        {
 09428                            Id = 3L,
 09429                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09430                            IsDeleted = false,
 09431                            Name = "Platform"
 09432                        });
 09433                });
 9434
 09435            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusRoute", b =>
 09436                {
 09437                    b.Property<long>("Id")
 09438                        .ValueGeneratedOnAdd()
 09439                        .HasColumnType("bigint")
 09440                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09441                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09442
 09443                    b.Property<long?>("CreatedByUserId")
 09444                        .HasColumnType("bigint");
 09445
 09446                    b.Property<DateTime>("CreationDateTime")
 09447                        .HasColumnType("timestamp without time zone");
 09448
 09449                    b.Property<Guid>("GUID")
 09450                        .ValueGeneratedOnAdd()
 09451                        .HasColumnType("uuid");
 09452
 09453                    b.Property<int>("Hour")
 09454                        .HasColumnType("integer");
 09455
 09456                    b.Property<bool>("IsDeleted")
 09457                        .HasColumnType("boolean");
 09458
 09459                    b.Property<DateTime?>("ModificationDateTime")
 09460                        .HasColumnType("timestamp without time zone");
 09461
 09462                    b.Property<long?>("ModifiedByUserId")
 09463                        .HasColumnType("bigint");
 09464
 09465                    b.Property<long?>("RecStateId")
 09466                        .HasColumnType("bigint");
 09467
 09468                    b.Property<string>("RouteKey")
 09469                        .HasColumnType("text");
 09470
 09471                    b.Property<long>("StatusCurrentId")
 09472                        .HasColumnType("bigint");
 09473
 09474                    b.Property<long>("StatusNextId")
 09475                        .HasColumnType("bigint");
 09476
 09477                    b.HasKey("Id");
 09478
 09479                    b.HasIndex("CreatedByUserId");
 09480
 09481                    b.HasIndex("ModifiedByUserId");
 09482
 09483                    b.HasIndex("RecStateId");
 09484
 09485                    b.HasIndex("StatusCurrentId");
 09486
 09487                    b.HasIndex("StatusNextId");
 09488
 09489                    b.ToTable("MovementStatusRoutes");
 09490
 09491                    b.HasData(
 09492                        new
 09493                        {
 09494                            Id = 1L,
 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 = "Send",
 09500                            StatusCurrentId = 1L,
 09501                            StatusNextId = 2L
 09502                        },
 09503                        new
 09504                        {
 09505                            Id = 2L,
 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 = "Confirm",
 09511                            StatusCurrentId = 2L,
 09512                            StatusNextId = 3L
 09513                        },
 09514                        new
 09515                        {
 09516                            Id = 3L,
 09517                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09518                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09519                            Hour = 8,
 09520                            IsDeleted = false,
 09521                            RouteKey = "Auto",
 09522                            StatusCurrentId = 2L,
 09523                            StatusNextId = 4L
 09524                        },
 09525                        new
 09526                        {
 09527                            Id = 4L,
 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 = "RejectOrder",
 09533                            StatusCurrentId = 2L,
 09534                            StatusNextId = 4L
 09535                        },
 09536                        new
 09537                        {
 09538                            Id = 5L,
 09539                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09540                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09541                            Hour = 8,
 09542                            IsDeleted = false,
 09543                            RouteKey = "Auto",
 09544                            StatusCurrentId = 3L,
 09545                            StatusNextId = 4L
 09546                        },
 09547                        new
 09548                        {
 09549                            Id = 6L,
 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 = "Finished",
 09555                            StatusCurrentId = 3L,
 09556                            StatusNextId = 5L
 09557                        },
 09558                        new
 09559                        {
 09560                            Id = 7L,
 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 = "RejectOrder",
 09566                            StatusCurrentId = 3L,
 09567                            StatusNextId = 4L
 09568                        },
 09569                        new
 09570                        {
 09571                            Id = 8L,
 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 = "SupplierReject",
 09577                            StatusCurrentId = 6L,
 09578                            StatusNextId = 12L
 09579                        },
 09580                        new
 09581                        {
 09582                            Id = 9L,
 09583                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09584                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09585                            Hour = 0,
 09586                            IsDeleted = false,
 09587                            RouteKey = "PaymentReserve",
 09588                            StatusCurrentId = 6L,
 09589                            StatusNextId = 8L
 09590                        },
 09591                        new
 09592                        {
 09593                            Id = 10L,
 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 = "Payment",
 09599                            StatusCurrentId = 8L,
 09600                            StatusNextId = 9L
 09601                        },
 09602                        new
 09603                        {
 09604                            Id = 11L,
 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 = "CustomerReject",
 09610                            StatusCurrentId = 8L,
 09611                            StatusNextId = 15L
 09612                        },
 09613                        new
 09614                        {
 09615                            Id = 12L,
 09616                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09617                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09618                            Hour = 24,
 09619                            IsDeleted = false,
 09620                            RouteKey = "Auto",
 09621                            StatusCurrentId = 8L,
 09622                            StatusNextId = 7L
 09623                        },
 09624                        new
 09625                        {
 09626                            Id = 13L,
 09627                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09628                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09629                            Hour = 0,
 09630                            IsDeleted = false,
 09631                            RouteKey = "SupplierReject",
 09632                            StatusCurrentId = 9L,
 09633                            StatusNextId = 12L
 09634                        },
 09635                        new
 09636                        {
 09637                            Id = 14L,
 09638                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09639                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09640                            Hour = 24,
 09641                            IsDeleted = false,
 09642                            RouteKey = "Auto",
 09643                            StatusCurrentId = 9L,
 09644                            StatusNextId = 7L
 09645                        },
 09646                        new
 09647                        {
 09648                            Id = 15L,
 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 = 9L,
 09655                            StatusNextId = 10L
 09656                        },
 09657                        new
 09658                        {
 09659                            Id = 30L,
 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 = 9L,
 09666                            StatusNextId = 15L
 09667                        },
 09668                        new
 09669                        {
 09670                            Id = 16L,
 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 = "Ship",
 09676                            StatusCurrentId = 10L,
 09677                            StatusNextId = 13L
 09678                        },
 09679                        new
 09680                        {
 09681                            Id = 17L,
 09682                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09683                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09684                            Hour = 24,
 09685                            IsDeleted = false,
 09686                            RouteKey = "Auto",
 09687                            StatusCurrentId = 10L,
 09688                            StatusNextId = 7L
 09689                        },
 09690                        new
 09691                        {
 09692                            Id = 18L,
 09693                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09694                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09695                            Hour = 0,
 09696                            IsDeleted = false,
 09697                            RouteKey = "SupplierReject",
 09698                            StatusCurrentId = 10L,
 09699                            StatusNextId = 12L
 09700                        },
 09701                        new
 09702                        {
 09703                            Id = 19L,
 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 = "Correction",
 09709                            StatusCurrentId = 10L,
 09710                            StatusNextId = 11L
 09711                        },
 09712                        new
 09713                        {
 09714                            Id = 31L,
 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 = "CustomerReject",
 09720                            StatusCurrentId = 10L,
 09721                            StatusNextId = 15L
 09722                        },
 09723                        new
 09724                        {
 09725                            Id = 20L,
 09726                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09727                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09728                            Hour = 8,
 09729                            IsDeleted = false,
 09730                            RouteKey = "Auto",
 09731                            StatusCurrentId = 11L,
 09732                            StatusNextId = 7L
 09733                        },
 09734                        new
 09735                        {
 09736                            Id = 21L,
 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 = "SupplierReject",
 09742                            StatusCurrentId = 11L,
 09743                            StatusNextId = 12L
 09744                        },
 09745                        new
 09746                        {
 09747                            Id = 22L,
 09748                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09749                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09750                            Hour = 0,
 09751                            IsDeleted = false,
 09752                            RouteKey = "ReadyToShip",
 09753                            StatusCurrentId = 11L,
 09754                            StatusNextId = 10L
 09755                        },
 09756                        new
 09757                        {
 09758                            Id = 32L,
 09759                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09760                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09761                            Hour = 0,
 09762                            IsDeleted = false,
 09763                            RouteKey = "CustomerReject",
 09764                            StatusCurrentId = 11L,
 09765                            StatusNextId = 15L
 09766                        },
 09767                        new
 09768                        {
 09769                            Id = 23L,
 09770                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09771                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09772                            Hour = 0,
 09773                            IsDeleted = false,
 09774                            RouteKey = "Accept",
 09775                            StatusCurrentId = 13L,
 09776                            StatusNextId = 14L
 09777                        },
 09778                        new
 09779                        {
 09780                            Id = 24L,
 09781                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09782                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09783                            Hour = 0,
 09784                            IsDeleted = false,
 09785                            RouteKey = "CustomerReject",
 09786                            StatusCurrentId = 13L,
 09787                            StatusNextId = 15L
 09788                        },
 09789                        new
 09790                        {
 09791                            Id = 25L,
 09792                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09793                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09794                            Hour = 24,
 09795                            IsDeleted = false,
 09796                            RouteKey = "Auto",
 09797                            StatusCurrentId = 13L,
 09798                            StatusNextId = 14L
 09799                        },
 09800                        new
 09801                        {
 09802                            Id = 26L,
 09803                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09804                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09805                            Hour = 0,
 09806                            IsDeleted = false,
 09807                            RouteKey = "ClaimProcess",
 09808                            StatusCurrentId = 15L,
 09809                            StatusNextId = 16L
 09810                        },
 09811                        new
 09812                        {
 09813                            Id = 27L,
 09814                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09815                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09816                            Hour = 0,
 09817                            IsDeleted = false,
 09818                            RouteKey = "ClaimAccept",
 09819                            StatusCurrentId = 16L,
 09820                            StatusNextId = 18L
 09821                        },
 09822                        new
 09823                        {
 09824                            Id = 28L,
 09825                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09826                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09827                            Hour = 24,
 09828                            IsDeleted = false,
 09829                            RouteKey = "Auto",
 09830                            StatusCurrentId = 16L,
 09831                            StatusNextId = 18L
 09832                        },
 09833                        new
 09834                        {
 09835                            Id = 29L,
 09836                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09837                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09838                            Hour = 0,
 09839                            IsDeleted = false,
 09840                            RouteKey = "ClaimDecline",
 09841                            StatusCurrentId = 16L,
 09842                            StatusNextId = 17L
 09843                        });
 09844                });
 9845
 09846            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", b =>
 09847                {
 09848                    b.Property<long>("Id")
 09849                        .ValueGeneratedOnAdd()
 09850                        .HasColumnType("bigint")
 09851                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09852                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09853
 09854                    b.Property<string>("Code")
 09855                        .IsRequired()
 09856                        .HasColumnType("text");
 09857
 09858                    b.Property<long?>("CreatedByUserId")
 09859                        .HasColumnType("bigint");
 09860
 09861                    b.Property<DateTime>("CreationDateTime")
 09862                        .HasColumnType("timestamp without time zone");
 09863
 09864                    b.Property<string>("Description")
 09865                        .HasColumnType("text");
 09866
 09867                    b.Property<Guid>("GUID")
 09868                        .ValueGeneratedOnAdd()
 09869                        .HasColumnType("uuid");
 09870
 09871                    b.Property<bool>("IsDeleted")
 09872                        .HasColumnType("boolean");
 09873
 09874                    b.Property<DateTime?>("ModificationDateTime")
 09875                        .HasColumnType("timestamp without time zone");
 09876
 09877                    b.Property<long?>("ModifiedByUserId")
 09878                        .HasColumnType("bigint");
 09879
 09880                    b.Property<string>("Name")
 09881                        .IsRequired()
 09882                        .HasColumnType("text");
 09883
 09884                    b.Property<long?>("RecStateId")
 09885                        .HasColumnType("bigint");
 09886
 09887                    b.HasKey("Id");
 09888
 09889                    b.HasIndex("CreatedByUserId");
 09890
 09891                    b.HasIndex("ModifiedByUserId");
 09892
 09893                    b.HasIndex("RecStateId");
 09894
 09895                    b.ToTable("MovementType");
 09896
 09897                    b.HasData(
 09898                        new
 09899                        {
 09900                            Id = 1L,
 09901                            Code = "Order",
 09902                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09903                            Description = "",
 09904                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09905                            IsDeleted = false,
 09906                            Name = "Заказ"
 09907                        },
 09908                        new
 09909                        {
 09910                            Id = 2L,
 09911                            Code = "Shipment",
 09912                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09913                            Description = "",
 09914                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09915                            IsDeleted = false,
 09916                            Name = "Отгрузка"
 09917                        },
 09918                        new
 09919                        {
 09920                            Id = 3L,
 09921                            Code = "Arrival",
 09922                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09923                            Description = "",
 09924                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09925                            IsDeleted = false,
 09926                            Name = "Приход"
 09927                        },
 09928                        new
 09929                        {
 09930                            Id = 4L,
 09931                            Code = "Deny",
 09932                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09933                            Description = "",
 09934                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09935                            IsDeleted = false,
 09936                            Name = "Отказ"
 09937                        });
 09938                });
 9939
 09940            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", b =>
 09941                {
 09942                    b.Property<long>("Id")
 09943                        .ValueGeneratedOnAdd()
 09944                        .HasColumnType("bigint")
 09945                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09946
 09947                    b.Property<string>("Body")
 09948                        .IsRequired()
 09949                        .HasColumnType("text");
 09950
 09951                    b.Property<long?>("CreatedByUserId")
 09952                        .HasColumnType("bigint");
 09953
 09954                    b.Property<DateTime>("CreationDateTime")
 09955                        .HasColumnType("timestamp without time zone");
 09956
 09957                    b.Property<Guid>("GUID")
 09958                        .ValueGeneratedOnAdd()
 09959                        .HasColumnType("uuid");
 09960
 09961                    b.Property<bool>("IsDeleted")
 09962                        .HasColumnType("boolean");
 09963
 09964                    b.Property<DateTime?>("ModificationDateTime")
 09965                        .HasColumnType("timestamp without time zone");
 09966
 09967                    b.Property<long?>("ModifiedByUserId")
 09968                        .HasColumnType("bigint");
 09969
 09970                    b.Property<long>("NotificationsTypeId")
 09971                        .HasColumnType("bigint");
 09972
 09973                    b.Property<long?>("RecStateId")
 09974                        .HasColumnType("bigint");
 09975
 09976                    b.Property<string>("Subject")
 09977                        .IsRequired()
 09978                        .HasColumnType("text");
 09979
 09980                    b.Property<DateTime>("TimeToTurnOff")
 09981                        .HasColumnType("timestamp without time zone");
 09982
 09983                    b.Property<long>("UserId")
 09984                        .HasColumnType("bigint");
 09985
 09986                    b.HasKey("Id");
 09987
 09988                    b.HasIndex("CreatedByUserId");
 09989
 09990                    b.HasIndex("ModifiedByUserId");
 09991
 09992                    b.HasIndex("NotificationsTypeId");
 09993
 09994                    b.HasIndex("RecStateId");
 09995
 09996                    b.HasIndex("UserId");
 09997
 09998                    b.ToTable("Notifications");
 09999                });
 10000
 010001            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationUsers", b =>
 010002                {
 010003                    b.Property<long>("Id")
 010004                        .ValueGeneratedOnAdd()
 010005                        .HasColumnType("bigint")
 010006                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010007
 010008                    b.Property<long?>("CreatedByUserId")
 010009                        .HasColumnType("bigint");
 010010
 010011                    b.Property<DateTime>("CreationDateTime")
 010012                        .HasColumnType("timestamp without time zone");
 010013
 010014                    b.Property<Guid>("GUID")
 010015                        .ValueGeneratedOnAdd()
 010016                        .HasColumnType("uuid");
 010017
 010018                    b.Property<bool>("IsDeleted")
 010019                        .HasColumnType("boolean");
 010020
 010021                    b.Property<DateTime?>("ModificationDateTime")
 010022                        .HasColumnType("timestamp without time zone");
 010023
 010024                    b.Property<long?>("ModifiedByUserId")
 010025                        .HasColumnType("bigint");
 010026
 010027                    b.Property<long>("NotificationId")
 010028                        .HasColumnType("bigint");
 010029
 010030                    b.Property<long?>("NotificationsStatusId")
 010031                        .HasColumnType("bigint");
 010032
 010033                    b.Property<long?>("RecStateId")
 010034                        .HasColumnType("bigint");
 010035
 010036                    b.Property<long?>("UserId")
 010037                        .HasColumnType("bigint");
 010038
 010039                    b.HasKey("Id");
 010040
 010041                    b.HasIndex("CreatedByUserId");
 010042
 010043                    b.HasIndex("ModifiedByUserId");
 010044
 010045                    b.HasIndex("NotificationId");
 010046
 010047                    b.HasIndex("NotificationsStatusId");
 010048
 010049                    b.HasIndex("RecStateId");
 010050
 010051                    b.HasIndex("UserId");
 010052
 010053                    b.ToTable("NotificationUsers");
 010054                });
 10055
 010056            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", b =>
 010057                {
 010058                    b.Property<long>("Id")
 010059                        .ValueGeneratedOnAdd()
 010060                        .HasColumnType("bigint")
 010061                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010062                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010063
 010064                    b.Property<string>("Code")
 010065                        .IsRequired()
 010066                        .HasColumnType("text");
 010067
 010068                    b.Property<long?>("CreatedByUserId")
 010069                        .HasColumnType("bigint");
 010070
 010071                    b.Property<DateTime>("CreationDateTime")
 010072                        .HasColumnType("timestamp without time zone");
 010073
 010074                    b.Property<string>("Description")
 010075                        .HasColumnType("text");
 010076
 010077                    b.Property<Guid>("GUID")
 010078                        .ValueGeneratedOnAdd()
 010079                        .HasColumnType("uuid");
 010080
 010081                    b.Property<bool>("IsDeleted")
 010082                        .HasColumnType("boolean");
 010083
 010084                    b.Property<DateTime?>("ModificationDateTime")
 010085                        .HasColumnType("timestamp without time zone");
 010086
 010087                    b.Property<long?>("ModifiedByUserId")
 010088                        .HasColumnType("bigint");
 010089
 010090                    b.Property<string>("Name")
 010091                        .IsRequired()
 010092                        .HasColumnType("text");
 010093
 010094                    b.Property<long?>("RecStateId")
 010095                        .HasColumnType("bigint");
 010096
 010097                    b.HasKey("Id");
 010098
 010099                    b.HasIndex("CreatedByUserId");
 010100
 010101                    b.HasIndex("ModifiedByUserId");
 010102
 010103                    b.HasIndex("RecStateId");
 010104
 010105                    b.ToTable("NotificationsStatus");
 010106
 010107                    b.HasData(
 010108                        new
 010109                        {
 010110                            Id = 1L,
 010111                            Code = "Unknown",
 010112                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010113                            Description = "",
 010114                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010115                            IsDeleted = false,
 010116                            Name = "Неизвестно"
 010117                        },
 010118                        new
 010119                        {
 010120                            Id = 2L,
 010121                            Code = "Created",
 010122                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010123                            Description = "",
 010124                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010125                            IsDeleted = false,
 010126                            Name = "Создано"
 010127                        },
 010128                        new
 010129                        {
 010130                            Id = 3L,
 010131                            Code = "Sent",
 010132                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010133                            Description = "",
 010134                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010135                            IsDeleted = false,
 010136                            Name = "Отправлено"
 010137                        },
 010138                        new
 010139                        {
 010140                            Id = 4L,
 010141                            Code = "Read",
 010142                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010143                            Description = "",
 010144                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010145                            IsDeleted = false,
 010146                            Name = "Прочитано"
 010147                        },
 010148                        new
 010149                        {
 010150                            Id = 5L,
 010151                            Code = "Deactivated",
 010152                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010153                            Description = "",
 010154                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010155                            IsDeleted = false,
 010156                            Name = "Отключено"
 010157                        });
 010158                });
 10159
 010160            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", b =>
 010161                {
 010162                    b.Property<long>("Id")
 010163                        .ValueGeneratedOnAdd()
 010164                        .HasColumnType("bigint")
 010165                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010166                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010167
 010168                    b.Property<string>("Code")
 010169                        .IsRequired()
 010170                        .HasColumnType("text");
 010171
 010172                    b.Property<long?>("CreatedByUserId")
 010173                        .HasColumnType("bigint");
 010174
 010175                    b.Property<DateTime>("CreationDateTime")
 010176                        .HasColumnType("timestamp without time zone");
 010177
 010178                    b.Property<string>("Description")
 010179                        .HasColumnType("text");
 010180
 010181                    b.Property<Guid>("GUID")
 010182                        .ValueGeneratedOnAdd()
 010183                        .HasColumnType("uuid");
 010184
 010185                    b.Property<bool>("IsDeleted")
 010186                        .HasColumnType("boolean");
 010187
 010188                    b.Property<DateTime?>("ModificationDateTime")
 010189                        .HasColumnType("timestamp without time zone");
 010190
 010191                    b.Property<long?>("ModifiedByUserId")
 010192                        .HasColumnType("bigint");
 010193
 010194                    b.Property<string>("Name")
 010195                        .IsRequired()
 010196                        .HasColumnType("text");
 010197
 010198                    b.Property<long?>("RecStateId")
 010199                        .HasColumnType("bigint");
 010200
 010201                    b.HasKey("Id");
 010202
 010203                    b.HasIndex("CreatedByUserId");
 010204
 010205                    b.HasIndex("ModifiedByUserId");
 010206
 010207                    b.HasIndex("RecStateId");
 010208
 010209                    b.ToTable("NotificationsType");
 010210
 010211                    b.HasData(
 010212                        new
 010213                        {
 010214                            Id = 1L,
 010215                            Code = "System",
 010216                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010217                            Description = "",
 010218                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010219                            IsDeleted = false,
 010220                            Name = "Системное"
 010221                        },
 010222                        new
 010223                        {
 010224                            Id = 2L,
 010225                            Code = "News",
 010226                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010227                            Description = "",
 010228                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010229                            IsDeleted = false,
 010230                            Name = "Новость"
 010231                        });
 010232                });
 10233
 010234            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Photo", b =>
 010235                {
 010236                    b.Property<long>("Id")
 010237                        .ValueGeneratedOnAdd()
 010238                        .HasColumnType("bigint")
 010239                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010240
 010241                    b.Property<long?>("CreatedByUserId")
 010242                        .HasColumnType("bigint");
 010243
 010244                    b.Property<DateTime>("CreationDateTime")
 010245                        .HasColumnType("timestamp without time zone");
 010246
 010247                    b.Property<int>("FullSizeHeight")
 010248                        .HasColumnType("integer");
 010249
 010250                    b.Property<string>("FullSizeUrl")
 010251                        .HasColumnType("text");
 010252
 010253                    b.Property<int>("FullSizeWidth")
 010254                        .HasColumnType("integer");
 010255
 010256                    b.Property<Guid>("GUID")
 010257                        .ValueGeneratedOnAdd()
 010258                        .HasColumnType("uuid");
 010259
 010260                    b.Property<long?>("GoodId")
 010261                        .HasColumnType("bigint");
 010262
 010263                    b.Property<bool>("IsDeleted")
 010264                        .HasColumnType("boolean");
 010265
 010266                    b.Property<DateTime?>("ModificationDateTime")
 010267                        .HasColumnType("timestamp without time zone");
 010268
 010269                    b.Property<long?>("ModifiedByUserId")
 010270                        .HasColumnType("bigint");
 010271
 010272                    b.Property<int>("PreviewHeight")
 010273                        .HasColumnType("integer");
 010274
 010275                    b.Property<string>("PreviewUrl")
 010276                        .HasColumnType("text");
 010277
 010278                    b.Property<int>("PreviewWidth")
 010279                        .HasColumnType("integer");
 010280
 010281                    b.Property<long?>("RecStateId")
 010282                        .HasColumnType("bigint");
 010283
 010284                    b.HasKey("Id");
 010285
 010286                    b.HasIndex("CreatedByUserId");
 010287
 010288                    b.HasIndex("GoodId");
 010289
 010290                    b.HasIndex("ModifiedByUserId");
 010291
 010292                    b.HasIndex("RecStateId");
 010293
 010294                    b.ToTable("Photos");
 010295                });
 10296
 010297            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceCurrent", b =>
 010298                {
 010299                    b.Property<long>("Id")
 010300                        .ValueGeneratedOnAdd()
 010301                        .HasColumnType("bigint")
 010302                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010303
 010304                    b.Property<long?>("CreatedByUserId")
 010305                        .HasColumnType("bigint");
 010306
 010307                    b.Property<DateTime>("CreationDateTime")
 010308                        .HasColumnType("timestamp without time zone");
 010309
 010310                    b.Property<Guid>("GUID")
 010311                        .ValueGeneratedOnAdd()
 010312                        .HasColumnType("uuid");
 010313
 010314                    b.Property<long>("GoodId")
 010315                        .HasColumnType("bigint");
 010316
 010317                    b.Property<bool>("IsDeleted")
 010318                        .HasColumnType("boolean");
 010319
 010320                    b.Property<DateTime?>("ModificationDateTime")
 010321                        .HasColumnType("timestamp without time zone");
 010322
 010323                    b.Property<long?>("ModifiedByUserId")
 010324                        .HasColumnType("bigint");
 010325
 010326                    b.Property<decimal>("Price")
 010327                        .HasColumnType("numeric");
 010328
 010329                    b.Property<long?>("RecStateId")
 010330                        .HasColumnType("bigint");
 010331
 010332                    b.Property<long>("SupplierDepartmentId")
 010333                        .HasColumnType("bigint");
 010334
 010335                    b.HasKey("Id");
 010336
 010337                    b.HasIndex("CreatedByUserId");
 010338
 010339                    b.HasIndex("GoodId");
 010340
 010341                    b.HasIndex("ModifiedByUserId");
 010342
 010343                    b.HasIndex("RecStateId");
 010344
 010345                    b.HasIndex("SupplierDepartmentId");
 010346
 010347                    b.ToTable("PricesCurrent");
 010348                });
 10349
 010350            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", b =>
 010351                {
 010352                    b.Property<long>("Id")
 010353                        .ValueGeneratedOnAdd()
 010354                        .HasColumnType("bigint")
 010355                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010356
 010357                    b.Property<DateTime>("BeginDate")
 010358                        .HasColumnType("timestamp without time zone");
 010359
 010360                    b.Property<long?>("CreatedByUserId")
 010361                        .HasColumnType("bigint");
 010362
 010363                    b.Property<DateTime>("CreationDateTime")
 010364                        .HasColumnType("timestamp without time zone");
 010365
 010366                    b.Property<string>("DocNumber")
 010367                        .IsRequired()
 010368                        .HasColumnType("text");
 010369
 010370                    b.Property<DateTime>("EndDate")
 010371                        .HasColumnType("timestamp without time zone");
 010372
 010373                    b.Property<Guid>("GUID")
 010374                        .ValueGeneratedOnAdd()
 010375                        .HasColumnType("uuid");
 010376
 010377                    b.Property<bool>("IsDeleted")
 010378                        .HasColumnType("boolean");
 010379
 010380                    b.Property<DateTime?>("ModificationDateTime")
 010381                        .HasColumnType("timestamp without time zone");
 010382
 010383                    b.Property<long?>("ModifiedByUserId")
 010384                        .HasColumnType("bigint");
 010385
 010386                    b.Property<long?>("RecStateId")
 010387                        .HasColumnType("bigint");
 010388
 010389                    b.Property<long>("SupplierDepartmentId")
 010390                        .HasColumnType("bigint");
 010391
 010392                    b.HasKey("Id");
 010393
 010394                    b.HasIndex("CreatedByUserId");
 010395
 010396                    b.HasIndex("ModifiedByUserId");
 010397
 010398                    b.HasIndex("RecStateId");
 010399
 010400                    b.HasIndex("SupplierDepartmentId");
 010401
 010402                    b.ToTable("PricesTrend");
 010403                });
 10404
 010405            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrendDetail", b =>
 010406                {
 010407                    b.Property<long>("Id")
 010408                        .ValueGeneratedOnAdd()
 010409                        .HasColumnType("bigint")
 010410                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010411
 010412                    b.Property<long?>("CreatedByUserId")
 010413                        .HasColumnType("bigint");
 010414
 010415                    b.Property<DateTime>("CreationDateTime")
 010416                        .HasColumnType("timestamp without time zone");
 010417
 010418                    b.Property<int?>("Discount")
 010419                        .HasColumnType("integer");
 010420
 010421                    b.Property<Guid>("GUID")
 010422                        .ValueGeneratedOnAdd()
 010423                        .HasColumnType("uuid");
 010424
 010425                    b.Property<long>("GoodId")
 010426                        .HasColumnType("bigint");
 010427
 010428                    b.Property<bool>("IsDeleted")
 010429                        .HasColumnType("boolean");
 010430
 010431                    b.Property<DateTime?>("ModificationDateTime")
 010432                        .HasColumnType("timestamp without time zone");
 010433
 010434                    b.Property<long?>("ModifiedByUserId")
 010435                        .HasColumnType("bigint");
 010436
 010437                    b.Property<decimal>("PriceNew")
 010438                        .HasColumnType("numeric");
 010439
 010440                    b.Property<decimal?>("PriceOld")
 010441                        .HasColumnType("numeric");
 010442
 010443                    b.Property<long>("PriceTrendId")
 010444                        .HasColumnType("bigint");
 010445
 010446                    b.Property<long?>("RecStateId")
 010447                        .HasColumnType("bigint");
 010448
 010449                    b.HasKey("Id");
 010450
 010451                    b.HasIndex("CreatedByUserId");
 010452
 010453                    b.HasIndex("ModifiedByUserId");
 010454
 010455                    b.HasIndex("PriceTrendId");
 010456
 010457                    b.HasIndex("RecStateId");
 010458
 010459                    b.HasIndex("GoodId", "PriceTrendId")
 010460                        .IsUnique();
 010461
 010462                    b.ToTable("PriceTrendDetails");
 010463                });
 10464
 010465            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoBid", b =>
 010466                {
 010467                    b.Property<long>("Id")
 010468                        .ValueGeneratedOnAdd()
 010469                        .HasColumnType("bigint")
 010470                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010471
 010472                    b.Property<long?>("CreatedByUserId")
 010473                        .HasColumnType("bigint");
 010474
 010475                    b.Property<DateTime>("CreationDate")
 010476                        .HasColumnType("timestamp without time zone");
 010477
 010478                    b.Property<DateTime>("CreationDateTime")
 010479                        .HasColumnType("timestamp without time zone");
 010480
 010481                    b.Property<long>("CustomerDepartmentId")
 010482                        .HasColumnType("bigint");
 010483
 010484                    b.Property<DateTime>("DateEnd")
 010485                        .HasColumnType("timestamp without time zone");
 010486
 010487                    b.Property<Guid>("GUID")
 010488                        .ValueGeneratedOnAdd()
 010489                        .HasColumnType("uuid");
 010490
 010491                    b.Property<long>("GoodId")
 010492                        .HasColumnType("bigint");
 010493
 010494                    b.Property<bool>("IsDeleted")
 010495                        .HasColumnType("boolean");
 010496
 010497                    b.Property<DateTime?>("ModificationDateTime")
 010498                        .HasColumnType("timestamp without time zone");
 010499
 010500                    b.Property<long?>("ModifiedByUserId")
 010501                        .HasColumnType("bigint");
 010502
 010503                    b.Property<decimal>("Price")
 010504                        .HasColumnType("numeric");
 010505
 010506                    b.Property<long>("PromoOfferId")
 010507                        .HasColumnType("bigint");
 010508
 010509                    b.Property<decimal>("Quantity")
 010510                        .HasColumnType("numeric");
 010511
 010512                    b.Property<long?>("RecStateId")
 010513                        .HasColumnType("bigint");
 010514
 010515                    b.Property<decimal>("Sum")
 010516                        .HasColumnType("numeric");
 010517
 010518                    b.HasKey("Id");
 010519
 010520                    b.HasIndex("CreatedByUserId");
 010521
 010522                    b.HasIndex("CustomerDepartmentId");
 010523
 010524                    b.HasIndex("GoodId");
 010525
 010526                    b.HasIndex("ModifiedByUserId");
 010527
 010528                    b.HasIndex("PromoOfferId");
 010529
 010530                    b.HasIndex("RecStateId");
 010531
 010532                    b.ToTable("PromoBids");
 010533                });
 10534
 010535            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoOffer", b =>
 010536                {
 010537                    b.Property<long>("Id")
 010538                        .ValueGeneratedOnAdd()
 010539                        .HasColumnType("bigint")
 010540                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010541
 010542                    b.Property<long?>("CreatedByUserId")
 010543                        .HasColumnType("bigint");
 010544
 010545                    b.Property<DateTime>("CreationDateTime")
 010546                        .HasColumnType("timestamp without time zone");
 010547
 010548                    b.Property<DateTime>("DateBegin")
 010549                        .HasColumnType("timestamp without time zone");
 010550
 010551                    b.Property<DateTime>("DateEnd")
 010552                        .HasColumnType("timestamp without time zone");
 010553
 010554                    b.Property<Guid>("GUID")
 010555                        .ValueGeneratedOnAdd()
 010556                        .HasColumnType("uuid");
 010557
 010558                    b.Property<long>("GoodId")
 010559                        .HasColumnType("bigint");
 010560
 010561                    b.Property<bool>("IsDeleted")
 010562                        .HasColumnType("boolean");
 010563
 010564                    b.Property<decimal?>("MaxQuantity")
 010565                        .HasColumnType("numeric");
 010566
 010567                    b.Property<decimal>("MinQuantity")
 010568                        .HasColumnType("numeric");
 010569
 010570                    b.Property<DateTime?>("ModificationDateTime")
 010571                        .HasColumnType("timestamp without time zone");
 010572
 010573                    b.Property<long?>("ModifiedByUserId")
 010574                        .HasColumnType("bigint");
 010575
 010576                    b.Property<decimal>("Price")
 010577                        .HasColumnType("numeric");
 010578
 010579                    b.Property<long?>("RecStateId")
 010580                        .HasColumnType("bigint");
 010581
 010582                    b.Property<long>("SupplierDepartmentId")
 010583                        .HasColumnType("bigint");
 010584
 010585                    b.HasKey("Id");
 010586
 010587                    b.HasIndex("CreatedByUserId");
 010588
 010589                    b.HasIndex("GoodId");
 010590
 010591                    b.HasIndex("ModifiedByUserId");
 010592
 010593                    b.HasIndex("RecStateId");
 010594
 010595                    b.HasIndex("SupplierDepartmentId");
 010596
 010597                    b.ToTable("PromoOffers");
 010598                });
 10599
 010600            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", b =>
 010601                {
 010602                    b.Property<long>("Id")
 010603                        .ValueGeneratedOnAdd()
 010604                        .HasColumnType("bigint")
 010605                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010606                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010607
 010608                    b.Property<string>("Code")
 010609                        .IsRequired()
 010610                        .HasColumnType("text");
 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<string>("Description")
 010619                        .HasColumnType("text");
 010620
 010621                    b.Property<Guid>("GUID")
 010622                        .ValueGeneratedOnAdd()
 010623                        .HasColumnType("uuid");
 010624
 010625                    b.Property<bool>("IsDeleted")
 010626                        .HasColumnType("boolean");
 010627
 010628                    b.Property<DateTime?>("ModificationDateTime")
 010629                        .HasColumnType("timestamp without time zone");
 010630
 010631                    b.Property<long?>("ModifiedByUserId")
 010632                        .HasColumnType("bigint");
 010633
 010634                    b.Property<string>("Name")
 010635                        .IsRequired()
 010636                        .HasColumnType("text");
 010637
 010638                    b.Property<long?>("RecStateId")
 010639                        .HasColumnType("bigint");
 010640
 010641                    b.HasKey("Id");
 010642
 010643                    b.HasIndex("CreatedByUserId");
 010644
 010645                    b.HasIndex("ModifiedByUserId");
 010646
 010647                    b.HasIndex("RecStateId");
 010648
 010649                    b.ToTable("RecordsState");
 010650
 010651                    b.HasData(
 010652                        new
 010653                        {
 010654                            Id = 1L,
 010655                            Code = "Error",
 010656                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010657                            Description = "",
 010658                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010659                            IsDeleted = false,
 010660                            Name = "Ошибка"
 010661                        },
 010662                        new
 010663                        {
 010664                            Id = 2L,
 010665                            Code = "Active",
 010666                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010667                            Description = "",
 010668                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010669                            IsDeleted = false,
 010670                            Name = "Активно"
 010671                        },
 010672                        new
 010673                        {
 010674                            Id = 3L,
 010675                            Code = "Inactive",
 010676                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010677                            Description = "",
 010678                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010679                            IsDeleted = false,
 010680                            Name = "Неактивно"
 010681                        },
 010682                        new
 010683                        {
 010684                            Id = 4L,
 010685                            Code = "Deleted",
 010686                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010687                            Description = "",
 010688                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010689                            IsDeleted = false,
 010690                            Name = "Удалено"
 010691                        },
 010692                        new
 010693                        {
 010694                            Id = 5L,
 010695                            Code = "Empty",
 010696                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010697                            Description = "",
 010698                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010699                            IsDeleted = false,
 010700                            Name = "Пусто"
 010701                        });
 010702                });
 10703
 010704            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Rest", b =>
 010705                {
 010706                    b.Property<long>("Id")
 010707                        .ValueGeneratedOnAdd()
 010708                        .HasColumnType("bigint")
 010709                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010710
 010711                    b.Property<long?>("CreatedByUserId")
 010712                        .HasColumnType("bigint");
 010713
 010714                    b.Property<DateTime>("CreationDateTime")
 010715                        .HasColumnType("timestamp without time zone");
 010716
 010717                    b.Property<long>("DepartmentId")
 010718                        .HasColumnType("bigint");
 010719
 010720                    b.Property<Guid>("GUID")
 010721                        .ValueGeneratedOnAdd()
 010722                        .HasColumnType("uuid");
 010723
 010724                    b.Property<long>("GoodId")
 010725                        .HasColumnType("bigint");
 010726
 010727                    b.Property<bool>("IsDeleted")
 010728                        .HasColumnType("boolean");
 010729
 010730                    b.Property<DateTime?>("ModificationDateTime")
 010731                        .HasColumnType("timestamp without time zone");
 010732
 010733                    b.Property<long?>("ModifiedByUserId")
 010734                        .HasColumnType("bigint");
 010735
 010736                    b.Property<decimal>("Quantity")
 010737                        .HasColumnType("numeric");
 010738
 010739                    b.Property<long?>("RecStateId")
 010740                        .HasColumnType("bigint");
 010741
 010742                    b.HasKey("Id");
 010743
 010744                    b.HasIndex("CreatedByUserId");
 010745
 010746                    b.HasIndex("DepartmentId");
 010747
 010748                    b.HasIndex("ModifiedByUserId");
 010749
 010750                    b.HasIndex("RecStateId");
 010751
 010752                    b.HasIndex("GoodId", "DepartmentId")
 010753                        .IsUnique();
 010754
 010755                    b.ToTable("Rests");
 010756                });
 10757
 010758            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RestHold", b =>
 010759                {
 010760                    b.Property<long>("Id")
 010761                        .ValueGeneratedOnAdd()
 010762                        .HasColumnType("bigint")
 010763                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010764
 010765                    b.Property<long?>("CreatedByUserId")
 010766                        .HasColumnType("bigint");
 010767
 010768                    b.Property<DateTime>("CreationDateTime")
 010769                        .HasColumnType("timestamp without time zone");
 010770
 010771                    b.Property<Guid>("GUID")
 010772                        .ValueGeneratedOnAdd()
 010773                        .HasColumnType("uuid");
 010774
 010775                    b.Property<long>("GoodId")
 010776                        .HasColumnType("bigint");
 010777
 010778                    b.Property<bool>("IsDeleted")
 010779                        .HasColumnType("boolean");
 010780
 010781                    b.Property<DateTime?>("ModificationDateTime")
 010782                        .HasColumnType("timestamp without time zone");
 010783
 010784                    b.Property<long?>("ModifiedByUserId")
 010785                        .HasColumnType("bigint");
 010786
 010787                    b.Property<long>("MovementId")
 010788                        .HasColumnType("bigint");
 010789
 010790                    b.Property<decimal>("Quantity")
 010791                        .HasColumnType("numeric");
 010792
 010793                    b.Property<long?>("RecStateId")
 010794                        .HasColumnType("bigint");
 010795
 010796                    b.HasKey("Id");
 010797
 010798                    b.HasIndex("CreatedByUserId");
 010799
 010800                    b.HasIndex("GoodId");
 010801
 010802                    b.HasIndex("ModifiedByUserId");
 010803
 010804                    b.HasIndex("MovementId");
 010805
 010806                    b.HasIndex("RecStateId");
 010807
 010808                    b.ToTable("RestHolds");
 010809                });
 10810
 010811            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", b =>
 010812                {
 010813                    b.Property<long>("Id")
 010814                        .ValueGeneratedOnAdd()
 010815                        .HasColumnType("bigint")
 010816                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010817                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010818
 010819                    b.Property<long?>("CreatedByUserId")
 010820                        .HasColumnType("bigint");
 010821
 010822                    b.Property<DateTime>("CreationDateTime")
 010823                        .HasColumnType("timestamp without time zone");
 010824
 010825                    b.Property<string>("Description")
 010826                        .HasColumnType("text");
 010827
 010828                    b.Property<Guid>("GUID")
 010829                        .ValueGeneratedOnAdd()
 010830                        .HasColumnType("uuid");
 010831
 010832                    b.Property<bool>("IsDeleted")
 010833                        .HasColumnType("boolean");
 010834
 010835                    b.Property<DateTime?>("ModificationDateTime")
 010836                        .HasColumnType("timestamp without time zone");
 010837
 010838                    b.Property<long?>("ModifiedByUserId")
 010839                        .HasColumnType("bigint");
 010840
 010841                    b.Property<string>("Name")
 010842                        .IsRequired()
 010843                        .HasColumnType("text");
 010844
 010845                    b.Property<long?>("RecStateId")
 010846                        .HasColumnType("bigint");
 010847
 010848                    b.HasKey("Id");
 010849
 010850                    b.HasIndex("CreatedByUserId");
 010851
 010852                    b.HasIndex("ModifiedByUserId");
 010853
 010854                    b.HasIndex("RecStateId");
 010855
 010856                    b.ToTable("Roles");
 010857
 010858                    b.HasData(
 010859                        new
 010860                        {
 010861                            Id = 1L,
 010862                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010863                            Description = "Администратор системы",
 010864                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010865                            IsDeleted = false,
 010866                            Name = "dd_sys_hi_level"
 010867                        },
 010868                        new
 010869                        {
 010870                            Id = 2L,
 010871                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010872                            Description = "Оператор системы",
 010873                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010874                            IsDeleted = false,
 010875                            Name = "dd_sys_low_level"
 010876                        },
 010877                        new
 010878                        {
 010879                            Id = 3L,
 010880                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010881                            Description = "Владелец магазина",
 010882                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010883                            IsDeleted = false,
 010884                            Name = "dd_cust_hi_level"
 010885                        },
 010886                        new
 010887                        {
 010888                            Id = 4L,
 010889                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010890                            Description = "Товаровед магазина",
 010891                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010892                            IsDeleted = false,
 010893                            Name = "dd_cust_mid_level"
 010894                        },
 010895                        new
 010896                        {
 010897                            Id = 5L,
 010898                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010899                            Description = "Продавец магазина",
 010900                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010901                            IsDeleted = false,
 010902                            Name = "dd_cust_low_level"
 010903                        },
 010904                        new
 010905                        {
 010906                            Id = 6L,
 010907                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010908                            Description = "Владелец поставщика (дистрибьютера)",
 010909                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010910                            IsDeleted = false,
 010911                            Name = "dd_supp_hi_level"
 010912                        },
 010913                        new
 010914                        {
 010915                            Id = 7L,
 010916                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010917                            Description = "Управляющий поставщика",
 010918                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010919                            IsDeleted = false,
 010920                            Name = "dd_supp_mid_level"
 010921                        },
 010922                        new
 010923                        {
 010924                            Id = 8L,
 010925                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010926                            Description = "Кладовщик поставщика",
 010927                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010928                            IsDeleted = false,
 010929                            Name = "dd_supp_low_level"
 010930                        },
 010931                        new
 010932                        {
 010933                            Id = 9L,
 010934                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010935                            Description = "Анонимный пользователь",
 010936                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010937                            IsDeleted = false,
 010938                            Name = "dd_anonym"
 010939                        });
 010940                });
 10941
 010942            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.SupplyContract", b =>
 010943                {
 010944                    b.Property<long>("Id")
 010945                        .ValueGeneratedOnAdd()
 010946                        .HasColumnType("bigint")
 010947                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010948
 010949                    b.Property<DateTime>("BeginDate")
 010950                        .HasColumnType("timestamp without time zone");
 010951
 010952                    b.Property<long>("BuyerId")
 010953                        .HasColumnType("bigint");
 010954
 010955                    b.Property<long?>("CreatedByUserId")
 010956                        .HasColumnType("bigint");
 010957
 010958                    b.Property<DateTime>("CreationDateTime")
 010959                        .HasColumnType("timestamp without time zone");
 010960
 010961                    b.Property<string>("DocumentNumber")
 010962                        .IsRequired()
 010963                        .HasColumnType("text");
 010964
 010965                    b.Property<DateTime>("EndDate")
 010966                        .HasColumnType("timestamp without time zone");
 010967
 010968                    b.Property<Guid>("GUID")
 010969                        .ValueGeneratedOnAdd()
 010970                        .HasColumnType("uuid");
 010971
 010972                    b.Property<bool>("IsDeleted")
 010973                        .HasColumnType("boolean");
 010974
 010975                    b.Property<DateTime?>("ModificationDateTime")
 010976                        .HasColumnType("timestamp without time zone");
 010977
 010978                    b.Property<long?>("ModifiedByUserId")
 010979                        .HasColumnType("bigint");
 010980
 010981                    b.Property<decimal>("PrepaimentPercent")
 010982                        .HasColumnType("numeric");
 010983
 010984                    b.Property<long?>("RecStateId")
 010985                        .HasColumnType("bigint");
 010986
 010987                    b.Property<long>("SellerId")
 010988                        .HasColumnType("bigint");
 010989
 010990                    b.Property<DateTime>("SignOffDate")
 010991                        .HasColumnType("timestamp without time zone");
 010992
 010993                    b.Property<decimal>("TradeRatio")
 010994                        .HasColumnType("numeric");
 010995
 010996                    b.HasKey("Id");
 010997
 010998                    b.HasIndex("BuyerId");
 010999
 011000                    b.HasIndex("CreatedByUserId");
 011001
 011002                    b.HasIndex("DocumentNumber");
 011003
 011004                    b.HasIndex("ModifiedByUserId");
 011005
 011006                    b.HasIndex("RecStateId");
 011007
 011008                    b.HasIndex("SellerId");
 011009
 011010                    b.ToTable("SupplyContract");
 011011                });
 11012
 011013            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", b =>
 011014                {
 011015                    b.Property<long>("Id")
 011016                        .ValueGeneratedOnAdd()
 011017                        .HasColumnType("bigint")
 011018                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011019                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011020
 011021                    b.Property<string>("Code")
 011022                        .HasColumnType("text");
 011023
 011024                    b.Property<long?>("CreatedByUserId")
 011025                        .HasColumnType("bigint");
 011026
 011027                    b.Property<DateTime>("CreationDateTime")
 011028                        .HasColumnType("timestamp without time zone");
 011029
 011030                    b.Property<string>("Description")
 011031                        .HasColumnType("text");
 011032
 011033                    b.Property<Guid>("GUID")
 011034                        .ValueGeneratedOnAdd()
 011035                        .HasColumnType("uuid");
 011036
 011037                    b.Property<bool>("IsDeleted")
 011038                        .HasColumnType("boolean");
 011039
 011040                    b.Property<DateTime?>("ModificationDateTime")
 011041                        .HasColumnType("timestamp without time zone");
 011042
 011043                    b.Property<long?>("ModifiedByUserId")
 011044                        .HasColumnType("bigint");
 011045
 011046                    b.Property<string>("Name")
 011047                        .HasColumnType("text");
 011048
 011049                    b.Property<long?>("RecStateId")
 011050                        .HasColumnType("bigint");
 011051
 011052                    b.HasKey("Id");
 011053
 011054                    b.HasIndex("CreatedByUserId");
 011055
 011056                    b.HasIndex("ModifiedByUserId");
 011057
 011058                    b.HasIndex("RecStateId");
 011059
 011060                    b.ToTable("TaxSystems");
 011061
 011062                    b.HasData(
 011063                        new
 011064                        {
 011065                            Id = 1L,
 011066                            Code = "УСН",
 011067                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011068                            Description = "Упрощенка",
 011069                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011070                            IsDeleted = false,
 011071                            Name = "Упрощенная система налогообложения"
 011072                        },
 011073                        new
 011074                        {
 011075                            Id = 2L,
 011076                            Code = "ЕНВД",
 011077                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011078                            Description = "Вмененка",
 011079                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011080                            IsDeleted = false,
 011081                            Name = "Единый налог на вмененные доходы"
 011082                        },
 011083                        new
 011084                        {
 011085                            Id = 3L,
 011086                            Code = "ES",
 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                        },
 011093                        new
 011094                        {
 011095                            Id = 4L,
 011096                            Code = "ОСН",
 011097                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011098                            Description = "Стандартная",
 011099                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011100                            IsDeleted = false,
 011101                            Name = "Основная система налогообложения"
 011102                        });
 011103                });
 11104
 011105            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", b =>
 011106                {
 011107                    b.Property<long>("Id")
 011108                        .ValueGeneratedOnAdd()
 011109                        .HasColumnType("bigint")
 011110                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011111                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011112
 011113                    b.Property<string>("Code")
 011114                        .IsRequired()
 011115                        .HasColumnType("text");
 011116
 011117                    b.Property<long?>("CreatedByUserId")
 011118                        .HasColumnType("bigint");
 011119
 011120                    b.Property<DateTime>("CreationDateTime")
 011121                        .HasColumnType("timestamp without time zone");
 011122
 011123                    b.Property<string>("Description")
 011124                        .HasColumnType("text");
 011125
 011126                    b.Property<Guid>("GUID")
 011127                        .ValueGeneratedOnAdd()
 011128                        .HasColumnType("uuid");
 011129
 011130                    b.Property<bool>("IsDeleted")
 011131                        .HasColumnType("boolean");
 011132
 011133                    b.Property<DateTime?>("ModificationDateTime")
 011134                        .HasColumnType("timestamp without time zone");
 011135
 011136                    b.Property<long?>("ModifiedByUserId")
 011137                        .HasColumnType("bigint");
 011138
 011139                    b.Property<string>("Name")
 011140                        .IsRequired()
 011141                        .HasColumnType("text");
 011142
 011143                    b.Property<long?>("RecStateId")
 011144                        .HasColumnType("bigint");
 011145
 011146                    b.Property<string>("StrCode")
 011147                        .HasColumnType("text");
 011148
 011149                    b.HasKey("Id");
 011150
 011151                    b.HasIndex("CreatedByUserId");
 011152
 011153                    b.HasIndex("ModifiedByUserId");
 011154
 011155                    b.HasIndex("RecStateId");
 011156
 011157                    b.ToTable("UnitsKind");
 011158
 011159                    b.HasData(
 011160                        new
 011161                        {
 011162                            Id = 1L,
 011163                            Code = "1",
 011164                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011165                            Description = "",
 011166                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011167                            IsDeleted = false,
 011168                            Name = "Неизвестно",
 011169                            StrCode = "Unknown"
 011170                        },
 011171                        new
 011172                        {
 011173                            Id = 2L,
 011174                            Code = "166",
 011175                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011176                            Description = "Килограмм",
 011177                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011178                            IsDeleted = false,
 011179                            Name = "КГ",
 011180                            StrCode = "Kg"
 011181                        },
 011182                        new
 011183                        {
 011184                            Id = 3L,
 011185                            Code = "112",
 011186                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011187                            Description = "Литр",
 011188                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011189                            IsDeleted = false,
 011190                            Name = "Л",
 011191                            StrCode = "Litre"
 011192                        },
 011193                        new
 011194                        {
 011195                            Id = 4L,
 011196                            Code = "6",
 011197                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011198                            Description = "Метр",
 011199                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011200                            IsDeleted = false,
 011201                            Name = "М",
 011202                            StrCode = "Meter"
 011203                        },
 011204                        new
 011205                        {
 011206                            Id = 5L,
 011207                            Code = "796",
 011208                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011209                            Description = "Штука (1 единица товара)",
 011210                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011211                            IsDeleted = false,
 011212                            Name = "ШТ",
 011213                            StrCode = "Item"
 011214                        },
 011215                        new
 011216                        {
 011217                            Id = 6L,
 011218                            Code = "55",
 011219                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011220                            Description = "Квадратный метр",
 011221                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011222                            IsDeleted = false,
 011223                            Name = "М2",
 011224                            StrCode = "SquareMetre"
 011225                        },
 011226                        new
 011227                        {
 011228                            Id = 7L,
 011229                            Code = "113",
 011230                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011231                            Description = "Кубический метр",
 011232                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011233                            IsDeleted = false,
 011234                            Name = "М3",
 011235                            StrCode = "CubicMetre"
 011236                        });
 011237                });
 11238
 011239            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", b =>
 011240                {
 011241                    b.Property<long>("Id")
 011242                        .ValueGeneratedOnAdd()
 011243                        .HasColumnType("bigint")
 011244                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011245
 011246                    b.Property<long?>("CreatedByUserId")
 011247                        .HasColumnType("bigint");
 011248
 011249                    b.Property<DateTime>("CreationDateTime")
 011250                        .HasColumnType("timestamp without time zone");
 011251
 011252                    b.Property<Guid>("GUID")
 011253                        .ValueGeneratedOnAdd()
 011254                        .HasColumnType("uuid");
 011255
 011256                    b.Property<bool>("IsDeleted")
 011257                        .HasColumnType("boolean");
 011258
 011259                    b.Property<DateTime?>("ModificationDateTime")
 011260                        .HasColumnType("timestamp without time zone");
 011261
 011262                    b.Property<long?>("ModifiedByUserId")
 011263                        .HasColumnType("bigint");
 011264
 011265                    b.Property<long?>("RecStateId")
 011266                        .HasColumnType("bigint");
 011267
 011268                    b.Property<byte[]>("ResultFile")
 011269                        .HasColumnType("bytea");
 011270
 011271                    b.Property<byte[]>("SourceFile")
 011272                        .HasColumnType("bytea");
 011273
 011274                    b.Property<string>("SourceFileName")
 011275                        .HasColumnType("text");
 011276
 011277                    b.Property<int>("SourceRecordCount")
 011278                        .HasColumnType("integer");
 011279
 011280                    b.Property<int>("Status")
 011281                        .HasColumnType("integer");
 011282
 011283                    b.Property<int>("UploadedRecordCount")
 011284                        .HasColumnType("integer");
 011285
 011286                    b.HasKey("Id");
 011287
 011288                    b.HasIndex("CreatedByUserId");
 011289
 011290                    b.HasIndex("ModifiedByUserId");
 011291
 011292                    b.HasIndex("RecStateId");
 011293
 011294                    b.ToTable("Uploads");
 011295                });
 11296
 011297            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UploadItem", b =>
 011298                {
 011299                    b.Property<long>("Id")
 011300                        .ValueGeneratedOnAdd()
 011301                        .HasColumnType("bigint")
 011302                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011303
 011304                    b.Property<long?>("CreatedByUserId")
 011305                        .HasColumnType("bigint");
 011306
 011307                    b.Property<DateTime>("CreationDateTime")
 011308                        .HasColumnType("timestamp without time zone");
 011309
 011310                    b.Property<long>("EndityId")
 011311                        .HasColumnType("bigint");
 011312
 011313                    b.Property<string>("EntityName")
 011314                        .IsRequired()
 011315                        .HasColumnType("text");
 011316
 011317                    b.Property<Guid>("GUID")
 011318                        .ValueGeneratedOnAdd()
 011319                        .HasColumnType("uuid");
 011320
 011321                    b.Property<bool>("IsDeleted")
 011322                        .HasColumnType("boolean");
 011323
 011324                    b.Property<DateTime?>("ModificationDateTime")
 011325                        .HasColumnType("timestamp without time zone");
 011326
 011327                    b.Property<long?>("ModifiedByUserId")
 011328                        .HasColumnType("bigint");
 011329
 011330                    b.Property<long?>("RecStateId")
 011331                        .HasColumnType("bigint");
 011332
 011333                    b.Property<long>("UploadId")
 011334                        .HasColumnType("bigint");
 011335
 011336                    b.HasKey("Id");
 011337
 011338                    b.HasIndex("CreatedByUserId");
 011339
 011340                    b.HasIndex("ModifiedByUserId");
 011341
 011342                    b.HasIndex("RecStateId");
 011343
 011344                    b.HasIndex("UploadId");
 011345
 011346                    b.ToTable("UploadItems");
 011347                });
 11348
 011349            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", b =>
 011350                {
 011351                    b.Property<long>("Id")
 011352                        .ValueGeneratedOnAdd()
 011353                        .HasColumnType("bigint")
 011354                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011355
 011356                    b.Property<long?>("ContragentId")
 011357                        .HasColumnType("bigint");
 011358
 011359                    b.Property<long?>("CreatedByUserId")
 011360                        .HasColumnType("bigint");
 011361
 011362                    b.Property<DateTime>("CreationDateTime")
 011363                        .HasColumnType("timestamp without time zone");
 011364
 011365                    b.Property<string>("Email")
 011366                        .HasColumnType("text");
 011367
 011368                    b.Property<Guid>("ExternalKey")
 011369                        .ValueGeneratedOnAdd()
 011370                        .HasColumnType("uuid");
 011371
 011372                    b.Property<string>("FirstName")
 011373                        .IsRequired()
 011374                        .HasColumnType("text");
 011375
 011376                    b.Property<Guid>("GUID")
 011377                        .ValueGeneratedOnAdd()
 011378                        .HasColumnType("uuid");
 011379
 011380                    b.Property<bool>("IsBlocked")
 011381                        .HasColumnType("boolean");
 011382
 011383                    b.Property<bool>("IsContactPerson")
 011384                        .HasColumnType("boolean");
 011385
 011386                    b.Property<bool>("IsDeleted")
 011387                        .HasColumnType("boolean");
 011388
 011389                    b.Property<string>("LastName")
 011390                        .IsRequired()
 011391                        .HasColumnType("text");
 011392
 011393                    b.Property<string>("Login")
 011394                        .HasColumnType("text");
 011395
 011396                    b.Property<string>("MiddleName")
 011397                        .HasColumnType("text");
 011398
 011399                    b.Property<DateTime?>("ModificationDateTime")
 011400                        .HasColumnType("timestamp without time zone");
 011401
 011402                    b.Property<long?>("ModifiedByUserId")
 011403                        .HasColumnType("bigint");
 011404
 011405                    b.Property<string>("Phone")
 011406                        .HasColumnType("text");
 011407
 011408                    b.Property<string>("Position")
 011409                        .HasColumnType("text");
 011410
 011411                    b.Property<long?>("RecStateId")
 011412                        .HasColumnType("bigint");
 011413
 011414                    b.HasKey("Id");
 011415
 011416                    b.HasIndex("ContragentId");
 011417
 011418                    b.HasIndex("CreatedByUserId");
 011419
 011420                    b.HasIndex("Email");
 011421
 011422                    b.HasIndex("LastName");
 011423
 011424                    b.HasIndex("Login");
 011425
 011426                    b.HasIndex("ModifiedByUserId");
 011427
 011428                    b.HasIndex("Phone");
 011429
 011430                    b.HasIndex("RecStateId");
 011431
 011432                    b.ToTable("Users");
 011433
 011434                    b.HasData(
 011435                        new
 011436                        {
 011437                            Id = -1L,
 011438                            ContragentId = -2L,
 011439                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011440                            Email = "EmbeddedSvetaAdmin@dd.com",
 011441                            ExternalKey = new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"),
 011442                            FirstName = "ServiceUser",
 011443                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011444                            IsBlocked = false,
 011445                            IsContactPerson = true,
 011446                            IsDeleted = false,
 011447                            LastName = "1",
 011448                            Login = "svetaAdmin",
 011449                            MiddleName = "1",
 011450                            Phone = "1",
 011451                            Position = "1"
 011452                        },
 011453                        new
 011454                        {
 011455                            Id = -2L,
 011456                            ContragentId = -1L,
 011457                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011458                            Email = "EmbeddedAnonymUser@dd.com",
 011459                            ExternalKey = new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"),
 011460                            FirstName = "Demo User",
 011461                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011462                            IsBlocked = false,
 011463                            IsContactPerson = true,
 011464                            IsDeleted = false,
 011465                            LastName = "1",
 011466                            Login = "Demo User",
 011467                            MiddleName = "Demo User",
 011468                            Phone = "1",
 011469                            Position = "Демо УЗ, не удалять"
 011470                        });
 011471                });
 11472
 011473            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserDepartment", b =>
 011474                {
 011475                    b.Property<long>("UserId")
 011476                        .HasColumnType("bigint");
 011477
 011478                    b.Property<long>("DepartmentId")
 011479                        .HasColumnType("bigint");
 011480
 011481                    b.Property<long?>("CreatedByUserId")
 011482                        .HasColumnType("bigint");
 011483
 011484                    b.Property<DateTime>("CreationDateTime")
 011485                        .HasColumnType("timestamp without time zone");
 011486
 011487                    b.Property<Guid>("GUID")
 011488                        .ValueGeneratedOnAdd()
 011489                        .HasColumnType("uuid");
 011490
 011491                    b.HasKey("UserId", "DepartmentId");
 011492
 011493                    b.HasIndex("DepartmentId");
 011494
 011495                    b.ToTable("UserDepartment");
 011496
 011497                    b.HasData(
 011498                        new
 011499                        {
 011500                            UserId = -2L,
 011501                            DepartmentId = -1L,
 011502                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011503                            GUID = new Guid("00000000-0000-0000-0000-000000000000")
 011504                        });
 011505                });
 11506
 011507            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserRole", b =>
 011508                {
 011509                    b.Property<long>("UserId")
 011510                        .HasColumnType("bigint");
 011511
 011512                    b.Property<long>("RoleId")
 011513                        .HasColumnType("bigint");
 011514
 011515                    b.Property<long?>("CreatedByUserId")
 011516                        .HasColumnType("bigint");
 011517
 011518                    b.Property<DateTime>("CreationDateTime")
 011519                        .HasColumnType("timestamp without time zone");
 011520
 011521                    b.Property<Guid>("GUID")
 011522                        .ValueGeneratedOnAdd()
 011523                        .HasColumnType("uuid");
 011524
 011525                    b.HasKey("UserId", "RoleId");
 011526
 011527                    b.HasIndex("RoleId");
 011528
 011529                    b.ToTable("UserRole");
 011530                });
 11531
 011532            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", b =>
 011533                {
 011534                    b.Property<long>("Id")
 011535                        .ValueGeneratedOnAdd()
 011536                        .HasColumnType("bigint")
 011537                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011538                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011539
 011540                    b.Property<string>("Code")
 011541                        .IsRequired()
 011542                        .HasColumnType("text");
 011543
 011544                    b.Property<long?>("CreatedByUserId")
 011545                        .HasColumnType("bigint");
 011546
 011547                    b.Property<DateTime>("CreationDateTime")
 011548                        .HasColumnType("timestamp without time zone");
 011549
 011550                    b.Property<string>("Description")
 011551                        .HasColumnType("text");
 011552
 011553                    b.Property<Guid>("GUID")
 011554                        .ValueGeneratedOnAdd()
 011555                        .HasColumnType("uuid");
 011556
 011557                    b.Property<bool>("IsDeleted")
 011558                        .HasColumnType("boolean");
 011559
 011560                    b.Property<DateTime?>("ModificationDateTime")
 011561                        .HasColumnType("timestamp without time zone");
 011562
 011563                    b.Property<long?>("ModifiedByUserId")
 011564                        .HasColumnType("bigint");
 011565
 011566                    b.Property<string>("Name")
 011567                        .IsRequired()
 011568                        .HasColumnType("text");
 011569
 011570                    b.Property<long?>("RecStateId")
 011571                        .HasColumnType("bigint");
 011572
 011573                    b.Property<string>("StrCode")
 011574                        .HasColumnType("text");
 011575
 011576                    b.Property<int>("Value")
 011577                        .HasColumnType("integer");
 011578
 011579                    b.HasKey("Id");
 011580
 011581                    b.HasIndex("CreatedByUserId");
 011582
 011583                    b.HasIndex("ModifiedByUserId");
 011584
 011585                    b.HasIndex("RecStateId");
 011586
 011587                    b.ToTable("VatsKind");
 011588
 011589                    b.HasData(
 011590                        new
 011591                        {
 011592                            Id = 1L,
 011593                            Code = "1",
 011594                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011595                            Description = "",
 011596                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011597                            IsDeleted = false,
 011598                            Name = "0%",
 011599                            StrCode = "Zero",
 011600                            Value = 1
 011601                        },
 011602                        new
 011603                        {
 011604                            Id = 2L,
 011605                            Code = "10",
 011606                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011607                            Description = "",
 011608                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011609                            IsDeleted = false,
 011610                            Name = "10%",
 011611                            StrCode = "Ten",
 011612                            Value = 10
 011613                        },
 011614                        new
 011615                        {
 011616                            Id = 3L,
 011617                            Code = "20",
 011618                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011619                            Description = "",
 011620                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011621                            IsDeleted = false,
 011622                            Name = "20%",
 011623                            StrCode = "Twenty",
 011624                            Value = 20
 011625                        },
 011626                        new
 011627                        {
 011628                            Id = 4L,
 011629                            Code = "0",
 011630                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011631                            Description = "",
 011632                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011633                            IsDeleted = false,
 011634                            Name = "Без НДС",
 011635                            StrCode = "None",
 011636                            Value = 1
 011637                        });
 011638                });
 11639
 011640            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransaction", b =>
 011641                {
 011642                    b.Property<long>("Id")
 011643                        .ValueGeneratedOnAdd()
 011644                        .HasColumnType("bigint")
 011645                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011646
 011647                    b.Property<long?>("CreatedByUserId")
 011648                        .HasColumnType("bigint");
 011649
 011650                    b.Property<DateTime>("CreationDateTime")
 011651                        .HasColumnType("timestamp without time zone");
 011652
 011653                    b.Property<Guid>("GUID")
 011654                        .ValueGeneratedOnAdd()
 011655                        .HasColumnType("uuid");
 011656
 011657                    b.Property<bool>("IsDeleted")
 011658                        .HasColumnType("boolean");
 011659
 011660                    b.Property<DateTime?>("ModificationDateTime")
 011661                        .HasColumnType("timestamp without time zone");
 011662
 011663                    b.Property<long?>("ModifiedByUserId")
 011664                        .HasColumnType("bigint");
 011665
 011666                    b.Property<long?>("MovementId")
 011667                        .HasColumnType("bigint");
 011668
 011669                    b.Property<long?>("RecStateId")
 011670                        .HasColumnType("bigint");
 011671
 011672                    b.Property<string>("SmsId")
 011673                        .HasColumnType("text");
 011674
 011675                    b.Property<long?>("StatusId")
 011676                        .HasColumnType("bigint");
 011677
 011678                    b.Property<decimal>("Sum")
 011679                        .HasColumnType("numeric");
 011680
 011681                    b.Property<string>("TransactionId")
 011682                        .HasColumnType("text");
 011683
 011684                    b.HasKey("Id");
 011685
 011686                    b.HasIndex("CreatedByUserId");
 011687
 011688                    b.HasIndex("ModifiedByUserId");
 011689
 011690                    b.HasIndex("MovementId");
 011691
 011692                    b.HasIndex("RecStateId");
 011693
 011694                    b.HasIndex("StatusId");
 011695
 011696                    b.ToTable("WalletTransactions");
 011697                });
 11698
 011699            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", b =>
 011700                {
 011701                    b.Property<long>("Id")
 011702                        .ValueGeneratedOnAdd()
 011703                        .HasColumnType("bigint")
 011704                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011705                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011706
 011707                    b.Property<string>("Code")
 011708                        .IsRequired()
 011709                        .HasColumnType("text");
 011710
 011711                    b.Property<long?>("CreatedByUserId")
 011712                        .HasColumnType("bigint");
 011713
 011714                    b.Property<DateTime>("CreationDateTime")
 011715                        .HasColumnType("timestamp without time zone");
 011716
 011717                    b.Property<string>("Description")
 011718                        .HasColumnType("text");
 011719
 011720                    b.Property<Guid>("GUID")
 011721                        .ValueGeneratedOnAdd()
 011722                        .HasColumnType("uuid");
 011723
 011724                    b.Property<bool>("IsDeleted")
 011725                        .HasColumnType("boolean");
 011726
 011727                    b.Property<DateTime?>("ModificationDateTime")
 011728                        .HasColumnType("timestamp without time zone");
 011729
 011730                    b.Property<long?>("ModifiedByUserId")
 011731                        .HasColumnType("bigint");
 011732
 011733                    b.Property<string>("Name")
 011734                        .IsRequired()
 011735                        .HasColumnType("text");
 011736
 011737                    b.Property<long?>("RecStateId")
 011738                        .HasColumnType("bigint");
 011739
 011740                    b.HasKey("Id");
 011741
 011742                    b.HasIndex("CreatedByUserId");
 011743
 011744                    b.HasIndex("ModifiedByUserId");
 011745
 011746                    b.HasIndex("RecStateId");
 011747
 011748                    b.ToTable("WalletTransactionStatuses");
 011749
 011750                    b.HasData(
 011751                        new
 011752                        {
 011753                            Id = 1L,
 011754                            Code = "WaitSms",
 011755                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011756                            Description = "",
 011757                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011758                            IsDeleted = false,
 011759                            Name = "Ожидание смс подтверждения"
 011760                        },
 011761                        new
 011762                        {
 011763                            Id = 2L,
 011764                            Code = "Hold",
 011765                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011766                            Description = "",
 011767                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011768                            IsDeleted = false,
 011769                            Name = "Холдировано"
 011770                        },
 011771                        new
 011772                        {
 011773                            Id = 3L,
 011774                            Code = "Confirm",
 011775                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011776                            Description = "",
 011777                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011778                            IsDeleted = false,
 011779                            Name = "Подтверждено"
 011780                        },
 011781                        new
 011782                        {
 011783                            Id = 4L,
 011784                            Code = "Cancel",
 011785                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011786                            Description = "",
 011787                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011788                            IsDeleted = false,
 011789                            Name = "Отменено"
 011790                        });
 011791                });
 11792
 011793            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WorkSchedule", b =>
 011794                {
 011795                    b.Property<long>("Id")
 011796                        .ValueGeneratedOnAdd()
 011797                        .HasColumnType("bigint")
 011798                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011799                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011800
 011801                    b.Property<DateTime>("BeginTime")
 011802                        .HasColumnType("timestamp without time zone");
 011803
 011804                    b.Property<long?>("CreatedByUserId")
 011805                        .HasColumnType("bigint");
 011806
 011807                    b.Property<DateTime>("CreationDateTime")
 011808                        .HasColumnType("timestamp without time zone");
 011809
 011810                    b.Property<DateTime>("EndTime")
 011811                        .HasColumnType("timestamp without time zone");
 011812
 011813                    b.Property<Guid>("GUID")
 011814                        .ValueGeneratedOnAdd()
 011815                        .HasColumnType("uuid");
 011816
 011817                    b.Property<bool>("IsDeleted")
 011818                        .HasColumnType("boolean");
 011819
 011820                    b.Property<bool>("IsWorkingDay")
 011821                        .HasColumnType("boolean");
 011822
 011823                    b.Property<DateTime?>("ModificationDateTime")
 011824                        .HasColumnType("timestamp without time zone");
 011825
 011826                    b.Property<long?>("ModifiedByUserId")
 011827                        .HasColumnType("bigint");
 011828
 011829                    b.Property<long?>("RecStateId")
 011830                        .HasColumnType("bigint");
 011831
 011832                    b.HasKey("Id");
 011833
 011834                    b.HasIndex("CreatedByUserId");
 011835
 011836                    b.HasIndex("ModifiedByUserId");
 011837
 011838                    b.HasIndex("RecStateId");
 011839
 011840                    b.ToTable("WorkScheduler");
 011841
 011842                    b.HasData(
 011843                        new
 011844                        {
 011845                            Id = 1L,
 011846                            BeginTime = new DateTime(2020, 5, 18, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011847                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011848                            EndTime = new DateTime(2020, 5, 18, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011849                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011850                            IsDeleted = false,
 011851                            IsWorkingDay = true
 011852                        },
 011853                        new
 011854                        {
 011855                            Id = 2L,
 011856                            BeginTime = new DateTime(2020, 5, 19, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011857                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011858                            EndTime = new DateTime(2020, 5, 19, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011859                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011860                            IsDeleted = false,
 011861                            IsWorkingDay = true
 011862                        },
 011863                        new
 011864                        {
 011865                            Id = 3L,
 011866                            BeginTime = new DateTime(2020, 5, 20, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011867                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011868                            EndTime = new DateTime(2020, 5, 20, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011869                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011870                            IsDeleted = false,
 011871                            IsWorkingDay = true
 011872                        },
 011873                        new
 011874                        {
 011875                            Id = 4L,
 011876                            BeginTime = new DateTime(2020, 5, 21, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011877                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011878                            EndTime = new DateTime(2020, 5, 21, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011879                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011880                            IsDeleted = false,
 011881                            IsWorkingDay = true
 011882                        },
 011883                        new
 011884                        {
 011885                            Id = 5L,
 011886                            BeginTime = new DateTime(2020, 5, 22, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011887                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011888                            EndTime = new DateTime(2020, 5, 22, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011889                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011890                            IsDeleted = false,
 011891                            IsWorkingDay = true
 011892                        },
 011893                        new
 011894                        {
 011895                            Id = 6L,
 011896                            BeginTime = new DateTime(2020, 5, 23, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011897                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011898                            EndTime = new DateTime(2020, 5, 23, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011899                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011900                            IsDeleted = false,
 011901                            IsWorkingDay = false
 011902                        },
 011903                        new
 011904                        {
 011905                            Id = 7L,
 011906                            BeginTime = new DateTime(2020, 5, 24, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011907                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011908                            EndTime = new DateTime(2020, 5, 24, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011909                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011910                            IsDeleted = false,
 011911                            IsWorkingDay = false
 011912                        },
 011913                        new
 011914                        {
 011915                            Id = 8L,
 011916                            BeginTime = new DateTime(2020, 5, 25, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011917                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011918                            EndTime = new DateTime(2020, 5, 25, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011919                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011920                            IsDeleted = false,
 011921                            IsWorkingDay = true
 011922                        },
 011923                        new
 011924                        {
 011925                            Id = 9L,
 011926                            BeginTime = new DateTime(2020, 5, 26, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011927                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011928                            EndTime = new DateTime(2020, 5, 26, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011929                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011930                            IsDeleted = false,
 011931                            IsWorkingDay = true
 011932                        },
 011933                        new
 011934                        {
 011935                            Id = 10L,
 011936                            BeginTime = new DateTime(2020, 5, 27, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011937                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011938                            EndTime = new DateTime(2020, 5, 27, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011939                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011940                            IsDeleted = false,
 011941                            IsWorkingDay = true
 011942                        },
 011943                        new
 011944                        {
 011945                            Id = 11L,
 011946                            BeginTime = new DateTime(2020, 5, 28, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011947                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011948                            EndTime = new DateTime(2020, 5, 28, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011949                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011950                            IsDeleted = false,
 011951                            IsWorkingDay = true
 011952                        },
 011953                        new
 011954                        {
 011955                            Id = 12L,
 011956                            BeginTime = new DateTime(2020, 5, 29, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011957                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011958                            EndTime = new DateTime(2020, 5, 29, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011959                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011960                            IsDeleted = false,
 011961                            IsWorkingDay = true
 011962                        },
 011963                        new
 011964                        {
 011965                            Id = 13L,
 011966                            BeginTime = new DateTime(2020, 5, 30, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011967                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011968                            EndTime = new DateTime(2020, 5, 30, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011969                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011970                            IsDeleted = false,
 011971                            IsWorkingDay = false
 011972                        },
 011973                        new
 011974                        {
 011975                            Id = 14L,
 011976                            BeginTime = new DateTime(2020, 5, 31, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011977                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011978                            EndTime = new DateTime(2020, 5, 31, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011979                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011980                            IsDeleted = false,
 011981                            IsWorkingDay = false
 011982                        },
 011983                        new
 011984                        {
 011985                            Id = 15L,
 011986                            BeginTime = new DateTime(2020, 6, 1, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011987                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011988                            EndTime = new DateTime(2020, 6, 1, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011989                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011990                            IsDeleted = false,
 011991                            IsWorkingDay = true
 011992                        },
 011993                        new
 011994                        {
 011995                            Id = 16L,
 011996                            BeginTime = new DateTime(2020, 6, 2, 6, 0, 0, 0, DateTimeKind.Unspecified),
 011997                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011998                            EndTime = new DateTime(2020, 6, 2, 16, 0, 0, 0, DateTimeKind.Unspecified),
 011999                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012000                            IsDeleted = false,
 012001                            IsWorkingDay = true
 012002                        },
 012003                        new
 012004                        {
 012005                            Id = 17L,
 012006                            BeginTime = new DateTime(2020, 6, 3, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012007                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012008                            EndTime = new DateTime(2020, 6, 3, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012009                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012010                            IsDeleted = false,
 012011                            IsWorkingDay = true
 012012                        },
 012013                        new
 012014                        {
 012015                            Id = 18L,
 012016                            BeginTime = new DateTime(2020, 6, 4, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012017                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012018                            EndTime = new DateTime(2020, 6, 4, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012019                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012020                            IsDeleted = false,
 012021                            IsWorkingDay = true
 012022                        },
 012023                        new
 012024                        {
 012025                            Id = 19L,
 012026                            BeginTime = new DateTime(2020, 6, 5, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012027                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012028                            EndTime = new DateTime(2020, 6, 5, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012029                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012030                            IsDeleted = false,
 012031                            IsWorkingDay = true
 012032                        },
 012033                        new
 012034                        {
 012035                            Id = 20L,
 012036                            BeginTime = new DateTime(2020, 6, 6, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012037                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012038                            EndTime = new DateTime(2020, 6, 6, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012039                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012040                            IsDeleted = false,
 012041                            IsWorkingDay = false
 012042                        },
 012043                        new
 012044                        {
 012045                            Id = 21L,
 012046                            BeginTime = new DateTime(2020, 6, 7, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012047                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012048                            EndTime = new DateTime(2020, 6, 7, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012049                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012050                            IsDeleted = false,
 012051                            IsWorkingDay = false
 012052                        },
 012053                        new
 012054                        {
 012055                            Id = 22L,
 012056                            BeginTime = new DateTime(2020, 6, 8, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012057                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012058                            EndTime = new DateTime(2020, 6, 8, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012059                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012060                            IsDeleted = false,
 012061                            IsWorkingDay = true
 012062                        },
 012063                        new
 012064                        {
 012065                            Id = 23L,
 012066                            BeginTime = new DateTime(2020, 6, 9, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012067                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012068                            EndTime = new DateTime(2020, 6, 9, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012069                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012070                            IsDeleted = false,
 012071                            IsWorkingDay = true
 012072                        },
 012073                        new
 012074                        {
 012075                            Id = 24L,
 012076                            BeginTime = new DateTime(2020, 6, 10, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012077                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012078                            EndTime = new DateTime(2020, 6, 10, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012079                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012080                            IsDeleted = false,
 012081                            IsWorkingDay = true
 012082                        },
 012083                        new
 012084                        {
 012085                            Id = 25L,
 012086                            BeginTime = new DateTime(2020, 6, 11, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012087                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012088                            EndTime = new DateTime(2020, 6, 11, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012089                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012090                            IsDeleted = false,
 012091                            IsWorkingDay = true
 012092                        },
 012093                        new
 012094                        {
 012095                            Id = 26L,
 012096                            BeginTime = new DateTime(2020, 6, 12, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012097                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012098                            EndTime = new DateTime(2020, 6, 12, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012099                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012100                            IsDeleted = false,
 012101                            IsWorkingDay = false
 012102                        },
 012103                        new
 012104                        {
 012105                            Id = 27L,
 012106                            BeginTime = new DateTime(2020, 6, 13, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012107                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012108                            EndTime = new DateTime(2020, 6, 13, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012109                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012110                            IsDeleted = false,
 012111                            IsWorkingDay = false
 012112                        },
 012113                        new
 012114                        {
 012115                            Id = 28L,
 012116                            BeginTime = new DateTime(2020, 6, 14, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012117                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012118                            EndTime = new DateTime(2020, 6, 14, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012119                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012120                            IsDeleted = false,
 012121                            IsWorkingDay = false
 012122                        },
 012123                        new
 012124                        {
 012125                            Id = 29L,
 012126                            BeginTime = new DateTime(2020, 6, 15, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012127                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012128                            EndTime = new DateTime(2020, 6, 15, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012129                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012130                            IsDeleted = false,
 012131                            IsWorkingDay = true
 012132                        },
 012133                        new
 012134                        {
 012135                            Id = 30L,
 012136                            BeginTime = new DateTime(2020, 6, 16, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012137                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012138                            EndTime = new DateTime(2020, 6, 16, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012139                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012140                            IsDeleted = false,
 012141                            IsWorkingDay = true
 012142                        },
 012143                        new
 012144                        {
 012145                            Id = 31L,
 012146                            BeginTime = new DateTime(2020, 6, 17, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012147                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012148                            EndTime = new DateTime(2020, 6, 17, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012149                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012150                            IsDeleted = false,
 012151                            IsWorkingDay = true
 012152                        },
 012153                        new
 012154                        {
 012155                            Id = 32L,
 012156                            BeginTime = new DateTime(2020, 6, 18, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012157                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012158                            EndTime = new DateTime(2020, 6, 18, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012159                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012160                            IsDeleted = false,
 012161                            IsWorkingDay = true
 012162                        },
 012163                        new
 012164                        {
 012165                            Id = 33L,
 012166                            BeginTime = new DateTime(2020, 6, 19, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012167                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012168                            EndTime = new DateTime(2020, 6, 19, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012169                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012170                            IsDeleted = false,
 012171                            IsWorkingDay = true
 012172                        },
 012173                        new
 012174                        {
 012175                            Id = 34L,
 012176                            BeginTime = new DateTime(2020, 6, 20, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012177                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012178                            EndTime = new DateTime(2020, 6, 20, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012179                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012180                            IsDeleted = false,
 012181                            IsWorkingDay = false
 012182                        },
 012183                        new
 012184                        {
 012185                            Id = 35L,
 012186                            BeginTime = new DateTime(2020, 6, 21, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012187                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012188                            EndTime = new DateTime(2020, 6, 21, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012189                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012190                            IsDeleted = false,
 012191                            IsWorkingDay = false
 012192                        },
 012193                        new
 012194                        {
 012195                            Id = 36L,
 012196                            BeginTime = new DateTime(2020, 6, 22, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012197                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012198                            EndTime = new DateTime(2020, 6, 22, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012199                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012200                            IsDeleted = false,
 012201                            IsWorkingDay = true
 012202                        },
 012203                        new
 012204                        {
 012205                            Id = 37L,
 012206                            BeginTime = new DateTime(2020, 6, 23, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012207                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012208                            EndTime = new DateTime(2020, 6, 23, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012209                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012210                            IsDeleted = false,
 012211                            IsWorkingDay = true
 012212                        },
 012213                        new
 012214                        {
 012215                            Id = 38L,
 012216                            BeginTime = new DateTime(2020, 6, 24, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012217                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012218                            EndTime = new DateTime(2020, 6, 24, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012219                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012220                            IsDeleted = false,
 012221                            IsWorkingDay = true
 012222                        },
 012223                        new
 012224                        {
 012225                            Id = 39L,
 012226                            BeginTime = new DateTime(2020, 6, 25, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012227                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012228                            EndTime = new DateTime(2020, 6, 25, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012229                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012230                            IsDeleted = false,
 012231                            IsWorkingDay = true
 012232                        },
 012233                        new
 012234                        {
 012235                            Id = 40L,
 012236                            BeginTime = new DateTime(2020, 6, 26, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012237                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012238                            EndTime = new DateTime(2020, 6, 26, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012239                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012240                            IsDeleted = false,
 012241                            IsWorkingDay = true
 012242                        },
 012243                        new
 012244                        {
 012245                            Id = 41L,
 012246                            BeginTime = new DateTime(2020, 6, 27, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012247                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012248                            EndTime = new DateTime(2020, 6, 27, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012249                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012250                            IsDeleted = false,
 012251                            IsWorkingDay = false
 012252                        },
 012253                        new
 012254                        {
 012255                            Id = 42L,
 012256                            BeginTime = new DateTime(2020, 6, 28, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012257                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012258                            EndTime = new DateTime(2020, 6, 28, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012259                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012260                            IsDeleted = false,
 012261                            IsWorkingDay = false
 012262                        },
 012263                        new
 012264                        {
 012265                            Id = 43L,
 012266                            BeginTime = new DateTime(2020, 6, 29, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012267                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012268                            EndTime = new DateTime(2020, 6, 29, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012269                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012270                            IsDeleted = false,
 012271                            IsWorkingDay = true
 012272                        },
 012273                        new
 012274                        {
 012275                            Id = 44L,
 012276                            BeginTime = new DateTime(2020, 6, 30, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012277                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012278                            EndTime = new DateTime(2020, 6, 30, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012279                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012280                            IsDeleted = false,
 012281                            IsWorkingDay = true
 012282                        },
 012283                        new
 012284                        {
 012285                            Id = 45L,
 012286                            BeginTime = new DateTime(2020, 7, 1, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012287                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012288                            EndTime = new DateTime(2020, 7, 1, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012289                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012290                            IsDeleted = false,
 012291                            IsWorkingDay = true
 012292                        },
 012293                        new
 012294                        {
 012295                            Id = 46L,
 012296                            BeginTime = new DateTime(2020, 7, 2, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012297                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012298                            EndTime = new DateTime(2020, 7, 2, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012299                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012300                            IsDeleted = false,
 012301                            IsWorkingDay = true
 012302                        },
 012303                        new
 012304                        {
 012305                            Id = 47L,
 012306                            BeginTime = new DateTime(2020, 7, 3, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012307                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012308                            EndTime = new DateTime(2020, 7, 3, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012309                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012310                            IsDeleted = false,
 012311                            IsWorkingDay = true
 012312                        },
 012313                        new
 012314                        {
 012315                            Id = 48L,
 012316                            BeginTime = new DateTime(2020, 7, 4, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012317                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012318                            EndTime = new DateTime(2020, 7, 4, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012319                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012320                            IsDeleted = false,
 012321                            IsWorkingDay = false
 012322                        },
 012323                        new
 012324                        {
 012325                            Id = 49L,
 012326                            BeginTime = new DateTime(2020, 7, 5, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012327                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012328                            EndTime = new DateTime(2020, 7, 5, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012329                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012330                            IsDeleted = false,
 012331                            IsWorkingDay = false
 012332                        },
 012333                        new
 012334                        {
 012335                            Id = 50L,
 012336                            BeginTime = new DateTime(2020, 7, 6, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012337                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012338                            EndTime = new DateTime(2020, 7, 6, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012339                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012340                            IsDeleted = false,
 012341                            IsWorkingDay = true
 012342                        },
 012343                        new
 012344                        {
 012345                            Id = 51L,
 012346                            BeginTime = new DateTime(2020, 7, 7, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012347                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012348                            EndTime = new DateTime(2020, 7, 7, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012349                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012350                            IsDeleted = false,
 012351                            IsWorkingDay = true
 012352                        },
 012353                        new
 012354                        {
 012355                            Id = 52L,
 012356                            BeginTime = new DateTime(2020, 7, 8, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012357                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012358                            EndTime = new DateTime(2020, 7, 8, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012359                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012360                            IsDeleted = false,
 012361                            IsWorkingDay = true
 012362                        },
 012363                        new
 012364                        {
 012365                            Id = 53L,
 012366                            BeginTime = new DateTime(2020, 7, 9, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012367                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012368                            EndTime = new DateTime(2020, 7, 9, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012369                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012370                            IsDeleted = false,
 012371                            IsWorkingDay = true
 012372                        },
 012373                        new
 012374                        {
 012375                            Id = 54L,
 012376                            BeginTime = new DateTime(2020, 7, 10, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012377                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012378                            EndTime = new DateTime(2020, 7, 10, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012379                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012380                            IsDeleted = false,
 012381                            IsWorkingDay = true
 012382                        },
 012383                        new
 012384                        {
 012385                            Id = 55L,
 012386                            BeginTime = new DateTime(2020, 7, 11, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012387                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012388                            EndTime = new DateTime(2020, 7, 11, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012389                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012390                            IsDeleted = false,
 012391                            IsWorkingDay = false
 012392                        },
 012393                        new
 012394                        {
 012395                            Id = 56L,
 012396                            BeginTime = new DateTime(2020, 7, 12, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012397                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012398                            EndTime = new DateTime(2020, 7, 12, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012399                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012400                            IsDeleted = false,
 012401                            IsWorkingDay = false
 012402                        },
 012403                        new
 012404                        {
 012405                            Id = 57L,
 012406                            BeginTime = new DateTime(2020, 7, 13, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012407                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012408                            EndTime = new DateTime(2020, 7, 13, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012409                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012410                            IsDeleted = false,
 012411                            IsWorkingDay = true
 012412                        },
 012413                        new
 012414                        {
 012415                            Id = 58L,
 012416                            BeginTime = new DateTime(2020, 7, 14, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012417                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012418                            EndTime = new DateTime(2020, 7, 14, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012419                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012420                            IsDeleted = false,
 012421                            IsWorkingDay = true
 012422                        },
 012423                        new
 012424                        {
 012425                            Id = 59L,
 012426                            BeginTime = new DateTime(2020, 7, 15, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012427                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012428                            EndTime = new DateTime(2020, 7, 15, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012429                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012430                            IsDeleted = false,
 012431                            IsWorkingDay = true
 012432                        },
 012433                        new
 012434                        {
 012435                            Id = 60L,
 012436                            BeginTime = new DateTime(2020, 7, 16, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012437                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012438                            EndTime = new DateTime(2020, 7, 16, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012439                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012440                            IsDeleted = false,
 012441                            IsWorkingDay = true
 012442                        },
 012443                        new
 012444                        {
 012445                            Id = 61L,
 012446                            BeginTime = new DateTime(2020, 7, 17, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012447                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012448                            EndTime = new DateTime(2020, 7, 17, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012449                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012450                            IsDeleted = false,
 012451                            IsWorkingDay = true
 012452                        },
 012453                        new
 012454                        {
 012455                            Id = 62L,
 012456                            BeginTime = new DateTime(2020, 7, 18, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012457                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012458                            EndTime = new DateTime(2020, 7, 18, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012459                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012460                            IsDeleted = false,
 012461                            IsWorkingDay = false
 012462                        },
 012463                        new
 012464                        {
 012465                            Id = 63L,
 012466                            BeginTime = new DateTime(2020, 7, 19, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012467                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012468                            EndTime = new DateTime(2020, 7, 19, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012469                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012470                            IsDeleted = false,
 012471                            IsWorkingDay = false
 012472                        },
 012473                        new
 012474                        {
 012475                            Id = 64L,
 012476                            BeginTime = new DateTime(2020, 7, 20, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012477                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012478                            EndTime = new DateTime(2020, 7, 20, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012479                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012480                            IsDeleted = false,
 012481                            IsWorkingDay = true
 012482                        },
 012483                        new
 012484                        {
 012485                            Id = 65L,
 012486                            BeginTime = new DateTime(2020, 7, 21, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012487                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012488                            EndTime = new DateTime(2020, 7, 21, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012489                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012490                            IsDeleted = false,
 012491                            IsWorkingDay = true
 012492                        },
 012493                        new
 012494                        {
 012495                            Id = 66L,
 012496                            BeginTime = new DateTime(2020, 7, 22, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012497                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012498                            EndTime = new DateTime(2020, 7, 22, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012499                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012500                            IsDeleted = false,
 012501                            IsWorkingDay = true
 012502                        },
 012503                        new
 012504                        {
 012505                            Id = 67L,
 012506                            BeginTime = new DateTime(2020, 7, 23, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012507                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012508                            EndTime = new DateTime(2020, 7, 23, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012509                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012510                            IsDeleted = false,
 012511                            IsWorkingDay = true
 012512                        },
 012513                        new
 012514                        {
 012515                            Id = 68L,
 012516                            BeginTime = new DateTime(2020, 7, 24, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012517                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012518                            EndTime = new DateTime(2020, 7, 24, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012519                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012520                            IsDeleted = false,
 012521                            IsWorkingDay = true
 012522                        },
 012523                        new
 012524                        {
 012525                            Id = 69L,
 012526                            BeginTime = new DateTime(2020, 7, 25, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012527                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012528                            EndTime = new DateTime(2020, 7, 25, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012529                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012530                            IsDeleted = false,
 012531                            IsWorkingDay = false
 012532                        },
 012533                        new
 012534                        {
 012535                            Id = 70L,
 012536                            BeginTime = new DateTime(2020, 7, 26, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012537                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012538                            EndTime = new DateTime(2020, 7, 26, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012539                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012540                            IsDeleted = false,
 012541                            IsWorkingDay = false
 012542                        },
 012543                        new
 012544                        {
 012545                            Id = 71L,
 012546                            BeginTime = new DateTime(2020, 7, 27, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012547                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012548                            EndTime = new DateTime(2020, 7, 27, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012549                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012550                            IsDeleted = false,
 012551                            IsWorkingDay = true
 012552                        },
 012553                        new
 012554                        {
 012555                            Id = 72L,
 012556                            BeginTime = new DateTime(2020, 7, 28, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012557                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012558                            EndTime = new DateTime(2020, 7, 28, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012559                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012560                            IsDeleted = false,
 012561                            IsWorkingDay = true
 012562                        },
 012563                        new
 012564                        {
 012565                            Id = 73L,
 012566                            BeginTime = new DateTime(2020, 7, 29, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012567                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012568                            EndTime = new DateTime(2020, 7, 29, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012569                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012570                            IsDeleted = false,
 012571                            IsWorkingDay = true
 012572                        },
 012573                        new
 012574                        {
 012575                            Id = 74L,
 012576                            BeginTime = new DateTime(2020, 7, 30, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012577                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012578                            EndTime = new DateTime(2020, 7, 30, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012579                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012580                            IsDeleted = false,
 012581                            IsWorkingDay = true
 012582                        },
 012583                        new
 012584                        {
 012585                            Id = 75L,
 012586                            BeginTime = new DateTime(2020, 7, 31, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012587                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012588                            EndTime = new DateTime(2020, 7, 31, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012589                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012590                            IsDeleted = false,
 012591                            IsWorkingDay = true
 012592                        },
 012593                        new
 012594                        {
 012595                            Id = 76L,
 012596                            BeginTime = new DateTime(2020, 8, 1, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012597                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012598                            EndTime = new DateTime(2020, 8, 1, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012599                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012600                            IsDeleted = false,
 012601                            IsWorkingDay = false
 012602                        },
 012603                        new
 012604                        {
 012605                            Id = 77L,
 012606                            BeginTime = new DateTime(2020, 8, 2, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012607                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012608                            EndTime = new DateTime(2020, 8, 2, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012609                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012610                            IsDeleted = false,
 012611                            IsWorkingDay = false
 012612                        },
 012613                        new
 012614                        {
 012615                            Id = 78L,
 012616                            BeginTime = new DateTime(2020, 8, 3, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012617                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012618                            EndTime = new DateTime(2020, 8, 3, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012619                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012620                            IsDeleted = false,
 012621                            IsWorkingDay = true
 012622                        },
 012623                        new
 012624                        {
 012625                            Id = 79L,
 012626                            BeginTime = new DateTime(2020, 8, 4, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012627                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012628                            EndTime = new DateTime(2020, 8, 4, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012629                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012630                            IsDeleted = false,
 012631                            IsWorkingDay = true
 012632                        },
 012633                        new
 012634                        {
 012635                            Id = 80L,
 012636                            BeginTime = new DateTime(2020, 8, 5, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012637                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012638                            EndTime = new DateTime(2020, 8, 5, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012639                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012640                            IsDeleted = false,
 012641                            IsWorkingDay = true
 012642                        },
 012643                        new
 012644                        {
 012645                            Id = 81L,
 012646                            BeginTime = new DateTime(2020, 8, 6, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012647                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012648                            EndTime = new DateTime(2020, 8, 6, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012649                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012650                            IsDeleted = false,
 012651                            IsWorkingDay = true
 012652                        },
 012653                        new
 012654                        {
 012655                            Id = 82L,
 012656                            BeginTime = new DateTime(2020, 8, 7, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012657                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012658                            EndTime = new DateTime(2020, 8, 7, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012659                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012660                            IsDeleted = false,
 012661                            IsWorkingDay = true
 012662                        },
 012663                        new
 012664                        {
 012665                            Id = 83L,
 012666                            BeginTime = new DateTime(2020, 8, 8, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012667                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012668                            EndTime = new DateTime(2020, 8, 8, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012669                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012670                            IsDeleted = false,
 012671                            IsWorkingDay = false
 012672                        },
 012673                        new
 012674                        {
 012675                            Id = 84L,
 012676                            BeginTime = new DateTime(2020, 8, 9, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012677                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012678                            EndTime = new DateTime(2020, 8, 9, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012679                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012680                            IsDeleted = false,
 012681                            IsWorkingDay = false
 012682                        },
 012683                        new
 012684                        {
 012685                            Id = 85L,
 012686                            BeginTime = new DateTime(2020, 8, 10, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012687                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012688                            EndTime = new DateTime(2020, 8, 10, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012689                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012690                            IsDeleted = false,
 012691                            IsWorkingDay = true
 012692                        },
 012693                        new
 012694                        {
 012695                            Id = 86L,
 012696                            BeginTime = new DateTime(2020, 8, 11, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012697                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012698                            EndTime = new DateTime(2020, 8, 11, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012699                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012700                            IsDeleted = false,
 012701                            IsWorkingDay = true
 012702                        },
 012703                        new
 012704                        {
 012705                            Id = 87L,
 012706                            BeginTime = new DateTime(2020, 8, 12, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012707                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012708                            EndTime = new DateTime(2020, 8, 12, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012709                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012710                            IsDeleted = false,
 012711                            IsWorkingDay = true
 012712                        },
 012713                        new
 012714                        {
 012715                            Id = 88L,
 012716                            BeginTime = new DateTime(2020, 8, 13, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012717                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012718                            EndTime = new DateTime(2020, 8, 13, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012719                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012720                            IsDeleted = false,
 012721                            IsWorkingDay = true
 012722                        },
 012723                        new
 012724                        {
 012725                            Id = 89L,
 012726                            BeginTime = new DateTime(2020, 8, 14, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012727                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012728                            EndTime = new DateTime(2020, 8, 14, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012729                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012730                            IsDeleted = false,
 012731                            IsWorkingDay = true
 012732                        },
 012733                        new
 012734                        {
 012735                            Id = 90L,
 012736                            BeginTime = new DateTime(2020, 8, 15, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012737                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012738                            EndTime = new DateTime(2020, 8, 15, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012739                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012740                            IsDeleted = false,
 012741                            IsWorkingDay = false
 012742                        },
 012743                        new
 012744                        {
 012745                            Id = 91L,
 012746                            BeginTime = new DateTime(2020, 8, 16, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012747                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012748                            EndTime = new DateTime(2020, 8, 16, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012749                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012750                            IsDeleted = false,
 012751                            IsWorkingDay = false
 012752                        },
 012753                        new
 012754                        {
 012755                            Id = 92L,
 012756                            BeginTime = new DateTime(2020, 8, 17, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012757                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012758                            EndTime = new DateTime(2020, 8, 17, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012759                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012760                            IsDeleted = false,
 012761                            IsWorkingDay = true
 012762                        },
 012763                        new
 012764                        {
 012765                            Id = 93L,
 012766                            BeginTime = new DateTime(2020, 8, 18, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012767                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012768                            EndTime = new DateTime(2020, 8, 18, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012769                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012770                            IsDeleted = false,
 012771                            IsWorkingDay = true
 012772                        },
 012773                        new
 012774                        {
 012775                            Id = 94L,
 012776                            BeginTime = new DateTime(2020, 8, 19, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012777                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012778                            EndTime = new DateTime(2020, 8, 19, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012779                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012780                            IsDeleted = false,
 012781                            IsWorkingDay = true
 012782                        },
 012783                        new
 012784                        {
 012785                            Id = 95L,
 012786                            BeginTime = new DateTime(2020, 8, 20, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012787                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012788                            EndTime = new DateTime(2020, 8, 20, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012789                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012790                            IsDeleted = false,
 012791                            IsWorkingDay = true
 012792                        },
 012793                        new
 012794                        {
 012795                            Id = 96L,
 012796                            BeginTime = new DateTime(2020, 8, 21, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012797                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012798                            EndTime = new DateTime(2020, 8, 21, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012799                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012800                            IsDeleted = false,
 012801                            IsWorkingDay = true
 012802                        },
 012803                        new
 012804                        {
 012805                            Id = 97L,
 012806                            BeginTime = new DateTime(2020, 8, 22, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012807                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012808                            EndTime = new DateTime(2020, 8, 22, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012809                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012810                            IsDeleted = false,
 012811                            IsWorkingDay = false
 012812                        },
 012813                        new
 012814                        {
 012815                            Id = 98L,
 012816                            BeginTime = new DateTime(2020, 8, 23, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012817                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012818                            EndTime = new DateTime(2020, 8, 23, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012819                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012820                            IsDeleted = false,
 012821                            IsWorkingDay = false
 012822                        },
 012823                        new
 012824                        {
 012825                            Id = 99L,
 012826                            BeginTime = new DateTime(2020, 8, 24, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012827                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012828                            EndTime = new DateTime(2020, 8, 24, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012829                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012830                            IsDeleted = false,
 012831                            IsWorkingDay = true
 012832                        },
 012833                        new
 012834                        {
 012835                            Id = 100L,
 012836                            BeginTime = new DateTime(2020, 8, 25, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012837                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012838                            EndTime = new DateTime(2020, 8, 25, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012839                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012840                            IsDeleted = false,
 012841                            IsWorkingDay = true
 012842                        },
 012843                        new
 012844                        {
 012845                            Id = 101L,
 012846                            BeginTime = new DateTime(2020, 8, 26, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012847                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012848                            EndTime = new DateTime(2020, 8, 26, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012849                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012850                            IsDeleted = false,
 012851                            IsWorkingDay = true
 012852                        },
 012853                        new
 012854                        {
 012855                            Id = 102L,
 012856                            BeginTime = new DateTime(2020, 8, 27, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012857                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012858                            EndTime = new DateTime(2020, 8, 27, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012859                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012860                            IsDeleted = false,
 012861                            IsWorkingDay = true
 012862                        },
 012863                        new
 012864                        {
 012865                            Id = 103L,
 012866                            BeginTime = new DateTime(2020, 8, 28, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012867                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012868                            EndTime = new DateTime(2020, 8, 28, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012869                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012870                            IsDeleted = false,
 012871                            IsWorkingDay = true
 012872                        },
 012873                        new
 012874                        {
 012875                            Id = 104L,
 012876                            BeginTime = new DateTime(2020, 8, 29, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012877                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012878                            EndTime = new DateTime(2020, 8, 29, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012879                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012880                            IsDeleted = false,
 012881                            IsWorkingDay = false
 012882                        },
 012883                        new
 012884                        {
 012885                            Id = 105L,
 012886                            BeginTime = new DateTime(2020, 8, 30, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012887                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012888                            EndTime = new DateTime(2020, 8, 30, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012889                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012890                            IsDeleted = false,
 012891                            IsWorkingDay = false
 012892                        },
 012893                        new
 012894                        {
 012895                            Id = 106L,
 012896                            BeginTime = new DateTime(2020, 8, 31, 6, 0, 0, 0, DateTimeKind.Unspecified),
 012897                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012898                            EndTime = new DateTime(2020, 8, 31, 16, 0, 0, 0, DateTimeKind.Unspecified),
 012899                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012900                            IsDeleted = false,
 012901                            IsWorkingDay = true
 012902                        });
 012903                });
 12904
 012905            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", b =>
 012906                {
 012907                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012908                        .WithMany()
 012909                        .HasForeignKey("CreatedByUserId");
 012910
 012911                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012912                        .WithMany()
 012913                        .HasForeignKey("ModifiedByUserId");
 012914
 012915                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012916                        .WithMany()
 012917                        .HasForeignKey("RecStateId");
 012918                });
 12919
 012920            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BankAccount", b =>
 012921                {
 012922                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 012923                        .WithMany("BankAccounts")
 012924                        .HasForeignKey("ContragentId");
 012925
 012926                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012927                        .WithMany()
 012928                        .HasForeignKey("CreatedByUserId");
 012929
 012930                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012931                        .WithMany()
 012932                        .HasForeignKey("ModifiedByUserId");
 012933
 012934                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012935                        .WithMany()
 012936                        .HasForeignKey("RecStateId");
 012937                });
 12938
 012939            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BarCode", 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.Good", null)
 012946                        .WithMany("Barcodes")
 012947                        .HasForeignKey("GoodId");
 012948
 012949                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012950                        .WithMany()
 012951                        .HasForeignKey("ModifiedByUserId");
 012952
 012953                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012954                        .WithMany()
 012955                        .HasForeignKey("RecStateId");
 012956                });
 12957
 012958            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", b =>
 012959                {
 012960                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012961                        .WithMany()
 012962                        .HasForeignKey("CreatedByUserId");
 012963
 012964                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012965                        .WithMany()
 012966                        .HasForeignKey("ModifiedByUserId");
 012967
 012968                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "Parent")
 012969                        .WithMany()
 012970                        .HasForeignKey("ParentId");
 012971
 012972                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012973                        .WithMany()
 012974                        .HasForeignKey("RecStateId");
 012975                });
 12976
 012977            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", b =>
 012978                {
 012979                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012980                        .WithMany()
 012981                        .HasForeignKey("CreatedByUserId");
 012982
 012983                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012984                        .WithMany()
 012985                        .HasForeignKey("ModifiedByUserId");
 012986
 012987                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Parent")
 012988                        .WithMany()
 012989                        .HasForeignKey("ParentId");
 012990
 012991                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012992                        .WithMany()
 012993                        .HasForeignKey("RecStateId");
 012994                });
 12995
 012996            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Cluster", b =>
 012997                {
 012998                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012999                        .WithMany()
 013000                        .HasForeignKey("CreatedByUserId");
 013001
 013002                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013003                        .WithMany()
 013004                        .HasForeignKey("ModifiedByUserId");
 013005
 013006                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013007                        .WithMany()
 013008                        .HasForeignKey("RecStateId");
 013009
 013010                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Warehouse")
 013011                        .WithMany()
 013012                        .HasForeignKey("WarehouseId")
 013013                        .OnDelete(DeleteBehavior.Cascade)
 013014                        .IsRequired();
 013015                });
 13016
 013017            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Configuration", b =>
 013018                {
 013019                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013020                        .WithMany()
 013021                        .HasForeignKey("CreatedByUserId");
 013022
 013023                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013024                        .WithMany()
 013025                        .HasForeignKey("ModifiedByUserId");
 013026
 013027                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013028                        .WithMany()
 013029                        .HasForeignKey("RecStateId");
 013030
 013031                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.ConfigurationsDataType", "ValueType")
 013032                        .WithMany()
 013033                        .HasForeignKey("ValueTypeId")
 013034                        .OnDelete(DeleteBehavior.Cascade)
 013035                        .IsRequired();
 013036                });
 13037
 013038            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ConfigurationsDataType", b =>
 013039                {
 013040                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013041                        .WithMany()
 013042                        .HasForeignKey("CreatedByUserId");
 013043
 013044                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013045                        .WithMany()
 013046                        .HasForeignKey("ModifiedByUserId");
 013047
 013048                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013049                        .WithMany()
 013050                        .HasForeignKey("RecStateId");
 013051                });
 13052
 013053            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", b =>
 013054                {
 013055                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.ContragentsKind", "ContragentsKind")
 013056                        .WithMany()
 013057                        .HasForeignKey("ContragentsKindId")
 013058                        .OnDelete(DeleteBehavior.Cascade)
 013059                        .IsRequired();
 013060
 013061                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013062                        .WithMany()
 013063                        .HasForeignKey("CreatedByUserId");
 013064
 013065                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "JuridicAddress")
 013066                        .WithMany()
 013067                        .HasForeignKey("JuridicAddressId")
 013068                        .OnDelete(DeleteBehavior.Cascade)
 013069                        .IsRequired();
 013070
 013071                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013072                        .WithMany()
 013073                        .HasForeignKey("ModifiedByUserId");
 013074
 013075                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "Owner")
 013076                        .WithMany()
 013077                        .HasForeignKey("OwnerId")
 013078                        .OnDelete(DeleteBehavior.Cascade)
 013079                        .IsRequired();
 013080
 013081                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "PhysicAddress")
 013082                        .WithMany()
 013083                        .HasForeignKey("PhysicAddressId")
 013084                        .OnDelete(DeleteBehavior.Cascade)
 013085                        .IsRequired();
 013086
 013087                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013088                        .WithMany()
 013089                        .HasForeignKey("RecStateId");
 013090
 013091                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", "TaxSystem")
 013092                        .WithMany()
 013093                        .HasForeignKey("TaxSystemId");
 013094                });
 13095
 013096            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ContragentsKind", b =>
 013097                {
 013098                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013099                        .WithMany()
 013100                        .HasForeignKey("CreatedByUserId");
 013101
 013102                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013103                        .WithMany()
 013104                        .HasForeignKey("ModifiedByUserId");
 013105
 013106                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013107                        .WithMany()
 013108                        .HasForeignKey("RecStateId");
 013109                });
 13110
 013111            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ControlAccess", b =>
 013112                {
 013113                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", "Action")
 013114                        .WithMany()
 013115                        .HasForeignKey("ActionId")
 013116                        .OnDelete(DeleteBehavior.Cascade)
 013117                        .IsRequired();
 013118
 013119                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013120                        .WithMany()
 013121                        .HasForeignKey("CreatedByUserId");
 013122
 013123                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013124                        .WithMany()
 013125                        .HasForeignKey("ModifiedByUserId");
 013126
 013127                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013128                        .WithMany()
 013129                        .HasForeignKey("RecStateId");
 013130
 013131                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Role")
 013132                        .WithMany("ControlsAccess")
 013133                        .HasForeignKey("RoleId")
 013134                        .OnDelete(DeleteBehavior.Cascade)
 013135                        .IsRequired();
 013136                });
 13137
 013138            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", b =>
 013139                {
 013140                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013141                        .WithMany()
 013142                        .HasForeignKey("CreatedByUserId");
 013143
 013144                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013145                        .WithMany()
 013146                        .HasForeignKey("ModifiedByUserId");
 013147
 013148                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013149                        .WithMany()
 013150                        .HasForeignKey("RecStateId");
 013151                });
 13152
 013153            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Currency", b =>
 013154                {
 013155                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013156                        .WithMany()
 013157                        .HasForeignKey("CreatedByUserId");
 013158
 013159                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013160                        .WithMany()
 013161                        .HasForeignKey("ModifiedByUserId");
 013162
 013163                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013164                        .WithMany()
 013165                        .HasForeignKey("RecStateId");
 013166                });
 13167
 013168            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", b =>
 013169                {
 013170                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "ActualAddress")
 013171                        .WithMany()
 013172                        .HasForeignKey("ActualAddressId");
 013173
 013174                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Cluster", "Cluster")
 013175                        .WithMany("Departments")
 013176                        .HasForeignKey("ClusterId");
 013177
 013178                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 013179                        .WithMany("Departments")
 013180                        .HasForeignKey("ContragentId")
 013181                        .OnDelete(DeleteBehavior.Cascade)
 013182                        .IsRequired();
 013183
 013184                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013185                        .WithMany()
 013186                        .HasForeignKey("CreatedByUserId");
 013187
 013188                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", "Kind")
 013189                        .WithMany()
 013190                        .HasForeignKey("KindId");
 013191
 013192                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013193                        .WithMany()
 013194                        .HasForeignKey("ModifiedByUserId");
 013195
 013196                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013197                        .WithMany()
 013198                        .HasForeignKey("RecStateId");
 013199
 013200                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsStatus", "Status")
 013201                        .WithMany()
 013202                        .HasForeignKey("StatusId");
 013203                });
 13204
 013205            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentCategoryRatio", b =>
 013206                {
 013207                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Category")
 013208                        .WithMany("DepartmentCategoryRatios")
 013209                        .HasForeignKey("CategoryId")
 013210                        .OnDelete(DeleteBehavior.Cascade)
 013211                        .IsRequired();
 013212
 013213                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013214                        .WithMany()
 013215                        .HasForeignKey("CreatedByUserId");
 013216
 013217                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 013218                        .WithMany()
 013219                        .HasForeignKey("DepartmentId")
 013220                        .OnDelete(DeleteBehavior.Cascade)
 013221                        .IsRequired();
 013222
 013223                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013224                        .WithMany()
 013225                        .HasForeignKey("ModifiedByUserId");
 013226
 013227                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013228                        .WithMany()
 013229                        .HasForeignKey("RecStateId");
 013230                });
 13231
 013232            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentGoodSetting", b =>
 013233                {
 013234                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013235                        .WithMany()
 013236                        .HasForeignKey("CreatedByUserId");
 013237
 013238                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 013239                        .WithMany()
 013240                        .HasForeignKey("DepartmentId")
 013241                        .OnDelete(DeleteBehavior.Cascade)
 013242                        .IsRequired();
 013243
 013244                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013245                        .WithMany("DepartmentGoodSettings")
 013246                        .HasForeignKey("GoodId")
 013247                        .OnDelete(DeleteBehavior.Cascade)
 013248                        .IsRequired();
 013249
 013250                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013251                        .WithMany()
 013252                        .HasForeignKey("ModifiedByUserId");
 013253
 013254                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013255                        .WithMany()
 013256                        .HasForeignKey("RecStateId");
 013257                });
 13258
 013259            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", b =>
 013260                {
 013261                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013262                        .WithMany()
 013263                        .HasForeignKey("CreatedByUserId");
 013264
 013265                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013266                        .WithMany()
 013267                        .HasForeignKey("ModifiedByUserId");
 013268
 013269                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013270                        .WithMany()
 013271                        .HasForeignKey("RecStateId");
 013272                });
 13273
 013274            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsStatus", b =>
 013275                {
 013276                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013277                        .WithMany()
 013278                        .HasForeignKey("CreatedByUserId");
 013279
 013280                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013281                        .WithMany()
 013282                        .HasForeignKey("ModifiedByUserId");
 013283
 013284                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013285                        .WithMany()
 013286                        .HasForeignKey("RecStateId");
 013287                });
 13288
 013289            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DiscountColor", b =>
 013290                {
 013291                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013292                        .WithMany()
 013293                        .HasForeignKey("CreatedByUserId");
 013294
 013295                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013296                        .WithMany()
 013297                        .HasForeignKey("ModifiedByUserId");
 013298
 013299                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013300                        .WithMany()
 013301                        .HasForeignKey("RecStateId");
 013302                });
 13303
 013304            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DownloadGoodsImagesTask", b =>
 013305                {
 013306                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013307                        .WithMany()
 013308                        .HasForeignKey("CreatedByUserId");
 013309
 013310                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013311                        .WithMany()
 013312                        .HasForeignKey("ModifiedByUserId");
 013313
 013314                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013315                        .WithMany()
 013316                        .HasForeignKey("RecStateId");
 013317                });
 13318
 013319            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Email", b =>
 013320                {
 013321                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013322                        .WithMany()
 013323                        .HasForeignKey("CreatedByUserId");
 013324
 013325                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013326                        .WithMany()
 013327                        .HasForeignKey("ModifiedByUserId");
 013328
 013329                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013330                        .WithMany()
 013331                        .HasForeignKey("RecStateId");
 013332                });
 13333
 013334            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Event", b =>
 013335                {
 013336                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013337                        .WithMany()
 013338                        .HasForeignKey("CreatedByUserId");
 013339
 013340                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", "EventsKind")
 013341                        .WithMany()
 013342                        .HasForeignKey("EventsKindId")
 013343                        .OnDelete(DeleteBehavior.Cascade)
 013344                        .IsRequired();
 013345
 013346                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013347                        .WithMany()
 013348                        .HasForeignKey("ModifiedByUserId");
 013349
 013350                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013351                        .WithMany()
 013352                        .HasForeignKey("RecStateId");
 013353
 013354                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013355                        .WithMany()
 013356                        .HasForeignKey("UserId")
 013357                        .OnDelete(DeleteBehavior.Cascade)
 013358                        .IsRequired();
 013359                });
 13360
 013361            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", b =>
 013362                {
 013363                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013364                        .WithMany()
 013365                        .HasForeignKey("CreatedByUserId");
 013366
 013367                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013368                        .WithMany()
 013369                        .HasForeignKey("ModifiedByUserId");
 013370
 013371                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013372                        .WithMany()
 013373                        .HasForeignKey("RecStateId");
 013374                });
 13375
 013376            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ExchangeToken", b =>
 013377                {
 013378                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013379                        .WithMany()
 013380                        .HasForeignKey("CreatedByUserId");
 013381
 013382                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 013383                        .WithMany()
 013384                        .HasForeignKey("DepartmentId")
 013385                        .OnDelete(DeleteBehavior.Cascade)
 013386                        .IsRequired();
 013387
 013388                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013389                        .WithMany()
 013390                        .HasForeignKey("ModifiedByUserId");
 013391
 013392                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013393                        .WithMany()
 013394                        .HasForeignKey("RecStateId");
 013395                });
 13396
 013397            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", b =>
 013398                {
 013399                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013400                        .WithMany()
 013401                        .HasForeignKey("CreatedByUserId");
 013402
 013403                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013404                        .WithMany()
 013405                        .HasForeignKey("ModifiedByUserId");
 013406
 013407                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013408                        .WithMany()
 013409                        .HasForeignKey("RecStateId");
 013410                });
 13411
 013412            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", b =>
 013413                {
 013414                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "Brand")
 013415                        .WithMany()
 013416                        .HasForeignKey("BrandId");
 013417
 013418                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Category")
 013419                        .WithMany()
 013420                        .HasForeignKey("CategoryId")
 013421                        .OnDelete(DeleteBehavior.Cascade)
 013422                        .IsRequired();
 013423
 013424                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", "Country")
 013425                        .WithMany()
 013426                        .HasForeignKey("CountryId");
 013427
 013428                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013429                        .WithMany()
 013430                        .HasForeignKey("CreatedByUserId");
 013431
 013432                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.BarCode", "MainBarcode")
 013433                        .WithMany()
 013434                        .HasForeignKey("MainBarcodeId")
 013435                        .OnDelete(DeleteBehavior.Cascade)
 013436                        .IsRequired();
 013437
 013438                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Manufacturer")
 013439                        .WithMany()
 013440                        .HasForeignKey("ManufacturerId");
 013441
 013442                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013443                        .WithMany()
 013444                        .HasForeignKey("ModifiedByUserId");
 013445
 013446                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013447                        .WithMany()
 013448                        .HasForeignKey("RecStateId");
 013449
 013450                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "SubBrand")
 013451                        .WithMany()
 013452                        .HasForeignKey("SubBrandId");
 013453
 013454                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Supplier")
 013455                        .WithMany()
 013456                        .HasForeignKey("SupplierId");
 013457
 013458                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", "UnitsKind")
 013459                        .WithMany()
 013460                        .HasForeignKey("UnitsKindId")
 013461                        .OnDelete(DeleteBehavior.Cascade)
 013462                        .IsRequired();
 013463
 013464                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", "VatsKind")
 013465                        .WithMany()
 013466                        .HasForeignKey("VatsKindId")
 013467                        .OnDelete(DeleteBehavior.Cascade)
 013468                        .IsRequired();
 013469                });
 13470
 013471            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.GoodLabel", b =>
 013472                {
 013473                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013474                        .WithMany()
 013475                        .HasForeignKey("CreatedByUserId");
 013476
 013477                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013478                        .WithMany()
 013479                        .HasForeignKey("ModifiedByUserId");
 013480
 013481                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013482                        .WithMany()
 013483                        .HasForeignKey("RecStateId");
 013484                });
 13485
 013486            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Incident", b =>
 013487                {
 013488                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013489                        .WithMany()
 013490                        .HasForeignKey("CreatedByUserId");
 013491
 013492                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsKind", "Kind")
 013493                        .WithMany()
 013494                        .HasForeignKey("KindId");
 013495
 013496                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013497                        .WithMany()
 013498                        .HasForeignKey("ModifiedByUserId");
 013499
 013500                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013501                        .WithMany()
 013502                        .HasForeignKey("RecStateId");
 013503
 013504                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", "Status")
 013505                        .WithMany()
 013506                        .HasForeignKey("StatusId");
 013507
 013508                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013509                        .WithMany()
 013510                        .HasForeignKey("UserId")
 013511                        .OnDelete(DeleteBehavior.Cascade)
 013512                        .IsRequired();
 013513                });
 13514
 013515            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsKind", b =>
 013516                {
 013517                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013518                        .WithMany()
 013519                        .HasForeignKey("CreatedByUserId");
 013520
 013521                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013522                        .WithMany()
 013523                        .HasForeignKey("ModifiedByUserId");
 013524
 013525                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013526                        .WithMany()
 013527                        .HasForeignKey("RecStateId");
 013528                });
 13529
 013530            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", b =>
 013531                {
 013532                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013533                        .WithMany()
 013534                        .HasForeignKey("CreatedByUserId");
 013535
 013536                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013537                        .WithMany()
 013538                        .HasForeignKey("ModifiedByUserId");
 013539
 013540                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013541                        .WithMany()
 013542                        .HasForeignKey("RecStateId");
 013543                });
 13544
 013545            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.JobLogger", b =>
 013546                {
 013547                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013548                        .WithMany()
 013549                        .HasForeignKey("CreatedByUserId");
 013550
 013551                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013552                        .WithMany()
 013553                        .HasForeignKey("ModifiedByUserId");
 013554
 013555                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013556                        .WithMany()
 013557                        .HasForeignKey("RecStateId");
 013558                });
 13559
 013560            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MethodRole", b =>
 013561                {
 013562                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", "Methods")
 013563                        .WithMany("MethodsRoles")
 013564                        .HasForeignKey("MethodId")
 013565                        .OnDelete(DeleteBehavior.Cascade)
 013566                        .IsRequired();
 013567
 013568                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Roles")
 013569                        .WithMany("MethodsRoles")
 013570                        .HasForeignKey("RoleId")
 013571                        .OnDelete(DeleteBehavior.Cascade)
 013572                        .IsRequired();
 013573                });
 13574
 013575            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", b =>
 013576                {
 013577                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013578                        .WithMany()
 013579                        .HasForeignKey("CreatedByUserId");
 013580
 013581                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013582                        .WithMany()
 013583                        .HasForeignKey("ModifiedByUserId");
 013584
 013585                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013586                        .WithMany()
 013587                        .HasForeignKey("RecStateId");
 013588                });
 13589
 013590            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", b =>
 013591                {
 013592                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Children")
 013593                        .WithMany()
 013594                        .HasForeignKey("ChildrenId");
 013595
 013596                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013597                        .WithMany()
 013598                        .HasForeignKey("CreatedByUserId");
 013599
 013600                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Customer")
 013601                        .WithMany()
 013602                        .HasForeignKey("CustomerId")
 013603                        .OnDelete(DeleteBehavior.Cascade)
 013604                        .IsRequired();
 013605
 013606                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013607                        .WithMany()
 013608                        .HasForeignKey("ModifiedByUserId");
 013609
 013610                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "MovementStatus")
 013611                        .WithMany()
 013612                        .HasForeignKey("MovementStatusId")
 013613                        .OnDelete(DeleteBehavior.Cascade)
 013614                        .IsRequired();
 013615
 013616                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", "MovementType")
 013617                        .WithMany()
 013618                        .HasForeignKey("MovementTypeId")
 013619                        .OnDelete(DeleteBehavior.Cascade)
 013620                        .IsRequired();
 013621
 013622                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Parent")
 013623                        .WithMany()
 013624                        .HasForeignKey("ParentId");
 013625
 013626                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013627                        .WithMany()
 013628                        .HasForeignKey("RecStateId");
 013629
 013630                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Receiver")
 013631                        .WithMany()
 013632                        .HasForeignKey("ReceiverId")
 013633                        .OnDelete(DeleteBehavior.Cascade)
 013634                        .IsRequired();
 013635
 013636                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Sender")
 013637                        .WithMany()
 013638                        .HasForeignKey("SenderId");
 013639
 013640                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Supplier")
 013641                        .WithMany()
 013642                        .HasForeignKey("SupplierId")
 013643                        .OnDelete(DeleteBehavior.Cascade)
 013644                        .IsRequired();
 013645                });
 13646
 013647            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementItem", b =>
 013648                {
 013649                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013650                        .WithMany()
 013651                        .HasForeignKey("CreatedByUserId");
 013652
 013653                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013654                        .WithMany()
 013655                        .HasForeignKey("GoodId")
 013656                        .OnDelete(DeleteBehavior.Cascade)
 013657                        .IsRequired();
 013658
 013659                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013660                        .WithMany()
 013661                        .HasForeignKey("ModifiedByUserId");
 013662
 013663                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", null)
 013664                        .WithMany("Items")
 013665                        .HasForeignKey("MovementId");
 013666
 013667                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013668                        .WithMany()
 013669                        .HasForeignKey("RecStateId");
 013670                });
 13671
 013672            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementNote", b =>
 013673                {
 013674                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013675                        .WithMany()
 013676                        .HasForeignKey("CreatedByUserId");
 013677
 013678                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013679                        .WithMany()
 013680                        .HasForeignKey("ModifiedByUserId");
 013681
 013682                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", null)
 013683                        .WithMany("Notes")
 013684                        .HasForeignKey("MovementId");
 013685
 013686                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013687                        .WithMany()
 013688                        .HasForeignKey("RecStateId");
 013689                });
 13690
 013691            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementRouteAction", b =>
 013692                {
 013693                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013694                        .WithMany()
 013695                        .HasForeignKey("CreatedByUserId");
 013696
 013697                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013698                        .WithMany()
 013699                        .HasForeignKey("ModifiedByUserId");
 013700
 013701                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", "OwnerAction")
 013702                        .WithMany()
 013703                        .HasForeignKey("OwnerActionId")
 013704                        .OnDelete(DeleteBehavior.Cascade)
 013705                        .IsRequired();
 013706
 013707                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013708                        .WithMany()
 013709                        .HasForeignKey("RecStateId");
 013710
 013711                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "Status")
 013712                        .WithMany()
 013713                        .HasForeignKey("StatusId")
 013714                        .OnDelete(DeleteBehavior.Cascade)
 013715                        .IsRequired();
 013716                });
 13717
 013718            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", b =>
 013719                {
 013720                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013721                        .WithMany()
 013722                        .HasForeignKey("CreatedByUserId");
 013723
 013724                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013725                        .WithMany()
 013726                        .HasForeignKey("ModifiedByUserId");
 013727
 013728                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", "MovementType")
 013729                        .WithMany()
 013730                        .HasForeignKey("MovementTypeId")
 013731                        .OnDelete(DeleteBehavior.Cascade)
 013732                        .IsRequired();
 013733
 013734                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013735                        .WithMany()
 013736                        .HasForeignKey("RecStateId");
 013737
 013738                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", "StatusOwner")
 013739                        .WithMany()
 013740                        .HasForeignKey("StatusOwnerId")
 013741                        .OnDelete(DeleteBehavior.Cascade)
 013742                        .IsRequired();
 013743                });
 13744
 013745            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusJournal", b =>
 013746                {
 013747                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013748                        .WithMany()
 013749                        .HasForeignKey("CreatedByUserId");
 013750
 013751                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013752                        .WithMany()
 013753                        .HasForeignKey("ModifiedByUserId");
 013754
 013755                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Movement")
 013756                        .WithMany()
 013757                        .HasForeignKey("MovementId");
 013758
 013759                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013760                        .WithMany()
 013761                        .HasForeignKey("RecStateId");
 013762
 013763                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusCurrent")
 013764                        .WithMany()
 013765                        .HasForeignKey("StatusCurrentId");
 013766                });
 13767
 013768            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", b =>
 013769                {
 013770                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013771                        .WithMany()
 013772                        .HasForeignKey("CreatedByUserId");
 013773
 013774                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013775                        .WithMany()
 013776                        .HasForeignKey("ModifiedByUserId");
 013777
 013778                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013779                        .WithMany()
 013780                        .HasForeignKey("RecStateId");
 013781                });
 13782
 013783            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusRoute", b =>
 013784                {
 013785                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013786                        .WithMany()
 013787                        .HasForeignKey("CreatedByUserId");
 013788
 013789                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013790                        .WithMany()
 013791                        .HasForeignKey("ModifiedByUserId");
 013792
 013793                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013794                        .WithMany()
 013795                        .HasForeignKey("RecStateId");
 013796
 013797                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusCurrent")
 013798                        .WithMany()
 013799                        .HasForeignKey("StatusCurrentId")
 013800                        .OnDelete(DeleteBehavior.Cascade)
 013801                        .IsRequired();
 013802
 013803                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusNext")
 013804                        .WithMany()
 013805                        .HasForeignKey("StatusNextId")
 013806                        .OnDelete(DeleteBehavior.Cascade)
 013807                        .IsRequired();
 013808                });
 13809
 013810            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", b =>
 013811                {
 013812                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013813                        .WithMany()
 013814                        .HasForeignKey("CreatedByUserId");
 013815
 013816                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013817                        .WithMany()
 013818                        .HasForeignKey("ModifiedByUserId");
 013819
 013820                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013821                        .WithMany()
 013822                        .HasForeignKey("RecStateId");
 013823                });
 13824
 013825            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", b =>
 013826                {
 013827                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013828                        .WithMany()
 013829                        .HasForeignKey("CreatedByUserId");
 013830
 013831                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013832                        .WithMany()
 013833                        .HasForeignKey("ModifiedByUserId");
 013834
 013835                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", "NotificationsType")
 013836                        .WithMany()
 013837                        .HasForeignKey("NotificationsTypeId")
 013838                        .OnDelete(DeleteBehavior.Cascade)
 013839                        .IsRequired();
 013840
 013841                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013842                        .WithMany()
 013843                        .HasForeignKey("RecStateId");
 013844
 013845                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013846                        .WithMany()
 013847                        .HasForeignKey("UserId")
 013848                        .OnDelete(DeleteBehavior.Cascade)
 013849                        .IsRequired();
 013850                });
 13851
 013852            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationUsers", b =>
 013853                {
 013854                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013855                        .WithMany()
 013856                        .HasForeignKey("CreatedByUserId");
 013857
 013858                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013859                        .WithMany()
 013860                        .HasForeignKey("ModifiedByUserId");
 013861
 013862                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", "Notification")
 013863                        .WithMany()
 013864                        .HasForeignKey("NotificationId")
 013865                        .OnDelete(DeleteBehavior.Cascade)
 013866                        .IsRequired();
 013867
 013868                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", "NotificationsStat
 013869                        .WithMany()
 013870                        .HasForeignKey("NotificationsStatusId");
 013871
 013872                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013873                        .WithMany()
 013874                        .HasForeignKey("RecStateId");
 013875
 013876                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013877                        .WithMany()
 013878                        .HasForeignKey("UserId");
 013879                });
 13880
 013881            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", b =>
 013882                {
 013883                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013884                        .WithMany()
 013885                        .HasForeignKey("CreatedByUserId");
 013886
 013887                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013888                        .WithMany()
 013889                        .HasForeignKey("ModifiedByUserId");
 013890
 013891                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013892                        .WithMany()
 013893                        .HasForeignKey("RecStateId");
 013894                });
 13895
 013896            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", b =>
 013897                {
 013898                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013899                        .WithMany()
 013900                        .HasForeignKey("CreatedByUserId");
 013901
 013902                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013903                        .WithMany()
 013904                        .HasForeignKey("ModifiedByUserId");
 013905
 013906                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013907                        .WithMany()
 013908                        .HasForeignKey("RecStateId");
 013909                });
 13910
 013911            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Photo", b =>
 013912                {
 013913                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013914                        .WithMany()
 013915                        .HasForeignKey("CreatedByUserId");
 013916
 013917                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", null)
 013918                        .WithMany("Photos")
 013919                        .HasForeignKey("GoodId");
 013920
 013921                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013922                        .WithMany()
 013923                        .HasForeignKey("ModifiedByUserId");
 013924
 013925                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013926                        .WithMany()
 013927                        .HasForeignKey("RecStateId");
 013928                });
 13929
 013930            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceCurrent", b =>
 013931                {
 013932                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013933                        .WithMany()
 013934                        .HasForeignKey("CreatedByUserId");
 013935
 013936                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013937                        .WithMany()
 013938                        .HasForeignKey("GoodId")
 013939                        .OnDelete(DeleteBehavior.Cascade)
 013940                        .IsRequired();
 013941
 013942                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013943                        .WithMany()
 013944                        .HasForeignKey("ModifiedByUserId");
 013945
 013946                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013947                        .WithMany()
 013948                        .HasForeignKey("RecStateId");
 013949
 013950                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 013951                        .WithMany()
 013952                        .HasForeignKey("SupplierDepartmentId")
 013953                        .OnDelete(DeleteBehavior.Cascade)
 013954                        .IsRequired();
 013955                });
 13956
 013957            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", b =>
 013958                {
 013959                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013960                        .WithMany()
 013961                        .HasForeignKey("CreatedByUserId");
 013962
 013963                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013964                        .WithMany()
 013965                        .HasForeignKey("ModifiedByUserId");
 013966
 013967                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013968                        .WithMany()
 013969                        .HasForeignKey("RecStateId");
 013970
 013971                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 013972                        .WithMany()
 013973                        .HasForeignKey("SupplierDepartmentId")
 013974                        .OnDelete(DeleteBehavior.Cascade)
 013975                        .IsRequired();
 013976                });
 13977
 013978            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrendDetail", b =>
 013979                {
 013980                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013981                        .WithMany()
 013982                        .HasForeignKey("CreatedByUserId");
 013983
 013984                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013985                        .WithMany("Prices")
 013986                        .HasForeignKey("GoodId")
 013987                        .OnDelete(DeleteBehavior.Cascade)
 013988                        .IsRequired();
 013989
 013990                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013991                        .WithMany()
 013992                        .HasForeignKey("ModifiedByUserId");
 013993
 013994                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", "PriceTrend")
 013995                        .WithMany("PriceTrendDetails")
 013996                        .HasForeignKey("PriceTrendId")
 013997                        .OnDelete(DeleteBehavior.Cascade)
 013998                        .IsRequired();
 013999
 014000                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014001                        .WithMany()
 014002                        .HasForeignKey("RecStateId");
 014003                });
 14004
 014005            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoBid", b =>
 014006                {
 014007                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014008                        .WithMany()
 014009                        .HasForeignKey("CreatedByUserId");
 014010
 014011                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "CustomerDepartment")
 014012                        .WithMany()
 014013                        .HasForeignKey("CustomerDepartmentId")
 014014                        .OnDelete(DeleteBehavior.Cascade)
 014015                        .IsRequired();
 014016
 014017                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 014018                        .WithMany()
 014019                        .HasForeignKey("GoodId")
 014020                        .OnDelete(DeleteBehavior.Cascade)
 014021                        .IsRequired();
 014022
 014023                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014024                        .WithMany()
 014025                        .HasForeignKey("ModifiedByUserId");
 014026
 014027                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoOffer", "PromoOffer")
 014028                        .WithMany("Bids")
 014029                        .HasForeignKey("PromoOfferId")
 014030                        .OnDelete(DeleteBehavior.Cascade)
 014031                        .IsRequired();
 014032
 014033                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014034                        .WithMany()
 014035                        .HasForeignKey("RecStateId");
 014036                });
 14037
 014038            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoOffer", b =>
 014039                {
 014040                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014041                        .WithMany()
 014042                        .HasForeignKey("CreatedByUserId");
 014043
 014044                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 014045                        .WithMany()
 014046                        .HasForeignKey("GoodId")
 014047                        .OnDelete(DeleteBehavior.Cascade)
 014048                        .IsRequired();
 014049
 014050                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014051                        .WithMany()
 014052                        .HasForeignKey("ModifiedByUserId");
 014053
 014054                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014055                        .WithMany()
 014056                        .HasForeignKey("RecStateId");
 014057
 014058                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 014059                        .WithMany()
 014060                        .HasForeignKey("SupplierDepartmentId")
 014061                        .OnDelete(DeleteBehavior.Cascade)
 014062                        .IsRequired();
 014063                });
 14064
 014065            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", b =>
 014066                {
 014067                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014068                        .WithMany()
 014069                        .HasForeignKey("CreatedByUserId");
 014070
 014071                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014072                        .WithMany()
 014073                        .HasForeignKey("ModifiedByUserId");
 014074
 014075                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014076                        .WithMany()
 014077                        .HasForeignKey("RecStateId");
 014078                });
 14079
 014080            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Rest", b =>
 014081                {
 014082                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014083                        .WithMany()
 014084                        .HasForeignKey("CreatedByUserId");
 014085
 014086                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 014087                        .WithMany()
 014088                        .HasForeignKey("DepartmentId")
 014089                        .OnDelete(DeleteBehavior.Cascade)
 014090                        .IsRequired();
 014091
 014092                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 014093                        .WithMany("Rests")
 014094                        .HasForeignKey("GoodId")
 014095                        .OnDelete(DeleteBehavior.Cascade)
 014096                        .IsRequired();
 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.RestHold", 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.Good", "Good")
 014114                        .WithMany()
 014115                        .HasForeignKey("GoodId")
 014116                        .OnDelete(DeleteBehavior.Cascade)
 014117                        .IsRequired();
 014118
 014119                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014120                        .WithMany()
 014121                        .HasForeignKey("ModifiedByUserId");
 014122
 014123                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Movement")
 014124                        .WithMany()
 014125                        .HasForeignKey("MovementId")
 014126                        .OnDelete(DeleteBehavior.Cascade)
 014127                        .IsRequired();
 014128
 014129                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014130                        .WithMany()
 014131                        .HasForeignKey("RecStateId");
 014132                });
 14133
 014134            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", b =>
 014135                {
 014136                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014137                        .WithMany()
 014138                        .HasForeignKey("CreatedByUserId");
 014139
 014140                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014141                        .WithMany()
 014142                        .HasForeignKey("ModifiedByUserId");
 014143
 014144                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014145                        .WithMany()
 014146                        .HasForeignKey("RecStateId");
 014147                });
 14148
 014149            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.SupplyContract", b =>
 014150                {
 014151                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Buyer")
 014152                        .WithMany("ContractsAsBuyer")
 014153                        .HasForeignKey("BuyerId")
 014154                        .OnDelete(DeleteBehavior.Cascade)
 014155                        .IsRequired();
 014156
 014157                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014158                        .WithMany()
 014159                        .HasForeignKey("CreatedByUserId");
 014160
 014161                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014162                        .WithMany()
 014163                        .HasForeignKey("ModifiedByUserId");
 014164
 014165                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014166                        .WithMany()
 014167                        .HasForeignKey("RecStateId");
 014168
 014169                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Seller")
 014170                        .WithMany("ContractsAsSeller")
 014171                        .HasForeignKey("SellerId")
 014172                        .OnDelete(DeleteBehavior.Cascade)
 014173                        .IsRequired();
 014174                });
 14175
 014176            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", b =>
 014177                {
 014178                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014179                        .WithMany()
 014180                        .HasForeignKey("CreatedByUserId");
 014181
 014182                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014183                        .WithMany()
 014184                        .HasForeignKey("ModifiedByUserId");
 014185
 014186                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014187                        .WithMany()
 014188                        .HasForeignKey("RecStateId");
 014189                });
 14190
 014191            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", b =>
 014192                {
 014193                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014194                        .WithMany()
 014195                        .HasForeignKey("CreatedByUserId");
 014196
 014197                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014198                        .WithMany()
 014199                        .HasForeignKey("ModifiedByUserId");
 014200
 014201                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014202                        .WithMany()
 014203                        .HasForeignKey("RecStateId");
 014204                });
 14205
 014206            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", b =>
 014207                {
 014208                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014209                        .WithMany()
 014210                        .HasForeignKey("CreatedByUserId");
 014211
 014212                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014213                        .WithMany()
 014214                        .HasForeignKey("ModifiedByUserId");
 014215
 014216                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014217                        .WithMany()
 014218                        .HasForeignKey("RecStateId");
 014219                });
 14220
 014221            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UploadItem", b =>
 014222                {
 014223                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014224                        .WithMany()
 014225                        .HasForeignKey("CreatedByUserId");
 014226
 014227                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014228                        .WithMany()
 014229                        .HasForeignKey("ModifiedByUserId");
 014230
 014231                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014232                        .WithMany()
 014233                        .HasForeignKey("RecStateId");
 014234
 014235                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", null)
 014236                        .WithMany("Items")
 014237                        .HasForeignKey("UploadId")
 014238                        .OnDelete(DeleteBehavior.Cascade)
 014239                        .IsRequired();
 014240                });
 14241
 014242            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", b =>
 014243                {
 014244                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 014245                        .WithMany("User")
 014246                        .HasForeignKey("ContragentId");
 014247
 014248                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014249                        .WithMany()
 014250                        .HasForeignKey("CreatedByUserId");
 014251
 014252                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014253                        .WithMany()
 014254                        .HasForeignKey("ModifiedByUserId");
 014255
 014256                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014257                        .WithMany()
 014258                        .HasForeignKey("RecStateId");
 014259                });
 14260
 014261            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserDepartment", b =>
 014262                {
 014263                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 014264                        .WithMany("UsersDepartments")
 014265                        .HasForeignKey("DepartmentId")
 014266                        .OnDelete(DeleteBehavior.Cascade)
 014267                        .IsRequired();
 014268
 014269                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 014270                        .WithMany("UsersDepartments")
 014271                        .HasForeignKey("UserId")
 014272                        .OnDelete(DeleteBehavior.Cascade)
 014273                        .IsRequired();
 014274                });
 14275
 014276            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserRole", b =>
 014277                {
 014278                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Roles")
 014279                        .WithMany("UsersRoles")
 014280                        .HasForeignKey("RoleId")
 014281                        .OnDelete(DeleteBehavior.Cascade)
 014282                        .IsRequired();
 014283
 014284                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 014285                        .WithMany("UsersRoles")
 014286                        .HasForeignKey("UserId")
 014287                        .OnDelete(DeleteBehavior.Cascade)
 014288                        .IsRequired();
 014289                });
 14290
 014291            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", b =>
 014292                {
 014293                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014294                        .WithMany()
 014295                        .HasForeignKey("CreatedByUserId");
 014296
 014297                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014298                        .WithMany()
 014299                        .HasForeignKey("ModifiedByUserId");
 014300
 014301                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014302                        .WithMany()
 014303                        .HasForeignKey("RecStateId");
 014304                });
 14305
 014306            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransaction", b =>
 014307                {
 014308                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014309                        .WithMany()
 014310                        .HasForeignKey("CreatedByUserId");
 014311
 014312                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014313                        .WithMany()
 014314                        .HasForeignKey("ModifiedByUserId");
 014315
 014316                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Movement")
 014317                        .WithMany()
 014318                        .HasForeignKey("MovementId");
 014319
 014320                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014321                        .WithMany()
 014322                        .HasForeignKey("RecStateId");
 014323
 014324                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", "Status")
 014325                        .WithMany()
 014326                        .HasForeignKey("StatusId");
 014327                });
 14328
 014329            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", b =>
 014330                {
 014331                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014332                        .WithMany()
 014333                        .HasForeignKey("CreatedByUserId");
 014334
 014335                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014336                        .WithMany()
 014337                        .HasForeignKey("ModifiedByUserId");
 014338
 014339                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014340                        .WithMany()
 014341                        .HasForeignKey("RecStateId");
 014342                });
 14343
 014344            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WorkSchedule", b =>
 014345                {
 014346                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014347                        .WithMany()
 014348                        .HasForeignKey("CreatedByUserId");
 014349
 014350                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014351                        .WithMany()
 014352                        .HasForeignKey("ModifiedByUserId");
 014353
 014354                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014355                        .WithMany()
 014356                        .HasForeignKey("RecStateId");
 014357                });
 14358#pragma warning restore 612, 618
 014359        }
 14360    }
 14361}