< Summary

Class:SVETA.Api.Migrations.IREAddFieldStatusToEmail
Assembly:SVETA.Api
File(s):/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200527213452_IRE-AddFieldStatusToEmail.cs
/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200527213452_IRE-AddFieldStatusToEmail.Designer.cs
Covered lines:0
Uncovered lines:14059
Coverable lines:14059
Total lines:14239
Line coverage:0% (0 of 14059)
Covered branches:0
Total branches:264
Branch coverage:0% (0 of 264)

Metrics

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

File(s)

/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200527213452_IRE-AddFieldStatusToEmail.cs

#LineLine coverage
 1using System;
 2using Microsoft.EntityFrameworkCore.Migrations;
 3
 4namespace SVETA.Api.Migrations
 5{
 6    public partial class IREAddFieldStatusToEmail : Migration
 7    {
 8        protected override void Up(MigrationBuilder migrationBuilder)
 09        {
 010            migrationBuilder.DropColumn(
 011                name: "Sent",
 012                table: "Emails");
 13
 014            migrationBuilder.AddColumn<int>(
 015                name: "Status",
 016                table: "Emails",
 017                nullable: false,
 018                defaultValue: 0);
 19
 020            migrationBuilder.UpdateData(
 021                table: "ContragentsKind",
 022                keyColumn: "Id",
 023                keyValue: 2L,
 024                column: "ExternalKey",
 025                value: new Guid("1cf9aefe-7a96-4a88-a1c9-072964c7c6a7"));
 26
 027            migrationBuilder.UpdateData(
 028                table: "ContragentsKind",
 029                keyColumn: "Id",
 030                keyValue: 3L,
 031                column: "ExternalKey",
 032                value: new Guid("ccda4192-5492-4a93-9c3e-f2d1f765d4e5"));
 33
 034            migrationBuilder.UpdateData(
 035                table: "ContragentsKind",
 036                keyColumn: "Id",
 037                keyValue: 4L,
 038                column: "ExternalKey",
 039                value: new Guid("31edf71f-4a7f-44f9-a705-869c38b9c70b"));
 40
 041            migrationBuilder.UpdateData(
 042                table: "ContragentsKind",
 043                keyColumn: "Id",
 044                keyValue: 6L,
 045                column: "ExternalKey",
 046                value: new Guid("4cd0458f-9bb0-4417-92b7-8f4004782d5b"));
 47
 048            migrationBuilder.UpdateData(
 049                table: "ExchangeTokens",
 050                keyColumn: "Id",
 051                keyValue: 1L,
 052                column: "GUID",
 053                value: new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588"));
 54
 055            migrationBuilder.UpdateData(
 056                table: "Users",
 057                keyColumn: "Id",
 058                keyValue: -2L,
 059                column: "ExternalKey",
 060                value: new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"));
 61
 062            migrationBuilder.UpdateData(
 063                table: "Users",
 064                keyColumn: "Id",
 065                keyValue: -1L,
 066                column: "ExternalKey",
 067                value: new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"));
 068        }
 69
 70        protected override void Down(MigrationBuilder migrationBuilder)
 071        {
 072            migrationBuilder.DropColumn(
 073                name: "Status",
 074                table: "Emails");
 75
 076            migrationBuilder.AddColumn<bool>(
 077                name: "Sent",
 078                table: "Emails",
 079                type: "boolean",
 080                nullable: false,
 081                defaultValue: false);
 82
 083            migrationBuilder.UpdateData(
 084                table: "ContragentsKind",
 085                keyColumn: "Id",
 086                keyValue: 2L,
 087                column: "ExternalKey",
 088                value: new Guid("1cf9aefe-7a96-4a88-a1c9-072964c7c6a7"));
 89
 090            migrationBuilder.UpdateData(
 091                table: "ContragentsKind",
 092                keyColumn: "Id",
 093                keyValue: 3L,
 094                column: "ExternalKey",
 095                value: new Guid("ccda4192-5492-4a93-9c3e-f2d1f765d4e5"));
 96
 097            migrationBuilder.UpdateData(
 098                table: "ContragentsKind",
 099                keyColumn: "Id",
 0100                keyValue: 4L,
 0101                column: "ExternalKey",
 0102                value: new Guid("31edf71f-4a7f-44f9-a705-869c38b9c70b"));
 103
 0104            migrationBuilder.UpdateData(
 0105                table: "ContragentsKind",
 0106                keyColumn: "Id",
 0107                keyValue: 6L,
 0108                column: "ExternalKey",
 0109                value: new Guid("4cd0458f-9bb0-4417-92b7-8f4004782d5b"));
 110
 0111            migrationBuilder.UpdateData(
 0112                table: "ExchangeTokens",
 0113                keyColumn: "Id",
 0114                keyValue: 1L,
 0115                column: "GUID",
 0116                value: new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588"));
 117
 0118            migrationBuilder.UpdateData(
 0119                table: "Users",
 0120                keyColumn: "Id",
 0121                keyValue: -2L,
 0122                column: "ExternalKey",
 0123                value: new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"));
 124
 0125            migrationBuilder.UpdateData(
 0126                table: "Users",
 0127                keyColumn: "Id",
 0128                keyValue: -1L,
 0129                column: "ExternalKey",
 0130                value: new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"));
 0131        }
 132    }
 133}

/opt/dev/sveta_api_build/SVETA.Api/Migrations/20200527213452_IRE-AddFieldStatusToEmail.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("20200527213452_IRE-AddFieldStatusToEmail")]
 14    partial class IREAddFieldStatusToEmail
 15    {
 16        protected override void BuildTargetModel(ModelBuilder modelBuilder)
 017        {
 18#pragma warning disable 612, 618
 019            modelBuilder
 020                .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
 021                .HasAnnotation("ProductVersion", "3.1.1")
 022                .HasAnnotation("Relational:MaxIdentifierLength", 63);
 23
 024            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", b =>
 025                {
 026                    b.Property<long>("Id")
 027                        .ValueGeneratedOnAdd()
 028                        .HasColumnType("bigint")
 029                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 030
 031                    b.Property<string>("Building")
 032                        .HasColumnType("text");
 033
 034                    b.Property<string>("City")
 035                        .HasColumnType("text");
 036
 037                    b.Property<long?>("CreatedByUserId")
 038                        .HasColumnType("bigint");
 039
 040                    b.Property<DateTime>("CreationDateTime")
 041                        .HasColumnType("timestamp without time zone");
 042
 043                    b.Property<string>("District")
 044                        .HasColumnType("text");
 045
 046                    b.Property<Guid>("ExternalKey")
 047                        .ValueGeneratedOnAdd()
 048                        .HasColumnType("uuid");
 049
 050                    b.Property<string>("FullAddress")
 051                        .HasColumnType("text");
 052
 053                    b.Property<Guid>("GUID")
 054                        .ValueGeneratedOnAdd()
 055                        .HasColumnType("uuid");
 056
 057                    b.Property<string>("House")
 058                        .HasColumnType("text");
 059
 060                    b.Property<string>("Housing")
 061                        .HasColumnType("text");
 062
 063                    b.Property<string>("Index")
 064                        .HasColumnType("text");
 065
 066                    b.Property<bool>("IsDeleted")
 067                        .HasColumnType("boolean");
 068
 069                    b.Property<string>("Locality")
 070                        .HasColumnType("text");
 071
 072                    b.Property<DateTime?>("ModificationDateTime")
 073                        .HasColumnType("timestamp without time zone");
 074
 075                    b.Property<long?>("ModifiedByUserId")
 076                        .HasColumnType("bigint");
 077
 078                    b.Property<string>("Office")
 079                        .HasColumnType("text");
 080
 081                    b.Property<long?>("RecStateId")
 082                        .HasColumnType("bigint");
 083
 084                    b.Property<string>("Region")
 085                        .HasColumnType("text");
 086
 087                    b.Property<string>("Street")
 088                        .HasColumnType("text");
 089
 090                    b.HasKey("Id");
 091
 092                    b.HasIndex("CreatedByUserId");
 093
 094                    b.HasIndex("ModifiedByUserId");
 095
 096                    b.HasIndex("RecStateId");
 097
 098                    b.ToTable("Address");
 099
 0100                    b.HasData(
 0101                        new
 0102                        {
 0103                            Id = -1L,
 0104                            Building = "1",
 0105                            City = "Краснодар",
 0106                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0107                            District = "Район 9",
 0108                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 0109                            FullAddress = "Краснодар 1",
 0110                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0111                            House = "1",
 0112                            Housing = "1",
 0113                            Index = "1",
 0114                            IsDeleted = false,
 0115                            Locality = "1",
 0116                            Office = "1",
 0117                            Region = "1",
 0118                            Street = "1"
 0119                        });
 0120                });
 121
 0122            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BankAccount", b =>
 0123                {
 0124                    b.Property<long>("Id")
 0125                        .ValueGeneratedOnAdd()
 0126                        .HasColumnType("bigint")
 0127                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0128
 0129                    b.Property<string>("BankName")
 0130                        .IsRequired()
 0131                        .HasColumnType("text");
 0132
 0133                    b.Property<string>("Bik")
 0134                        .IsRequired()
 0135                        .HasColumnType("text");
 0136
 0137                    b.Property<long?>("ContragentId")
 0138                        .HasColumnType("bigint");
 0139
 0140                    b.Property<string>("CorrespondentAccount")
 0141                        .IsRequired()
 0142                        .HasColumnType("text");
 0143
 0144                    b.Property<long?>("CreatedByUserId")
 0145                        .HasColumnType("bigint");
 0146
 0147                    b.Property<DateTime>("CreationDateTime")
 0148                        .HasColumnType("timestamp without time zone");
 0149
 0150                    b.Property<Guid>("GUID")
 0151                        .ValueGeneratedOnAdd()
 0152                        .HasColumnType("uuid");
 0153
 0154                    b.Property<bool>("IsDeleted")
 0155                        .HasColumnType("boolean");
 0156
 0157                    b.Property<DateTime?>("ModificationDateTime")
 0158                        .HasColumnType("timestamp without time zone");
 0159
 0160                    b.Property<long?>("ModifiedByUserId")
 0161                        .HasColumnType("bigint");
 0162
 0163                    b.Property<long?>("RecStateId")
 0164                        .HasColumnType("bigint");
 0165
 0166                    b.Property<string>("SettlementAccount")
 0167                        .IsRequired()
 0168                        .HasColumnType("text");
 0169
 0170                    b.HasKey("Id");
 0171
 0172                    b.HasIndex("ContragentId");
 0173
 0174                    b.HasIndex("CreatedByUserId");
 0175
 0176                    b.HasIndex("ModifiedByUserId");
 0177
 0178                    b.HasIndex("RecStateId");
 0179
 0180                    b.HasIndex("Bik", "SettlementAccount")
 0181                        .IsUnique();
 0182
 0183                    b.ToTable("BankAccounts");
 0184                });
 185
 0186            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BarCode", b =>
 0187                {
 0188                    b.Property<long>("Id")
 0189                        .ValueGeneratedOnAdd()
 0190                        .HasColumnType("bigint")
 0191                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0192
 0193                    b.Property<string>("Code")
 0194                        .HasColumnType("text");
 0195
 0196                    b.Property<long?>("CreatedByUserId")
 0197                        .HasColumnType("bigint");
 0198
 0199                    b.Property<DateTime>("CreationDateTime")
 0200                        .HasColumnType("timestamp without time zone");
 0201
 0202                    b.Property<Guid>("GUID")
 0203                        .ValueGeneratedOnAdd()
 0204                        .HasColumnType("uuid");
 0205
 0206                    b.Property<long?>("GoodId")
 0207                        .HasColumnType("bigint");
 0208
 0209                    b.Property<bool>("IsDeleted")
 0210                        .HasColumnType("boolean");
 0211
 0212                    b.Property<DateTime?>("ModificationDateTime")
 0213                        .HasColumnType("timestamp without time zone");
 0214
 0215                    b.Property<long?>("ModifiedByUserId")
 0216                        .HasColumnType("bigint");
 0217
 0218                    b.Property<long?>("RecStateId")
 0219                        .HasColumnType("bigint");
 0220
 0221                    b.HasKey("Id");
 0222
 0223                    b.HasIndex("Code")
 0224                        .IsUnique();
 0225
 0226                    b.HasIndex("CreatedByUserId");
 0227
 0228                    b.HasIndex("GoodId");
 0229
 0230                    b.HasIndex("ModifiedByUserId");
 0231
 0232                    b.HasIndex("RecStateId");
 0233
 0234                    b.ToTable("BarCodes");
 0235                });
 236
 0237            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", b =>
 0238                {
 0239                    b.Property<long>("Id")
 0240                        .ValueGeneratedOnAdd()
 0241                        .HasColumnType("bigint")
 0242                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0243
 0244                    b.Property<long?>("CreatedByUserId")
 0245                        .HasColumnType("bigint");
 0246
 0247                    b.Property<DateTime>("CreationDateTime")
 0248                        .HasColumnType("timestamp without time zone");
 0249
 0250                    b.Property<Guid>("GUID")
 0251                        .ValueGeneratedOnAdd()
 0252                        .HasColumnType("uuid");
 0253
 0254                    b.Property<bool>("IsDeleted")
 0255                        .HasColumnType("boolean");
 0256
 0257                    b.Property<DateTime?>("ModificationDateTime")
 0258                        .HasColumnType("timestamp without time zone");
 0259
 0260                    b.Property<long?>("ModifiedByUserId")
 0261                        .HasColumnType("bigint");
 0262
 0263                    b.Property<string>("Name")
 0264                        .HasColumnType("text");
 0265
 0266                    b.Property<long?>("ParentId")
 0267                        .HasColumnType("bigint");
 0268
 0269                    b.Property<long?>("RecStateId")
 0270                        .HasColumnType("bigint");
 0271
 0272                    b.HasKey("Id");
 0273
 0274                    b.HasIndex("CreatedByUserId");
 0275
 0276                    b.HasIndex("ModifiedByUserId");
 0277
 0278                    b.HasIndex("Name")
 0279                        .IsUnique();
 0280
 0281                    b.HasIndex("ParentId");
 0282
 0283                    b.HasIndex("RecStateId");
 0284
 0285                    b.ToTable("Brands");
 0286                });
 287
 0288            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", b =>
 0289                {
 0290                    b.Property<long>("Id")
 0291                        .ValueGeneratedOnAdd()
 0292                        .HasColumnType("bigint")
 0293                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0294
 0295                    b.Property<string>("Code")
 0296                        .HasColumnType("text");
 0297
 0298                    b.Property<long?>("CreatedByUserId")
 0299                        .HasColumnType("bigint");
 0300
 0301                    b.Property<DateTime>("CreationDateTime")
 0302                        .HasColumnType("timestamp without time zone");
 0303
 0304                    b.Property<Guid>("GUID")
 0305                        .ValueGeneratedOnAdd()
 0306                        .HasColumnType("uuid");
 0307
 0308                    b.Property<string>("GoogleProductCategoryCode")
 0309                        .HasColumnType("text");
 0310
 0311                    b.Property<bool>("IsDeleted")
 0312                        .HasColumnType("boolean");
 0313
 0314                    b.Property<DateTime?>("ModificationDateTime")
 0315                        .HasColumnType("timestamp without time zone");
 0316
 0317                    b.Property<long?>("ModifiedByUserId")
 0318                        .HasColumnType("bigint");
 0319
 0320                    b.Property<string>("Name")
 0321                        .HasColumnType("text");
 0322
 0323                    b.Property<long?>("ParentId")
 0324                        .HasColumnType("bigint");
 0325
 0326                    b.Property<long?>("RecStateId")
 0327                        .HasColumnType("bigint");
 0328
 0329                    b.HasKey("Id");
 0330
 0331                    b.HasIndex("Code")
 0332                        .IsUnique();
 0333
 0334                    b.HasIndex("CreatedByUserId");
 0335
 0336                    b.HasIndex("ModifiedByUserId");
 0337
 0338                    b.HasIndex("Name")
 0339                        .IsUnique();
 0340
 0341                    b.HasIndex("ParentId");
 0342
 0343                    b.HasIndex("RecStateId");
 0344
 0345                    b.ToTable("Categories");
 0346                });
 347
 0348            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Cluster", b =>
 0349                {
 0350                    b.Property<long>("Id")
 0351                        .ValueGeneratedOnAdd()
 0352                        .HasColumnType("bigint")
 0353                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0354
 0355                    b.Property<long?>("CreatedByUserId")
 0356                        .HasColumnType("bigint");
 0357
 0358                    b.Property<DateTime>("CreationDateTime")
 0359                        .HasColumnType("timestamp without time zone");
 0360
 0361                    b.Property<Guid>("GUID")
 0362                        .ValueGeneratedOnAdd()
 0363                        .HasColumnType("uuid");
 0364
 0365                    b.Property<bool>("IsDeleted")
 0366                        .HasColumnType("boolean");
 0367
 0368                    b.Property<decimal>("MinOrderSum")
 0369                        .HasColumnType("numeric");
 0370
 0371                    b.Property<DateTime?>("ModificationDateTime")
 0372                        .HasColumnType("timestamp without time zone");
 0373
 0374                    b.Property<long?>("ModifiedByUserId")
 0375                        .HasColumnType("bigint");
 0376
 0377                    b.Property<string>("Name")
 0378                        .IsRequired()
 0379                        .HasColumnType("text");
 0380
 0381                    b.Property<long?>("RecStateId")
 0382                        .HasColumnType("bigint");
 0383
 0384                    b.Property<decimal>("TradeRatio")
 0385                        .HasColumnType("numeric");
 0386
 0387                    b.Property<long>("WarehouseId")
 0388                        .HasColumnType("bigint");
 0389
 0390                    b.HasKey("Id");
 0391
 0392                    b.HasIndex("CreatedByUserId");
 0393
 0394                    b.HasIndex("ModifiedByUserId");
 0395
 0396                    b.HasIndex("Name");
 0397
 0398                    b.HasIndex("RecStateId");
 0399
 0400                    b.HasIndex("WarehouseId");
 0401
 0402                    b.ToTable("Clusters");
 0403                });
 404
 0405            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Configuration", b =>
 0406                {
 0407                    b.Property<long>("Id")
 0408                        .ValueGeneratedOnAdd()
 0409                        .HasColumnType("bigint")
 0410                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 0411                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0412
 0413                    b.Property<long?>("CreatedByUserId")
 0414                        .HasColumnType("bigint");
 0415
 0416                    b.Property<DateTime>("CreationDateTime")
 0417                        .HasColumnType("timestamp without time zone");
 0418
 0419                    b.Property<bool>("Encrypted")
 0420                        .HasColumnType("boolean");
 0421
 0422                    b.Property<Guid>("GUID")
 0423                        .ValueGeneratedOnAdd()
 0424                        .HasColumnType("uuid");
 0425
 0426                    b.Property<bool>("IsDeleted")
 0427                        .HasColumnType("boolean");
 0428
 0429                    b.Property<string>("Key")
 0430                        .IsRequired()
 0431                        .HasColumnType("text");
 0432
 0433                    b.Property<DateTime?>("ModificationDateTime")
 0434                        .HasColumnType("timestamp without time zone");
 0435
 0436                    b.Property<long?>("ModifiedByUserId")
 0437                        .HasColumnType("bigint");
 0438
 0439                    b.Property<long?>("RecStateId")
 0440                        .HasColumnType("bigint");
 0441
 0442                    b.Property<string>("Section")
 0443                        .HasColumnType("text");
 0444
 0445                    b.Property<string>("Value")
 0446                        .IsRequired()
 0447                        .HasColumnType("text");
 0448
 0449                    b.Property<long>("ValueTypeId")
 0450                        .HasColumnType("bigint");
 0451
 0452                    b.HasKey("Id");
 0453
 0454                    b.HasIndex("CreatedByUserId");
 0455
 0456                    b.HasIndex("ModifiedByUserId");
 0457
 0458                    b.HasIndex("RecStateId");
 0459
 0460                    b.HasIndex("ValueTypeId");
 0461
 0462                    b.HasIndex("Section", "Key")
 0463                        .IsUnique();
 0464
 0465                    b.ToTable("Configurations");
 0466
 0467                    b.HasData(
 0468                        new
 0469                        {
 0470                            Id = 3L,
 0471                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0472                            Encrypted = false,
 0473                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0474                            IsDeleted = false,
 0475                            Key = "CorsOn",
 0476                            Section = "GlobalCorsSettings",
 0477                            Value = "false",
 0478                            ValueTypeId = 4L
 0479                        },
 0480                        new
 0481                        {
 0482                            Id = 4L,
 0483                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0484                            Encrypted = false,
 0485                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0486                            IsDeleted = false,
 0487                            Key = "SyncOn",
 0488                            Section = "CrmSettings",
 0489                            Value = "true",
 0490                            ValueTypeId = 4L
 0491                        },
 0492                        new
 0493                        {
 0494                            Id = 10L,
 0495                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0496                            Encrypted = false,
 0497                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0498                            IsDeleted = false,
 0499                            Key = "SmtpServer",
 0500                            Section = "EmailSettings",
 0501                            Value = "outlook.office365.com",
 0502                            ValueTypeId = 1L
 0503                        },
 0504                        new
 0505                        {
 0506                            Id = 11L,
 0507                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0508                            Encrypted = false,
 0509                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0510                            IsDeleted = false,
 0511                            Key = "Port",
 0512                            Section = "EmailSettings",
 0513                            Value = "587",
 0514                            ValueTypeId = 2L
 0515                        },
 0516                        new
 0517                        {
 0518                            Id = 12L,
 0519                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0520                            Encrypted = true,
 0521                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0522                            IsDeleted = false,
 0523                            Key = "Login",
 0524                            Section = "EmailSettings",
 0525                            Value = "a59+TrZu+PLxEMGYb404fD5fIP84L7tA/Djr4T8Y8nH88XOONOGuCyjTEiYL+CYt",
 0526                            ValueTypeId = 1L
 0527                        },
 0528                        new
 0529                        {
 0530                            Id = 13L,
 0531                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0532                            Encrypted = true,
 0533                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0534                            IsDeleted = false,
 0535                            Key = "Password",
 0536                            Section = "EmailSettings",
 0537                            Value = "YBKE81r8NUHAbZhj7Czg3gWTU8uY6U09GBP/s4lZRlc=",
 0538                            ValueTypeId = 1L
 0539                        },
 0540                        new
 0541                        {
 0542                            Id = 14L,
 0543                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0544                            Encrypted = false,
 0545                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0546                            IsDeleted = false,
 0547                            Key = "From",
 0548                            Section = "EmailSettings",
 0549                            Value = "no-reply@team.vtbconnect.ru",
 0550                            ValueTypeId = 1L
 0551                        },
 0552                        new
 0553                        {
 0554                            Id = 15L,
 0555                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0556                            Encrypted = false,
 0557                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0558                            IsDeleted = false,
 0559                            Key = "ChangeTransaction",
 0560                            Section = "WalletSettings",
 0561                            Value = "transaction/change_deal_distributor",
 0562                            ValueTypeId = 1L
 0563                        },
 0564                        new
 0565                        {
 0566                            Id = 16L,
 0567                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0568                            Encrypted = false,
 0569                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0570                            IsDeleted = false,
 0571                            Key = "CheckChangeTransaction",
 0572                            Section = "WalletSettings",
 0573                            Value = "transaction/change_distributor",
 0574                            ValueTypeId = 1L
 0575                        },
 0576                        new
 0577                        {
 0578                            Id = 17L,
 0579                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0580                            Encrypted = false,
 0581                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0582                            IsDeleted = false,
 0583                            Key = "GetTransaction",
 0584                            Section = "WalletSettings",
 0585                            Value = "transaction/get",
 0586                            ValueTypeId = 1L
 0587                        },
 0588                        new
 0589                        {
 0590                            Id = 18L,
 0591                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0592                            Encrypted = false,
 0593                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0594                            IsDeleted = false,
 0595                            Key = "AccountHistory",
 0596                            Section = "WalletSettings",
 0597                            Value = "record/get_full",
 0598                            ValueTypeId = 1L
 0599                        },
 0600                        new
 0601                        {
 0602                            Id = 22L,
 0603                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0604                            Encrypted = false,
 0605                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0606                            IsDeleted = false,
 0607                            Key = "GetAcc",
 0608                            Section = "WalletSettings",
 0609                            Value = "acc/get",
 0610                            ValueTypeId = 1L
 0611                        },
 0612                        new
 0613                        {
 0614                            Id = 23L,
 0615                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0616                            Encrypted = false,
 0617                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0618                            IsDeleted = false,
 0619                            Key = "GetAccBalanceFree",
 0620                            Section = "WalletSettings",
 0621                            Value = "acc/balance_free",
 0622                            ValueTypeId = 1L
 0623                        },
 0624                        new
 0625                        {
 0626                            Id = 24L,
 0627                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0628                            Encrypted = false,
 0629                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0630                            IsDeleted = false,
 0631                            Key = "ActionTransaction",
 0632                            Section = "WalletSettings",
 0633                            Value = "transaction/action",
 0634                            ValueTypeId = 1L
 0635                        },
 0636                        new
 0637                        {
 0638                            Id = 25L,
 0639                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0640                            Encrypted = false,
 0641                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0642                            IsDeleted = false,
 0643                            Key = "CreateTransaction",
 0644                            Section = "WalletSettings",
 0645                            Value = "transaction/create",
 0646                            ValueTypeId = 1L
 0647                        },
 0648                        new
 0649                        {
 0650                            Id = 26L,
 0651                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0652                            Encrypted = false,
 0653                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0654                            IsDeleted = false,
 0655                            Key = "ServiceUserTID",
 0656                            Section = "AuthenticationSettings",
 0657                            Value = "964c5734-ba34-43d0-8770-b22b665e9abd",
 0658                            ValueTypeId = 5L
 0659                        },
 0660                        new
 0661                        {
 0662                            Id = 27L,
 0663                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0664                            Encrypted = false,
 0665                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0666                            IsDeleted = false,
 0667                            Key = "AnonymUserTID",
 0668                            Section = "AuthenticationSettings",
 0669                            Value = "3ce2ae32-9028-46b6-afbe-ad4feec0a016",
 0670                            ValueTypeId = 5L
 0671                        },
 0672                        new
 0673                        {
 0674                            Id = 28L,
 0675                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0676                            Encrypted = false,
 0677                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0678                            IsDeleted = false,
 0679                            Key = "FrequencyTime",
 0680                            Section = "FeedsSettings",
 0681                            Value = "1",
 0682                            ValueTypeId = 2L
 0683                        },
 0684                        new
 0685                        {
 0686                            Id = 29L,
 0687                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0688                            Encrypted = false,
 0689                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0690                            IsDeleted = false,
 0691                            Key = "YandexTimestamp",
 0692                            Section = "FeedsSettings",
 0693                            Value = "01.01.1900 00:00:00",
 0694                            ValueTypeId = 3L
 0695                        },
 0696                        new
 0697                        {
 0698                            Id = 30L,
 0699                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0700                            Encrypted = false,
 0701                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0702                            IsDeleted = false,
 0703                            Key = "GoogleTimestamp",
 0704                            Section = "FeedsSettings",
 0705                            Value = "01.01.1900 00:00:00",
 0706                            ValueTypeId = 3L
 0707                        },
 0708                        new
 0709                        {
 0710                            Id = 31L,
 0711                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0712                            Encrypted = false,
 0713                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0714                            IsDeleted = false,
 0715                            Key = "FullSizeUrlPlaceholder",
 0716                            Section = "ImageSettings",
 0717                            Value = "fullsizeplaceholder.jpg",
 0718                            ValueTypeId = 1L
 0719                        },
 0720                        new
 0721                        {
 0722                            Id = 32L,
 0723                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0724                            Encrypted = false,
 0725                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0726                            IsDeleted = false,
 0727                            Key = "PreviewUrlPlaceholder",
 0728                            Section = "ImageSettings",
 0729                            Value = "previewplaceholder.jpg",
 0730                            ValueTypeId = 1L
 0731                        },
 0732                        new
 0733                        {
 0734                            Id = 33L,
 0735                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0736                            Encrypted = false,
 0737                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0738                            IsDeleted = false,
 0739                            Key = "AllowedExtensions",
 0740                            Section = "ImageSettings",
 0741                            Value = ".jpg,.png,.jpeg",
 0742                            ValueTypeId = 1L
 0743                        });
 0744                });
 745
 0746            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ConfigurationsDataType", b =>
 0747                {
 0748                    b.Property<long>("Id")
 0749                        .ValueGeneratedOnAdd()
 0750                        .HasColumnType("bigint")
 0751                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 0752                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0753
 0754                    b.Property<long?>("CreatedByUserId")
 0755                        .HasColumnType("bigint");
 0756
 0757                    b.Property<DateTime>("CreationDateTime")
 0758                        .HasColumnType("timestamp without time zone");
 0759
 0760                    b.Property<string>("Description")
 0761                        .HasColumnType("text");
 0762
 0763                    b.Property<Guid>("GUID")
 0764                        .ValueGeneratedOnAdd()
 0765                        .HasColumnType("uuid");
 0766
 0767                    b.Property<bool>("IsDeleted")
 0768                        .HasColumnType("boolean");
 0769
 0770                    b.Property<DateTime?>("ModificationDateTime")
 0771                        .HasColumnType("timestamp without time zone");
 0772
 0773                    b.Property<long?>("ModifiedByUserId")
 0774                        .HasColumnType("bigint");
 0775
 0776                    b.Property<string>("Name")
 0777                        .IsRequired()
 0778                        .HasColumnType("text");
 0779
 0780                    b.Property<long?>("RecStateId")
 0781                        .HasColumnType("bigint");
 0782
 0783                    b.HasKey("Id");
 0784
 0785                    b.HasIndex("CreatedByUserId");
 0786
 0787                    b.HasIndex("ModifiedByUserId");
 0788
 0789                    b.HasIndex("RecStateId");
 0790
 0791                    b.ToTable("ConfigurationsDataTypes");
 0792
 0793                    b.HasData(
 0794                        new
 0795                        {
 0796                            Id = 1L,
 0797                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0798                            Description = "Строковое значение",
 0799                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0800                            IsDeleted = false,
 0801                            Name = "string"
 0802                        },
 0803                        new
 0804                        {
 0805                            Id = 2L,
 0806                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0807                            Description = "Целочисленное значение",
 0808                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0809                            IsDeleted = false,
 0810                            Name = "int"
 0811                        },
 0812                        new
 0813                        {
 0814                            Id = 3L,
 0815                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0816                            Description = "Дата и время",
 0817                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0818                            IsDeleted = false,
 0819                            Name = "datetime"
 0820                        },
 0821                        new
 0822                        {
 0823                            Id = 4L,
 0824                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0825                            Description = "Логическое значение",
 0826                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0827                            IsDeleted = false,
 0828                            Name = "bool"
 0829                        },
 0830                        new
 0831                        {
 0832                            Id = 5L,
 0833                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0834                            Description = "Гуид",
 0835                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0836                            IsDeleted = false,
 0837                            Name = "guid"
 0838                        });
 0839                });
 840
 0841            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", b =>
 0842                {
 0843                    b.Property<long>("Id")
 0844                        .ValueGeneratedOnAdd()
 0845                        .HasColumnType("bigint")
 0846                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 0847
 0848                    b.Property<string>("BankName")
 0849                        .HasColumnType("text");
 0850
 0851                    b.Property<string>("Bik")
 0852                        .HasColumnType("text");
 0853
 0854                    b.Property<string>("ChiefAccountant")
 0855                        .IsRequired()
 0856                        .HasColumnType("text");
 0857
 0858                    b.Property<long>("ContragentsKindId")
 0859                        .HasColumnType("bigint");
 0860
 0861                    b.Property<long?>("CreatedByUserId")
 0862                        .HasColumnType("bigint");
 0863
 0864                    b.Property<DateTime>("CreationDateTime")
 0865                        .HasColumnType("timestamp without time zone");
 0866
 0867                    b.Property<string>("Email")
 0868                        .IsRequired()
 0869                        .HasColumnType("text");
 0870
 0871                    b.Property<Guid>("ExternalKey")
 0872                        .ValueGeneratedOnAdd()
 0873                        .HasColumnType("uuid");
 0874
 0875                    b.Property<string>("FullName")
 0876                        .IsRequired()
 0877                        .HasColumnType("text");
 0878
 0879                    b.Property<Guid>("GUID")
 0880                        .ValueGeneratedOnAdd()
 0881                        .HasColumnType("uuid");
 0882
 0883                    b.Property<string>("Inn")
 0884                        .IsRequired()
 0885                        .HasColumnType("text");
 0886
 0887                    b.Property<bool>("IsDeleted")
 0888                        .HasColumnType("boolean");
 0889
 0890                    b.Property<long>("JuridicAddressId")
 0891                        .HasColumnType("bigint");
 0892
 0893                    b.Property<string>("Kpp")
 0894                        .IsRequired()
 0895                        .HasColumnType("text");
 0896
 0897                    b.Property<DateTime?>("ModificationDateTime")
 0898                        .HasColumnType("timestamp without time zone");
 0899
 0900                    b.Property<long?>("ModifiedByUserId")
 0901                        .HasColumnType("bigint");
 0902
 0903                    b.Property<string>("Ogrn")
 0904                        .IsRequired()
 0905                        .HasColumnType("text");
 0906
 0907                    b.Property<string>("Okato")
 0908                        .HasColumnType("text");
 0909
 0910                    b.Property<string>("Okpo")
 0911                        .HasColumnType("text");
 0912
 0913                    b.Property<string>("Okved")
 0914                        .HasColumnType("text");
 0915
 0916                    b.Property<long>("OwnerId")
 0917                        .HasColumnType("bigint");
 0918
 0919                    b.Property<string>("PhoneNumber")
 0920                        .IsRequired()
 0921                        .HasColumnType("text");
 0922
 0923                    b.Property<long>("PhysicAddressId")
 0924                        .HasColumnType("bigint");
 0925
 0926                    b.Property<long?>("RecStateId")
 0927                        .HasColumnType("bigint");
 0928
 0929                    b.Property<string>("SettlementAccount")
 0930                        .HasColumnType("text");
 0931
 0932                    b.Property<string>("ShortName")
 0933                        .IsRequired()
 0934                        .HasColumnType("text");
 0935
 0936                    b.Property<string>("TaxSystemCRM")
 0937                        .IsRequired()
 0938                        .HasColumnType("text");
 0939
 0940                    b.Property<long?>("TaxSystemId")
 0941                        .HasColumnType("bigint");
 0942
 0943                    b.Property<string>("WalletId")
 0944                        .IsRequired()
 0945                        .HasColumnType("text");
 0946
 0947                    b.Property<string>("WalletShortId")
 0948                        .IsRequired()
 0949                        .HasColumnType("text");
 0950
 0951                    b.Property<string>("WebSite")
 0952                        .HasColumnType("text");
 0953
 0954                    b.Property<string>("СorrespondentAccount")
 0955                        .HasColumnType("text");
 0956
 0957                    b.HasKey("Id");
 0958
 0959                    b.HasIndex("ContragentsKindId");
 0960
 0961                    b.HasIndex("CreatedByUserId");
 0962
 0963                    b.HasIndex("JuridicAddressId");
 0964
 0965                    b.HasIndex("ModifiedByUserId");
 0966
 0967                    b.HasIndex("OwnerId");
 0968
 0969                    b.HasIndex("PhysicAddressId");
 0970
 0971                    b.HasIndex("RecStateId");
 0972
 0973                    b.HasIndex("TaxSystemId");
 0974
 0975                    b.HasIndex("Inn", "Kpp")
 0976                        .IsUnique();
 0977
 0978                    b.ToTable("Contragents");
 0979
 0980                    b.HasData(
 0981                        new
 0982                        {
 0983                            Id = -1L,
 0984                            ChiefAccountant = "1",
 0985                            ContragentsKindId = 2L,
 0986                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 0987                            Email = "example@email.ru",
 0988                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 0989                            FullName = "Общество с ограниченной ответственностью Демонстрационный контрагент",
 0990                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 0991                            Inn = "2",
 0992                            IsDeleted = false,
 0993                            JuridicAddressId = -1L,
 0994                            Kpp = "2",
 0995                            Ogrn = "2",
 0996                            Okato = "1",
 0997                            Okpo = "1",
 0998                            Okved = "1",
 0999                            OwnerId = -2L,
 01000                            PhoneNumber = "88008008000",
 01001                            PhysicAddressId = -1L,
 01002                            RecStateId = 2L,
 01003                            ShortName = "ООО Демонстрационный контрагент",
 01004                            TaxSystemCRM = "",
 01005                            TaxSystemId = 1L,
 01006                            WalletId = "",
 01007                            WalletShortId = "",
 01008                            WebSite = "www.example.com"
 01009                        },
 01010                        new
 01011                        {
 01012                            Id = -2L,
 01013                            ChiefAccountant = "1",
 01014                            ContragentsKindId = 6L,
 01015                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01016                            Email = "service@email.ru",
 01017                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 01018                            FullName = "ООО Сервисный контрагент",
 01019                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01020                            Inn = "1",
 01021                            IsDeleted = false,
 01022                            JuridicAddressId = -1L,
 01023                            Kpp = "1",
 01024                            Ogrn = "1",
 01025                            Okato = "1",
 01026                            Okpo = "1",
 01027                            Okved = "1",
 01028                            OwnerId = -1L,
 01029                            PhoneNumber = "1",
 01030                            PhysicAddressId = -1L,
 01031                            RecStateId = 2L,
 01032                            ShortName = "Сервисный контрагент",
 01033                            TaxSystemCRM = "",
 01034                            TaxSystemId = 1L,
 01035                            WalletId = "",
 01036                            WalletShortId = "",
 01037                            WebSite = "1"
 01038                        });
 01039                });
 1040
 01041            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ContragentsKind", b =>
 01042                {
 01043                    b.Property<long>("Id")
 01044                        .ValueGeneratedOnAdd()
 01045                        .HasColumnType("bigint")
 01046                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 01047                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 01048
 01049                    b.Property<string>("Code")
 01050                        .IsRequired()
 01051                        .HasColumnType("text");
 01052
 01053                    b.Property<long?>("CreatedByUserId")
 01054                        .HasColumnType("bigint");
 01055
 01056                    b.Property<DateTime>("CreationDateTime")
 01057                        .HasColumnType("timestamp without time zone");
 01058
 01059                    b.Property<string>("Description")
 01060                        .HasColumnType("text");
 01061
 01062                    b.Property<Guid>("ExternalKey")
 01063                        .ValueGeneratedOnAdd()
 01064                        .HasColumnType("uuid");
 01065
 01066                    b.Property<Guid>("GUID")
 01067                        .ValueGeneratedOnAdd()
 01068                        .HasColumnType("uuid");
 01069
 01070                    b.Property<bool>("IsDeleted")
 01071                        .HasColumnType("boolean");
 01072
 01073                    b.Property<DateTime?>("ModificationDateTime")
 01074                        .HasColumnType("timestamp without time zone");
 01075
 01076                    b.Property<long?>("ModifiedByUserId")
 01077                        .HasColumnType("bigint");
 01078
 01079                    b.Property<string>("Name")
 01080                        .IsRequired()
 01081                        .HasColumnType("text");
 01082
 01083                    b.Property<long?>("RecStateId")
 01084                        .HasColumnType("bigint");
 01085
 01086                    b.HasKey("Id");
 01087
 01088                    b.HasIndex("CreatedByUserId");
 01089
 01090                    b.HasIndex("ModifiedByUserId");
 01091
 01092                    b.HasIndex("RecStateId");
 01093
 01094                    b.ToTable("ContragentsKind");
 01095
 01096                    b.HasData(
 01097                        new
 01098                        {
 01099                            Id = 1L,
 01100                            Code = "Unknown",
 01101                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01102                            Description = "",
 01103                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 01104                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01105                            IsDeleted = false,
 01106                            Name = "Неизвестный"
 01107                        },
 01108                        new
 01109                        {
 01110                            Id = 2L,
 01111                            Code = "Retailer",
 01112                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01113                            Description = "",
 01114                            ExternalKey = new Guid("1cf9aefe-7a96-4a88-a1c9-072964c7c6a7"),
 01115                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01116                            IsDeleted = false,
 01117                            Name = "Магазин"
 01118                        },
 01119                        new
 01120                        {
 01121                            Id = 3L,
 01122                            Code = "Wholesaler",
 01123                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01124                            Description = "",
 01125                            ExternalKey = new Guid("ccda4192-5492-4a93-9c3e-f2d1f765d4e5"),
 01126                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01127                            IsDeleted = false,
 01128                            Name = "Дистрибьютор"
 01129                        },
 01130                        new
 01131                        {
 01132                            Id = 4L,
 01133                            Code = "Manufacturer",
 01134                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01135                            Description = "",
 01136                            ExternalKey = new Guid("31edf71f-4a7f-44f9-a705-869c38b9c70b"),
 01137                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01138                            IsDeleted = false,
 01139                            Name = "Производитель"
 01140                        },
 01141                        new
 01142                        {
 01143                            Id = 5L,
 01144                            Code = "Supplier",
 01145                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01146                            Description = "В будущем надо удалить",
 01147                            ExternalKey = new Guid("00000000-0000-0000-0000-000000000000"),
 01148                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01149                            IsDeleted = false,
 01150                            Name = "---"
 01151                        },
 01152                        new
 01153                        {
 01154                            Id = 6L,
 01155                            Code = "Platform",
 01156                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01157                            Description = "",
 01158                            ExternalKey = new Guid("4cd0458f-9bb0-4417-92b7-8f4004782d5b"),
 01159                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01160                            IsDeleted = false,
 01161                            Name = "Платформа"
 01162                        });
 01163                });
 1164
 01165            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ControlAccess", b =>
 01166                {
 01167                    b.Property<long>("Id")
 01168                        .ValueGeneratedOnAdd()
 01169                        .HasColumnType("bigint")
 01170                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 01171                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 01172
 01173                    b.Property<long>("ActionId")
 01174                        .HasColumnType("bigint");
 01175
 01176                    b.Property<bool?>("Available")
 01177                        .HasColumnType("boolean");
 01178
 01179                    b.Property<long?>("CreatedByUserId")
 01180                        .HasColumnType("bigint");
 01181
 01182                    b.Property<DateTime>("CreationDateTime")
 01183                        .HasColumnType("timestamp without time zone");
 01184
 01185                    b.Property<Guid>("GUID")
 01186                        .ValueGeneratedOnAdd()
 01187                        .HasColumnType("uuid");
 01188
 01189                    b.Property<bool>("IsDeleted")
 01190                        .HasColumnType("boolean");
 01191
 01192                    b.Property<DateTime?>("ModificationDateTime")
 01193                        .HasColumnType("timestamp without time zone");
 01194
 01195                    b.Property<long?>("ModifiedByUserId")
 01196                        .HasColumnType("bigint");
 01197
 01198                    b.Property<long?>("RecStateId")
 01199                        .HasColumnType("bigint");
 01200
 01201                    b.Property<long>("RoleId")
 01202                        .HasColumnType("bigint");
 01203
 01204                    b.HasKey("Id");
 01205
 01206                    b.HasIndex("CreatedByUserId");
 01207
 01208                    b.HasIndex("ModifiedByUserId");
 01209
 01210                    b.HasIndex("RecStateId");
 01211
 01212                    b.HasIndex("RoleId");
 01213
 01214                    b.HasIndex("ActionId", "Available", "RoleId")
 01215                        .IsUnique();
 01216
 01217                    b.ToTable("ControlsAccess");
 01218
 01219                    b.HasData(
 01220                        new
 01221                        {
 01222                            Id = 26L,
 01223                            ActionId = 8L,
 01224                            Available = true,
 01225                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01226                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01227                            IsDeleted = false,
 01228                            RoleId = 1L
 01229                        },
 01230                        new
 01231                        {
 01232                            Id = 27L,
 01233                            ActionId = 4L,
 01234                            Available = true,
 01235                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01236                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01237                            IsDeleted = false,
 01238                            RoleId = 1L
 01239                        },
 01240                        new
 01241                        {
 01242                            Id = 28L,
 01243                            ActionId = 9L,
 01244                            Available = true,
 01245                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01246                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01247                            IsDeleted = false,
 01248                            RoleId = 1L
 01249                        },
 01250                        new
 01251                        {
 01252                            Id = 29L,
 01253                            ActionId = 11L,
 01254                            Available = true,
 01255                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01256                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01257                            IsDeleted = false,
 01258                            RoleId = 1L
 01259                        },
 01260                        new
 01261                        {
 01262                            Id = 30L,
 01263                            ActionId = 6L,
 01264                            Available = true,
 01265                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01266                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01267                            IsDeleted = false,
 01268                            RoleId = 1L
 01269                        },
 01270                        new
 01271                        {
 01272                            Id = 31L,
 01273                            ActionId = 13L,
 01274                            Available = true,
 01275                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01276                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01277                            IsDeleted = false,
 01278                            RoleId = 1L
 01279                        },
 01280                        new
 01281                        {
 01282                            Id = 32L,
 01283                            ActionId = 12L,
 01284                            Available = true,
 01285                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01286                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01287                            IsDeleted = false,
 01288                            RoleId = 1L
 01289                        },
 01290                        new
 01291                        {
 01292                            Id = 33L,
 01293                            ActionId = 5L,
 01294                            Available = true,
 01295                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01296                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01297                            IsDeleted = false,
 01298                            RoleId = 1L
 01299                        },
 01300                        new
 01301                        {
 01302                            Id = 34L,
 01303                            ActionId = 8L,
 01304                            Available = true,
 01305                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01306                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01307                            IsDeleted = false,
 01308                            RoleId = 2L
 01309                        },
 01310                        new
 01311                        {
 01312                            Id = 35L,
 01313                            ActionId = 4L,
 01314                            Available = true,
 01315                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01316                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01317                            IsDeleted = false,
 01318                            RoleId = 2L
 01319                        },
 01320                        new
 01321                        {
 01322                            Id = 36L,
 01323                            ActionId = 9L,
 01324                            Available = true,
 01325                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01326                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01327                            IsDeleted = false,
 01328                            RoleId = 2L
 01329                        },
 01330                        new
 01331                        {
 01332                            Id = 37L,
 01333                            ActionId = 11L,
 01334                            Available = true,
 01335                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01336                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01337                            IsDeleted = false,
 01338                            RoleId = 2L
 01339                        },
 01340                        new
 01341                        {
 01342                            Id = 38L,
 01343                            ActionId = 6L,
 01344                            Available = true,
 01345                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01346                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01347                            IsDeleted = false,
 01348                            RoleId = 2L
 01349                        },
 01350                        new
 01351                        {
 01352                            Id = 39L,
 01353                            ActionId = 13L,
 01354                            Available = true,
 01355                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01356                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01357                            IsDeleted = false,
 01358                            RoleId = 2L
 01359                        },
 01360                        new
 01361                        {
 01362                            Id = 40L,
 01363                            ActionId = 12L,
 01364                            Available = true,
 01365                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01366                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01367                            IsDeleted = false,
 01368                            RoleId = 2L
 01369                        },
 01370                        new
 01371                        {
 01372                            Id = 41L,
 01373                            ActionId = 5L,
 01374                            Available = true,
 01375                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01376                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01377                            IsDeleted = false,
 01378                            RoleId = 2L
 01379                        },
 01380                        new
 01381                        {
 01382                            Id = 42L,
 01383                            ActionId = 9L,
 01384                            Available = true,
 01385                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01386                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01387                            IsDeleted = false,
 01388                            RoleId = 6L
 01389                        },
 01390                        new
 01391                        {
 01392                            Id = 43L,
 01393                            ActionId = 11L,
 01394                            Available = true,
 01395                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01396                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01397                            IsDeleted = false,
 01398                            RoleId = 6L
 01399                        },
 01400                        new
 01401                        {
 01402                            Id = 44L,
 01403                            ActionId = 8L,
 01404                            Available = false,
 01405                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01406                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01407                            IsDeleted = false,
 01408                            RoleId = 6L
 01409                        },
 01410                        new
 01411                        {
 01412                            Id = 45L,
 01413                            ActionId = 4L,
 01414                            Available = true,
 01415                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01416                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01417                            IsDeleted = false,
 01418                            RoleId = 6L
 01419                        },
 01420                        new
 01421                        {
 01422                            Id = 46L,
 01423                            ActionId = 6L,
 01424                            Available = true,
 01425                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01426                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01427                            IsDeleted = false,
 01428                            RoleId = 6L
 01429                        },
 01430                        new
 01431                        {
 01432                            Id = 47L,
 01433                            ActionId = 13L,
 01434                            Available = true,
 01435                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01436                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01437                            IsDeleted = false,
 01438                            RoleId = 6L
 01439                        },
 01440                        new
 01441                        {
 01442                            Id = 48L,
 01443                            ActionId = 5L,
 01444                            Available = true,
 01445                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01446                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01447                            IsDeleted = false,
 01448                            RoleId = 6L
 01449                        },
 01450                        new
 01451                        {
 01452                            Id = 49L,
 01453                            ActionId = 9L,
 01454                            Available = true,
 01455                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01456                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01457                            IsDeleted = false,
 01458                            RoleId = 7L
 01459                        },
 01460                        new
 01461                        {
 01462                            Id = 50L,
 01463                            ActionId = 11L,
 01464                            Available = true,
 01465                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01466                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01467                            IsDeleted = false,
 01468                            RoleId = 7L
 01469                        },
 01470                        new
 01471                        {
 01472                            Id = 51L,
 01473                            ActionId = 8L,
 01474                            Available = false,
 01475                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01476                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01477                            IsDeleted = false,
 01478                            RoleId = 7L
 01479                        },
 01480                        new
 01481                        {
 01482                            Id = 52L,
 01483                            ActionId = 4L,
 01484                            Available = true,
 01485                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01486                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01487                            IsDeleted = false,
 01488                            RoleId = 7L
 01489                        },
 01490                        new
 01491                        {
 01492                            Id = 53L,
 01493                            ActionId = 6L,
 01494                            Available = true,
 01495                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01496                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01497                            IsDeleted = false,
 01498                            RoleId = 7L
 01499                        },
 01500                        new
 01501                        {
 01502                            Id = 54L,
 01503                            ActionId = 13L,
 01504                            Available = true,
 01505                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01506                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01507                            IsDeleted = false,
 01508                            RoleId = 7L
 01509                        },
 01510                        new
 01511                        {
 01512                            Id = 55L,
 01513                            ActionId = 5L,
 01514                            Available = true,
 01515                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01516                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01517                            IsDeleted = false,
 01518                            RoleId = 7L
 01519                        },
 01520                        new
 01521                        {
 01522                            Id = 56L,
 01523                            ActionId = 9L,
 01524                            Available = true,
 01525                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01526                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01527                            IsDeleted = false,
 01528                            RoleId = 8L
 01529                        },
 01530                        new
 01531                        {
 01532                            Id = 57L,
 01533                            ActionId = 11L,
 01534                            Available = true,
 01535                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01536                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01537                            IsDeleted = false,
 01538                            RoleId = 8L
 01539                        },
 01540                        new
 01541                        {
 01542                            Id = 58L,
 01543                            ActionId = 8L,
 01544                            Available = false,
 01545                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01546                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01547                            IsDeleted = false,
 01548                            RoleId = 8L
 01549                        },
 01550                        new
 01551                        {
 01552                            Id = 59L,
 01553                            ActionId = 4L,
 01554                            Available = false,
 01555                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01556                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01557                            IsDeleted = false,
 01558                            RoleId = 8L
 01559                        },
 01560                        new
 01561                        {
 01562                            Id = 60L,
 01563                            ActionId = 6L,
 01564                            Available = true,
 01565                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01566                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01567                            IsDeleted = false,
 01568                            RoleId = 8L
 01569                        },
 01570                        new
 01571                        {
 01572                            Id = 61L,
 01573                            ActionId = 13L,
 01574                            Available = false,
 01575                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01576                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01577                            IsDeleted = false,
 01578                            RoleId = 8L
 01579                        },
 01580                        new
 01581                        {
 01582                            Id = 62L,
 01583                            ActionId = 5L,
 01584                            Available = true,
 01585                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01586                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01587                            IsDeleted = false,
 01588                            RoleId = 8L
 01589                        },
 01590                        new
 01591                        {
 01592                            Id = 63L,
 01593                            ActionId = 9L,
 01594                            Available = true,
 01595                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01596                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01597                            IsDeleted = false,
 01598                            RoleId = 3L
 01599                        },
 01600                        new
 01601                        {
 01602                            Id = 64L,
 01603                            ActionId = 11L,
 01604                            Available = true,
 01605                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01606                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01607                            IsDeleted = false,
 01608                            RoleId = 3L
 01609                        },
 01610                        new
 01611                        {
 01612                            Id = 65L,
 01613                            ActionId = 8L,
 01614                            Available = true,
 01615                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01616                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01617                            IsDeleted = false,
 01618                            RoleId = 3L
 01619                        },
 01620                        new
 01621                        {
 01622                            Id = 66L,
 01623                            ActionId = 4L,
 01624                            Available = true,
 01625                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01626                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01627                            IsDeleted = false,
 01628                            RoleId = 3L
 01629                        },
 01630                        new
 01631                        {
 01632                            Id = 67L,
 01633                            ActionId = 5L,
 01634                            Available = true,
 01635                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01636                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01637                            IsDeleted = false,
 01638                            RoleId = 3L
 01639                        },
 01640                        new
 01641                        {
 01642                            Id = 69L,
 01643                            ActionId = 9L,
 01644                            Available = true,
 01645                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01646                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01647                            IsDeleted = false,
 01648                            RoleId = 4L
 01649                        },
 01650                        new
 01651                        {
 01652                            Id = 70L,
 01653                            ActionId = 11L,
 01654                            Available = true,
 01655                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01656                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01657                            IsDeleted = false,
 01658                            RoleId = 4L
 01659                        },
 01660                        new
 01661                        {
 01662                            Id = 71L,
 01663                            ActionId = 8L,
 01664                            Available = true,
 01665                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01666                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01667                            IsDeleted = false,
 01668                            RoleId = 4L
 01669                        },
 01670                        new
 01671                        {
 01672                            Id = 72L,
 01673                            ActionId = 4L,
 01674                            Available = true,
 01675                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01676                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01677                            IsDeleted = false,
 01678                            RoleId = 4L
 01679                        },
 01680                        new
 01681                        {
 01682                            Id = 73L,
 01683                            ActionId = 5L,
 01684                            Available = true,
 01685                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01686                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01687                            IsDeleted = false,
 01688                            RoleId = 4L
 01689                        },
 01690                        new
 01691                        {
 01692                            Id = 75L,
 01693                            ActionId = 9L,
 01694                            Available = true,
 01695                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01696                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01697                            IsDeleted = false,
 01698                            RoleId = 5L
 01699                        },
 01700                        new
 01701                        {
 01702                            Id = 76L,
 01703                            ActionId = 11L,
 01704                            Available = true,
 01705                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01706                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01707                            IsDeleted = false,
 01708                            RoleId = 5L
 01709                        },
 01710                        new
 01711                        {
 01712                            Id = 77L,
 01713                            ActionId = 8L,
 01714                            Available = true,
 01715                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01716                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01717                            IsDeleted = false,
 01718                            RoleId = 5L
 01719                        },
 01720                        new
 01721                        {
 01722                            Id = 78L,
 01723                            ActionId = 4L,
 01724                            Available = true,
 01725                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01726                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01727                            IsDeleted = false,
 01728                            RoleId = 5L
 01729                        },
 01730                        new
 01731                        {
 01732                            Id = 79L,
 01733                            ActionId = 5L,
 01734                            Available = true,
 01735                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01736                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01737                            IsDeleted = false,
 01738                            RoleId = 5L
 01739                        },
 01740                        new
 01741                        {
 01742                            Id = 82L,
 01743                            ActionId = 11L,
 01744                            Available = true,
 01745                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01746                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01747                            IsDeleted = false,
 01748                            RoleId = 9L
 01749                        },
 01750                        new
 01751                        {
 01752                            Id = 83L,
 01753                            ActionId = 3L,
 01754                            Available = true,
 01755                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01756                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01757                            IsDeleted = false,
 01758                            RoleId = 1L
 01759                        },
 01760                        new
 01761                        {
 01762                            Id = 84L,
 01763                            ActionId = 3L,
 01764                            Available = true,
 01765                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01766                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01767                            IsDeleted = false,
 01768                            RoleId = 2L
 01769                        },
 01770                        new
 01771                        {
 01772                            Id = 85L,
 01773                            ActionId = 3L,
 01774                            Available = true,
 01775                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01776                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01777                            IsDeleted = false,
 01778                            RoleId = 3L
 01779                        },
 01780                        new
 01781                        {
 01782                            Id = 86L,
 01783                            ActionId = 3L,
 01784                            Available = true,
 01785                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01786                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01787                            IsDeleted = false,
 01788                            RoleId = 4L
 01789                        },
 01790                        new
 01791                        {
 01792                            Id = 87L,
 01793                            ActionId = 3L,
 01794                            Available = true,
 01795                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01796                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01797                            IsDeleted = false,
 01798                            RoleId = 5L
 01799                        },
 01800                        new
 01801                        {
 01802                            Id = 88L,
 01803                            ActionId = 3L,
 01804                            Available = true,
 01805                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01806                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01807                            IsDeleted = false,
 01808                            RoleId = 6L
 01809                        },
 01810                        new
 01811                        {
 01812                            Id = 89L,
 01813                            ActionId = 3L,
 01814                            Available = true,
 01815                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01816                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01817                            IsDeleted = false,
 01818                            RoleId = 7L
 01819                        },
 01820                        new
 01821                        {
 01822                            Id = 90L,
 01823                            ActionId = 3L,
 01824                            Available = true,
 01825                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01826                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01827                            IsDeleted = false,
 01828                            RoleId = 8L
 01829                        },
 01830                        new
 01831                        {
 01832                            Id = 95L,
 01833                            ActionId = 7L,
 01834                            Available = true,
 01835                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01836                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01837                            IsDeleted = false,
 01838                            RoleId = 7L
 01839                        },
 01840                        new
 01841                        {
 01842                            Id = 96L,
 01843                            ActionId = 2L,
 01844                            Available = true,
 01845                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01846                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01847                            IsDeleted = false,
 01848                            RoleId = 7L
 01849                        },
 01850                        new
 01851                        {
 01852                            Id = 97L,
 01853                            ActionId = 10L,
 01854                            Available = true,
 01855                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01856                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01857                            IsDeleted = false,
 01858                            RoleId = 7L
 01859                        },
 01860                        new
 01861                        {
 01862                            Id = 98L,
 01863                            ActionId = 7L,
 01864                            Available = true,
 01865                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01866                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01867                            IsDeleted = false,
 01868                            RoleId = 1L
 01869                        },
 01870                        new
 01871                        {
 01872                            Id = 99L,
 01873                            ActionId = 2L,
 01874                            Available = true,
 01875                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01876                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01877                            IsDeleted = false,
 01878                            RoleId = 1L
 01879                        },
 01880                        new
 01881                        {
 01882                            Id = 100L,
 01883                            ActionId = 10L,
 01884                            Available = true,
 01885                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01886                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01887                            IsDeleted = false,
 01888                            RoleId = 1L
 01889                        },
 01890                        new
 01891                        {
 01892                            Id = 101L,
 01893                            ActionId = 7L,
 01894                            Available = true,
 01895                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01896                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01897                            IsDeleted = false,
 01898                            RoleId = 2L
 01899                        },
 01900                        new
 01901                        {
 01902                            Id = 102L,
 01903                            ActionId = 2L,
 01904                            Available = true,
 01905                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01906                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01907                            IsDeleted = false,
 01908                            RoleId = 2L
 01909                        },
 01910                        new
 01911                        {
 01912                            Id = 103L,
 01913                            ActionId = 10L,
 01914                            Available = true,
 01915                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01916                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01917                            IsDeleted = false,
 01918                            RoleId = 2L
 01919                        },
 01920                        new
 01921                        {
 01922                            Id = 104L,
 01923                            ActionId = 7L,
 01924                            Available = false,
 01925                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01926                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01927                            IsDeleted = false,
 01928                            RoleId = 3L
 01929                        },
 01930                        new
 01931                        {
 01932                            Id = 105L,
 01933                            ActionId = 2L,
 01934                            Available = false,
 01935                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01936                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01937                            IsDeleted = false,
 01938                            RoleId = 3L
 01939                        },
 01940                        new
 01941                        {
 01942                            Id = 106L,
 01943                            ActionId = 10L,
 01944                            Available = false,
 01945                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01946                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01947                            IsDeleted = false,
 01948                            RoleId = 3L
 01949                        },
 01950                        new
 01951                        {
 01952                            Id = 107L,
 01953                            ActionId = 14L,
 01954                            Available = true,
 01955                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01956                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01957                            IsDeleted = false,
 01958                            RoleId = 1L
 01959                        },
 01960                        new
 01961                        {
 01962                            Id = 108L,
 01963                            ActionId = 14L,
 01964                            Available = false,
 01965                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01966                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01967                            IsDeleted = false,
 01968                            RoleId = 2L
 01969                        },
 01970                        new
 01971                        {
 01972                            Id = 109L,
 01973                            ActionId = 14L,
 01974                            Available = true,
 01975                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01976                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01977                            IsDeleted = false,
 01978                            RoleId = 3L
 01979                        },
 01980                        new
 01981                        {
 01982                            Id = 110L,
 01983                            ActionId = 14L,
 01984                            Available = true,
 01985                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01986                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01987                            IsDeleted = false,
 01988                            RoleId = 7L
 01989                        },
 01990                        new
 01991                        {
 01992                            Id = 111L,
 01993                            ActionId = 14L,
 01994                            Available = true,
 01995                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 01996                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 01997                            IsDeleted = false,
 01998                            RoleId = 6L
 01999                        },
 02000                        new
 02001                        {
 02002                            Id = 112L,
 02003                            ActionId = 2L,
 02004                            Available = true,
 02005                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02006                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02007                            IsDeleted = false,
 02008                            RoleId = 6L
 02009                        },
 02010                        new
 02011                        {
 02012                            Id = 113L,
 02013                            ActionId = 7L,
 02014                            Available = true,
 02015                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02016                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02017                            IsDeleted = false,
 02018                            RoleId = 6L
 02019                        },
 02020                        new
 02021                        {
 02022                            Id = 114L,
 02023                            ActionId = 10L,
 02024                            Available = true,
 02025                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02026                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02027                            IsDeleted = false,
 02028                            RoleId = 6L
 02029                        },
 02030                        new
 02031                        {
 02032                            Id = 115L,
 02033                            ActionId = 1L,
 02034                            Available = true,
 02035                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02036                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02037                            IsDeleted = false,
 02038                            RoleId = 3L
 02039                        },
 02040                        new
 02041                        {
 02042                            Id = 116L,
 02043                            ActionId = 1L,
 02044                            Available = true,
 02045                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02046                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02047                            IsDeleted = false,
 02048                            RoleId = 4L
 02049                        },
 02050                        new
 02051                        {
 02052                            Id = 117L,
 02053                            ActionId = 1L,
 02054                            Available = true,
 02055                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02056                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02057                            IsDeleted = false,
 02058                            RoleId = 5L
 02059                        },
 02060                        new
 02061                        {
 02062                            Id = 118L,
 02063                            ActionId = 13L,
 02064                            Available = true,
 02065                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02066                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02067                            IsDeleted = false,
 02068                            RoleId = 3L
 02069                        },
 02070                        new
 02071                        {
 02072                            Id = 119L,
 02073                            ActionId = 7L,
 02074                            Available = false,
 02075                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02076                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02077                            IsDeleted = false,
 02078                            RoleId = 4L
 02079                        },
 02080                        new
 02081                        {
 02082                            Id = 120L,
 02083                            ActionId = 2L,
 02084                            Available = false,
 02085                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02086                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02087                            IsDeleted = false,
 02088                            RoleId = 4L
 02089                        },
 02090                        new
 02091                        {
 02092                            Id = 121L,
 02093                            ActionId = 10L,
 02094                            Available = false,
 02095                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02096                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02097                            IsDeleted = false,
 02098                            RoleId = 4L
 02099                        },
 02100                        new
 02101                        {
 02102                            Id = 122L,
 02103                            ActionId = 7L,
 02104                            Available = false,
 02105                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02106                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02107                            IsDeleted = false,
 02108                            RoleId = 5L
 02109                        },
 02110                        new
 02111                        {
 02112                            Id = 123L,
 02113                            ActionId = 2L,
 02114                            Available = false,
 02115                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02116                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02117                            IsDeleted = false,
 02118                            RoleId = 5L
 02119                        },
 02120                        new
 02121                        {
 02122                            Id = 124L,
 02123                            ActionId = 10L,
 02124                            Available = false,
 02125                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02126                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02127                            IsDeleted = false,
 02128                            RoleId = 5L
 02129                        },
 02130                        new
 02131                        {
 02132                            Id = 125L,
 02133                            ActionId = 15L,
 02134                            Available = true,
 02135                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02136                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02137                            IsDeleted = false,
 02138                            RoleId = 1L
 02139                        },
 02140                        new
 02141                        {
 02142                            Id = 126L,
 02143                            ActionId = 15L,
 02144                            Available = true,
 02145                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02146                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02147                            IsDeleted = false,
 02148                            RoleId = 2L
 02149                        },
 02150                        new
 02151                        {
 02152                            Id = 127L,
 02153                            ActionId = 15L,
 02154                            Available = true,
 02155                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02156                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02157                            IsDeleted = false,
 02158                            RoleId = 3L
 02159                        },
 02160                        new
 02161                        {
 02162                            Id = 128L,
 02163                            ActionId = 15L,
 02164                            Available = true,
 02165                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02166                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02167                            IsDeleted = false,
 02168                            RoleId = 4L
 02169                        },
 02170                        new
 02171                        {
 02172                            Id = 129L,
 02173                            ActionId = 15L,
 02174                            Available = true,
 02175                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02176                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02177                            IsDeleted = false,
 02178                            RoleId = 5L
 02179                        },
 02180                        new
 02181                        {
 02182                            Id = 130L,
 02183                            ActionId = 15L,
 02184                            Available = true,
 02185                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02186                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02187                            IsDeleted = false,
 02188                            RoleId = 6L
 02189                        },
 02190                        new
 02191                        {
 02192                            Id = 131L,
 02193                            ActionId = 16L,
 02194                            Available = true,
 02195                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02196                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02197                            IsDeleted = false,
 02198                            RoleId = 1L
 02199                        },
 02200                        new
 02201                        {
 02202                            Id = 132L,
 02203                            ActionId = 16L,
 02204                            Available = true,
 02205                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02206                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02207                            IsDeleted = false,
 02208                            RoleId = 3L
 02209                        },
 02210                        new
 02211                        {
 02212                            Id = 133L,
 02213                            ActionId = 16L,
 02214                            Available = true,
 02215                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02216                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02217                            IsDeleted = false,
 02218                            RoleId = 4L
 02219                        },
 02220                        new
 02221                        {
 02222                            Id = 134L,
 02223                            ActionId = 16L,
 02224                            Available = true,
 02225                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02226                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02227                            IsDeleted = false,
 02228                            RoleId = 5L
 02229                        },
 02230                        new
 02231                        {
 02232                            Id = 135L,
 02233                            ActionId = 16L,
 02234                            Available = true,
 02235                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02236                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02237                            IsDeleted = false,
 02238                            RoleId = 6L
 02239                        },
 02240                        new
 02241                        {
 02242                            Id = 136L,
 02243                            ActionId = 16L,
 02244                            Available = true,
 02245                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02246                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02247                            IsDeleted = false,
 02248                            RoleId = 7L
 02249                        },
 02250                        new
 02251                        {
 02252                            Id = 137L,
 02253                            ActionId = 16L,
 02254                            Available = true,
 02255                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02256                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02257                            IsDeleted = false,
 02258                            RoleId = 8L
 02259                        },
 02260                        new
 02261                        {
 02262                            Id = 138L,
 02263                            ActionId = 17L,
 02264                            Available = true,
 02265                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02266                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02267                            IsDeleted = false,
 02268                            RoleId = 1L
 02269                        },
 02270                        new
 02271                        {
 02272                            Id = 139L,
 02273                            ActionId = 17L,
 02274                            Available = true,
 02275                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02276                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02277                            IsDeleted = false,
 02278                            RoleId = 3L
 02279                        },
 02280                        new
 02281                        {
 02282                            Id = 140L,
 02283                            ActionId = 17L,
 02284                            Available = true,
 02285                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02286                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02287                            IsDeleted = false,
 02288                            RoleId = 4L
 02289                        },
 02290                        new
 02291                        {
 02292                            Id = 141L,
 02293                            ActionId = 17L,
 02294                            Available = true,
 02295                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02296                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02297                            IsDeleted = false,
 02298                            RoleId = 5L
 02299                        },
 02300                        new
 02301                        {
 02302                            Id = 142L,
 02303                            ActionId = 17L,
 02304                            Available = true,
 02305                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02306                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02307                            IsDeleted = false,
 02308                            RoleId = 6L
 02309                        },
 02310                        new
 02311                        {
 02312                            Id = 143L,
 02313                            ActionId = 17L,
 02314                            Available = true,
 02315                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02316                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02317                            IsDeleted = false,
 02318                            RoleId = 7L
 02319                        },
 02320                        new
 02321                        {
 02322                            Id = 144L,
 02323                            ActionId = 17L,
 02324                            Available = true,
 02325                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02326                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02327                            IsDeleted = false,
 02328                            RoleId = 8L
 02329                        },
 02330                        new
 02331                        {
 02332                            Id = 145L,
 02333                            ActionId = 18L,
 02334                            Available = true,
 02335                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02336                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02337                            IsDeleted = false,
 02338                            RoleId = 1L
 02339                        },
 02340                        new
 02341                        {
 02342                            Id = 146L,
 02343                            ActionId = 18L,
 02344                            Available = true,
 02345                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02346                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02347                            IsDeleted = false,
 02348                            RoleId = 3L
 02349                        },
 02350                        new
 02351                        {
 02352                            Id = 147L,
 02353                            ActionId = 18L,
 02354                            Available = true,
 02355                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02356                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02357                            IsDeleted = false,
 02358                            RoleId = 4L
 02359                        },
 02360                        new
 02361                        {
 02362                            Id = 148L,
 02363                            ActionId = 18L,
 02364                            Available = true,
 02365                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02366                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02367                            IsDeleted = false,
 02368                            RoleId = 5L
 02369                        },
 02370                        new
 02371                        {
 02372                            Id = 149L,
 02373                            ActionId = 18L,
 02374                            Available = true,
 02375                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02376                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02377                            IsDeleted = false,
 02378                            RoleId = 6L
 02379                        },
 02380                        new
 02381                        {
 02382                            Id = 150L,
 02383                            ActionId = 18L,
 02384                            Available = true,
 02385                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02386                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02387                            IsDeleted = false,
 02388                            RoleId = 7L
 02389                        },
 02390                        new
 02391                        {
 02392                            Id = 151L,
 02393                            ActionId = 18L,
 02394                            Available = true,
 02395                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02396                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02397                            IsDeleted = false,
 02398                            RoleId = 8L
 02399                        },
 02400                        new
 02401                        {
 02402                            Id = 152L,
 02403                            ActionId = 20L,
 02404                            Available = true,
 02405                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02406                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02407                            IsDeleted = false,
 02408                            RoleId = 1L
 02409                        },
 02410                        new
 02411                        {
 02412                            Id = 153L,
 02413                            ActionId = 20L,
 02414                            Available = true,
 02415                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02416                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02417                            IsDeleted = false,
 02418                            RoleId = 3L
 02419                        },
 02420                        new
 02421                        {
 02422                            Id = 154L,
 02423                            ActionId = 20L,
 02424                            Available = true,
 02425                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02426                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02427                            IsDeleted = false,
 02428                            RoleId = 4L
 02429                        },
 02430                        new
 02431                        {
 02432                            Id = 155L,
 02433                            ActionId = 20L,
 02434                            Available = true,
 02435                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02436                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02437                            IsDeleted = false,
 02438                            RoleId = 5L
 02439                        },
 02440                        new
 02441                        {
 02442                            Id = 156L,
 02443                            ActionId = 20L,
 02444                            Available = true,
 02445                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02446                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02447                            IsDeleted = false,
 02448                            RoleId = 6L
 02449                        },
 02450                        new
 02451                        {
 02452                            Id = 157L,
 02453                            ActionId = 20L,
 02454                            Available = true,
 02455                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02456                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02457                            IsDeleted = false,
 02458                            RoleId = 7L
 02459                        },
 02460                        new
 02461                        {
 02462                            Id = 158L,
 02463                            ActionId = 20L,
 02464                            Available = true,
 02465                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02466                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02467                            IsDeleted = false,
 02468                            RoleId = 8L
 02469                        },
 02470                        new
 02471                        {
 02472                            Id = 159L,
 02473                            ActionId = 21L,
 02474                            Available = true,
 02475                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02476                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02477                            IsDeleted = false,
 02478                            RoleId = 1L
 02479                        },
 02480                        new
 02481                        {
 02482                            Id = 160L,
 02483                            ActionId = 21L,
 02484                            Available = true,
 02485                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02486                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02487                            IsDeleted = false,
 02488                            RoleId = 3L
 02489                        },
 02490                        new
 02491                        {
 02492                            Id = 161L,
 02493                            ActionId = 21L,
 02494                            Available = true,
 02495                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02496                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02497                            IsDeleted = false,
 02498                            RoleId = 4L
 02499                        },
 02500                        new
 02501                        {
 02502                            Id = 162L,
 02503                            ActionId = 21L,
 02504                            Available = true,
 02505                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02506                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02507                            IsDeleted = false,
 02508                            RoleId = 5L
 02509                        },
 02510                        new
 02511                        {
 02512                            Id = 163L,
 02513                            ActionId = 21L,
 02514                            Available = true,
 02515                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02516                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02517                            IsDeleted = false,
 02518                            RoleId = 6L
 02519                        },
 02520                        new
 02521                        {
 02522                            Id = 164L,
 02523                            ActionId = 21L,
 02524                            Available = true,
 02525                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02526                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02527                            IsDeleted = false,
 02528                            RoleId = 7L
 02529                        },
 02530                        new
 02531                        {
 02532                            Id = 165L,
 02533                            ActionId = 21L,
 02534                            Available = true,
 02535                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02536                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02537                            IsDeleted = false,
 02538                            RoleId = 8L
 02539                        },
 02540                        new
 02541                        {
 02542                            Id = 166L,
 02543                            ActionId = 19L,
 02544                            Available = true,
 02545                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02546                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02547                            IsDeleted = false,
 02548                            RoleId = 1L
 02549                        },
 02550                        new
 02551                        {
 02552                            Id = 167L,
 02553                            ActionId = 19L,
 02554                            Available = true,
 02555                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02556                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02557                            IsDeleted = false,
 02558                            RoleId = 2L
 02559                        },
 02560                        new
 02561                        {
 02562                            Id = 168L,
 02563                            ActionId = 19L,
 02564                            Available = true,
 02565                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02566                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02567                            IsDeleted = false,
 02568                            RoleId = 3L
 02569                        },
 02570                        new
 02571                        {
 02572                            Id = 169L,
 02573                            ActionId = 19L,
 02574                            Available = true,
 02575                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02576                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02577                            IsDeleted = false,
 02578                            RoleId = 4L
 02579                        },
 02580                        new
 02581                        {
 02582                            Id = 170L,
 02583                            ActionId = 19L,
 02584                            Available = true,
 02585                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02586                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02587                            IsDeleted = false,
 02588                            RoleId = 5L
 02589                        },
 02590                        new
 02591                        {
 02592                            Id = 171L,
 02593                            ActionId = 19L,
 02594                            Available = true,
 02595                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02596                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02597                            IsDeleted = false,
 02598                            RoleId = 6L
 02599                        },
 02600                        new
 02601                        {
 02602                            Id = 172L,
 02603                            ActionId = 19L,
 02604                            Available = true,
 02605                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02606                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02607                            IsDeleted = false,
 02608                            RoleId = 8L
 02609                        });
 02610                });
 2611
 02612            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", b =>
 02613                {
 02614                    b.Property<long>("Id")
 02615                        .ValueGeneratedOnAdd()
 02616                        .HasColumnType("bigint")
 02617                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 02618                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 02619
 02620                    b.Property<int>("Code")
 02621                        .HasColumnType("integer");
 02622
 02623                    b.Property<long?>("CreatedByUserId")
 02624                        .HasColumnType("bigint");
 02625
 02626                    b.Property<DateTime>("CreationDateTime")
 02627                        .HasColumnType("timestamp without time zone");
 02628
 02629                    b.Property<Guid>("GUID")
 02630                        .ValueGeneratedOnAdd()
 02631                        .HasColumnType("uuid");
 02632
 02633                    b.Property<bool>("IsDeleted")
 02634                        .HasColumnType("boolean");
 02635
 02636                    b.Property<DateTime?>("ModificationDateTime")
 02637                        .HasColumnType("timestamp without time zone");
 02638
 02639                    b.Property<long?>("ModifiedByUserId")
 02640                        .HasColumnType("bigint");
 02641
 02642                    b.Property<string>("Name")
 02643                        .IsRequired()
 02644                        .HasColumnType("text");
 02645
 02646                    b.Property<long?>("RecStateId")
 02647                        .HasColumnType("bigint");
 02648
 02649                    b.HasKey("Id");
 02650
 02651                    b.HasIndex("CreatedByUserId");
 02652
 02653                    b.HasIndex("ModifiedByUserId");
 02654
 02655                    b.HasIndex("Name")
 02656                        .IsUnique();
 02657
 02658                    b.HasIndex("RecStateId");
 02659
 02660                    b.ToTable("Countries");
 02661
 02662                    b.HasData(
 02663                        new
 02664                        {
 02665                            Id = 2L,
 02666                            Code = 895,
 02667                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02668                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02669                            IsDeleted = false,
 02670                            Name = "Абхазия"
 02671                        },
 02672                        new
 02673                        {
 02674                            Id = 3L,
 02675                            Code = 36,
 02676                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02677                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02678                            IsDeleted = false,
 02679                            Name = "Австралия"
 02680                        },
 02681                        new
 02682                        {
 02683                            Id = 4L,
 02684                            Code = 40,
 02685                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02686                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02687                            IsDeleted = false,
 02688                            Name = "Австрия"
 02689                        },
 02690                        new
 02691                        {
 02692                            Id = 5L,
 02693                            Code = 31,
 02694                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02695                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02696                            IsDeleted = false,
 02697                            Name = "Азербайджан"
 02698                        },
 02699                        new
 02700                        {
 02701                            Id = 6L,
 02702                            Code = 8,
 02703                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02704                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02705                            IsDeleted = false,
 02706                            Name = "Албания"
 02707                        },
 02708                        new
 02709                        {
 02710                            Id = 7L,
 02711                            Code = 12,
 02712                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02713                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02714                            IsDeleted = false,
 02715                            Name = "Алжир"
 02716                        },
 02717                        new
 02718                        {
 02719                            Id = 8L,
 02720                            Code = 16,
 02721                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02722                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02723                            IsDeleted = false,
 02724                            Name = "Американское Самоа"
 02725                        },
 02726                        new
 02727                        {
 02728                            Id = 9L,
 02729                            Code = 660,
 02730                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02731                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02732                            IsDeleted = false,
 02733                            Name = "Ангилья"
 02734                        },
 02735                        new
 02736                        {
 02737                            Id = 10L,
 02738                            Code = 24,
 02739                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02740                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02741                            IsDeleted = false,
 02742                            Name = "Ангола"
 02743                        },
 02744                        new
 02745                        {
 02746                            Id = 11L,
 02747                            Code = 20,
 02748                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02749                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02750                            IsDeleted = false,
 02751                            Name = "Андорра"
 02752                        },
 02753                        new
 02754                        {
 02755                            Id = 12L,
 02756                            Code = 10,
 02757                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02758                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02759                            IsDeleted = false,
 02760                            Name = "Антарктида"
 02761                        },
 02762                        new
 02763                        {
 02764                            Id = 13L,
 02765                            Code = 28,
 02766                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02767                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02768                            IsDeleted = false,
 02769                            Name = "Антигуа и Барбуда"
 02770                        },
 02771                        new
 02772                        {
 02773                            Id = 14L,
 02774                            Code = 32,
 02775                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02776                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02777                            IsDeleted = false,
 02778                            Name = "Аргентина"
 02779                        },
 02780                        new
 02781                        {
 02782                            Id = 15L,
 02783                            Code = 51,
 02784                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02785                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02786                            IsDeleted = false,
 02787                            Name = "Армения"
 02788                        },
 02789                        new
 02790                        {
 02791                            Id = 16L,
 02792                            Code = 533,
 02793                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02794                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02795                            IsDeleted = false,
 02796                            Name = "Аруба"
 02797                        },
 02798                        new
 02799                        {
 02800                            Id = 17L,
 02801                            Code = 4,
 02802                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02803                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02804                            IsDeleted = false,
 02805                            Name = "Афганистан"
 02806                        },
 02807                        new
 02808                        {
 02809                            Id = 18L,
 02810                            Code = 44,
 02811                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02812                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02813                            IsDeleted = false,
 02814                            Name = "Багамы"
 02815                        },
 02816                        new
 02817                        {
 02818                            Id = 19L,
 02819                            Code = 50,
 02820                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02821                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02822                            IsDeleted = false,
 02823                            Name = "Бангладеш"
 02824                        },
 02825                        new
 02826                        {
 02827                            Id = 20L,
 02828                            Code = 52,
 02829                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02830                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02831                            IsDeleted = false,
 02832                            Name = "Барбадос"
 02833                        },
 02834                        new
 02835                        {
 02836                            Id = 21L,
 02837                            Code = 48,
 02838                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02839                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02840                            IsDeleted = false,
 02841                            Name = "Бахрейн"
 02842                        },
 02843                        new
 02844                        {
 02845                            Id = 22L,
 02846                            Code = 112,
 02847                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02848                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02849                            IsDeleted = false,
 02850                            Name = "Беларусь"
 02851                        },
 02852                        new
 02853                        {
 02854                            Id = 23L,
 02855                            Code = 84,
 02856                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02857                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02858                            IsDeleted = false,
 02859                            Name = "Белиз"
 02860                        },
 02861                        new
 02862                        {
 02863                            Id = 24L,
 02864                            Code = 56,
 02865                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02866                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02867                            IsDeleted = false,
 02868                            Name = "Бельгия"
 02869                        },
 02870                        new
 02871                        {
 02872                            Id = 25L,
 02873                            Code = 204,
 02874                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02875                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02876                            IsDeleted = false,
 02877                            Name = "Бенин"
 02878                        },
 02879                        new
 02880                        {
 02881                            Id = 26L,
 02882                            Code = 60,
 02883                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02884                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02885                            IsDeleted = false,
 02886                            Name = "Бермуды"
 02887                        },
 02888                        new
 02889                        {
 02890                            Id = 27L,
 02891                            Code = 100,
 02892                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02893                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02894                            IsDeleted = false,
 02895                            Name = "Болгария"
 02896                        },
 02897                        new
 02898                        {
 02899                            Id = 28L,
 02900                            Code = 68,
 02901                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02902                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02903                            IsDeleted = false,
 02904                            Name = "Боливия, Многонациональное Государство"
 02905                        },
 02906                        new
 02907                        {
 02908                            Id = 29L,
 02909                            Code = 535,
 02910                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02911                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02912                            IsDeleted = false,
 02913                            Name = "Бонэйр, Синт-Эстатиус и Саба"
 02914                        },
 02915                        new
 02916                        {
 02917                            Id = 30L,
 02918                            Code = 70,
 02919                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02920                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02921                            IsDeleted = false,
 02922                            Name = "Босния и Герцеговина"
 02923                        },
 02924                        new
 02925                        {
 02926                            Id = 31L,
 02927                            Code = 72,
 02928                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02929                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02930                            IsDeleted = false,
 02931                            Name = "Ботсвана"
 02932                        },
 02933                        new
 02934                        {
 02935                            Id = 32L,
 02936                            Code = 76,
 02937                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02938                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02939                            IsDeleted = false,
 02940                            Name = "Бразилия"
 02941                        },
 02942                        new
 02943                        {
 02944                            Id = 33L,
 02945                            Code = 86,
 02946                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02947                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02948                            IsDeleted = false,
 02949                            Name = "Британская территория в Индийском океане"
 02950                        },
 02951                        new
 02952                        {
 02953                            Id = 34L,
 02954                            Code = 96,
 02955                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02956                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02957                            IsDeleted = false,
 02958                            Name = "Бруней-Даруссалам"
 02959                        },
 02960                        new
 02961                        {
 02962                            Id = 35L,
 02963                            Code = 854,
 02964                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02965                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02966                            IsDeleted = false,
 02967                            Name = "Буркина-Фасо"
 02968                        },
 02969                        new
 02970                        {
 02971                            Id = 36L,
 02972                            Code = 108,
 02973                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02974                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02975                            IsDeleted = false,
 02976                            Name = "Бурунди"
 02977                        },
 02978                        new
 02979                        {
 02980                            Id = 37L,
 02981                            Code = 64,
 02982                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02983                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02984                            IsDeleted = false,
 02985                            Name = "Бутан"
 02986                        },
 02987                        new
 02988                        {
 02989                            Id = 38L,
 02990                            Code = 548,
 02991                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 02992                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 02993                            IsDeleted = false,
 02994                            Name = "Вануату"
 02995                        },
 02996                        new
 02997                        {
 02998                            Id = 39L,
 02999                            Code = 348,
 03000                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03001                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03002                            IsDeleted = false,
 03003                            Name = "Венгрия"
 03004                        },
 03005                        new
 03006                        {
 03007                            Id = 40L,
 03008                            Code = 862,
 03009                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03010                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03011                            IsDeleted = false,
 03012                            Name = "Венесуэла Боливарианская Республика"
 03013                        },
 03014                        new
 03015                        {
 03016                            Id = 41L,
 03017                            Code = 92,
 03018                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03019                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03020                            IsDeleted = false,
 03021                            Name = "Виргинские острова (Британские)"
 03022                        },
 03023                        new
 03024                        {
 03025                            Id = 42L,
 03026                            Code = 850,
 03027                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03028                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03029                            IsDeleted = false,
 03030                            Name = "Виргинские острова (США)"
 03031                        },
 03032                        new
 03033                        {
 03034                            Id = 43L,
 03035                            Code = 704,
 03036                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03037                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03038                            IsDeleted = false,
 03039                            Name = "Вьетнам"
 03040                        },
 03041                        new
 03042                        {
 03043                            Id = 44L,
 03044                            Code = 266,
 03045                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03046                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03047                            IsDeleted = false,
 03048                            Name = "Габон"
 03049                        },
 03050                        new
 03051                        {
 03052                            Id = 45L,
 03053                            Code = 332,
 03054                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03055                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03056                            IsDeleted = false,
 03057                            Name = "Гаити"
 03058                        },
 03059                        new
 03060                        {
 03061                            Id = 46L,
 03062                            Code = 328,
 03063                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03064                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03065                            IsDeleted = false,
 03066                            Name = "Гайана"
 03067                        },
 03068                        new
 03069                        {
 03070                            Id = 47L,
 03071                            Code = 270,
 03072                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03073                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03074                            IsDeleted = false,
 03075                            Name = "Гамбия"
 03076                        },
 03077                        new
 03078                        {
 03079                            Id = 48L,
 03080                            Code = 288,
 03081                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03082                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03083                            IsDeleted = false,
 03084                            Name = "Гана"
 03085                        },
 03086                        new
 03087                        {
 03088                            Id = 49L,
 03089                            Code = 312,
 03090                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03091                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03092                            IsDeleted = false,
 03093                            Name = "Гваделупа"
 03094                        },
 03095                        new
 03096                        {
 03097                            Id = 50L,
 03098                            Code = 320,
 03099                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03100                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03101                            IsDeleted = false,
 03102                            Name = "Гватемала"
 03103                        },
 03104                        new
 03105                        {
 03106                            Id = 51L,
 03107                            Code = 324,
 03108                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03109                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03110                            IsDeleted = false,
 03111                            Name = "Гвинея"
 03112                        },
 03113                        new
 03114                        {
 03115                            Id = 52L,
 03116                            Code = 624,
 03117                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03118                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03119                            IsDeleted = false,
 03120                            Name = "Гвинея-Бисау"
 03121                        },
 03122                        new
 03123                        {
 03124                            Id = 53L,
 03125                            Code = 276,
 03126                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03127                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03128                            IsDeleted = false,
 03129                            Name = "Германия"
 03130                        },
 03131                        new
 03132                        {
 03133                            Id = 54L,
 03134                            Code = 831,
 03135                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03136                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03137                            IsDeleted = false,
 03138                            Name = "Гернси"
 03139                        },
 03140                        new
 03141                        {
 03142                            Id = 55L,
 03143                            Code = 292,
 03144                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03145                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03146                            IsDeleted = false,
 03147                            Name = "Гибралтар"
 03148                        },
 03149                        new
 03150                        {
 03151                            Id = 56L,
 03152                            Code = 340,
 03153                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03154                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03155                            IsDeleted = false,
 03156                            Name = "Гондурас"
 03157                        },
 03158                        new
 03159                        {
 03160                            Id = 57L,
 03161                            Code = 344,
 03162                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03163                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03164                            IsDeleted = false,
 03165                            Name = "Гонконг"
 03166                        },
 03167                        new
 03168                        {
 03169                            Id = 58L,
 03170                            Code = 308,
 03171                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03172                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03173                            IsDeleted = false,
 03174                            Name = "Гренада"
 03175                        },
 03176                        new
 03177                        {
 03178                            Id = 59L,
 03179                            Code = 304,
 03180                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03181                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03182                            IsDeleted = false,
 03183                            Name = "Гренландия"
 03184                        },
 03185                        new
 03186                        {
 03187                            Id = 60L,
 03188                            Code = 300,
 03189                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03190                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03191                            IsDeleted = false,
 03192                            Name = "Греция"
 03193                        },
 03194                        new
 03195                        {
 03196                            Id = 61L,
 03197                            Code = 268,
 03198                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03199                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03200                            IsDeleted = false,
 03201                            Name = "Грузия"
 03202                        },
 03203                        new
 03204                        {
 03205                            Id = 62L,
 03206                            Code = 316,
 03207                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03208                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03209                            IsDeleted = false,
 03210                            Name = "Гуам"
 03211                        },
 03212                        new
 03213                        {
 03214                            Id = 63L,
 03215                            Code = 208,
 03216                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03217                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03218                            IsDeleted = false,
 03219                            Name = "Дания"
 03220                        },
 03221                        new
 03222                        {
 03223                            Id = 64L,
 03224                            Code = 832,
 03225                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03226                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03227                            IsDeleted = false,
 03228                            Name = "Джерси"
 03229                        },
 03230                        new
 03231                        {
 03232                            Id = 65L,
 03233                            Code = 262,
 03234                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03235                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03236                            IsDeleted = false,
 03237                            Name = "Джибути"
 03238                        },
 03239                        new
 03240                        {
 03241                            Id = 66L,
 03242                            Code = 212,
 03243                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03244                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03245                            IsDeleted = false,
 03246                            Name = "Доминика"
 03247                        },
 03248                        new
 03249                        {
 03250                            Id = 67L,
 03251                            Code = 214,
 03252                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03253                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03254                            IsDeleted = false,
 03255                            Name = "Доминиканская Республика"
 03256                        },
 03257                        new
 03258                        {
 03259                            Id = 68L,
 03260                            Code = 818,
 03261                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03262                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03263                            IsDeleted = false,
 03264                            Name = "Египет"
 03265                        },
 03266                        new
 03267                        {
 03268                            Id = 69L,
 03269                            Code = 894,
 03270                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03271                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03272                            IsDeleted = false,
 03273                            Name = "Замбия"
 03274                        },
 03275                        new
 03276                        {
 03277                            Id = 70L,
 03278                            Code = 732,
 03279                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03280                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03281                            IsDeleted = false,
 03282                            Name = "Западная Сахара"
 03283                        },
 03284                        new
 03285                        {
 03286                            Id = 71L,
 03287                            Code = 716,
 03288                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03289                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03290                            IsDeleted = false,
 03291                            Name = "Зимбабве"
 03292                        },
 03293                        new
 03294                        {
 03295                            Id = 72L,
 03296                            Code = 376,
 03297                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03298                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03299                            IsDeleted = false,
 03300                            Name = "Израиль"
 03301                        },
 03302                        new
 03303                        {
 03304                            Id = 73L,
 03305                            Code = 356,
 03306                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03307                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03308                            IsDeleted = false,
 03309                            Name = "Индия"
 03310                        },
 03311                        new
 03312                        {
 03313                            Id = 74L,
 03314                            Code = 360,
 03315                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03316                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03317                            IsDeleted = false,
 03318                            Name = "Индонезия"
 03319                        },
 03320                        new
 03321                        {
 03322                            Id = 75L,
 03323                            Code = 400,
 03324                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03325                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03326                            IsDeleted = false,
 03327                            Name = "Иордания"
 03328                        },
 03329                        new
 03330                        {
 03331                            Id = 76L,
 03332                            Code = 368,
 03333                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03334                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03335                            IsDeleted = false,
 03336                            Name = "Ирак"
 03337                        },
 03338                        new
 03339                        {
 03340                            Id = 77L,
 03341                            Code = 364,
 03342                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03343                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03344                            IsDeleted = false,
 03345                            Name = "Иран (Исламская Республика)"
 03346                        },
 03347                        new
 03348                        {
 03349                            Id = 78L,
 03350                            Code = 372,
 03351                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03352                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03353                            IsDeleted = false,
 03354                            Name = "Ирландия"
 03355                        },
 03356                        new
 03357                        {
 03358                            Id = 79L,
 03359                            Code = 352,
 03360                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03361                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03362                            IsDeleted = false,
 03363                            Name = "Исландия"
 03364                        },
 03365                        new
 03366                        {
 03367                            Id = 80L,
 03368                            Code = 724,
 03369                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03370                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03371                            IsDeleted = false,
 03372                            Name = "Испания"
 03373                        },
 03374                        new
 03375                        {
 03376                            Id = 81L,
 03377                            Code = 380,
 03378                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03379                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03380                            IsDeleted = false,
 03381                            Name = "Италия"
 03382                        },
 03383                        new
 03384                        {
 03385                            Id = 82L,
 03386                            Code = 887,
 03387                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03388                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03389                            IsDeleted = false,
 03390                            Name = "Йемен"
 03391                        },
 03392                        new
 03393                        {
 03394                            Id = 83L,
 03395                            Code = 132,
 03396                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03397                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03398                            IsDeleted = false,
 03399                            Name = "Кабо-Верде"
 03400                        },
 03401                        new
 03402                        {
 03403                            Id = 84L,
 03404                            Code = 398,
 03405                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03406                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03407                            IsDeleted = false,
 03408                            Name = "Казахстан"
 03409                        },
 03410                        new
 03411                        {
 03412                            Id = 85L,
 03413                            Code = 116,
 03414                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03415                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03416                            IsDeleted = false,
 03417                            Name = "Камбоджа"
 03418                        },
 03419                        new
 03420                        {
 03421                            Id = 86L,
 03422                            Code = 120,
 03423                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03424                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03425                            IsDeleted = false,
 03426                            Name = "Камерун"
 03427                        },
 03428                        new
 03429                        {
 03430                            Id = 87L,
 03431                            Code = 124,
 03432                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03433                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03434                            IsDeleted = false,
 03435                            Name = "Канада"
 03436                        },
 03437                        new
 03438                        {
 03439                            Id = 88L,
 03440                            Code = 634,
 03441                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03442                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03443                            IsDeleted = false,
 03444                            Name = "Катар"
 03445                        },
 03446                        new
 03447                        {
 03448                            Id = 89L,
 03449                            Code = 404,
 03450                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03451                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03452                            IsDeleted = false,
 03453                            Name = "Кения"
 03454                        },
 03455                        new
 03456                        {
 03457                            Id = 90L,
 03458                            Code = 196,
 03459                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03460                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03461                            IsDeleted = false,
 03462                            Name = "Кипр"
 03463                        },
 03464                        new
 03465                        {
 03466                            Id = 91L,
 03467                            Code = 417,
 03468                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03469                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03470                            IsDeleted = false,
 03471                            Name = "Киргизия"
 03472                        },
 03473                        new
 03474                        {
 03475                            Id = 92L,
 03476                            Code = 296,
 03477                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03478                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03479                            IsDeleted = false,
 03480                            Name = "Кирибати"
 03481                        },
 03482                        new
 03483                        {
 03484                            Id = 93L,
 03485                            Code = 156,
 03486                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03487                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03488                            IsDeleted = false,
 03489                            Name = "Китай"
 03490                        },
 03491                        new
 03492                        {
 03493                            Id = 94L,
 03494                            Code = 166,
 03495                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03496                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03497                            IsDeleted = false,
 03498                            Name = "Кокосовые (Килинг) острова"
 03499                        },
 03500                        new
 03501                        {
 03502                            Id = 95L,
 03503                            Code = 170,
 03504                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03505                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03506                            IsDeleted = false,
 03507                            Name = "Колумбия"
 03508                        },
 03509                        new
 03510                        {
 03511                            Id = 96L,
 03512                            Code = 174,
 03513                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03514                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03515                            IsDeleted = false,
 03516                            Name = "Коморы"
 03517                        },
 03518                        new
 03519                        {
 03520                            Id = 97L,
 03521                            Code = 178,
 03522                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03523                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03524                            IsDeleted = false,
 03525                            Name = "Конго"
 03526                        },
 03527                        new
 03528                        {
 03529                            Id = 98L,
 03530                            Code = 180,
 03531                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03532                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03533                            IsDeleted = false,
 03534                            Name = "Конго, Демократическая Республика"
 03535                        },
 03536                        new
 03537                        {
 03538                            Id = 99L,
 03539                            Code = 408,
 03540                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03541                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03542                            IsDeleted = false,
 03543                            Name = "Корея, Народно-Демократическая Республика"
 03544                        },
 03545                        new
 03546                        {
 03547                            Id = 100L,
 03548                            Code = 410,
 03549                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03550                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03551                            IsDeleted = false,
 03552                            Name = "Корея, Республика"
 03553                        },
 03554                        new
 03555                        {
 03556                            Id = 101L,
 03557                            Code = 188,
 03558                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03559                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03560                            IsDeleted = false,
 03561                            Name = "Коста-Рика"
 03562                        },
 03563                        new
 03564                        {
 03565                            Id = 102L,
 03566                            Code = 384,
 03567                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03568                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03569                            IsDeleted = false,
 03570                            Name = "Кот д'Ивуар"
 03571                        },
 03572                        new
 03573                        {
 03574                            Id = 103L,
 03575                            Code = 192,
 03576                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03577                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03578                            IsDeleted = false,
 03579                            Name = "Куба"
 03580                        },
 03581                        new
 03582                        {
 03583                            Id = 104L,
 03584                            Code = 414,
 03585                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03586                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03587                            IsDeleted = false,
 03588                            Name = "Кувейт"
 03589                        },
 03590                        new
 03591                        {
 03592                            Id = 105L,
 03593                            Code = 531,
 03594                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03595                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03596                            IsDeleted = false,
 03597                            Name = "Кюрасао"
 03598                        },
 03599                        new
 03600                        {
 03601                            Id = 106L,
 03602                            Code = 418,
 03603                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03604                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03605                            IsDeleted = false,
 03606                            Name = "Лаос"
 03607                        },
 03608                        new
 03609                        {
 03610                            Id = 107L,
 03611                            Code = 428,
 03612                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03613                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03614                            IsDeleted = false,
 03615                            Name = "Латвия"
 03616                        },
 03617                        new
 03618                        {
 03619                            Id = 108L,
 03620                            Code = 426,
 03621                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03622                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03623                            IsDeleted = false,
 03624                            Name = "Лесото"
 03625                        },
 03626                        new
 03627                        {
 03628                            Id = 109L,
 03629                            Code = 422,
 03630                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03631                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03632                            IsDeleted = false,
 03633                            Name = "Ливан"
 03634                        },
 03635                        new
 03636                        {
 03637                            Id = 110L,
 03638                            Code = 434,
 03639                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03640                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03641                            IsDeleted = false,
 03642                            Name = "Ливия"
 03643                        },
 03644                        new
 03645                        {
 03646                            Id = 111L,
 03647                            Code = 430,
 03648                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03649                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03650                            IsDeleted = false,
 03651                            Name = "Либерия"
 03652                        },
 03653                        new
 03654                        {
 03655                            Id = 112L,
 03656                            Code = 438,
 03657                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03658                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03659                            IsDeleted = false,
 03660                            Name = "Лихтенштейн"
 03661                        },
 03662                        new
 03663                        {
 03664                            Id = 113L,
 03665                            Code = 440,
 03666                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03667                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03668                            IsDeleted = false,
 03669                            Name = "Литва"
 03670                        },
 03671                        new
 03672                        {
 03673                            Id = 114L,
 03674                            Code = 442,
 03675                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03676                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03677                            IsDeleted = false,
 03678                            Name = "Люксембург"
 03679                        },
 03680                        new
 03681                        {
 03682                            Id = 115L,
 03683                            Code = 480,
 03684                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03685                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03686                            IsDeleted = false,
 03687                            Name = "Маврикий"
 03688                        },
 03689                        new
 03690                        {
 03691                            Id = 116L,
 03692                            Code = 478,
 03693                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03694                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03695                            IsDeleted = false,
 03696                            Name = "Мавритания"
 03697                        },
 03698                        new
 03699                        {
 03700                            Id = 117L,
 03701                            Code = 450,
 03702                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03703                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03704                            IsDeleted = false,
 03705                            Name = "Мадагаскар"
 03706                        },
 03707                        new
 03708                        {
 03709                            Id = 118L,
 03710                            Code = 175,
 03711                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03712                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03713                            IsDeleted = false,
 03714                            Name = "Майотта"
 03715                        },
 03716                        new
 03717                        {
 03718                            Id = 119L,
 03719                            Code = 446,
 03720                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03721                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03722                            IsDeleted = false,
 03723                            Name = "Макао"
 03724                        },
 03725                        new
 03726                        {
 03727                            Id = 120L,
 03728                            Code = 454,
 03729                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03730                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03731                            IsDeleted = false,
 03732                            Name = "Малави"
 03733                        },
 03734                        new
 03735                        {
 03736                            Id = 121L,
 03737                            Code = 458,
 03738                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03739                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03740                            IsDeleted = false,
 03741                            Name = "Малайзия"
 03742                        },
 03743                        new
 03744                        {
 03745                            Id = 122L,
 03746                            Code = 466,
 03747                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03748                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03749                            IsDeleted = false,
 03750                            Name = "Мали"
 03751                        },
 03752                        new
 03753                        {
 03754                            Id = 123L,
 03755                            Code = 581,
 03756                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03757                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03758                            IsDeleted = false,
 03759                            Name = "Малые Тихоокеанские отдаленные острова Соединенных Штатов"
 03760                        },
 03761                        new
 03762                        {
 03763                            Id = 124L,
 03764                            Code = 462,
 03765                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03766                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03767                            IsDeleted = false,
 03768                            Name = "Мальдивы"
 03769                        },
 03770                        new
 03771                        {
 03772                            Id = 125L,
 03773                            Code = 470,
 03774                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03775                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03776                            IsDeleted = false,
 03777                            Name = "Мальта"
 03778                        },
 03779                        new
 03780                        {
 03781                            Id = 126L,
 03782                            Code = 504,
 03783                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03784                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03785                            IsDeleted = false,
 03786                            Name = "Марокко"
 03787                        },
 03788                        new
 03789                        {
 03790                            Id = 127L,
 03791                            Code = 474,
 03792                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03793                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03794                            IsDeleted = false,
 03795                            Name = "Мартиника"
 03796                        },
 03797                        new
 03798                        {
 03799                            Id = 128L,
 03800                            Code = 584,
 03801                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03802                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03803                            IsDeleted = false,
 03804                            Name = "Маршалловы острова"
 03805                        },
 03806                        new
 03807                        {
 03808                            Id = 129L,
 03809                            Code = 484,
 03810                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03811                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03812                            IsDeleted = false,
 03813                            Name = "Мексика"
 03814                        },
 03815                        new
 03816                        {
 03817                            Id = 130L,
 03818                            Code = 583,
 03819                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03820                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03821                            IsDeleted = false,
 03822                            Name = "Микронезия, Федеративные Штаты"
 03823                        },
 03824                        new
 03825                        {
 03826                            Id = 131L,
 03827                            Code = 508,
 03828                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03829                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03830                            IsDeleted = false,
 03831                            Name = "Мозамбик"
 03832                        },
 03833                        new
 03834                        {
 03835                            Id = 132L,
 03836                            Code = 498,
 03837                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03838                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03839                            IsDeleted = false,
 03840                            Name = "Молдова, Республика"
 03841                        },
 03842                        new
 03843                        {
 03844                            Id = 133L,
 03845                            Code = 492,
 03846                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03847                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03848                            IsDeleted = false,
 03849                            Name = "Монако"
 03850                        },
 03851                        new
 03852                        {
 03853                            Id = 134L,
 03854                            Code = 496,
 03855                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03856                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03857                            IsDeleted = false,
 03858                            Name = "Монголия"
 03859                        },
 03860                        new
 03861                        {
 03862                            Id = 135L,
 03863                            Code = 500,
 03864                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03865                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03866                            IsDeleted = false,
 03867                            Name = "Монтсеррат"
 03868                        },
 03869                        new
 03870                        {
 03871                            Id = 136L,
 03872                            Code = 104,
 03873                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03874                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03875                            IsDeleted = false,
 03876                            Name = "Мьянма"
 03877                        },
 03878                        new
 03879                        {
 03880                            Id = 137L,
 03881                            Code = 516,
 03882                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03883                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03884                            IsDeleted = false,
 03885                            Name = "Намибия"
 03886                        },
 03887                        new
 03888                        {
 03889                            Id = 138L,
 03890                            Code = 520,
 03891                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03892                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03893                            IsDeleted = false,
 03894                            Name = "Науру"
 03895                        },
 03896                        new
 03897                        {
 03898                            Id = 139L,
 03899                            Code = 524,
 03900                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03901                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03902                            IsDeleted = false,
 03903                            Name = "Непал"
 03904                        },
 03905                        new
 03906                        {
 03907                            Id = 140L,
 03908                            Code = 562,
 03909                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03910                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03911                            IsDeleted = false,
 03912                            Name = "Нигер"
 03913                        },
 03914                        new
 03915                        {
 03916                            Id = 141L,
 03917                            Code = 566,
 03918                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03919                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03920                            IsDeleted = false,
 03921                            Name = "Нигерия"
 03922                        },
 03923                        new
 03924                        {
 03925                            Id = 142L,
 03926                            Code = 528,
 03927                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03928                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03929                            IsDeleted = false,
 03930                            Name = "Нидерланды"
 03931                        },
 03932                        new
 03933                        {
 03934                            Id = 143L,
 03935                            Code = 558,
 03936                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03937                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03938                            IsDeleted = false,
 03939                            Name = "Никарагуа"
 03940                        },
 03941                        new
 03942                        {
 03943                            Id = 144L,
 03944                            Code = 570,
 03945                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03946                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03947                            IsDeleted = false,
 03948                            Name = "Ниуэ"
 03949                        },
 03950                        new
 03951                        {
 03952                            Id = 145L,
 03953                            Code = 554,
 03954                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03955                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03956                            IsDeleted = false,
 03957                            Name = "Новая Зеландия"
 03958                        },
 03959                        new
 03960                        {
 03961                            Id = 146L,
 03962                            Code = 540,
 03963                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03964                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03965                            IsDeleted = false,
 03966                            Name = "Новая Каледония"
 03967                        },
 03968                        new
 03969                        {
 03970                            Id = 147L,
 03971                            Code = 578,
 03972                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03973                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03974                            IsDeleted = false,
 03975                            Name = "Норвегия"
 03976                        },
 03977                        new
 03978                        {
 03979                            Id = 148L,
 03980                            Code = 784,
 03981                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03982                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03983                            IsDeleted = false,
 03984                            Name = "Объединенные Арабские Эмираты"
 03985                        },
 03986                        new
 03987                        {
 03988                            Id = 149L,
 03989                            Code = 512,
 03990                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 03991                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 03992                            IsDeleted = false,
 03993                            Name = "Оман"
 03994                        },
 03995                        new
 03996                        {
 03997                            Id = 150L,
 03998                            Code = 74,
 03999                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04000                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04001                            IsDeleted = false,
 04002                            Name = "Остров Буве"
 04003                        },
 04004                        new
 04005                        {
 04006                            Id = 151L,
 04007                            Code = 833,
 04008                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04009                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04010                            IsDeleted = false,
 04011                            Name = "Остров Мэн"
 04012                        },
 04013                        new
 04014                        {
 04015                            Id = 152L,
 04016                            Code = 574,
 04017                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04018                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04019                            IsDeleted = false,
 04020                            Name = "Остров Норфолк"
 04021                        },
 04022                        new
 04023                        {
 04024                            Id = 153L,
 04025                            Code = 162,
 04026                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04027                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04028                            IsDeleted = false,
 04029                            Name = "Остров Рождества"
 04030                        },
 04031                        new
 04032                        {
 04033                            Id = 154L,
 04034                            Code = 334,
 04035                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04036                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04037                            IsDeleted = false,
 04038                            Name = "Остров Херд и острова Макдональд"
 04039                        },
 04040                        new
 04041                        {
 04042                            Id = 155L,
 04043                            Code = 136,
 04044                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04045                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04046                            IsDeleted = false,
 04047                            Name = "Острова Кайман"
 04048                        },
 04049                        new
 04050                        {
 04051                            Id = 156L,
 04052                            Code = 184,
 04053                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04054                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04055                            IsDeleted = false,
 04056                            Name = "Острова Кука"
 04057                        },
 04058                        new
 04059                        {
 04060                            Id = 157L,
 04061                            Code = 796,
 04062                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04063                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04064                            IsDeleted = false,
 04065                            Name = "Острова Теркс и Кайкос"
 04066                        },
 04067                        new
 04068                        {
 04069                            Id = 158L,
 04070                            Code = 586,
 04071                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04072                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04073                            IsDeleted = false,
 04074                            Name = "Пакистан"
 04075                        },
 04076                        new
 04077                        {
 04078                            Id = 159L,
 04079                            Code = 585,
 04080                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04081                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04082                            IsDeleted = false,
 04083                            Name = "Палау"
 04084                        },
 04085                        new
 04086                        {
 04087                            Id = 160L,
 04088                            Code = 275,
 04089                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04090                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04091                            IsDeleted = false,
 04092                            Name = "Палестина, Государство"
 04093                        },
 04094                        new
 04095                        {
 04096                            Id = 161L,
 04097                            Code = 591,
 04098                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04099                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04100                            IsDeleted = false,
 04101                            Name = "Панама"
 04102                        },
 04103                        new
 04104                        {
 04105                            Id = 162L,
 04106                            Code = 336,
 04107                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04108                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04109                            IsDeleted = false,
 04110                            Name = "Папский Престол (Государство-город Ватикан)"
 04111                        },
 04112                        new
 04113                        {
 04114                            Id = 163L,
 04115                            Code = 598,
 04116                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04117                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04118                            IsDeleted = false,
 04119                            Name = "Папуа-Новая Гвинея"
 04120                        },
 04121                        new
 04122                        {
 04123                            Id = 164L,
 04124                            Code = 600,
 04125                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04126                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04127                            IsDeleted = false,
 04128                            Name = "Парагвай"
 04129                        },
 04130                        new
 04131                        {
 04132                            Id = 165L,
 04133                            Code = 604,
 04134                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04135                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04136                            IsDeleted = false,
 04137                            Name = "Перу"
 04138                        },
 04139                        new
 04140                        {
 04141                            Id = 166L,
 04142                            Code = 612,
 04143                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04144                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04145                            IsDeleted = false,
 04146                            Name = "Питкерн"
 04147                        },
 04148                        new
 04149                        {
 04150                            Id = 167L,
 04151                            Code = 616,
 04152                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04153                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04154                            IsDeleted = false,
 04155                            Name = "Польша"
 04156                        },
 04157                        new
 04158                        {
 04159                            Id = 168L,
 04160                            Code = 620,
 04161                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04162                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04163                            IsDeleted = false,
 04164                            Name = "Португалия"
 04165                        },
 04166                        new
 04167                        {
 04168                            Id = 169L,
 04169                            Code = 630,
 04170                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04171                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04172                            IsDeleted = false,
 04173                            Name = "Пуэрто-Рико"
 04174                        },
 04175                        new
 04176                        {
 04177                            Id = 170L,
 04178                            Code = 807,
 04179                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04180                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04181                            IsDeleted = false,
 04182                            Name = "Северная Македония"
 04183                        },
 04184                        new
 04185                        {
 04186                            Id = 171L,
 04187                            Code = 638,
 04188                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04189                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04190                            IsDeleted = false,
 04191                            Name = "Реюньон"
 04192                        },
 04193                        new
 04194                        {
 04195                            Id = 172L,
 04196                            Code = 643,
 04197                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04198                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04199                            IsDeleted = false,
 04200                            Name = "Россия"
 04201                        },
 04202                        new
 04203                        {
 04204                            Id = 173L,
 04205                            Code = 646,
 04206                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04207                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04208                            IsDeleted = false,
 04209                            Name = "Руанда"
 04210                        },
 04211                        new
 04212                        {
 04213                            Id = 174L,
 04214                            Code = 642,
 04215                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04216                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04217                            IsDeleted = false,
 04218                            Name = "Румыния"
 04219                        },
 04220                        new
 04221                        {
 04222                            Id = 175L,
 04223                            Code = 882,
 04224                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04225                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04226                            IsDeleted = false,
 04227                            Name = "Самоа"
 04228                        },
 04229                        new
 04230                        {
 04231                            Id = 176L,
 04232                            Code = 674,
 04233                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04234                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04235                            IsDeleted = false,
 04236                            Name = "Сан-Марино"
 04237                        },
 04238                        new
 04239                        {
 04240                            Id = 177L,
 04241                            Code = 678,
 04242                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04243                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04244                            IsDeleted = false,
 04245                            Name = "Сан-Томе и Принсипи"
 04246                        },
 04247                        new
 04248                        {
 04249                            Id = 178L,
 04250                            Code = 682,
 04251                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04252                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04253                            IsDeleted = false,
 04254                            Name = "Саудовская Аравия"
 04255                        },
 04256                        new
 04257                        {
 04258                            Id = 179L,
 04259                            Code = 748,
 04260                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04261                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04262                            IsDeleted = false,
 04263                            Name = "Эсватини"
 04264                        },
 04265                        new
 04266                        {
 04267                            Id = 180L,
 04268                            Code = 654,
 04269                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04270                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04271                            IsDeleted = false,
 04272                            Name = "Святая Елена, Остров вознесения, Тристан-да-Кунья"
 04273                        },
 04274                        new
 04275                        {
 04276                            Id = 181L,
 04277                            Code = 580,
 04278                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04279                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04280                            IsDeleted = false,
 04281                            Name = "Северные Марианские острова"
 04282                        },
 04283                        new
 04284                        {
 04285                            Id = 182L,
 04286                            Code = 652,
 04287                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04288                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04289                            IsDeleted = false,
 04290                            Name = "Сен-Бартелеми"
 04291                        },
 04292                        new
 04293                        {
 04294                            Id = 183L,
 04295                            Code = 663,
 04296                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04297                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04298                            IsDeleted = false,
 04299                            Name = "Сен-Мартен (французская часть)"
 04300                        },
 04301                        new
 04302                        {
 04303                            Id = 184L,
 04304                            Code = 686,
 04305                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04306                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04307                            IsDeleted = false,
 04308                            Name = "Сенегал"
 04309                        },
 04310                        new
 04311                        {
 04312                            Id = 185L,
 04313                            Code = 670,
 04314                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04315                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04316                            IsDeleted = false,
 04317                            Name = "Сент-Винсент и Гренадины"
 04318                        },
 04319                        new
 04320                        {
 04321                            Id = 186L,
 04322                            Code = 659,
 04323                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04324                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04325                            IsDeleted = false,
 04326                            Name = "Сент-Китс и Невис"
 04327                        },
 04328                        new
 04329                        {
 04330                            Id = 187L,
 04331                            Code = 662,
 04332                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04333                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04334                            IsDeleted = false,
 04335                            Name = "Сент-Люсия"
 04336                        },
 04337                        new
 04338                        {
 04339                            Id = 188L,
 04340                            Code = 666,
 04341                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04342                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04343                            IsDeleted = false,
 04344                            Name = "Сен-Пьер и Микелон"
 04345                        },
 04346                        new
 04347                        {
 04348                            Id = 189L,
 04349                            Code = 688,
 04350                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04351                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04352                            IsDeleted = false,
 04353                            Name = "Сербия"
 04354                        },
 04355                        new
 04356                        {
 04357                            Id = 190L,
 04358                            Code = 690,
 04359                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04360                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04361                            IsDeleted = false,
 04362                            Name = "Сейшелы"
 04363                        },
 04364                        new
 04365                        {
 04366                            Id = 191L,
 04367                            Code = 702,
 04368                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04369                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04370                            IsDeleted = false,
 04371                            Name = "Сингапур"
 04372                        },
 04373                        new
 04374                        {
 04375                            Id = 192L,
 04376                            Code = 534,
 04377                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04378                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04379                            IsDeleted = false,
 04380                            Name = "Сен-Мартен (нидерландская часть)"
 04381                        },
 04382                        new
 04383                        {
 04384                            Id = 193L,
 04385                            Code = 760,
 04386                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04387                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04388                            IsDeleted = false,
 04389                            Name = "Сирийская Арабская Республика"
 04390                        },
 04391                        new
 04392                        {
 04393                            Id = 194L,
 04394                            Code = 703,
 04395                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04396                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04397                            IsDeleted = false,
 04398                            Name = "Словакия"
 04399                        },
 04400                        new
 04401                        {
 04402                            Id = 195L,
 04403                            Code = 705,
 04404                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04405                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04406                            IsDeleted = false,
 04407                            Name = "Словения"
 04408                        },
 04409                        new
 04410                        {
 04411                            Id = 196L,
 04412                            Code = 826,
 04413                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04414                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04415                            IsDeleted = false,
 04416                            Name = "Соединенное Королевство"
 04417                        },
 04418                        new
 04419                        {
 04420                            Id = 197L,
 04421                            Code = 840,
 04422                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04423                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04424                            IsDeleted = false,
 04425                            Name = "Соединенные Штаты"
 04426                        },
 04427                        new
 04428                        {
 04429                            Id = 198L,
 04430                            Code = 90,
 04431                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04432                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04433                            IsDeleted = false,
 04434                            Name = "Соломоновы острова"
 04435                        },
 04436                        new
 04437                        {
 04438                            Id = 199L,
 04439                            Code = 706,
 04440                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04441                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04442                            IsDeleted = false,
 04443                            Name = "Сомали"
 04444                        },
 04445                        new
 04446                        {
 04447                            Id = 200L,
 04448                            Code = 729,
 04449                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04450                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04451                            IsDeleted = false,
 04452                            Name = "Судан"
 04453                        },
 04454                        new
 04455                        {
 04456                            Id = 201L,
 04457                            Code = 740,
 04458                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04459                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04460                            IsDeleted = false,
 04461                            Name = "Суринам"
 04462                        },
 04463                        new
 04464                        {
 04465                            Id = 202L,
 04466                            Code = 694,
 04467                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04468                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04469                            IsDeleted = false,
 04470                            Name = "Сьерра-Леоне"
 04471                        },
 04472                        new
 04473                        {
 04474                            Id = 203L,
 04475                            Code = 762,
 04476                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04477                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04478                            IsDeleted = false,
 04479                            Name = "Таджикистан"
 04480                        },
 04481                        new
 04482                        {
 04483                            Id = 204L,
 04484                            Code = 764,
 04485                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04486                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04487                            IsDeleted = false,
 04488                            Name = "Таиланд"
 04489                        },
 04490                        new
 04491                        {
 04492                            Id = 205L,
 04493                            Code = 158,
 04494                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04495                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04496                            IsDeleted = false,
 04497                            Name = "Тайвань (Китай)"
 04498                        },
 04499                        new
 04500                        {
 04501                            Id = 206L,
 04502                            Code = 834,
 04503                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04504                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04505                            IsDeleted = false,
 04506                            Name = "Танзания, Объединенная Республика"
 04507                        },
 04508                        new
 04509                        {
 04510                            Id = 207L,
 04511                            Code = 626,
 04512                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04513                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04514                            IsDeleted = false,
 04515                            Name = "Тимор-Лесте"
 04516                        },
 04517                        new
 04518                        {
 04519                            Id = 208L,
 04520                            Code = 768,
 04521                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04522                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04523                            IsDeleted = false,
 04524                            Name = "Того"
 04525                        },
 04526                        new
 04527                        {
 04528                            Id = 209L,
 04529                            Code = 772,
 04530                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04531                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04532                            IsDeleted = false,
 04533                            Name = "Токелау"
 04534                        },
 04535                        new
 04536                        {
 04537                            Id = 210L,
 04538                            Code = 776,
 04539                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04540                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04541                            IsDeleted = false,
 04542                            Name = "Тонга"
 04543                        },
 04544                        new
 04545                        {
 04546                            Id = 211L,
 04547                            Code = 780,
 04548                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04549                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04550                            IsDeleted = false,
 04551                            Name = "Тринидад и Тобаго"
 04552                        },
 04553                        new
 04554                        {
 04555                            Id = 212L,
 04556                            Code = 798,
 04557                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04558                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04559                            IsDeleted = false,
 04560                            Name = "Тувалу"
 04561                        },
 04562                        new
 04563                        {
 04564                            Id = 213L,
 04565                            Code = 788,
 04566                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04567                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04568                            IsDeleted = false,
 04569                            Name = "Тунис"
 04570                        },
 04571                        new
 04572                        {
 04573                            Id = 214L,
 04574                            Code = 795,
 04575                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04576                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04577                            IsDeleted = false,
 04578                            Name = "Туркменистан"
 04579                        },
 04580                        new
 04581                        {
 04582                            Id = 215L,
 04583                            Code = 792,
 04584                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04585                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04586                            IsDeleted = false,
 04587                            Name = "Турция"
 04588                        },
 04589                        new
 04590                        {
 04591                            Id = 216L,
 04592                            Code = 800,
 04593                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04594                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04595                            IsDeleted = false,
 04596                            Name = "Уганда"
 04597                        },
 04598                        new
 04599                        {
 04600                            Id = 217L,
 04601                            Code = 860,
 04602                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04603                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04604                            IsDeleted = false,
 04605                            Name = "Узбекистан"
 04606                        },
 04607                        new
 04608                        {
 04609                            Id = 218L,
 04610                            Code = 804,
 04611                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04612                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04613                            IsDeleted = false,
 04614                            Name = "Украина"
 04615                        },
 04616                        new
 04617                        {
 04618                            Id = 219L,
 04619                            Code = 876,
 04620                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04621                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04622                            IsDeleted = false,
 04623                            Name = "Уоллис и Футуна"
 04624                        },
 04625                        new
 04626                        {
 04627                            Id = 220L,
 04628                            Code = 858,
 04629                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04630                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04631                            IsDeleted = false,
 04632                            Name = "Уругвай"
 04633                        },
 04634                        new
 04635                        {
 04636                            Id = 221L,
 04637                            Code = 234,
 04638                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04639                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04640                            IsDeleted = false,
 04641                            Name = "Фарерские острова"
 04642                        },
 04643                        new
 04644                        {
 04645                            Id = 222L,
 04646                            Code = 242,
 04647                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04648                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04649                            IsDeleted = false,
 04650                            Name = "Фиджи"
 04651                        },
 04652                        new
 04653                        {
 04654                            Id = 223L,
 04655                            Code = 608,
 04656                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04657                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04658                            IsDeleted = false,
 04659                            Name = "Филиппины"
 04660                        },
 04661                        new
 04662                        {
 04663                            Id = 224L,
 04664                            Code = 246,
 04665                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04666                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04667                            IsDeleted = false,
 04668                            Name = "Финляндия"
 04669                        },
 04670                        new
 04671                        {
 04672                            Id = 225L,
 04673                            Code = 238,
 04674                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04675                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04676                            IsDeleted = false,
 04677                            Name = "Фолклендские острова (Мальвинские)"
 04678                        },
 04679                        new
 04680                        {
 04681                            Id = 226L,
 04682                            Code = 250,
 04683                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04684                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04685                            IsDeleted = false,
 04686                            Name = "Франция"
 04687                        },
 04688                        new
 04689                        {
 04690                            Id = 227L,
 04691                            Code = 254,
 04692                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04693                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04694                            IsDeleted = false,
 04695                            Name = "Французская Гвиана"
 04696                        },
 04697                        new
 04698                        {
 04699                            Id = 228L,
 04700                            Code = 258,
 04701                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04702                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04703                            IsDeleted = false,
 04704                            Name = "Французская Полинезия"
 04705                        },
 04706                        new
 04707                        {
 04708                            Id = 229L,
 04709                            Code = 260,
 04710                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04711                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04712                            IsDeleted = false,
 04713                            Name = "Французские Южные территории"
 04714                        },
 04715                        new
 04716                        {
 04717                            Id = 230L,
 04718                            Code = 191,
 04719                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04720                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04721                            IsDeleted = false,
 04722                            Name = "Хорватия"
 04723                        },
 04724                        new
 04725                        {
 04726                            Id = 231L,
 04727                            Code = 140,
 04728                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04729                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04730                            IsDeleted = false,
 04731                            Name = "Центрально-Африканская Республика"
 04732                        },
 04733                        new
 04734                        {
 04735                            Id = 232L,
 04736                            Code = 148,
 04737                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04738                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04739                            IsDeleted = false,
 04740                            Name = "Чад"
 04741                        },
 04742                        new
 04743                        {
 04744                            Id = 233L,
 04745                            Code = 499,
 04746                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04747                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04748                            IsDeleted = false,
 04749                            Name = "Черногория"
 04750                        },
 04751                        new
 04752                        {
 04753                            Id = 234L,
 04754                            Code = 203,
 04755                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04756                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04757                            IsDeleted = false,
 04758                            Name = "Чешская Республика"
 04759                        },
 04760                        new
 04761                        {
 04762                            Id = 235L,
 04763                            Code = 152,
 04764                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04765                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04766                            IsDeleted = false,
 04767                            Name = "Чили"
 04768                        },
 04769                        new
 04770                        {
 04771                            Id = 236L,
 04772                            Code = 756,
 04773                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04774                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04775                            IsDeleted = false,
 04776                            Name = "Швейцария"
 04777                        },
 04778                        new
 04779                        {
 04780                            Id = 237L,
 04781                            Code = 752,
 04782                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04783                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04784                            IsDeleted = false,
 04785                            Name = "Швеция"
 04786                        },
 04787                        new
 04788                        {
 04789                            Id = 238L,
 04790                            Code = 744,
 04791                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04792                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04793                            IsDeleted = false,
 04794                            Name = "Шпицберген и Ян Майен"
 04795                        },
 04796                        new
 04797                        {
 04798                            Id = 239L,
 04799                            Code = 144,
 04800                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04801                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04802                            IsDeleted = false,
 04803                            Name = "Шри-Ланка"
 04804                        },
 04805                        new
 04806                        {
 04807                            Id = 240L,
 04808                            Code = 218,
 04809                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04810                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04811                            IsDeleted = false,
 04812                            Name = "Эквадор"
 04813                        },
 04814                        new
 04815                        {
 04816                            Id = 241L,
 04817                            Code = 226,
 04818                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04819                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04820                            IsDeleted = false,
 04821                            Name = "Экваториальная Гвинея"
 04822                        },
 04823                        new
 04824                        {
 04825                            Id = 242L,
 04826                            Code = 248,
 04827                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04828                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04829                            IsDeleted = false,
 04830                            Name = "Эландские острова"
 04831                        },
 04832                        new
 04833                        {
 04834                            Id = 243L,
 04835                            Code = 222,
 04836                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04837                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04838                            IsDeleted = false,
 04839                            Name = "Эль-Сальвадор"
 04840                        },
 04841                        new
 04842                        {
 04843                            Id = 244L,
 04844                            Code = 232,
 04845                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04846                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04847                            IsDeleted = false,
 04848                            Name = "Эритрея"
 04849                        },
 04850                        new
 04851                        {
 04852                            Id = 245L,
 04853                            Code = 233,
 04854                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04855                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04856                            IsDeleted = false,
 04857                            Name = "Эстония"
 04858                        },
 04859                        new
 04860                        {
 04861                            Id = 246L,
 04862                            Code = 231,
 04863                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04864                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04865                            IsDeleted = false,
 04866                            Name = "Эфиопия"
 04867                        },
 04868                        new
 04869                        {
 04870                            Id = 247L,
 04871                            Code = 710,
 04872                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04873                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04874                            IsDeleted = false,
 04875                            Name = "Южная Африка"
 04876                        },
 04877                        new
 04878                        {
 04879                            Id = 248L,
 04880                            Code = 239,
 04881                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04882                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04883                            IsDeleted = false,
 04884                            Name = "Южная Джорджия и Южные Сандвичевы острова"
 04885                        },
 04886                        new
 04887                        {
 04888                            Id = 249L,
 04889                            Code = 896,
 04890                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04891                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04892                            IsDeleted = false,
 04893                            Name = "Южная Осетия"
 04894                        },
 04895                        new
 04896                        {
 04897                            Id = 250L,
 04898                            Code = 728,
 04899                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04900                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04901                            IsDeleted = false,
 04902                            Name = "Южный Судан"
 04903                        },
 04904                        new
 04905                        {
 04906                            Id = 251L,
 04907                            Code = 388,
 04908                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04909                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04910                            IsDeleted = false,
 04911                            Name = "Ямайка"
 04912                        },
 04913                        new
 04914                        {
 04915                            Id = 252L,
 04916                            Code = 392,
 04917                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 04918                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 04919                            IsDeleted = false,
 04920                            Name = "Япония"
 04921                        });
 04922                });
 4923
 04924            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Currency", b =>
 04925                {
 04926                    b.Property<long>("Id")
 04927                        .ValueGeneratedOnAdd()
 04928                        .HasColumnType("bigint")
 04929                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 04930                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 04931
 04932                    b.Property<string>("CODE")
 04933                        .IsRequired()
 04934                        .HasColumnType("text");
 04935
 04936                    b.Property<string>("COUNTRY")
 04937                        .IsRequired()
 04938                        .HasColumnType("text");
 04939
 04940                    b.Property<long?>("CreatedByUserId")
 04941                        .HasColumnType("bigint");
 04942
 04943                    b.Property<DateTime>("CreationDateTime")
 04944                        .HasColumnType("timestamp without time zone");
 04945
 04946                    b.Property<Guid>("GUID")
 04947                        .ValueGeneratedOnAdd()
 04948                        .HasColumnType("uuid");
 04949
 04950                    b.Property<bool>("IsDeleted")
 04951                        .HasColumnType("boolean");
 04952
 04953                    b.Property<DateTime?>("ModificationDateTime")
 04954                        .HasColumnType("timestamp without time zone");
 04955
 04956                    b.Property<long?>("ModifiedByUserId")
 04957                        .HasColumnType("bigint");
 04958
 04959                    b.Property<string>("NAME")
 04960                        .IsRequired()
 04961                        .HasColumnType("text");
 04962
 04963                    b.Property<decimal>("Rate")
 04964                        .HasColumnType("numeric");
 04965
 04966                    b.Property<long?>("RecStateId")
 04967                        .HasColumnType("bigint");
 04968
 04969                    b.Property<string>("STRCODE")
 04970                        .IsRequired()
 04971                        .HasColumnType("text");
 04972
 04973                    b.Property<string>("global_id")
 04974                        .HasColumnType("text");
 04975
 04976                    b.Property<string>("system_object_id")
 04977                        .HasColumnType("text");
 04978
 04979                    b.HasKey("Id");
 04980
 04981                    b.HasIndex("CODE")
 04982                        .IsUnique();
 04983
 04984                    b.HasIndex("CreatedByUserId");
 04985
 04986                    b.HasIndex("ModifiedByUserId");
 04987
 04988                    b.HasIndex("NAME")
 04989                        .IsUnique();
 04990
 04991                    b.HasIndex("RecStateId");
 04992
 04993                    b.HasIndex("STRCODE")
 04994                        .IsUnique();
 04995
 04996                    b.ToTable("Currency");
 04997
 04998                    b.HasData(
 04999                        new
 05000                        {
 05001                            Id = 1L,
 05002                            CODE = "643",
 05003                            COUNTRY = "Россия",
 05004                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05005                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05006                            IsDeleted = false,
 05007                            NAME = "Российский рубль",
 05008                            Rate = 1m,
 05009                            STRCODE = "RUB",
 05010                            global_id = "62838439",
 05011                            system_object_id = "643"
 05012                        });
 05013                });
 5014
 05015            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", b =>
 05016                {
 05017                    b.Property<long>("Id")
 05018                        .ValueGeneratedOnAdd()
 05019                        .HasColumnType("bigint")
 05020                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05021
 05022                    b.Property<long?>("ActualAddressId")
 05023                        .HasColumnType("bigint");
 05024
 05025                    b.Property<decimal>("Area")
 05026                        .HasColumnType("numeric");
 05027
 05028                    b.Property<long?>("ClusterId")
 05029                        .HasColumnType("bigint");
 05030
 05031                    b.Property<long>("ContragentId")
 05032                        .HasColumnType("bigint");
 05033
 05034                    b.Property<long?>("CreatedByUserId")
 05035                        .HasColumnType("bigint");
 05036
 05037                    b.Property<DateTime>("CreationDateTime")
 05038                        .HasColumnType("timestamp without time zone");
 05039
 05040                    b.Property<string>("Email")
 05041                        .HasColumnType("text");
 05042
 05043                    b.Property<Guid>("GUID")
 05044                        .ValueGeneratedOnAdd()
 05045                        .HasColumnType("uuid");
 05046
 05047                    b.Property<bool>("IsDeleted")
 05048                        .HasColumnType("boolean");
 05049
 05050                    b.Property<long?>("KindId")
 05051                        .HasColumnType("bigint");
 05052
 05053                    b.Property<string>("Kpp")
 05054                        .HasColumnType("text");
 05055
 05056                    b.Property<DateTime?>("ModificationDateTime")
 05057                        .HasColumnType("timestamp without time zone");
 05058
 05059                    b.Property<long?>("ModifiedByUserId")
 05060                        .HasColumnType("bigint");
 05061
 05062                    b.Property<string>("Name")
 05063                        .IsRequired()
 05064                        .HasColumnType("text");
 05065
 05066                    b.Property<string>("PhoneNumber")
 05067                        .IsRequired()
 05068                        .HasColumnType("text");
 05069
 05070                    b.Property<long?>("RecStateId")
 05071                        .HasColumnType("bigint");
 05072
 05073                    b.Property<long?>("StatusId")
 05074                        .HasColumnType("bigint");
 05075
 05076                    b.HasKey("Id");
 05077
 05078                    b.HasIndex("ActualAddressId");
 05079
 05080                    b.HasIndex("ClusterId");
 05081
 05082                    b.HasIndex("ContragentId");
 05083
 05084                    b.HasIndex("CreatedByUserId");
 05085
 05086                    b.HasIndex("KindId");
 05087
 05088                    b.HasIndex("ModifiedByUserId");
 05089
 05090                    b.HasIndex("Name")
 05091                        .IsUnique();
 05092
 05093                    b.HasIndex("PhoneNumber");
 05094
 05095                    b.HasIndex("RecStateId");
 05096
 05097                    b.HasIndex("StatusId");
 05098
 05099                    b.ToTable("Departments");
 05100
 05101                    b.HasData(
 05102                        new
 05103                        {
 05104                            Id = -1L,
 05105                            ActualAddressId = -1L,
 05106                            Area = 100.0m,
 05107                            ContragentId = -1L,
 05108                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05109                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05110                            IsDeleted = false,
 05111                            KindId = 2L,
 05112                            Kpp = "3",
 05113                            Name = "Демонстрационный магазин №1",
 05114                            PhoneNumber = "88008008000",
 05115                            StatusId = 2L
 05116                        });
 05117                });
 5118
 05119            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentCategoryRatio", b =>
 05120                {
 05121                    b.Property<long>("Id")
 05122                        .ValueGeneratedOnAdd()
 05123                        .HasColumnType("bigint")
 05124                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05125
 05126                    b.Property<long>("CategoryId")
 05127                        .HasColumnType("bigint");
 05128
 05129                    b.Property<long?>("CreatedByUserId")
 05130                        .HasColumnType("bigint");
 05131
 05132                    b.Property<DateTime>("CreationDateTime")
 05133                        .HasColumnType("timestamp without time zone");
 05134
 05135                    b.Property<long>("DepartmentId")
 05136                        .HasColumnType("bigint");
 05137
 05138                    b.Property<Guid>("GUID")
 05139                        .ValueGeneratedOnAdd()
 05140                        .HasColumnType("uuid");
 05141
 05142                    b.Property<bool>("IsDeleted")
 05143                        .HasColumnType("boolean");
 05144
 05145                    b.Property<DateTime?>("ModificationDateTime")
 05146                        .HasColumnType("timestamp without time zone");
 05147
 05148                    b.Property<long?>("ModifiedByUserId")
 05149                        .HasColumnType("bigint");
 05150
 05151                    b.Property<long?>("RecStateId")
 05152                        .HasColumnType("bigint");
 05153
 05154                    b.Property<decimal>("TradeRatio")
 05155                        .HasColumnType("numeric");
 05156
 05157                    b.HasKey("Id");
 05158
 05159                    b.HasIndex("CategoryId");
 05160
 05161                    b.HasIndex("CreatedByUserId");
 05162
 05163                    b.HasIndex("ModifiedByUserId");
 05164
 05165                    b.HasIndex("RecStateId");
 05166
 05167                    b.HasIndex("DepartmentId", "CategoryId")
 05168                        .IsUnique();
 05169
 05170                    b.ToTable("DepartmentCategoryRatio");
 05171                });
 5172
 05173            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentGoodSetting", b =>
 05174                {
 05175                    b.Property<long>("Id")
 05176                        .ValueGeneratedOnAdd()
 05177                        .HasColumnType("bigint")
 05178                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05179
 05180                    b.Property<long?>("CreatedByUserId")
 05181                        .HasColumnType("bigint");
 05182
 05183                    b.Property<DateTime>("CreationDateTime")
 05184                        .HasColumnType("timestamp without time zone");
 05185
 05186                    b.Property<long>("DepartmentId")
 05187                        .HasColumnType("bigint");
 05188
 05189                    b.Property<Guid>("GUID")
 05190                        .ValueGeneratedOnAdd()
 05191                        .HasColumnType("uuid");
 05192
 05193                    b.Property<long>("GoodId")
 05194                        .HasColumnType("bigint");
 05195
 05196                    b.Property<bool>("IsDeleted")
 05197                        .HasColumnType("boolean");
 05198
 05199                    b.Property<decimal>("MinQuantity")
 05200                        .HasColumnType("numeric");
 05201
 05202                    b.Property<DateTime?>("ModificationDateTime")
 05203                        .HasColumnType("timestamp without time zone");
 05204
 05205                    b.Property<long?>("ModifiedByUserId")
 05206                        .HasColumnType("bigint");
 05207
 05208                    b.Property<decimal>("PickingQuantum")
 05209                        .HasColumnType("numeric");
 05210
 05211                    b.Property<long?>("RecStateId")
 05212                        .HasColumnType("bigint");
 05213
 05214                    b.HasKey("Id");
 05215
 05216                    b.HasIndex("CreatedByUserId");
 05217
 05218                    b.HasIndex("DepartmentId");
 05219
 05220                    b.HasIndex("ModifiedByUserId");
 05221
 05222                    b.HasIndex("RecStateId");
 05223
 05224                    b.HasIndex("GoodId", "DepartmentId")
 05225                        .IsUnique();
 05226
 05227                    b.ToTable("DepartmentGoodSetting");
 05228                });
 5229
 05230            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", b =>
 05231                {
 05232                    b.Property<long>("Id")
 05233                        .ValueGeneratedOnAdd()
 05234                        .HasColumnType("bigint")
 05235                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05236                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05237
 05238                    b.Property<string>("Code")
 05239                        .IsRequired()
 05240                        .HasColumnType("text");
 05241
 05242                    b.Property<long?>("CreatedByUserId")
 05243                        .HasColumnType("bigint");
 05244
 05245                    b.Property<DateTime>("CreationDateTime")
 05246                        .HasColumnType("timestamp without time zone");
 05247
 05248                    b.Property<string>("Description")
 05249                        .HasColumnType("text");
 05250
 05251                    b.Property<Guid>("GUID")
 05252                        .ValueGeneratedOnAdd()
 05253                        .HasColumnType("uuid");
 05254
 05255                    b.Property<bool>("IsDeleted")
 05256                        .HasColumnType("boolean");
 05257
 05258                    b.Property<DateTime?>("ModificationDateTime")
 05259                        .HasColumnType("timestamp without time zone");
 05260
 05261                    b.Property<long?>("ModifiedByUserId")
 05262                        .HasColumnType("bigint");
 05263
 05264                    b.Property<string>("Name")
 05265                        .IsRequired()
 05266                        .HasColumnType("text");
 05267
 05268                    b.Property<long?>("RecStateId")
 05269                        .HasColumnType("bigint");
 05270
 05271                    b.HasKey("Id");
 05272
 05273                    b.HasIndex("CreatedByUserId");
 05274
 05275                    b.HasIndex("ModifiedByUserId");
 05276
 05277                    b.HasIndex("RecStateId");
 05278
 05279                    b.ToTable("DepartmentsKind");
 05280
 05281                    b.HasData(
 05282                        new
 05283                        {
 05284                            Id = 1L,
 05285                            Code = "Warehouse",
 05286                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05287                            Description = "",
 05288                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05289                            IsDeleted = false,
 05290                            Name = "Склад"
 05291                        },
 05292                        new
 05293                        {
 05294                            Id = 2L,
 05295                            Code = "Shop",
 05296                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05297                            Description = "",
 05298                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05299                            IsDeleted = false,
 05300                            Name = "Магазин"
 05301                        },
 05302                        new
 05303                        {
 05304                            Id = 3L,
 05305                            Code = "Plant",
 05306                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05307                            Description = "",
 05308                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05309                            IsDeleted = false,
 05310                            Name = "Завод"
 05311                        });
 05312                });
 5313
 05314            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsStatus", b =>
 05315                {
 05316                    b.Property<long>("Id")
 05317                        .ValueGeneratedOnAdd()
 05318                        .HasColumnType("bigint")
 05319                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05320                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05321
 05322                    b.Property<string>("Code")
 05323                        .IsRequired()
 05324                        .HasColumnType("text");
 05325
 05326                    b.Property<long?>("CreatedByUserId")
 05327                        .HasColumnType("bigint");
 05328
 05329                    b.Property<DateTime>("CreationDateTime")
 05330                        .HasColumnType("timestamp without time zone");
 05331
 05332                    b.Property<string>("Description")
 05333                        .HasColumnType("text");
 05334
 05335                    b.Property<Guid>("GUID")
 05336                        .ValueGeneratedOnAdd()
 05337                        .HasColumnType("uuid");
 05338
 05339                    b.Property<bool>("IsDeleted")
 05340                        .HasColumnType("boolean");
 05341
 05342                    b.Property<DateTime?>("ModificationDateTime")
 05343                        .HasColumnType("timestamp without time zone");
 05344
 05345                    b.Property<long?>("ModifiedByUserId")
 05346                        .HasColumnType("bigint");
 05347
 05348                    b.Property<string>("Name")
 05349                        .IsRequired()
 05350                        .HasColumnType("text");
 05351
 05352                    b.Property<long?>("RecStateId")
 05353                        .HasColumnType("bigint");
 05354
 05355                    b.HasKey("Id");
 05356
 05357                    b.HasIndex("CreatedByUserId");
 05358
 05359                    b.HasIndex("ModifiedByUserId");
 05360
 05361                    b.HasIndex("RecStateId");
 05362
 05363                    b.ToTable("DepartmentsStatus");
 05364
 05365                    b.HasData(
 05366                        new
 05367                        {
 05368                            Id = 1L,
 05369                            Code = "New",
 05370                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05371                            Description = "",
 05372                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05373                            IsDeleted = false,
 05374                            Name = "Новый"
 05375                        },
 05376                        new
 05377                        {
 05378                            Id = 2L,
 05379                            Code = "Active",
 05380                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05381                            Description = "",
 05382                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05383                            IsDeleted = false,
 05384                            Name = "Активный"
 05385                        },
 05386                        new
 05387                        {
 05388                            Id = 3L,
 05389                            Code = "Inactive",
 05390                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05391                            Description = "",
 05392                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05393                            IsDeleted = false,
 05394                            Name = "Неактивный"
 05395                        },
 05396                        new
 05397                        {
 05398                            Id = 4L,
 05399                            Code = "Paused",
 05400                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05401                            Description = "",
 05402                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05403                            IsDeleted = false,
 05404                            Name = "На паузе"
 05405                        });
 05406                });
 5407
 05408            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DiscountColor", b =>
 05409                {
 05410                    b.Property<long>("Id")
 05411                        .ValueGeneratedOnAdd()
 05412                        .HasColumnType("bigint")
 05413                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05414                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05415
 05416                    b.Property<long?>("CreatedByUserId")
 05417                        .HasColumnType("bigint");
 05418
 05419                    b.Property<DateTime>("CreationDateTime")
 05420                        .HasColumnType("timestamp without time zone");
 05421
 05422                    b.Property<int>("DiscountLevel")
 05423                        .HasColumnType("integer");
 05424
 05425                    b.Property<Guid>("GUID")
 05426                        .ValueGeneratedOnAdd()
 05427                        .HasColumnType("uuid");
 05428
 05429                    b.Property<bool>("IsDeleted")
 05430                        .HasColumnType("boolean");
 05431
 05432                    b.Property<string>("LabelColor")
 05433                        .IsRequired()
 05434                        .HasColumnType("text");
 05435
 05436                    b.Property<DateTime?>("ModificationDateTime")
 05437                        .HasColumnType("timestamp without time zone");
 05438
 05439                    b.Property<long?>("ModifiedByUserId")
 05440                        .HasColumnType("bigint");
 05441
 05442                    b.Property<long?>("RecStateId")
 05443                        .HasColumnType("bigint");
 05444
 05445                    b.HasKey("Id");
 05446
 05447                    b.HasIndex("CreatedByUserId");
 05448
 05449                    b.HasIndex("ModifiedByUserId");
 05450
 05451                    b.HasIndex("RecStateId");
 05452
 05453                    b.HasIndex("DiscountLevel", "LabelColor")
 05454                        .IsUnique();
 05455
 05456                    b.ToTable("DiscountColors");
 05457
 05458                    b.HasData(
 05459                        new
 05460                        {
 05461                            Id = 1L,
 05462                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05463                            DiscountLevel = 10,
 05464                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05465                            IsDeleted = false,
 05466                            LabelColor = "EA6B6A"
 05467                        });
 05468                });
 5469
 05470            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Email", b =>
 05471                {
 05472                    b.Property<long>("Id")
 05473                        .ValueGeneratedOnAdd()
 05474                        .HasColumnType("bigint")
 05475                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05476
 05477                    b.Property<string>("Attachment")
 05478                        .HasColumnType("text");
 05479
 05480                    b.Property<string>("Body")
 05481                        .IsRequired()
 05482                        .HasColumnType("text");
 05483
 05484                    b.Property<long?>("CreatedByUserId")
 05485                        .HasColumnType("bigint");
 05486
 05487                    b.Property<DateTime>("CreationDateTime")
 05488                        .HasColumnType("timestamp without time zone");
 05489
 05490                    b.Property<string>("Error")
 05491                        .HasColumnType("text");
 05492
 05493                    b.Property<Guid>("GUID")
 05494                        .ValueGeneratedOnAdd()
 05495                        .HasColumnType("uuid");
 05496
 05497                    b.Property<bool>("IsDeleted")
 05498                        .HasColumnType("boolean");
 05499
 05500                    b.Property<DateTime?>("ModificationDateTime")
 05501                        .HasColumnType("timestamp without time zone");
 05502
 05503                    b.Property<long?>("ModifiedByUserId")
 05504                        .HasColumnType("bigint");
 05505
 05506                    b.Property<long?>("RecStateId")
 05507                        .HasColumnType("bigint");
 05508
 05509                    b.Property<string>("Receiver")
 05510                        .IsRequired()
 05511                        .HasColumnType("text");
 05512
 05513                    b.Property<int>("Status")
 05514                        .HasColumnType("integer");
 05515
 05516                    b.Property<string>("Subject")
 05517                        .IsRequired()
 05518                        .HasColumnType("text");
 05519
 05520                    b.HasKey("Id");
 05521
 05522                    b.HasIndex("CreatedByUserId");
 05523
 05524                    b.HasIndex("ModifiedByUserId");
 05525
 05526                    b.HasIndex("RecStateId");
 05527
 05528                    b.ToTable("Emails");
 05529                });
 5530
 05531            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Event", b =>
 05532                {
 05533                    b.Property<long>("Id")
 05534                        .ValueGeneratedOnAdd()
 05535                        .HasColumnType("bigint")
 05536                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05537
 05538                    b.Property<long?>("CreatedByUserId")
 05539                        .HasColumnType("bigint");
 05540
 05541                    b.Property<DateTime>("CreationDateTime")
 05542                        .HasColumnType("timestamp without time zone");
 05543
 05544                    b.Property<DateTime>("DtCreated")
 05545                        .HasColumnType("timestamp without time zone");
 05546
 05547                    b.Property<string>("Entity")
 05548                        .IsRequired()
 05549                        .HasColumnType("text");
 05550
 05551                    b.Property<long>("EventsKindId")
 05552                        .HasColumnType("bigint");
 05553
 05554                    b.Property<Guid>("GUID")
 05555                        .ValueGeneratedOnAdd()
 05556                        .HasColumnType("uuid");
 05557
 05558                    b.Property<bool>("IsDeleted")
 05559                        .HasColumnType("boolean");
 05560
 05561                    b.Property<DateTime?>("ModificationDateTime")
 05562                        .HasColumnType("timestamp without time zone");
 05563
 05564                    b.Property<long?>("ModifiedByUserId")
 05565                        .HasColumnType("bigint");
 05566
 05567                    b.Property<string>("ReasonJson")
 05568                        .HasColumnType("text");
 05569
 05570                    b.Property<long?>("RecStateId")
 05571                        .HasColumnType("bigint");
 05572
 05573                    b.Property<Guid>("RecordGuid")
 05574                        .HasColumnType("uuid");
 05575
 05576                    b.Property<long>("UserId")
 05577                        .HasColumnType("bigint");
 05578
 05579                    b.HasKey("Id");
 05580
 05581                    b.HasIndex("CreatedByUserId");
 05582
 05583                    b.HasIndex("Entity");
 05584
 05585                    b.HasIndex("EventsKindId");
 05586
 05587                    b.HasIndex("ModifiedByUserId");
 05588
 05589                    b.HasIndex("ReasonJson");
 05590
 05591                    b.HasIndex("RecStateId");
 05592
 05593                    b.HasIndex("UserId");
 05594
 05595                    b.ToTable("Events");
 05596                });
 5597
 05598            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", b =>
 05599                {
 05600                    b.Property<long>("Id")
 05601                        .ValueGeneratedOnAdd()
 05602                        .HasColumnType("bigint")
 05603                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05604                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05605
 05606                    b.Property<string>("Code")
 05607                        .IsRequired()
 05608                        .HasColumnType("text");
 05609
 05610                    b.Property<long?>("CreatedByUserId")
 05611                        .HasColumnType("bigint");
 05612
 05613                    b.Property<DateTime>("CreationDateTime")
 05614                        .HasColumnType("timestamp without time zone");
 05615
 05616                    b.Property<string>("Description")
 05617                        .HasColumnType("text");
 05618
 05619                    b.Property<Guid>("GUID")
 05620                        .ValueGeneratedOnAdd()
 05621                        .HasColumnType("uuid");
 05622
 05623                    b.Property<bool>("IsDeleted")
 05624                        .HasColumnType("boolean");
 05625
 05626                    b.Property<DateTime?>("ModificationDateTime")
 05627                        .HasColumnType("timestamp without time zone");
 05628
 05629                    b.Property<long?>("ModifiedByUserId")
 05630                        .HasColumnType("bigint");
 05631
 05632                    b.Property<string>("Name")
 05633                        .IsRequired()
 05634                        .HasColumnType("text");
 05635
 05636                    b.Property<long?>("RecStateId")
 05637                        .HasColumnType("bigint");
 05638
 05639                    b.HasKey("Id");
 05640
 05641                    b.HasIndex("CreatedByUserId");
 05642
 05643                    b.HasIndex("ModifiedByUserId");
 05644
 05645                    b.HasIndex("RecStateId");
 05646
 05647                    b.ToTable("EventsKind");
 05648
 05649                    b.HasData(
 05650                        new
 05651                        {
 05652                            Id = 1L,
 05653                            Code = "Unknown",
 05654                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05655                            Description = "",
 05656                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05657                            IsDeleted = false,
 05658                            Name = "Неизвестно"
 05659                        },
 05660                        new
 05661                        {
 05662                            Id = 2L,
 05663                            Code = "Create",
 05664                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05665                            Description = "",
 05666                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05667                            IsDeleted = false,
 05668                            Name = "Создание"
 05669                        },
 05670                        new
 05671                        {
 05672                            Id = 3L,
 05673                            Code = "Update",
 05674                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05675                            Description = "",
 05676                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05677                            IsDeleted = false,
 05678                            Name = "Обновление"
 05679                        },
 05680                        new
 05681                        {
 05682                            Id = 4L,
 05683                            Code = "Delete",
 05684                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05685                            Description = "",
 05686                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05687                            IsDeleted = false,
 05688                            Name = "Удаление"
 05689                        });
 05690                });
 5691
 05692            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ExchangeToken", b =>
 05693                {
 05694                    b.Property<long>("Id")
 05695                        .ValueGeneratedOnAdd()
 05696                        .HasColumnType("bigint")
 05697                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05698
 05699                    b.Property<long>("ContragentId")
 05700                        .HasColumnType("bigint");
 05701
 05702                    b.Property<long?>("CreatedByUserId")
 05703                        .HasColumnType("bigint");
 05704
 05705                    b.Property<DateTime>("CreationDateTime")
 05706                        .HasColumnType("timestamp without time zone");
 05707
 05708                    b.Property<string>("Description")
 05709                        .HasColumnType("text");
 05710
 05711                    b.Property<Guid>("GUID")
 05712                        .ValueGeneratedOnAdd()
 05713                        .HasColumnType("uuid");
 05714
 05715                    b.Property<bool>("IsDeleted")
 05716                        .HasColumnType("boolean");
 05717
 05718                    b.Property<DateTime?>("ModificationDateTime")
 05719                        .HasColumnType("timestamp without time zone");
 05720
 05721                    b.Property<long?>("ModifiedByUserId")
 05722                        .HasColumnType("bigint");
 05723
 05724                    b.Property<long?>("RecStateId")
 05725                        .HasColumnType("bigint");
 05726
 05727                    b.HasKey("Id");
 05728
 05729                    b.HasIndex("ContragentId");
 05730
 05731                    b.HasIndex("CreatedByUserId");
 05732
 05733                    b.HasIndex("ModifiedByUserId");
 05734
 05735                    b.HasIndex("RecStateId");
 05736
 05737                    b.ToTable("ExchangeTokens");
 05738
 05739                    b.HasData(
 05740                        new
 05741                        {
 05742                            Id = 1L,
 05743                            ContragentId = -2L,
 05744                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05745                            Description = "Для синхронизации с CRM",
 05746                            GUID = new Guid("8eea3bee-1f37-4654-a22f-f0b18b0c4588"),
 05747                            IsDeleted = false,
 05748                            RecStateId = 2L
 05749                        });
 05750                });
 5751
 05752            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", b =>
 05753                {
 05754                    b.Property<long>("Id")
 05755                        .ValueGeneratedOnAdd()
 05756                        .HasColumnType("bigint")
 05757                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 05758                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05759
 05760                    b.Property<long?>("CreatedByUserId")
 05761                        .HasColumnType("bigint");
 05762
 05763                    b.Property<DateTime>("CreationDateTime")
 05764                        .HasColumnType("timestamp without time zone");
 05765
 05766                    b.Property<string>("Description")
 05767                        .HasColumnType("text");
 05768
 05769                    b.Property<Guid>("GUID")
 05770                        .ValueGeneratedOnAdd()
 05771                        .HasColumnType("uuid");
 05772
 05773                    b.Property<bool>("IsDeleted")
 05774                        .HasColumnType("boolean");
 05775
 05776                    b.Property<DateTime?>("ModificationDateTime")
 05777                        .HasColumnType("timestamp without time zone");
 05778
 05779                    b.Property<long?>("ModifiedByUserId")
 05780                        .HasColumnType("bigint");
 05781
 05782                    b.Property<string>("Name")
 05783                        .IsRequired()
 05784                        .HasColumnType("text");
 05785
 05786                    b.Property<long?>("RecStateId")
 05787                        .HasColumnType("bigint");
 05788
 05789                    b.HasKey("Id");
 05790
 05791                    b.HasIndex("CreatedByUserId");
 05792
 05793                    b.HasIndex("ModifiedByUserId");
 05794
 05795                    b.HasIndex("RecStateId");
 05796
 05797                    b.ToTable("FrontActions");
 05798
 05799                    b.HasData(
 05800                        new
 05801                        {
 05802                            Id = 1L,
 05803                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05804                            Description = "Доступ к черновикам",
 05805                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05806                            IsDeleted = false,
 05807                            Name = "viewOrderDraft"
 05808                        },
 05809                        new
 05810                        {
 05811                            Id = 2L,
 05812                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05813                            Description = "Доступ к ценообразованию",
 05814                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05815                            IsDeleted = false,
 05816                            Name = "viewPricing"
 05817                        },
 05818                        new
 05819                        {
 05820                            Id = 3L,
 05821                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05822                            Description = "Доступ к уведомлениям",
 05823                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05824                            IsDeleted = false,
 05825                            Name = "viewNotifications"
 05826                        },
 05827                        new
 05828                        {
 05829                            Id = 4L,
 05830                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05831                            Description = "Доступ к отгрузкам",
 05832                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05833                            IsDeleted = false,
 05834                            Name = "viewShipments"
 05835                        },
 05836                        new
 05837                        {
 05838                            Id = 5L,
 05839                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05840                            Description = "Доступ к поддержке",
 05841                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05842                            IsDeleted = false,
 05843                            Name = "viewSupport"
 05844                        },
 05845                        new
 05846                        {
 05847                            Id = 6L,
 05848                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05849                            Description = "Доступ к аналитике",
 05850                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05851                            IsDeleted = false,
 05852                            Name = "viewAnalytics"
 05853                        },
 05854                        new
 05855                        {
 05856                            Id = 7L,
 05857                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05858                            Description = "Доступ к товарному запасу",
 05859                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05860                            IsDeleted = false,
 05861                            Name = "viewRests"
 05862                        },
 05863                        new
 05864                        {
 05865                            Id = 8L,
 05866                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05867                            Description = "Доступ к заявкам",
 05868                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05869                            IsDeleted = false,
 05870                            Name = "viewOrders"
 05871                        },
 05872                        new
 05873                        {
 05874                            Id = 9L,
 05875                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05876                            Description = "Доступ к профилю пользователя",
 05877                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05878                            IsDeleted = false,
 05879                            Name = "viewUser"
 05880                        },
 05881                        new
 05882                        {
 05883                            Id = 10L,
 05884                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05885                            Description = "Доступ к параметрам отборки",
 05886                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05887                            IsDeleted = false,
 05888                            Name = "viewSelectionParameters"
 05889                        },
 05890                        new
 05891                        {
 05892                            Id = 11L,
 05893                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05894                            Description = "Доступ к витрине",
 05895                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05896                            IsDeleted = false,
 05897                            Name = "viewShowcase"
 05898                        },
 05899                        new
 05900                        {
 05901                            Id = 12L,
 05902                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05903                            Description = "Доступ к управлению платформой",
 05904                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05905                            IsDeleted = false,
 05906                            Name = "viewSystemManagement"
 05907                        },
 05908                        new
 05909                        {
 05910                            Id = 13L,
 05911                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05912                            Description = "Доступ к настройкам",
 05913                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05914                            IsDeleted = false,
 05915                            Name = "viewSettings"
 05916                        },
 05917                        new
 05918                        {
 05919                            Id = 14L,
 05920                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05921                            Description = "Доступ к подразделениям",
 05922                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05923                            IsDeleted = false,
 05924                            Name = "viewDepartments"
 05925                        },
 05926                        new
 05927                        {
 05928                            Id = 15L,
 05929                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05930                            Description = "Доступ к профилю кошелька",
 05931                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05932                            IsDeleted = false,
 05933                            Name = "viewOrganisationPaymentAccount"
 05934                        },
 05935                        new
 05936                        {
 05937                            Id = 16L,
 05938                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05939                            Description = "Доступ к номенклатуре",
 05940                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05941                            IsDeleted = false,
 05942                            Name = "viewNomenclature"
 05943                        },
 05944                        new
 05945                        {
 05946                            Id = 17L,
 05947                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05948                            Description = "Доступ к брендам",
 05949                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05950                            IsDeleted = false,
 05951                            Name = "viewBrands"
 05952                        },
 05953                        new
 05954                        {
 05955                            Id = 18L,
 05956                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05957                            Description = "Доступ к товарной иерархии",
 05958                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05959                            IsDeleted = false,
 05960                            Name = "viewGoodsHierarchy"
 05961                        },
 05962                        new
 05963                        {
 05964                            Id = 19L,
 05965                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05966                            Description = "Доступ к добавлению подразделений",
 05967                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05968                            IsDeleted = false,
 05969                            Name = "addDepartment"
 05970                        },
 05971                        new
 05972                        {
 05973                            Id = 20L,
 05974                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05975                            Description = "Доступ к редактированию контрактов",
 05976                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05977                            IsDeleted = false,
 05978                            Name = "editContracts"
 05979                        },
 05980                        new
 05981                        {
 05982                            Id = 21L,
 05983                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 05984                            Description = "Доступ к удалению контрактов",
 05985                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 05986                            IsDeleted = false,
 05987                            Name = "deleteContracts"
 05988                        });
 05989                });
 5990
 05991            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", b =>
 05992                {
 05993                    b.Property<long>("Id")
 05994                        .ValueGeneratedOnAdd()
 05995                        .HasColumnType("bigint")
 05996                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 05997
 05998                    b.Property<long?>("BrandId")
 05999                        .HasColumnType("bigint");
 06000
 06001                    b.Property<long>("CategoryId")
 06002                        .HasColumnType("bigint");
 06003
 06004                    b.Property<string>("ConformityCertNumber")
 06005                        .IsRequired()
 06006                        .HasColumnType("text");
 06007
 06008                    b.Property<long?>("CountryId")
 06009                        .HasColumnType("bigint");
 06010
 06011                    b.Property<long?>("CreatedByUserId")
 06012                        .HasColumnType("bigint");
 06013
 06014                    b.Property<DateTime>("CreationDateTime")
 06015                        .HasColumnType("timestamp without time zone");
 06016
 06017                    b.Property<string>("CustomDeclarationNumber")
 06018                        .IsRequired()
 06019                        .HasColumnType("text");
 06020
 06021                    b.Property<int>("ExpirationDays")
 06022                        .HasColumnType("integer");
 06023
 06024                    b.Property<Guid>("GUID")
 06025                        .ValueGeneratedOnAdd()
 06026                        .HasColumnType("uuid");
 06027
 06028                    b.Property<decimal>("GroupPackHeight")
 06029                        .HasColumnType("numeric");
 06030
 06031                    b.Property<int>("GroupPackNesting")
 06032                        .HasColumnType("integer");
 06033
 06034                    b.Property<decimal>("GroupPackThickness")
 06035                        .HasColumnType("numeric");
 06036
 06037                    b.Property<decimal>("GroupPackWidth")
 06038                        .HasColumnType("numeric");
 06039
 06040                    b.Property<decimal>("Height")
 06041                        .HasColumnType("numeric");
 06042
 06043                    b.Property<bool>("IsDeleted")
 06044                        .HasColumnType("boolean");
 06045
 06046                    b.Property<long>("MainBarcodeId")
 06047                        .HasColumnType("bigint");
 06048
 06049                    b.Property<long?>("ManufacturerId")
 06050                        .HasColumnType("bigint");
 06051
 06052                    b.Property<decimal>("MinDeliveryLot")
 06053                        .HasColumnType("numeric");
 06054
 06055                    b.Property<DateTime?>("ModificationDateTime")
 06056                        .HasColumnType("timestamp without time zone");
 06057
 06058                    b.Property<long?>("ModifiedByUserId")
 06059                        .HasColumnType("bigint");
 06060
 06061                    b.Property<string>("Name")
 06062                        .IsRequired()
 06063                        .HasColumnType("text");
 06064
 06065                    b.Property<int>("PalletNesting")
 06066                        .HasColumnType("integer");
 06067
 06068                    b.Property<long?>("RecStateId")
 06069                        .HasColumnType("bigint");
 06070
 06071                    b.Property<long?>("SubBrandId")
 06072                        .HasColumnType("bigint");
 06073
 06074                    b.Property<long?>("SupplierId")
 06075                        .HasColumnType("bigint");
 06076
 06077                    b.Property<decimal>("Thickness")
 06078                        .HasColumnType("numeric");
 06079
 06080                    b.Property<long>("UnitsKindId")
 06081                        .HasColumnType("bigint");
 06082
 06083                    b.Property<long>("VatsKindId")
 06084                        .HasColumnType("bigint");
 06085
 06086                    b.Property<string>("VendorCode")
 06087                        .IsRequired()
 06088                        .HasColumnType("text");
 06089
 06090                    b.Property<decimal>("Weight")
 06091                        .HasColumnType("numeric");
 06092
 06093                    b.Property<decimal>("Width")
 06094                        .HasColumnType("numeric");
 06095
 06096                    b.HasKey("Id");
 06097
 06098                    b.HasIndex("BrandId");
 06099
 06100                    b.HasIndex("CategoryId");
 06101
 06102                    b.HasIndex("CountryId");
 06103
 06104                    b.HasIndex("CreatedByUserId");
 06105
 06106                    b.HasIndex("MainBarcodeId");
 06107
 06108                    b.HasIndex("ManufacturerId");
 06109
 06110                    b.HasIndex("ModifiedByUserId");
 06111
 06112                    b.HasIndex("Name");
 06113
 06114                    b.HasIndex("RecStateId");
 06115
 06116                    b.HasIndex("SubBrandId");
 06117
 06118                    b.HasIndex("SupplierId");
 06119
 06120                    b.HasIndex("UnitsKindId");
 06121
 06122                    b.HasIndex("VatsKindId");
 06123
 06124                    b.ToTable("Goods");
 06125                });
 6126
 06127            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Incident", b =>
 06128                {
 06129                    b.Property<long>("Id")
 06130                        .ValueGeneratedOnAdd()
 06131                        .HasColumnType("bigint")
 06132                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06133
 06134                    b.Property<string>("Body")
 06135                        .HasColumnType("text");
 06136
 06137                    b.Property<long?>("CreatedByUserId")
 06138                        .HasColumnType("bigint");
 06139
 06140                    b.Property<DateTime>("CreationDateTime")
 06141                        .HasColumnType("timestamp without time zone");
 06142
 06143                    b.Property<DateTime>("DtCreated")
 06144                        .HasColumnType("timestamp without time zone");
 06145
 06146                    b.Property<Guid>("GUID")
 06147                        .ValueGeneratedOnAdd()
 06148                        .HasColumnType("uuid");
 06149
 06150                    b.Property<bool>("IsDeleted")
 06151                        .HasColumnType("boolean");
 06152
 06153                    b.Property<long?>("KindId")
 06154                        .HasColumnType("bigint");
 06155
 06156                    b.Property<DateTime?>("ModificationDateTime")
 06157                        .HasColumnType("timestamp without time zone");
 06158
 06159                    b.Property<long?>("ModifiedByUserId")
 06160                        .HasColumnType("bigint");
 06161
 06162                    b.Property<long?>("RecStateId")
 06163                        .HasColumnType("bigint");
 06164
 06165                    b.Property<long?>("StatusId")
 06166                        .HasColumnType("bigint");
 06167
 06168                    b.Property<string>("Subject")
 06169                        .HasColumnType("text");
 06170
 06171                    b.Property<string>("Ticket")
 06172                        .HasColumnType("text");
 06173
 06174                    b.Property<long>("UserId")
 06175                        .HasColumnType("bigint");
 06176
 06177                    b.HasKey("Id");
 06178
 06179                    b.HasIndex("CreatedByUserId");
 06180
 06181                    b.HasIndex("KindId");
 06182
 06183                    b.HasIndex("ModifiedByUserId");
 06184
 06185                    b.HasIndex("RecStateId");
 06186
 06187                    b.HasIndex("StatusId");
 06188
 06189                    b.HasIndex("UserId");
 06190
 06191                    b.ToTable("Incidents");
 06192                });
 6193
 06194            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsKind", b =>
 06195                {
 06196                    b.Property<long>("Id")
 06197                        .ValueGeneratedOnAdd()
 06198                        .HasColumnType("bigint")
 06199                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 06200                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06201
 06202                    b.Property<string>("Code")
 06203                        .IsRequired()
 06204                        .HasColumnType("text");
 06205
 06206                    b.Property<long?>("CreatedByUserId")
 06207                        .HasColumnType("bigint");
 06208
 06209                    b.Property<DateTime>("CreationDateTime")
 06210                        .HasColumnType("timestamp without time zone");
 06211
 06212                    b.Property<string>("Description")
 06213                        .HasColumnType("text");
 06214
 06215                    b.Property<Guid>("GUID")
 06216                        .ValueGeneratedOnAdd()
 06217                        .HasColumnType("uuid");
 06218
 06219                    b.Property<bool>("IsDeleted")
 06220                        .HasColumnType("boolean");
 06221
 06222                    b.Property<DateTime?>("ModificationDateTime")
 06223                        .HasColumnType("timestamp without time zone");
 06224
 06225                    b.Property<long?>("ModifiedByUserId")
 06226                        .HasColumnType("bigint");
 06227
 06228                    b.Property<string>("Name")
 06229                        .IsRequired()
 06230                        .HasColumnType("text");
 06231
 06232                    b.Property<long?>("RecStateId")
 06233                        .HasColumnType("bigint");
 06234
 06235                    b.HasKey("Id");
 06236
 06237                    b.HasIndex("CreatedByUserId");
 06238
 06239                    b.HasIndex("ModifiedByUserId");
 06240
 06241                    b.HasIndex("RecStateId");
 06242
 06243                    b.ToTable("IncidentsKind");
 06244
 06245                    b.HasData(
 06246                        new
 06247                        {
 06248                            Id = 1L,
 06249                            Code = "Unknown",
 06250                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06251                            Description = "",
 06252                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06253                            IsDeleted = false,
 06254                            Name = "Неизвестно"
 06255                        },
 06256                        new
 06257                        {
 06258                            Id = 2L,
 06259                            Code = "Error",
 06260                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06261                            Description = "",
 06262                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06263                            IsDeleted = false,
 06264                            Name = "Ошибка"
 06265                        },
 06266                        new
 06267                        {
 06268                            Id = 3L,
 06269                            Code = "Question",
 06270                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06271                            Description = "",
 06272                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06273                            IsDeleted = false,
 06274                            Name = "Вопрос"
 06275                        },
 06276                        new
 06277                        {
 06278                            Id = 4L,
 06279                            Code = "Suggestion",
 06280                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06281                            Description = "",
 06282                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06283                            IsDeleted = false,
 06284                            Name = "Предложение"
 06285                        });
 06286                });
 6287
 06288            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", b =>
 06289                {
 06290                    b.Property<long>("Id")
 06291                        .ValueGeneratedOnAdd()
 06292                        .HasColumnType("bigint")
 06293                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 06294                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06295
 06296                    b.Property<string>("Code")
 06297                        .IsRequired()
 06298                        .HasColumnType("text");
 06299
 06300                    b.Property<long?>("CreatedByUserId")
 06301                        .HasColumnType("bigint");
 06302
 06303                    b.Property<DateTime>("CreationDateTime")
 06304                        .HasColumnType("timestamp without time zone");
 06305
 06306                    b.Property<string>("Description")
 06307                        .HasColumnType("text");
 06308
 06309                    b.Property<Guid>("GUID")
 06310                        .ValueGeneratedOnAdd()
 06311                        .HasColumnType("uuid");
 06312
 06313                    b.Property<bool>("IsDeleted")
 06314                        .HasColumnType("boolean");
 06315
 06316                    b.Property<DateTime?>("ModificationDateTime")
 06317                        .HasColumnType("timestamp without time zone");
 06318
 06319                    b.Property<long?>("ModifiedByUserId")
 06320                        .HasColumnType("bigint");
 06321
 06322                    b.Property<string>("Name")
 06323                        .IsRequired()
 06324                        .HasColumnType("text");
 06325
 06326                    b.Property<long?>("RecStateId")
 06327                        .HasColumnType("bigint");
 06328
 06329                    b.HasKey("Id");
 06330
 06331                    b.HasIndex("CreatedByUserId");
 06332
 06333                    b.HasIndex("ModifiedByUserId");
 06334
 06335                    b.HasIndex("RecStateId");
 06336
 06337                    b.ToTable("IncidentsStatus");
 06338
 06339                    b.HasData(
 06340                        new
 06341                        {
 06342                            Id = 1L,
 06343                            Code = "Open",
 06344                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06345                            Description = "",
 06346                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06347                            IsDeleted = false,
 06348                            Name = "Открыт"
 06349                        },
 06350                        new
 06351                        {
 06352                            Id = 2L,
 06353                            Code = "InWork",
 06354                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06355                            Description = "",
 06356                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06357                            IsDeleted = false,
 06358                            Name = "В работе"
 06359                        },
 06360                        new
 06361                        {
 06362                            Id = 3L,
 06363                            Code = "Resolved",
 06364                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06365                            Description = "",
 06366                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06367                            IsDeleted = false,
 06368                            Name = "Решен"
 06369                        },
 06370                        new
 06371                        {
 06372                            Id = 4L,
 06373                            Code = "Canceled",
 06374                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06375                            Description = "",
 06376                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06377                            IsDeleted = false,
 06378                            Name = "Отменен"
 06379                        },
 06380                        new
 06381                        {
 06382                            Id = 5L,
 06383                            Code = "Closed",
 06384                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06385                            Description = "",
 06386                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06387                            IsDeleted = false,
 06388                            Name = "Закрыт"
 06389                        });
 06390                });
 6391
 06392            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.JobLogger", b =>
 06393                {
 06394                    b.Property<long>("Id")
 06395                        .ValueGeneratedOnAdd()
 06396                        .HasColumnType("bigint")
 06397                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06398
 06399                    b.Property<long?>("CreatedByUserId")
 06400                        .HasColumnType("bigint");
 06401
 06402                    b.Property<DateTime>("CreationDateTime")
 06403                        .HasColumnType("timestamp without time zone");
 06404
 06405                    b.Property<Guid>("GUID")
 06406                        .ValueGeneratedOnAdd()
 06407                        .HasColumnType("uuid");
 06408
 06409                    b.Property<bool>("IsDeleted")
 06410                        .HasColumnType("boolean");
 06411
 06412                    b.Property<string>("JobName")
 06413                        .HasColumnType("text");
 06414
 06415                    b.Property<string>("Log")
 06416                        .HasColumnType("text");
 06417
 06418                    b.Property<string>("LogLevel")
 06419                        .HasColumnType("text");
 06420
 06421                    b.Property<DateTime?>("ModificationDateTime")
 06422                        .HasColumnType("timestamp without time zone");
 06423
 06424                    b.Property<long?>("ModifiedByUserId")
 06425                        .HasColumnType("bigint");
 06426
 06427                    b.Property<long?>("RecStateId")
 06428                        .HasColumnType("bigint");
 06429
 06430                    b.HasKey("Id");
 06431
 06432                    b.HasIndex("CreatedByUserId");
 06433
 06434                    b.HasIndex("ModifiedByUserId");
 06435
 06436                    b.HasIndex("RecStateId");
 06437
 06438                    b.ToTable("JobLoggers");
 06439                });
 6440
 06441            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MethodRole", b =>
 06442                {
 06443                    b.Property<long>("RoleId")
 06444                        .HasColumnType("bigint");
 06445
 06446                    b.Property<long>("MethodId")
 06447                        .HasColumnType("bigint");
 06448
 06449                    b.Property<long?>("CreatedByUserId")
 06450                        .HasColumnType("bigint");
 06451
 06452                    b.Property<DateTime>("CreationDateTime")
 06453                        .HasColumnType("timestamp without time zone");
 06454
 06455                    b.Property<Guid>("GUID")
 06456                        .ValueGeneratedOnAdd()
 06457                        .HasColumnType("uuid");
 06458
 06459                    b.HasKey("RoleId", "MethodId");
 06460
 06461                    b.HasIndex("MethodId");
 06462
 06463                    b.ToTable("MethodRole");
 06464                });
 6465
 06466            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", b =>
 06467                {
 06468                    b.Property<long>("Id")
 06469                        .ValueGeneratedOnAdd()
 06470                        .HasColumnType("bigint")
 06471                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06472
 06473                    b.Property<long?>("CreatedByUserId")
 06474                        .HasColumnType("bigint");
 06475
 06476                    b.Property<DateTime>("CreationDateTime")
 06477                        .HasColumnType("timestamp without time zone");
 06478
 06479                    b.Property<string>("Description")
 06480                        .HasColumnType("text");
 06481
 06482                    b.Property<Guid>("GUID")
 06483                        .ValueGeneratedOnAdd()
 06484                        .HasColumnType("uuid");
 06485
 06486                    b.Property<bool>("IsDeleted")
 06487                        .HasColumnType("boolean");
 06488
 06489                    b.Property<string>("MethodName")
 06490                        .IsRequired()
 06491                        .HasColumnType("text");
 06492
 06493                    b.Property<DateTime?>("ModificationDateTime")
 06494                        .HasColumnType("timestamp without time zone");
 06495
 06496                    b.Property<long?>("ModifiedByUserId")
 06497                        .HasColumnType("bigint");
 06498
 06499                    b.Property<long?>("RecStateId")
 06500                        .HasColumnType("bigint");
 06501
 06502                    b.HasKey("Id");
 06503
 06504                    b.HasIndex("CreatedByUserId");
 06505
 06506                    b.HasIndex("ModifiedByUserId");
 06507
 06508                    b.HasIndex("RecStateId");
 06509
 06510                    b.ToTable("Methods");
 06511                });
 6512
 06513            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", b =>
 06514                {
 06515                    b.Property<long>("Id")
 06516                        .ValueGeneratedOnAdd()
 06517                        .HasColumnType("bigint")
 06518                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06519
 06520                    b.Property<string>("Attachment")
 06521                        .HasColumnType("text");
 06522
 06523                    b.Property<long?>("CreatedByUserId")
 06524                        .HasColumnType("bigint");
 06525
 06526                    b.Property<DateTime>("CreationDateTime")
 06527                        .HasColumnType("timestamp without time zone");
 06528
 06529                    b.Property<long>("CustomerId")
 06530                        .HasColumnType("bigint");
 06531
 06532                    b.Property<string>("DocumentNumber")
 06533                        .IsRequired()
 06534                        .HasColumnType("text");
 06535
 06536                    b.Property<DateTime>("DtCreated")
 06537                        .HasColumnType("timestamp without time zone");
 06538
 06539                    b.Property<Guid>("GUID")
 06540                        .ValueGeneratedOnAdd()
 06541                        .HasColumnType("uuid");
 06542
 06543                    b.Property<bool>("IsDeleted")
 06544                        .HasColumnType("boolean");
 06545
 06546                    b.Property<DateTime?>("ModificationDateTime")
 06547                        .HasColumnType("timestamp without time zone");
 06548
 06549                    b.Property<long?>("ModifiedByUserId")
 06550                        .HasColumnType("bigint");
 06551
 06552                    b.Property<long>("MovementStatusId")
 06553                        .HasColumnType("bigint");
 06554
 06555                    b.Property<long>("MovementTypeId")
 06556                        .HasColumnType("bigint");
 06557
 06558                    b.Property<long?>("ParentId")
 06559                        .HasColumnType("bigint");
 06560
 06561                    b.Property<decimal>("PrepaimentPercent")
 06562                        .HasColumnType("numeric");
 06563
 06564                    b.Property<decimal>("PrepaimentSum")
 06565                        .HasColumnType("numeric");
 06566
 06567                    b.Property<long?>("RecStateId")
 06568                        .HasColumnType("bigint");
 06569
 06570                    b.Property<long>("ReceiverId")
 06571                        .HasColumnType("bigint");
 06572
 06573                    b.Property<long?>("SenderId")
 06574                        .HasColumnType("bigint");
 06575
 06576                    b.Property<long>("SupplierId")
 06577                        .HasColumnType("bigint");
 06578
 06579                    b.Property<DateTime?>("SupplierTransferDate")
 06580                        .HasColumnType("timestamp without time zone");
 06581
 06582                    b.HasKey("Id");
 06583
 06584                    b.HasIndex("CreatedByUserId");
 06585
 06586                    b.HasIndex("CustomerId");
 06587
 06588                    b.HasIndex("ModifiedByUserId");
 06589
 06590                    b.HasIndex("MovementStatusId");
 06591
 06592                    b.HasIndex("MovementTypeId");
 06593
 06594                    b.HasIndex("ParentId");
 06595
 06596                    b.HasIndex("RecStateId");
 06597
 06598                    b.HasIndex("ReceiverId");
 06599
 06600                    b.HasIndex("SenderId");
 06601
 06602                    b.HasIndex("SupplierId");
 06603
 06604                    b.ToTable("Movements");
 06605                });
 6606
 06607            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementItem", b =>
 06608                {
 06609                    b.Property<long>("Id")
 06610                        .ValueGeneratedOnAdd()
 06611                        .HasColumnType("bigint")
 06612                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06613
 06614                    b.Property<string>("Comment")
 06615                        .HasColumnType("text");
 06616
 06617                    b.Property<long?>("CreatedByUserId")
 06618                        .HasColumnType("bigint");
 06619
 06620                    b.Property<DateTime>("CreationDateTime")
 06621                        .HasColumnType("timestamp without time zone");
 06622
 06623                    b.Property<Guid>("GUID")
 06624                        .ValueGeneratedOnAdd()
 06625                        .HasColumnType("uuid");
 06626
 06627                    b.Property<long>("GoodId")
 06628                        .HasColumnType("bigint");
 06629
 06630                    b.Property<bool>("IsDeleted")
 06631                        .HasColumnType("boolean");
 06632
 06633                    b.Property<DateTime?>("ModificationDateTime")
 06634                        .HasColumnType("timestamp without time zone");
 06635
 06636                    b.Property<long?>("ModifiedByUserId")
 06637                        .HasColumnType("bigint");
 06638
 06639                    b.Property<long?>("MovementId")
 06640                        .HasColumnType("bigint");
 06641
 06642                    b.Property<decimal>("Price")
 06643                        .HasColumnType("numeric");
 06644
 06645                    b.Property<decimal>("Quantity")
 06646                        .HasColumnType("numeric");
 06647
 06648                    b.Property<long?>("RecStateId")
 06649                        .HasColumnType("bigint");
 06650
 06651                    b.HasKey("Id");
 06652
 06653                    b.HasIndex("CreatedByUserId");
 06654
 06655                    b.HasIndex("GoodId");
 06656
 06657                    b.HasIndex("ModifiedByUserId");
 06658
 06659                    b.HasIndex("MovementId");
 06660
 06661                    b.HasIndex("RecStateId");
 06662
 06663                    b.ToTable("MovementItems");
 06664                });
 6665
 06666            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementNote", b =>
 06667                {
 06668                    b.Property<long>("Id")
 06669                        .ValueGeneratedOnAdd()
 06670                        .HasColumnType("bigint")
 06671                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06672
 06673                    b.Property<string>("Body")
 06674                        .IsRequired()
 06675                        .HasColumnType("text");
 06676
 06677                    b.Property<long?>("CreatedByUserId")
 06678                        .HasColumnType("bigint");
 06679
 06680                    b.Property<DateTime>("CreationDateTime")
 06681                        .HasColumnType("timestamp without time zone");
 06682
 06683                    b.Property<Guid>("GUID")
 06684                        .ValueGeneratedOnAdd()
 06685                        .HasColumnType("uuid");
 06686
 06687                    b.Property<bool>("IsDeleted")
 06688                        .HasColumnType("boolean");
 06689
 06690                    b.Property<DateTime?>("ModificationDateTime")
 06691                        .HasColumnType("timestamp without time zone");
 06692
 06693                    b.Property<long?>("ModifiedByUserId")
 06694                        .HasColumnType("bigint");
 06695
 06696                    b.Property<long?>("MovementId")
 06697                        .HasColumnType("bigint");
 06698
 06699                    b.Property<long?>("RecStateId")
 06700                        .HasColumnType("bigint");
 06701
 06702                    b.HasKey("Id");
 06703
 06704                    b.HasIndex("CreatedByUserId");
 06705
 06706                    b.HasIndex("ModifiedByUserId");
 06707
 06708                    b.HasIndex("MovementId");
 06709
 06710                    b.HasIndex("RecStateId");
 06711
 06712                    b.ToTable("MovementNotes");
 06713                });
 6714
 06715            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementRouteAction", b =>
 06716                {
 06717                    b.Property<long>("Id")
 06718                        .ValueGeneratedOnAdd()
 06719                        .HasColumnType("bigint")
 06720                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 06721                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 06722
 06723                    b.Property<string>("Action")
 06724                        .HasColumnType("text");
 06725
 06726                    b.Property<string>("Caption")
 06727                        .HasColumnType("text");
 06728
 06729                    b.Property<string>("Code")
 06730                        .HasColumnType("text");
 06731
 06732                    b.Property<long?>("CreatedByUserId")
 06733                        .HasColumnType("bigint");
 06734
 06735                    b.Property<DateTime>("CreationDateTime")
 06736                        .HasColumnType("timestamp without time zone");
 06737
 06738                    b.Property<Guid>("GUID")
 06739                        .ValueGeneratedOnAdd()
 06740                        .HasColumnType("uuid");
 06741
 06742                    b.Property<bool>("IsDeleted")
 06743                        .HasColumnType("boolean");
 06744
 06745                    b.Property<DateTime?>("ModificationDateTime")
 06746                        .HasColumnType("timestamp without time zone");
 06747
 06748                    b.Property<long?>("ModifiedByUserId")
 06749                        .HasColumnType("bigint");
 06750
 06751                    b.Property<long>("OwnerActionId")
 06752                        .HasColumnType("bigint");
 06753
 06754                    b.Property<long?>("RecStateId")
 06755                        .HasColumnType("bigint");
 06756
 06757                    b.Property<long>("StatusId")
 06758                        .HasColumnType("bigint");
 06759
 06760                    b.Property<string>("Type")
 06761                        .HasColumnType("text");
 06762
 06763                    b.HasKey("Id");
 06764
 06765                    b.HasIndex("CreatedByUserId");
 06766
 06767                    b.HasIndex("ModifiedByUserId");
 06768
 06769                    b.HasIndex("OwnerActionId");
 06770
 06771                    b.HasIndex("RecStateId");
 06772
 06773                    b.HasIndex("StatusId");
 06774
 06775                    b.ToTable("MovementRouteActions");
 06776
 06777                    b.HasData(
 06778                        new
 06779                        {
 06780                            Id = 1L,
 06781                            Action = "Orders/{id}/DownloadOrderToFile",
 06782                            Caption = "Скачать CSV",
 06783                            Code = "Csv",
 06784                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06785                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06786                            IsDeleted = false,
 06787                            OwnerActionId = 1L,
 06788                            StatusId = 1L,
 06789                            Type = "GET"
 06790                        },
 06791                        new
 06792                        {
 06793                            Id = 2L,
 06794                            Action = "Orders/{id}",
 06795                            Caption = "Изменить",
 06796                            Code = "Edit",
 06797                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06798                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06799                            IsDeleted = false,
 06800                            OwnerActionId = 1L,
 06801                            StatusId = 1L,
 06802                            Type = "GET"
 06803                        },
 06804                        new
 06805                        {
 06806                            Id = 3L,
 06807                            Action = "Orders/{id}",
 06808                            Caption = "Удалить",
 06809                            Code = "Delete",
 06810                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06811                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06812                            IsDeleted = false,
 06813                            OwnerActionId = 1L,
 06814                            StatusId = 1L,
 06815                            Type = "DELETE"
 06816                        },
 06817                        new
 06818                        {
 06819                            Id = 4L,
 06820                            Action = "Orders/{id}/Send",
 06821                            Caption = "Отправить заявку",
 06822                            Code = "Send",
 06823                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06824                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06825                            IsDeleted = false,
 06826                            OwnerActionId = 1L,
 06827                            StatusId = 1L,
 06828                            Type = "POST"
 06829                        },
 06830                        new
 06831                        {
 06832                            Id = 5L,
 06833                            Action = "Orders/{id}/DownloadOrderToFile",
 06834                            Caption = "Скачать CSV",
 06835                            Code = "Csv",
 06836                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06837                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06838                            IsDeleted = false,
 06839                            OwnerActionId = 1L,
 06840                            StatusId = 2L,
 06841                            Type = "GET"
 06842                        },
 06843                        new
 06844                        {
 06845                            Id = 6L,
 06846                            Action = "Orders/{id}/Clone",
 06847                            Caption = "Создать копию",
 06848                            Code = "Clone",
 06849                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06850                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06851                            IsDeleted = false,
 06852                            OwnerActionId = 1L,
 06853                            StatusId = 2L,
 06854                            Type = "POST"
 06855                        },
 06856                        new
 06857                        {
 06858                            Id = 7L,
 06859                            Action = "Orders/{id}/Reject",
 06860                            Caption = "Отказаться",
 06861                            Code = "Reject",
 06862                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06863                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06864                            IsDeleted = false,
 06865                            OwnerActionId = 1L,
 06866                            StatusId = 2L,
 06867                            Type = "POST"
 06868                        },
 06869                        new
 06870                        {
 06871                            Id = 8L,
 06872                            Action = "Orders/{id}",
 06873                            Caption = "Принять",
 06874                            Code = "Confirm",
 06875                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06876                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06877                            IsDeleted = false,
 06878                            OwnerActionId = 3L,
 06879                            StatusId = 2L,
 06880                            Type = "POST"
 06881                        },
 06882                        new
 06883                        {
 06884                            Id = 85L,
 06885                            Action = "Orders/{id}/Reject",
 06886                            Caption = "Отказать",
 06887                            Code = "Reject",
 06888                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06889                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06890                            IsDeleted = false,
 06891                            OwnerActionId = 3L,
 06892                            StatusId = 2L,
 06893                            Type = "POST"
 06894                        },
 06895                        new
 06896                        {
 06897                            Id = 9L,
 06898                            Action = "Orders/{id}/DownloadOrderToFile",
 06899                            Caption = "Скачать CSV",
 06900                            Code = "Csv",
 06901                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06902                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06903                            IsDeleted = false,
 06904                            OwnerActionId = 3L,
 06905                            StatusId = 2L,
 06906                            Type = "GET"
 06907                        },
 06908                        new
 06909                        {
 06910                            Id = 10L,
 06911                            Action = "Orders/{id}/DownloadOrderToFile",
 06912                            Caption = "Скачать CSV",
 06913                            Code = "Csv",
 06914                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 06915                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 06916                            IsDeleted = false,
 06917                            OwnerActionId = 1L,
 06918                            StatusId = 3L,
 06919                            Type = "GET"
 06920                        },
 06921                        new
 06922                        {
 06923                            Id = 11L,
 06924                            Action = "Orders/{id}/Clone",
 06925                            Caption = "Создать копию",
 06926                            Code = "Clone",
 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 = 3L,
 06932                            Type = "POST"
 06933                        },
 06934                        new
 06935                        {
 06936                            Id = 86L,
 06937                            Action = "Orders/{id}/Reject",
 06938                            Caption = "Отказаться",
 06939                            Code = "Reject",
 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 = 3L,
 06945                            Type = "POST"
 06946                        },
 06947                        new
 06948                        {
 06949                            Id = 12L,
 06950                            Action = "Orders/{id}/DownloadOrderToFile",
 06951                            Caption = "Скачать CSV",
 06952                            Code = "Csv",
 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 = 4L,
 06958                            Type = "GET"
 06959                        },
 06960                        new
 06961                        {
 06962                            Id = 13L,
 06963                            Action = "Orders/{id}/Clone",
 06964                            Caption = "Создать копию",
 06965                            Code = "Clone",
 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 = 4L,
 06971                            Type = "POST"
 06972                        },
 06973                        new
 06974                        {
 06975                            Id = 87L,
 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 = 3L,
 06983                            StatusId = 4L,
 06984                            Type = "GET"
 06985                        },
 06986                        new
 06987                        {
 06988                            Id = 14L,
 06989                            Action = "Orders/{id}/DownloadOrderToFile",
 06990                            Caption = "Скачать CSV",
 06991                            Code = "Csv",
 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 = 5L,
 06997                            Type = "GET"
 06998                        },
 06999                        new
 07000                        {
 07001                            Id = 15L,
 07002                            Action = "Orders/{id}/Clone",
 07003                            Caption = "Создать копию",
 07004                            Code = "Clone",
 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 = 5L,
 07010                            Type = "POST"
 07011                        },
 07012                        new
 07013                        {
 07014                            Id = 16L,
 07015                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07016                            Caption = "Скачать CSV",
 07017                            Code = "Csv",
 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 = 2L,
 07022                            StatusId = 6L,
 07023                            Type = "GET"
 07024                        },
 07025                        new
 07026                        {
 07027                            Id = 17L,
 07028                            Action = "Shipments/{id}/PaymentReserve",
 07029                            Caption = "Принять",
 07030                            Code = "PaymentReserve",
 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 = 2L,
 07035                            StatusId = 6L,
 07036                            Type = "POST"
 07037                        },
 07038                        new
 07039                        {
 07040                            Id = 83L,
 07041                            Action = "Shipments/{id}/SupplierReject",
 07042                            Caption = "Отказать",
 07043                            Code = "RejectBySupplier",
 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 = 2L,
 07048                            StatusId = 6L,
 07049                            Type = "POST"
 07050                        },
 07051                        new
 07052                        {
 07053                            Id = 103L,
 07054                            Action = "Shipments/{id}/SimplePrint",
 07055                            Caption = "Скачать PDF",
 07056                            Code = "SimpleShipmentPdf",
 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 = 2L,
 07061                            StatusId = 6L,
 07062                            Type = "GET"
 07063                        },
 07064                        new
 07065                        {
 07066                            Id = 18L,
 07067                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07068                            Caption = "Скачать CSV",
 07069                            Code = "Csv",
 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 = 3L,
 07074                            StatusId = 6L,
 07075                            Type = "GET"
 07076                        },
 07077                        new
 07078                        {
 07079                            Id = 158L,
 07080                            Action = "Orders/{parentId}",
 07081                            Caption = "Перейти к заявке-основанию",
 07082                            Code = "GetOnBase",
 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 = 3L,
 07087                            StatusId = 6L,
 07088                            Type = "Get"
 07089                        },
 07090                        new
 07091                        {
 07092                            Id = 104L,
 07093                            Action = "Shipments/{id}/SimplePrint",
 07094                            Caption = "Скачать PDF",
 07095                            Code = "SimpleShipmentPdf",
 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 = 3L,
 07100                            StatusId = 6L,
 07101                            Type = "GET"
 07102                        },
 07103                        new
 07104                        {
 07105                            Id = 19L,
 07106                            Action = "Shipments/{id}/Payment",
 07107                            Caption = "Оплатить",
 07108                            Code = "Payment",
 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 = 8L,
 07114                            Type = "POST"
 07115                        },
 07116                        new
 07117                        {
 07118                            Id = 45L,
 07119                            Action = "Shipments/{id}/CustomerReject",
 07120                            Caption = "Отказаться",
 07121                            Code = "RejectByCustomer",
 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 = 1L,
 07126                            StatusId = 8L,
 07127                            Type = "POST"
 07128                        },
 07129                        new
 07130                        {
 07131                            Id = 20L,
 07132                            Action = "Orders/CreateOnBase",
 07133                            Caption = "Создать заявку на основе",
 07134                            Code = "CreateOnBase",
 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 = 8L,
 07140                            Type = "POST"
 07141                        },
 07142                        new
 07143                        {
 07144                            Id = 136L,
 07145                            Action = "Orders/{parentId}",
 07146                            Caption = "Перейти к заявке-основанию",
 07147                            Code = "GetOnBase",
 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 = 8L,
 07153                            Type = "Get"
 07154                        },
 07155                        new
 07156                        {
 07157                            Id = 21L,
 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 = 1L,
 07165                            StatusId = 8L,
 07166                            Type = "GET"
 07167                        },
 07168                        new
 07169                        {
 07170                            Id = 22L,
 07171                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07172                            Caption = "Скачать CSV",
 07173                            Code = "Csv",
 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 = 8L,
 07179                            Type = "GET"
 07180                        },
 07181                        new
 07182                        {
 07183                            Id = 23L,
 07184                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07185                            Caption = "Скачать CSV",
 07186                            Code = "Csv",
 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 = 3L,
 07191                            StatusId = 8L,
 07192                            Type = "GET"
 07193                        },
 07194                        new
 07195                        {
 07196                            Id = 137L,
 07197                            Action = "Orders/{parentId}",
 07198                            Caption = "Перейти к заявке-основанию",
 07199                            Code = "GetOnBase",
 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 = 3L,
 07204                            StatusId = 8L,
 07205                            Type = "Get"
 07206                        },
 07207                        new
 07208                        {
 07209                            Id = 24L,
 07210                            Action = "Orders/CreateOnBase",
 07211                            Caption = "Создать заявку на основе",
 07212                            Code = "CreateOnBase",
 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 = 1L,
 07217                            StatusId = 9L,
 07218                            Type = "POST"
 07219                        },
 07220                        new
 07221                        {
 07222                            Id = 25L,
 07223                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07224                            Caption = "Скачать CSV",
 07225                            Code = "Csv",
 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 = 1L,
 07230                            StatusId = 9L,
 07231                            Type = "GET"
 07232                        },
 07233                        new
 07234                        {
 07235                            Id = 88L,
 07236                            Action = "Shipments/{id}/CustomerReject",
 07237                            Caption = "Отказаться",
 07238                            Code = "RejectByCustomer",
 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 = 1L,
 07243                            StatusId = 9L,
 07244                            Type = "POST"
 07245                        },
 07246                        new
 07247                        {
 07248                            Id = 138L,
 07249                            Action = "Orders/{parentId}",
 07250                            Caption = "Перейти к заявке-основанию",
 07251                            Code = "GetOnBase",
 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 = 9L,
 07257                            Type = "Get"
 07258                        },
 07259                        new
 07260                        {
 07261                            Id = 26L,
 07262                            Action = "Shipments/{id}/ReadyToShip",
 07263                            Caption = "Подготовить к выдаче",
 07264                            Code = "ReadyToShip",
 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 = 2L,
 07269                            StatusId = 9L,
 07270                            Type = "POST"
 07271                        },
 07272                        new
 07273                        {
 07274                            Id = 27L,
 07275                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07276                            Caption = "Скачать CSV",
 07277                            Code = "Csv",
 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 = 2L,
 07282                            StatusId = 9L,
 07283                            Type = "GET"
 07284                        },
 07285                        new
 07286                        {
 07287                            Id = 43L,
 07288                            Action = "Shipments/{id}/SupplierReject",
 07289                            Caption = "Отказать",
 07290                            Code = "RejectBySupplier",
 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 = 2L,
 07295                            StatusId = 9L,
 07296                            Type = "POST"
 07297                        },
 07298                        new
 07299                        {
 07300                            Id = 28L,
 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 = 3L,
 07308                            StatusId = 9L,
 07309                            Type = "GET"
 07310                        },
 07311                        new
 07312                        {
 07313                            Id = 139L,
 07314                            Action = "Orders/{parentId}",
 07315                            Caption = "Перейти к заявке-основанию",
 07316                            Code = "GetOnBase",
 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 = 3L,
 07321                            StatusId = 9L,
 07322                            Type = "Get"
 07323                        },
 07324                        new
 07325                        {
 07326                            Id = 29L,
 07327                            Action = "Orders/CreateOnBase",
 07328                            Caption = "Создать заявку на основе",
 07329                            Code = "CreateOnBase",
 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 = 1L,
 07334                            StatusId = 10L,
 07335                            Type = "POST"
 07336                        },
 07337                        new
 07338                        {
 07339                            Id = 30L,
 07340                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07341                            Caption = "Скачать CSV",
 07342                            Code = "Csv",
 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 = 1L,
 07347                            StatusId = 10L,
 07348                            Type = "GET"
 07349                        },
 07350                        new
 07351                        {
 07352                            Id = 34L,
 07353                            Action = "Shipments/{id}/Print",
 07354                            Caption = "Распечатать УПД",
 07355                            Code = "Pdf",
 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 = 10L,
 07361                            Type = "GET"
 07362                        },
 07363                        new
 07364                        {
 07365                            Id = 89L,
 07366                            Action = "Shipments/{id}/CustomerReject",
 07367                            Caption = "Отказаться",
 07368                            Code = "RejectByCustomer",
 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 = 10L,
 07374                            Type = "POST"
 07375                        },
 07376                        new
 07377                        {
 07378                            Id = 140L,
 07379                            Action = "Orders/{parentId}",
 07380                            Caption = "Перейти к заявке-основанию",
 07381                            Code = "GetOnBase",
 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 = 10L,
 07387                            Type = "Get"
 07388                        },
 07389                        new
 07390                        {
 07391                            Id = 31L,
 07392                            Action = "Shipments/{id}/Ship",
 07393                            Caption = "Выдать",
 07394                            Code = "Ship",
 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 = 2L,
 07399                            StatusId = 10L,
 07400                            Type = "POST"
 07401                        },
 07402                        new
 07403                        {
 07404                            Id = 35L,
 07405                            Action = "Shipments/{id}/Correction",
 07406                            Caption = "Редактировать",
 07407                            Code = "Edit",
 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 = 10L,
 07413                            Type = "POST"
 07414                        },
 07415                        new
 07416                        {
 07417                            Id = 44L,
 07418                            Action = "Shipments/{id}/SupplierReject",
 07419                            Caption = "Отказать",
 07420                            Code = "RejectBySupplier",
 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 = 10L,
 07426                            Type = "POST"
 07427                        },
 07428                        new
 07429                        {
 07430                            Id = 32L,
 07431                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07432                            Caption = "Скачать CSV",
 07433                            Code = "Csv",
 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 = 10L,
 07439                            Type = "GET"
 07440                        },
 07441                        new
 07442                        {
 07443                            Id = 33L,
 07444                            Action = "Shipments/{id}/Print",
 07445                            Caption = "Распечатать УПД",
 07446                            Code = "Pdf",
 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 = 2L,
 07451                            StatusId = 10L,
 07452                            Type = "GET"
 07453                        },
 07454                        new
 07455                        {
 07456                            Id = 98L,
 07457                            Action = "Shipments/{id}/Print",
 07458                            Caption = "Распечатать УПД",
 07459                            Code = "Pdf",
 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 = 10L,
 07465                            Type = "GET"
 07466                        },
 07467                        new
 07468                        {
 07469                            Id = 97L,
 07470                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07471                            Caption = "Скачать CSV",
 07472                            Code = "Csv",
 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 = 3L,
 07477                            StatusId = 10L,
 07478                            Type = "GET"
 07479                        },
 07480                        new
 07481                        {
 07482                            Id = 141L,
 07483                            Action = "Orders/{parentId}",
 07484                            Caption = "Перейти к заявке-основанию",
 07485                            Code = "GetOnBase",
 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 = 3L,
 07490                            StatusId = 10L,
 07491                            Type = "Get"
 07492                        },
 07493                        new
 07494                        {
 07495                            Id = 36L,
 07496                            Action = "Orders/CreateOnBase",
 07497                            Caption = "Создать заявку на основе",
 07498                            Code = "CreateOnBase",
 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 = 11L,
 07504                            Type = "POST"
 07505                        },
 07506                        new
 07507                        {
 07508                            Id = 37L,
 07509                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07510                            Caption = "Скачать CSV",
 07511                            Code = "Csv",
 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 = 11L,
 07517                            Type = "GET"
 07518                        },
 07519                        new
 07520                        {
 07521                            Id = 90L,
 07522                            Action = "Shipments/{id}/CustomerReject",
 07523                            Caption = "Отказаться",
 07524                            Code = "RejectByCustomer",
 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 = 11L,
 07530                            Type = "POST"
 07531                        },
 07532                        new
 07533                        {
 07534                            Id = 142L,
 07535                            Action = "Orders/{parentId}",
 07536                            Caption = "Перейти к заявке-основанию",
 07537                            Code = "GetOnBase",
 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 = 1L,
 07542                            StatusId = 11L,
 07543                            Type = "Get"
 07544                        },
 07545                        new
 07546                        {
 07547                            Id = 38L,
 07548                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07549                            Caption = "Скачать CSV",
 07550                            Code = "Csv",
 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 = 11L,
 07556                            Type = "GET"
 07557                        },
 07558                        new
 07559                        {
 07560                            Id = 39L,
 07561                            Action = "Shipments/{id}/ReadyToShip",
 07562                            Caption = "Подготовить к выдаче",
 07563                            Code = "ReadyToShip",
 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 = 11L,
 07569                            Type = "POST"
 07570                        },
 07571                        new
 07572                        {
 07573                            Id = 81L,
 07574                            Action = "Shipments/{id}/SupplierReject",
 07575                            Caption = "Отказать",
 07576                            Code = "RejectBySupplier",
 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 = 11L,
 07582                            Type = "POST"
 07583                        },
 07584                        new
 07585                        {
 07586                            Id = 40L,
 07587                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07588                            Caption = "Скачать CSV",
 07589                            Code = "Csv",
 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 = 3L,
 07594                            StatusId = 11L,
 07595                            Type = "GET"
 07596                        },
 07597                        new
 07598                        {
 07599                            Id = 143L,
 07600                            Action = "Orders/{parentId}",
 07601                            Caption = "Перейти к заявке-основанию",
 07602                            Code = "GetOnBase",
 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 = 11L,
 07608                            Type = "Get"
 07609                        },
 07610                        new
 07611                        {
 07612                            Id = 41L,
 07613                            Action = "Orders/CreateOnBase",
 07614                            Caption = "Создать заявку на основе",
 07615                            Code = "CreateOnBase",
 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 = 1L,
 07620                            StatusId = 12L,
 07621                            Type = "POST"
 07622                        },
 07623                        new
 07624                        {
 07625                            Id = 42L,
 07626                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07627                            Caption = "Скачать CSV",
 07628                            Code = "Csv",
 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 = 1L,
 07633                            StatusId = 12L,
 07634                            Type = "GET"
 07635                        },
 07636                        new
 07637                        {
 07638                            Id = 144L,
 07639                            Action = "Orders/{parentId}",
 07640                            Caption = "Перейти к заявке-основанию",
 07641                            Code = "GetOnBase",
 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 = 12L,
 07647                            Type = "Get"
 07648                        },
 07649                        new
 07650                        {
 07651                            Id = 46L,
 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 = 2L,
 07659                            StatusId = 12L,
 07660                            Type = "GET"
 07661                        },
 07662                        new
 07663                        {
 07664                            Id = 47L,
 07665                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07666                            Caption = "Скачать CSV",
 07667                            Code = "Csv",
 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 = 3L,
 07672                            StatusId = 12L,
 07673                            Type = "GET"
 07674                        },
 07675                        new
 07676                        {
 07677                            Id = 145L,
 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 = 3L,
 07685                            StatusId = 12L,
 07686                            Type = "Get"
 07687                        },
 07688                        new
 07689                        {
 07690                            Id = 48L,
 07691                            Action = "Orders/CreateOnBase",
 07692                            Caption = "Создать заявку на основе",
 07693                            Code = "CreateOnBase",
 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 = 1L,
 07698                            StatusId = 13L,
 07699                            Type = "POST"
 07700                        },
 07701                        new
 07702                        {
 07703                            Id = 49L,
 07704                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07705                            Caption = "Скачать CSV",
 07706                            Code = "Csv",
 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 = 1L,
 07711                            StatusId = 13L,
 07712                            Type = "GET"
 07713                        },
 07714                        new
 07715                        {
 07716                            Id = 91L,
 07717                            Action = "Shipments/{id}/Print",
 07718                            Caption = "Распечатать УПД",
 07719                            Code = "Pdf",
 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 = 1L,
 07724                            StatusId = 13L,
 07725                            Type = "GET"
 07726                        },
 07727                        new
 07728                        {
 07729                            Id = 82L,
 07730                            Action = "Shipments/{id}/Accept",
 07731                            Caption = "Принять",
 07732                            Code = "Accept",
 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 = 1L,
 07737                            StatusId = 13L,
 07738                            Type = "PUT"
 07739                        },
 07740                        new
 07741                        {
 07742                            Id = 84L,
 07743                            Action = "Shipments/{id}/CustomerReject",
 07744                            Caption = "Отказаться",
 07745                            Code = "RejectByCustomer",
 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 = 1L,
 07750                            StatusId = 13L,
 07751                            Type = "POST"
 07752                        },
 07753                        new
 07754                        {
 07755                            Id = 146L,
 07756                            Action = "Orders/{parentId}",
 07757                            Caption = "Перейти к заявке-основанию",
 07758                            Code = "GetOnBase",
 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 = 13L,
 07764                            Type = "Get"
 07765                        },
 07766                        new
 07767                        {
 07768                            Id = 50L,
 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 = 2L,
 07776                            StatusId = 13L,
 07777                            Type = "GET"
 07778                        },
 07779                        new
 07780                        {
 07781                            Id = 51L,
 07782                            Action = "Shipments/{id}/Print",
 07783                            Caption = "Распечатать УПД",
 07784                            Code = "Pdf",
 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 = 2L,
 07789                            StatusId = 13L,
 07790                            Type = "GET"
 07791                        },
 07792                        new
 07793                        {
 07794                            Id = 52L,
 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 = 3L,
 07802                            StatusId = 13L,
 07803                            Type = "GET"
 07804                        },
 07805                        new
 07806                        {
 07807                            Id = 53L,
 07808                            Action = "Shipments/{id}/Print",
 07809                            Caption = "Распечатать УПД",
 07810                            Code = "Pdf",
 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 = 13L,
 07816                            Type = "GET"
 07817                        },
 07818                        new
 07819                        {
 07820                            Id = 147L,
 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 = 13L,
 07829                            Type = "Get"
 07830                        },
 07831                        new
 07832                        {
 07833                            Id = 54L,
 07834                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07835                            Caption = "Скачать CSV",
 07836                            Code = "Csv",
 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 = 14L,
 07842                            Type = "GET"
 07843                        },
 07844                        new
 07845                        {
 07846                            Id = 55L,
 07847                            Action = "Shipments/{id}/Print",
 07848                            Caption = "Распечатать УПД",
 07849                            Code = "Pdf",
 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 = 14L,
 07855                            Type = "GET"
 07856                        },
 07857                        new
 07858                        {
 07859                            Id = 148L,
 07860                            Action = "Orders/{parentId}",
 07861                            Caption = "Перейти к заявке-основанию",
 07862                            Code = "GetOnBase",
 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 = 14L,
 07868                            Type = "Get"
 07869                        },
 07870                        new
 07871                        {
 07872                            Id = 56L,
 07873                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07874                            Caption = "Скачать CSV",
 07875                            Code = "Csv",
 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 = 2L,
 07880                            StatusId = 14L,
 07881                            Type = "GET"
 07882                        },
 07883                        new
 07884                        {
 07885                            Id = 57L,
 07886                            Action = "Shipments/{id}/Print",
 07887                            Caption = "Распечатать УПД",
 07888                            Code = "Pdf",
 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 = 2L,
 07893                            StatusId = 14L,
 07894                            Type = "GET"
 07895                        },
 07896                        new
 07897                        {
 07898                            Id = 58L,
 07899                            Action = "Shipments/{id}/DownloadShipmentToFile",
 07900                            Caption = "Скачать CSV",
 07901                            Code = "Csv",
 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 = 3L,
 07906                            StatusId = 14L,
 07907                            Type = "GET"
 07908                        },
 07909                        new
 07910                        {
 07911                            Id = 92L,
 07912                            Action = "Shipments/{id}/Print",
 07913                            Caption = "Распечатать УПД",
 07914                            Code = "Pdf",
 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 = 3L,
 07919                            StatusId = 14L,
 07920                            Type = "GET"
 07921                        },
 07922                        new
 07923                        {
 07924                            Id = 149L,
 07925                            Action = "Orders/{parentId}",
 07926                            Caption = "Перейти к заявке-основанию",
 07927                            Code = "GetOnBase",
 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 = 3L,
 07932                            StatusId = 14L,
 07933                            Type = "Get"
 07934                        },
 07935                        new
 07936                        {
 07937                            Id = 59L,
 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 = 1L,
 07945                            StatusId = 15L,
 07946                            Type = "GET"
 07947                        },
 07948                        new
 07949                        {
 07950                            Id = 60L,
 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 = 1L,
 07958                            StatusId = 15L,
 07959                            Type = "GET"
 07960                        },
 07961                        new
 07962                        {
 07963                            Id = 150L,
 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 = 1L,
 07971                            StatusId = 15L,
 07972                            Type = "Get"
 07973                        },
 07974                        new
 07975                        {
 07976                            Id = 61L,
 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 = 2L,
 07984                            StatusId = 15L,
 07985                            Type = "GET"
 07986                        },
 07987                        new
 07988                        {
 07989                            Id = 62L,
 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 = 2L,
 07997                            StatusId = 15L,
 07998                            Type = "GET"
 07999                        },
 08000                        new
 08001                        {
 08002                            Id = 63L,
 08003                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08004                            Caption = "Скачать CSV",
 08005                            Code = "Csv",
 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 = 3L,
 08010                            StatusId = 15L,
 08011                            Type = "GET"
 08012                        },
 08013                        new
 08014                        {
 08015                            Id = 93L,
 08016                            Action = "Shipments/{id}/Print",
 08017                            Caption = "Распечатать УПД",
 08018                            Code = "Pdf",
 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 = 3L,
 08023                            StatusId = 15L,
 08024                            Type = "GET"
 08025                        },
 08026                        new
 08027                        {
 08028                            Id = 151L,
 08029                            Action = "Orders/{parentId}",
 08030                            Caption = "Перейти к заявке-основанию",
 08031                            Code = "GetOnBase",
 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 = 3L,
 08036                            StatusId = 15L,
 08037                            Type = "Get"
 08038                        },
 08039                        new
 08040                        {
 08041                            Id = 64L,
 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 = 1L,
 08049                            StatusId = 16L,
 08050                            Type = "GET"
 08051                        },
 08052                        new
 08053                        {
 08054                            Id = 65L,
 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 = 1L,
 08062                            StatusId = 16L,
 08063                            Type = "GET"
 08064                        },
 08065                        new
 08066                        {
 08067                            Id = 152L,
 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 = 1L,
 08075                            StatusId = 16L,
 08076                            Type = "Get"
 08077                        },
 08078                        new
 08079                        {
 08080                            Id = 66L,
 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 = 2L,
 08088                            StatusId = 16L,
 08089                            Type = "GET"
 08090                        },
 08091                        new
 08092                        {
 08093                            Id = 67L,
 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 = 2L,
 08101                            StatusId = 16L,
 08102                            Type = "GET"
 08103                        },
 08104                        new
 08105                        {
 08106                            Id = 68L,
 08107                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08108                            Caption = "Скачать CSV",
 08109                            Code = "Csv",
 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 = 3L,
 08114                            StatusId = 16L,
 08115                            Type = "GET"
 08116                        },
 08117                        new
 08118                        {
 08119                            Id = 94L,
 08120                            Action = "Shipments/{id}/Print",
 08121                            Caption = "Распечатать УПД",
 08122                            Code = "Pdf",
 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 = 3L,
 08127                            StatusId = 16L,
 08128                            Type = "GET"
 08129                        },
 08130                        new
 08131                        {
 08132                            Id = 69L,
 08133                            Action = "Shipments/{id}/AcceptClaim",
 08134                            Caption = "Принять",
 08135                            Code = "AcceptClaim",
 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 = 3L,
 08140                            StatusId = 16L,
 08141                            Type = "POST"
 08142                        },
 08143                        new
 08144                        {
 08145                            Id = 70L,
 08146                            Action = "Shipments/{id}/DeclineClaim",
 08147                            Caption = "Отказать",
 08148                            Code = "DeclineClaim",
 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 = 16L,
 08154                            Type = "POST"
 08155                        },
 08156                        new
 08157                        {
 08158                            Id = 153L,
 08159                            Action = "Orders/{parentId}",
 08160                            Caption = "Перейти к заявке-основанию",
 08161                            Code = "GetOnBase",
 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 = 16L,
 08167                            Type = "Get"
 08168                        },
 08169                        new
 08170                        {
 08171                            Id = 71L,
 08172                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08173                            Caption = "Скачать CSV",
 08174                            Code = "Csv",
 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 = 1L,
 08179                            StatusId = 17L,
 08180                            Type = "GET"
 08181                        },
 08182                        new
 08183                        {
 08184                            Id = 72L,
 08185                            Action = "Shipments/{id}/Print",
 08186                            Caption = "Распечатать УПД",
 08187                            Code = "Pdf",
 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 = 17L,
 08193                            Type = "GET"
 08194                        },
 08195                        new
 08196                        {
 08197                            Id = 154L,
 08198                            Action = "Orders/{parentId}",
 08199                            Caption = "Перейти к заявке-основанию",
 08200                            Code = "GetOnBase",
 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 = 17L,
 08206                            Type = "Get"
 08207                        },
 08208                        new
 08209                        {
 08210                            Id = 73L,
 08211                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08212                            Caption = "Скачать CSV",
 08213                            Code = "Csv",
 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 = 2L,
 08218                            StatusId = 17L,
 08219                            Type = "GET"
 08220                        },
 08221                        new
 08222                        {
 08223                            Id = 74L,
 08224                            Action = "Shipments/{id}/Print",
 08225                            Caption = "Распечатать УПД",
 08226                            Code = "Pdf",
 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 = 17L,
 08232                            Type = "GET"
 08233                        },
 08234                        new
 08235                        {
 08236                            Id = 75L,
 08237                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08238                            Caption = "Скачать CSV",
 08239                            Code = "Csv",
 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 = 3L,
 08244                            StatusId = 17L,
 08245                            Type = "GET"
 08246                        },
 08247                        new
 08248                        {
 08249                            Id = 95L,
 08250                            Action = "Shipments/{id}/Print",
 08251                            Caption = "Распечатать УПД",
 08252                            Code = "Pdf",
 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 = 17L,
 08258                            Type = "GET"
 08259                        },
 08260                        new
 08261                        {
 08262                            Id = 155L,
 08263                            Action = "Orders/{parentId}",
 08264                            Caption = "Перейти к заявке-основанию",
 08265                            Code = "GetOnBase",
 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 = 17L,
 08271                            Type = "Get"
 08272                        },
 08273                        new
 08274                        {
 08275                            Id = 76L,
 08276                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08277                            Caption = "Скачать CSV",
 08278                            Code = "Csv",
 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 = 1L,
 08283                            StatusId = 18L,
 08284                            Type = "GET"
 08285                        },
 08286                        new
 08287                        {
 08288                            Id = 77L,
 08289                            Action = "Shipments/{id}/Print",
 08290                            Caption = "Распечатать УПД",
 08291                            Code = "Pdf",
 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 = 1L,
 08296                            StatusId = 18L,
 08297                            Type = "GET"
 08298                        },
 08299                        new
 08300                        {
 08301                            Id = 156L,
 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 = 1L,
 08309                            StatusId = 18L,
 08310                            Type = "Get"
 08311                        },
 08312                        new
 08313                        {
 08314                            Id = 78L,
 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 = 2L,
 08322                            StatusId = 18L,
 08323                            Type = "GET"
 08324                        },
 08325                        new
 08326                        {
 08327                            Id = 79L,
 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 = 2L,
 08335                            StatusId = 18L,
 08336                            Type = "GET"
 08337                        },
 08338                        new
 08339                        {
 08340                            Id = 80L,
 08341                            Action = "Shipments/{id}/DownloadShipmentToFile",
 08342                            Caption = "Скачать CSV",
 08343                            Code = "Csv",
 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 = 3L,
 08348                            StatusId = 18L,
 08349                            Type = "GET"
 08350                        },
 08351                        new
 08352                        {
 08353                            Id = 96L,
 08354                            Action = "Shipments/{id}/Print",
 08355                            Caption = "Распечатать УПД",
 08356                            Code = "Pdf",
 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 = 3L,
 08361                            StatusId = 18L,
 08362                            Type = "GET"
 08363                        },
 08364                        new
 08365                        {
 08366                            Id = 157L,
 08367                            Action = "Orders/{parentId}",
 08368                            Caption = "Перейти к заявке-основанию",
 08369                            Code = "GetOnBase",
 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 = 3L,
 08374                            StatusId = 18L,
 08375                            Type = "Get"
 08376                        },
 08377                        new
 08378                        {
 08379                            Id = 99L,
 08380                            Action = "Orders/{id}/Print",
 08381                            Caption = "Скачать PDF",
 08382                            Code = "SimpleOrderPdf",
 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 = 1L,
 08387                            StatusId = 1L,
 08388                            Type = "GET"
 08389                        },
 08390                        new
 08391                        {
 08392                            Id = 100L,
 08393                            Action = "Orders/{id}/Print",
 08394                            Caption = "Скачать PDF",
 08395                            Code = "SimpleOrderPdf",
 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 = 1L,
 08400                            StatusId = 2L,
 08401                            Type = "GET"
 08402                        },
 08403                        new
 08404                        {
 08405                            Id = 101L,
 08406                            Action = "Orders/{id}/Print",
 08407                            Caption = "Скачать PDF",
 08408                            Code = "SimpleOrderPdf",
 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 = 2L,
 08414                            Type = "GET"
 08415                        },
 08416                        new
 08417                        {
 08418                            Id = 102L,
 08419                            Action = "Orders/{id}/Print",
 08420                            Caption = "Скачать PDF",
 08421                            Code = "SimpleOrderPdf",
 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 = 3L,
 08427                            Type = "GET"
 08428                        },
 08429                        new
 08430                        {
 08431                            Id = 105L,
 08432                            Action = "Orders/{id}/Print",
 08433                            Caption = "Скачать PDF",
 08434                            Code = "SimpleOrderPdf",
 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 = 4L,
 08440                            Type = "GET"
 08441                        },
 08442                        new
 08443                        {
 08444                            Id = 106L,
 08445                            Action = "Orders/{id}/Print",
 08446                            Caption = "Скачать PDF",
 08447                            Code = "SimpleOrderPdf",
 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 = 3L,
 08452                            StatusId = 4L,
 08453                            Type = "GET"
 08454                        },
 08455                        new
 08456                        {
 08457                            Id = 107L,
 08458                            Action = "Orders/{id}/Print",
 08459                            Caption = "Скачать PDF",
 08460                            Code = "SimpleOrderPdf",
 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 = 1L,
 08465                            StatusId = 5L,
 08466                            Type = "GET"
 08467                        },
 08468                        new
 08469                        {
 08470                            Id = 108L,
 08471                            Action = "Orders/{id}/Print",
 08472                            Caption = "Скачать PDF",
 08473                            Code = "SimpleOrderPdf",
 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 = 3L,
 08478                            StatusId = 5L,
 08479                            Type = "GET"
 08480                        },
 08481                        new
 08482                        {
 08483                            Id = 109L,
 08484                            Action = "Shipments/{id}/SimplePrint",
 08485                            Caption = "Скачать PDF",
 08486                            Code = "SimpleShipmentPdf",
 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 = 1L,
 08491                            StatusId = 8L,
 08492                            Type = "GET"
 08493                        },
 08494                        new
 08495                        {
 08496                            Id = 110L,
 08497                            Action = "Shipments/{id}/SimplePrint",
 08498                            Caption = "Скачать PDF",
 08499                            Code = "SimpleShipmentPdf",
 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 = 2L,
 08504                            StatusId = 8L,
 08505                            Type = "GET"
 08506                        },
 08507                        new
 08508                        {
 08509                            Id = 111L,
 08510                            Action = "Shipments/{id}/SimplePrint",
 08511                            Caption = "Скачать PDF",
 08512                            Code = "SimpleShipmentPdf",
 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 = 8L,
 08518                            Type = "GET"
 08519                        },
 08520                        new
 08521                        {
 08522                            Id = 112L,
 08523                            Action = "Shipments/{id}/SimplePrint",
 08524                            Caption = "Скачать PDF",
 08525                            Code = "SimpleShipmentPdf",
 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 = 9L,
 08531                            Type = "GET"
 08532                        },
 08533                        new
 08534                        {
 08535                            Id = 113L,
 08536                            Action = "Shipments/{id}/SimplePrint",
 08537                            Caption = "Скачать PDF",
 08538                            Code = "SimpleShipmentPdf",
 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 = 3L,
 08543                            StatusId = 9L,
 08544                            Type = "GET"
 08545                        },
 08546                        new
 08547                        {
 08548                            Id = 114L,
 08549                            Action = "Shipments/{id}/Attachment",
 08550                            Caption = "Скачать вложение",
 08551                            Code = "GetAttachment",
 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 = 1L,
 08556                            StatusId = 10L,
 08557                            Type = "GET"
 08558                        },
 08559                        new
 08560                        {
 08561                            Id = 115L,
 08562                            Action = "Shipments/{id}/Attachment",
 08563                            Caption = "Приложить файл",
 08564                            Code = "SetAttachment",
 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 = 2L,
 08569                            StatusId = 10L,
 08570                            Type = "POST"
 08571                        },
 08572                        new
 08573                        {
 08574                            Id = 116L,
 08575                            Action = "Shipments/{id}/Attachment",
 08576                            Caption = "Удалить вложение",
 08577                            Code = "DeleteAttachment",
 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 = 2L,
 08582                            StatusId = 11L,
 08583                            Type = "DELETE"
 08584                        },
 08585                        new
 08586                        {
 08587                            Id = 117L,
 08588                            Action = "Shipments/{id}/Attachment",
 08589                            Caption = "Скачать вложение",
 08590                            Code = "GetAttachment",
 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 = 1L,
 08595                            StatusId = 13L,
 08596                            Type = "GET"
 08597                        },
 08598                        new
 08599                        {
 08600                            Id = 118L,
 08601                            Action = "Shipments/{id}/Attachment",
 08602                            Caption = "Скачать вложение",
 08603                            Code = "GetAttachment",
 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 = 2L,
 08608                            StatusId = 13L,
 08609                            Type = "GET"
 08610                        },
 08611                        new
 08612                        {
 08613                            Id = 119L,
 08614                            Action = "Shipments/{id}/Attachment",
 08615                            Caption = "Приложить файл",
 08616                            Code = "SetAttachment",
 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 = 2L,
 08621                            StatusId = 13L,
 08622                            Type = "POST"
 08623                        },
 08624                        new
 08625                        {
 08626                            Id = 120L,
 08627                            Action = "Shipments/{id}/Attachment",
 08628                            Caption = "Скачать вложение",
 08629                            Code = "GetAttachment",
 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 = 3L,
 08634                            StatusId = 13L,
 08635                            Type = "GET"
 08636                        },
 08637                        new
 08638                        {
 08639                            Id = 121L,
 08640                            Action = "Shipments/{id}/Attachment",
 08641                            Caption = "Скачать вложение",
 08642                            Code = "GetAttachment",
 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 = 1L,
 08647                            StatusId = 14L,
 08648                            Type = "GET"
 08649                        },
 08650                        new
 08651                        {
 08652                            Id = 122L,
 08653                            Action = "Shipments/{id}/Attachment",
 08654                            Caption = "Скачать вложение",
 08655                            Code = "GetAttachment",
 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 = 2L,
 08660                            StatusId = 14L,
 08661                            Type = "GET"
 08662                        },
 08663                        new
 08664                        {
 08665                            Id = 123L,
 08666                            Action = "Shipments/{id}/Attachment",
 08667                            Caption = "Скачать вложение",
 08668                            Code = "GetAttachment",
 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 = 3L,
 08673                            StatusId = 14L,
 08674                            Type = "GET"
 08675                        },
 08676                        new
 08677                        {
 08678                            Id = 124L,
 08679                            Action = "Shipments/{id}/Attachment",
 08680                            Caption = "Скачать вложение",
 08681                            Code = "GetAttachment",
 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 = 1L,
 08686                            StatusId = 15L,
 08687                            Type = "GET"
 08688                        },
 08689                        new
 08690                        {
 08691                            Id = 125L,
 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 = 2L,
 08699                            StatusId = 15L,
 08700                            Type = "GET"
 08701                        },
 08702                        new
 08703                        {
 08704                            Id = 126L,
 08705                            Action = "Shipments/{id}/Attachment",
 08706                            Caption = "Скачать вложение",
 08707                            Code = "GetAttachment",
 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 = 3L,
 08712                            StatusId = 15L,
 08713                            Type = "GET"
 08714                        },
 08715                        new
 08716                        {
 08717                            Id = 127L,
 08718                            Action = "Shipments/{id}/Attachment",
 08719                            Caption = "Скачать вложение",
 08720                            Code = "GetAttachment",
 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 = 1L,
 08725                            StatusId = 16L,
 08726                            Type = "GET"
 08727                        },
 08728                        new
 08729                        {
 08730                            Id = 128L,
 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 = 2L,
 08738                            StatusId = 16L,
 08739                            Type = "GET"
 08740                        },
 08741                        new
 08742                        {
 08743                            Id = 129L,
 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 = 3L,
 08751                            StatusId = 16L,
 08752                            Type = "GET"
 08753                        },
 08754                        new
 08755                        {
 08756                            Id = 130L,
 08757                            Action = "Shipments/{id}/Attachment",
 08758                            Caption = "Скачать вложение",
 08759                            Code = "GetAttachment",
 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 = 1L,
 08764                            StatusId = 17L,
 08765                            Type = "GET"
 08766                        },
 08767                        new
 08768                        {
 08769                            Id = 131L,
 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 = 2L,
 08777                            StatusId = 17L,
 08778                            Type = "GET"
 08779                        },
 08780                        new
 08781                        {
 08782                            Id = 132L,
 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 = 3L,
 08790                            StatusId = 17L,
 08791                            Type = "GET"
 08792                        },
 08793                        new
 08794                        {
 08795                            Id = 133L,
 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 = 1L,
 08803                            StatusId = 18L,
 08804                            Type = "GET"
 08805                        },
 08806                        new
 08807                        {
 08808                            Id = 134L,
 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 = 2L,
 08816                            StatusId = 18L,
 08817                            Type = "GET"
 08818                        },
 08819                        new
 08820                        {
 08821                            Id = 135L,
 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 = 3L,
 08829                            StatusId = 18L,
 08830                            Type = "GET"
 08831                        });
 08832                });
 8833
 08834            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", b =>
 08835                {
 08836                    b.Property<long>("Id")
 08837                        .ValueGeneratedOnAdd()
 08838                        .HasColumnType("bigint")
 08839                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 08840                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 08841
 08842                    b.Property<string>("Code")
 08843                        .IsRequired()
 08844                        .HasColumnType("text");
 08845
 08846                    b.Property<long?>("CreatedByUserId")
 08847                        .HasColumnType("bigint");
 08848
 08849                    b.Property<DateTime>("CreationDateTime")
 08850                        .HasColumnType("timestamp without time zone");
 08851
 08852                    b.Property<string>("Description")
 08853                        .HasColumnType("text");
 08854
 08855                    b.Property<Guid>("GUID")
 08856                        .ValueGeneratedOnAdd()
 08857                        .HasColumnType("uuid");
 08858
 08859                    b.Property<bool>("IsDeleted")
 08860                        .HasColumnType("boolean");
 08861
 08862                    b.Property<DateTime?>("ModificationDateTime")
 08863                        .HasColumnType("timestamp without time zone");
 08864
 08865                    b.Property<long?>("ModifiedByUserId")
 08866                        .HasColumnType("bigint");
 08867
 08868                    b.Property<long>("MovementTypeId")
 08869                        .HasColumnType("bigint");
 08870
 08871                    b.Property<string>("Name")
 08872                        .IsRequired()
 08873                        .HasColumnType("text");
 08874
 08875                    b.Property<long?>("RecStateId")
 08876                        .HasColumnType("bigint");
 08877
 08878                    b.Property<long>("StatusOwnerId")
 08879                        .HasColumnType("bigint");
 08880
 08881                    b.HasKey("Id");
 08882
 08883                    b.HasIndex("CreatedByUserId");
 08884
 08885                    b.HasIndex("ModifiedByUserId");
 08886
 08887                    b.HasIndex("MovementTypeId");
 08888
 08889                    b.HasIndex("RecStateId");
 08890
 08891                    b.HasIndex("StatusOwnerId");
 08892
 08893                    b.ToTable("MovementStatus");
 08894
 08895                    b.HasData(
 08896                        new
 08897                        {
 08898                            Id = 1L,
 08899                            Code = "Draft",
 08900                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08901                            Description = "",
 08902                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08903                            IsDeleted = false,
 08904                            MovementTypeId = 1L,
 08905                            Name = "Черновик",
 08906                            StatusOwnerId = 1L
 08907                        },
 08908                        new
 08909                        {
 08910                            Id = 2L,
 08911                            Code = "InQueue",
 08912                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08913                            Description = "",
 08914                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08915                            IsDeleted = false,
 08916                            MovementTypeId = 1L,
 08917                            Name = "В очереди на обработку",
 08918                            StatusOwnerId = 3L
 08919                        },
 08920                        new
 08921                        {
 08922                            Id = 3L,
 08923                            Code = "InProgress",
 08924                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08925                            Description = "",
 08926                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08927                            IsDeleted = false,
 08928                            MovementTypeId = 1L,
 08929                            Name = "В обработке",
 08930                            StatusOwnerId = 2L
 08931                        },
 08932                        new
 08933                        {
 08934                            Id = 4L,
 08935                            Code = "Reject",
 08936                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08937                            Description = "",
 08938                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08939                            IsDeleted = false,
 08940                            MovementTypeId = 1L,
 08941                            Name = "Отказ",
 08942                            StatusOwnerId = 3L
 08943                        },
 08944                        new
 08945                        {
 08946                            Id = 5L,
 08947                            Code = "Finished",
 08948                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08949                            Description = "",
 08950                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08951                            IsDeleted = false,
 08952                            MovementTypeId = 1L,
 08953                            Name = "Обработано",
 08954                            StatusOwnerId = 2L
 08955                        },
 08956                        new
 08957                        {
 08958                            Id = 6L,
 08959                            Code = "Draft",
 08960                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08961                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08962                            IsDeleted = false,
 08963                            MovementTypeId = 2L,
 08964                            Name = "Черновик",
 08965                            StatusOwnerId = 2L
 08966                        },
 08967                        new
 08968                        {
 08969                            Id = 7L,
 08970                            Code = "Reject",
 08971                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08972                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08973                            IsDeleted = false,
 08974                            MovementTypeId = 2L,
 08975                            Name = "Отказ",
 08976                            StatusOwnerId = 1L
 08977                        },
 08978                        new
 08979                        {
 08980                            Id = 8L,
 08981                            Code = "PaymentAwaiting",
 08982                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08983                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08984                            IsDeleted = false,
 08985                            MovementTypeId = 2L,
 08986                            Name = "Ожидает оплаты",
 08987                            StatusOwnerId = 1L
 08988                        },
 08989                        new
 08990                        {
 08991                            Id = 9L,
 08992                            Code = "Picking",
 08993                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 08994                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 08995                            IsDeleted = false,
 08996                            MovementTypeId = 2L,
 08997                            Name = "Сборка заказа",
 08998                            StatusOwnerId = 2L
 08999                        },
 09000                        new
 09001                        {
 09002                            Id = 10L,
 09003                            Code = "ReadyForShipment",
 09004                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09005                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09006                            IsDeleted = false,
 09007                            MovementTypeId = 2L,
 09008                            Name = "Готово к выдаче",
 09009                            StatusOwnerId = 2L
 09010                        },
 09011                        new
 09012                        {
 09013                            Id = 11L,
 09014                            Code = "Correction",
 09015                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09016                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09017                            IsDeleted = false,
 09018                            MovementTypeId = 2L,
 09019                            Name = "Корректировка",
 09020                            StatusOwnerId = 2L
 09021                        },
 09022                        new
 09023                        {
 09024                            Id = 12L,
 09025                            Code = "SupplierReject",
 09026                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09027                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09028                            IsDeleted = false,
 09029                            MovementTypeId = 2L,
 09030                            Name = "Отказ поставщика",
 09031                            StatusOwnerId = 2L
 09032                        },
 09033                        new
 09034                        {
 09035                            Id = 13L,
 09036                            Code = "Shipped",
 09037                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09038                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09039                            IsDeleted = false,
 09040                            MovementTypeId = 2L,
 09041                            Name = "Выдано",
 09042                            StatusOwnerId = 1L
 09043                        },
 09044                        new
 09045                        {
 09046                            Id = 14L,
 09047                            Code = "Received",
 09048                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09049                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09050                            IsDeleted = false,
 09051                            MovementTypeId = 2L,
 09052                            Name = "Принято",
 09053                            StatusOwnerId = 1L
 09054                        },
 09055                        new
 09056                        {
 09057                            Id = 15L,
 09058                            Code = "CustomerReject",
 09059                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09060                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09061                            IsDeleted = false,
 09062                            MovementTypeId = 2L,
 09063                            Name = "Отказ покупателя",
 09064                            StatusOwnerId = 1L
 09065                        },
 09066                        new
 09067                        {
 09068                            Id = 16L,
 09069                            Code = "ClaimInProgress",
 09070                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09071                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09072                            IsDeleted = false,
 09073                            MovementTypeId = 2L,
 09074                            Name = "Претензия разбор",
 09075                            StatusOwnerId = 3L
 09076                        },
 09077                        new
 09078                        {
 09079                            Id = 17L,
 09080                            Code = "ClaimDeclined",
 09081                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09082                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09083                            IsDeleted = false,
 09084                            MovementTypeId = 2L,
 09085                            Name = "Претензия отказано",
 09086                            StatusOwnerId = 3L
 09087                        },
 09088                        new
 09089                        {
 09090                            Id = 18L,
 09091                            Code = "ClaimAccepted",
 09092                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09093                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09094                            IsDeleted = false,
 09095                            MovementTypeId = 2L,
 09096                            Name = "Претензия подтверждено",
 09097                            StatusOwnerId = 3L
 09098                        });
 09099                });
 9100
 09101            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusJournal", b =>
 09102                {
 09103                    b.Property<long>("Id")
 09104                        .ValueGeneratedOnAdd()
 09105                        .HasColumnType("bigint")
 09106                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09107
 09108                    b.Property<long?>("CreatedByUserId")
 09109                        .HasColumnType("bigint");
 09110
 09111                    b.Property<DateTime>("CreationDateTime")
 09112                        .HasColumnType("timestamp without time zone");
 09113
 09114                    b.Property<Guid>("GUID")
 09115                        .ValueGeneratedOnAdd()
 09116                        .HasColumnType("uuid");
 09117
 09118                    b.Property<bool>("IsDeleted")
 09119                        .HasColumnType("boolean");
 09120
 09121                    b.Property<DateTime?>("ModificationDateTime")
 09122                        .HasColumnType("timestamp without time zone");
 09123
 09124                    b.Property<long?>("ModifiedByUserId")
 09125                        .HasColumnType("bigint");
 09126
 09127                    b.Property<long?>("MovementId")
 09128                        .HasColumnType("bigint");
 09129
 09130                    b.Property<long?>("RecStateId")
 09131                        .HasColumnType("bigint");
 09132
 09133                    b.Property<long?>("StatusCurrentId")
 09134                        .HasColumnType("bigint");
 09135
 09136                    b.HasKey("Id");
 09137
 09138                    b.HasIndex("CreatedByUserId");
 09139
 09140                    b.HasIndex("ModifiedByUserId");
 09141
 09142                    b.HasIndex("MovementId");
 09143
 09144                    b.HasIndex("RecStateId");
 09145
 09146                    b.HasIndex("StatusCurrentId");
 09147
 09148                    b.ToTable("MovementStatusJournals");
 09149                });
 9150
 09151            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", b =>
 09152                {
 09153                    b.Property<long>("Id")
 09154                        .ValueGeneratedOnAdd()
 09155                        .HasColumnType("bigint")
 09156                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09157                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09158
 09159                    b.Property<long?>("CreatedByUserId")
 09160                        .HasColumnType("bigint");
 09161
 09162                    b.Property<DateTime>("CreationDateTime")
 09163                        .HasColumnType("timestamp without time zone");
 09164
 09165                    b.Property<bool>("IsDeleted")
 09166                        .HasColumnType("boolean");
 09167
 09168                    b.Property<DateTime?>("ModificationDateTime")
 09169                        .HasColumnType("timestamp without time zone");
 09170
 09171                    b.Property<long?>("ModifiedByUserId")
 09172                        .HasColumnType("bigint");
 09173
 09174                    b.Property<string>("Name")
 09175                        .HasColumnType("text");
 09176
 09177                    b.Property<long?>("RecStateId")
 09178                        .HasColumnType("bigint");
 09179
 09180                    b.HasKey("Id");
 09181
 09182                    b.HasIndex("CreatedByUserId");
 09183
 09184                    b.HasIndex("ModifiedByUserId");
 09185
 09186                    b.HasIndex("RecStateId");
 09187
 09188                    b.ToTable("MovementStatusOwners");
 09189
 09190                    b.HasData(
 09191                        new
 09192                        {
 09193                            Id = 1L,
 09194                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09195                            IsDeleted = false,
 09196                            Name = "Customer"
 09197                        },
 09198                        new
 09199                        {
 09200                            Id = 2L,
 09201                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09202                            IsDeleted = false,
 09203                            Name = "Supplier"
 09204                        },
 09205                        new
 09206                        {
 09207                            Id = 3L,
 09208                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09209                            IsDeleted = false,
 09210                            Name = "Platform"
 09211                        });
 09212                });
 9213
 09214            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusRoute", b =>
 09215                {
 09216                    b.Property<long>("Id")
 09217                        .ValueGeneratedOnAdd()
 09218                        .HasColumnType("bigint")
 09219                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09220                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09221
 09222                    b.Property<long?>("CreatedByUserId")
 09223                        .HasColumnType("bigint");
 09224
 09225                    b.Property<DateTime>("CreationDateTime")
 09226                        .HasColumnType("timestamp without time zone");
 09227
 09228                    b.Property<Guid>("GUID")
 09229                        .ValueGeneratedOnAdd()
 09230                        .HasColumnType("uuid");
 09231
 09232                    b.Property<int>("Hour")
 09233                        .HasColumnType("integer");
 09234
 09235                    b.Property<bool>("IsDeleted")
 09236                        .HasColumnType("boolean");
 09237
 09238                    b.Property<DateTime?>("ModificationDateTime")
 09239                        .HasColumnType("timestamp without time zone");
 09240
 09241                    b.Property<long?>("ModifiedByUserId")
 09242                        .HasColumnType("bigint");
 09243
 09244                    b.Property<long?>("RecStateId")
 09245                        .HasColumnType("bigint");
 09246
 09247                    b.Property<string>("RouteKey")
 09248                        .HasColumnType("text");
 09249
 09250                    b.Property<long>("StatusCurrentId")
 09251                        .HasColumnType("bigint");
 09252
 09253                    b.Property<long>("StatusNextId")
 09254                        .HasColumnType("bigint");
 09255
 09256                    b.HasKey("Id");
 09257
 09258                    b.HasIndex("CreatedByUserId");
 09259
 09260                    b.HasIndex("ModifiedByUserId");
 09261
 09262                    b.HasIndex("RecStateId");
 09263
 09264                    b.HasIndex("StatusCurrentId");
 09265
 09266                    b.HasIndex("StatusNextId");
 09267
 09268                    b.ToTable("MovementStatusRoutes");
 09269
 09270                    b.HasData(
 09271                        new
 09272                        {
 09273                            Id = 1L,
 09274                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09275                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09276                            Hour = 0,
 09277                            IsDeleted = false,
 09278                            RouteKey = "Send",
 09279                            StatusCurrentId = 1L,
 09280                            StatusNextId = 2L
 09281                        },
 09282                        new
 09283                        {
 09284                            Id = 2L,
 09285                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09286                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09287                            Hour = 0,
 09288                            IsDeleted = false,
 09289                            RouteKey = "Confirm",
 09290                            StatusCurrentId = 2L,
 09291                            StatusNextId = 3L
 09292                        },
 09293                        new
 09294                        {
 09295                            Id = 3L,
 09296                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09297                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09298                            Hour = 8,
 09299                            IsDeleted = false,
 09300                            RouteKey = "Auto",
 09301                            StatusCurrentId = 2L,
 09302                            StatusNextId = 4L
 09303                        },
 09304                        new
 09305                        {
 09306                            Id = 4L,
 09307                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09308                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09309                            Hour = 0,
 09310                            IsDeleted = false,
 09311                            RouteKey = "RejectOrder",
 09312                            StatusCurrentId = 2L,
 09313                            StatusNextId = 4L
 09314                        },
 09315                        new
 09316                        {
 09317                            Id = 5L,
 09318                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09319                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09320                            Hour = 8,
 09321                            IsDeleted = false,
 09322                            RouteKey = "Auto",
 09323                            StatusCurrentId = 3L,
 09324                            StatusNextId = 4L
 09325                        },
 09326                        new
 09327                        {
 09328                            Id = 6L,
 09329                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09330                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09331                            Hour = 0,
 09332                            IsDeleted = false,
 09333                            RouteKey = "Finished",
 09334                            StatusCurrentId = 3L,
 09335                            StatusNextId = 5L
 09336                        },
 09337                        new
 09338                        {
 09339                            Id = 7L,
 09340                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09341                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09342                            Hour = 0,
 09343                            IsDeleted = false,
 09344                            RouteKey = "RejectOrder",
 09345                            StatusCurrentId = 3L,
 09346                            StatusNextId = 4L
 09347                        },
 09348                        new
 09349                        {
 09350                            Id = 8L,
 09351                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09352                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09353                            Hour = 0,
 09354                            IsDeleted = false,
 09355                            RouteKey = "SupplierReject",
 09356                            StatusCurrentId = 6L,
 09357                            StatusNextId = 12L
 09358                        },
 09359                        new
 09360                        {
 09361                            Id = 9L,
 09362                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09363                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09364                            Hour = 0,
 09365                            IsDeleted = false,
 09366                            RouteKey = "PaymentReserve",
 09367                            StatusCurrentId = 6L,
 09368                            StatusNextId = 8L
 09369                        },
 09370                        new
 09371                        {
 09372                            Id = 10L,
 09373                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09374                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09375                            Hour = 0,
 09376                            IsDeleted = false,
 09377                            RouteKey = "Payment",
 09378                            StatusCurrentId = 8L,
 09379                            StatusNextId = 9L
 09380                        },
 09381                        new
 09382                        {
 09383                            Id = 11L,
 09384                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09385                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09386                            Hour = 0,
 09387                            IsDeleted = false,
 09388                            RouteKey = "CustomerReject",
 09389                            StatusCurrentId = 8L,
 09390                            StatusNextId = 15L
 09391                        },
 09392                        new
 09393                        {
 09394                            Id = 12L,
 09395                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09396                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09397                            Hour = 24,
 09398                            IsDeleted = false,
 09399                            RouteKey = "Auto",
 09400                            StatusCurrentId = 8L,
 09401                            StatusNextId = 7L
 09402                        },
 09403                        new
 09404                        {
 09405                            Id = 13L,
 09406                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09407                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09408                            Hour = 0,
 09409                            IsDeleted = false,
 09410                            RouteKey = "SupplierReject",
 09411                            StatusCurrentId = 9L,
 09412                            StatusNextId = 12L
 09413                        },
 09414                        new
 09415                        {
 09416                            Id = 14L,
 09417                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09418                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09419                            Hour = 24,
 09420                            IsDeleted = false,
 09421                            RouteKey = "Auto",
 09422                            StatusCurrentId = 9L,
 09423                            StatusNextId = 7L
 09424                        },
 09425                        new
 09426                        {
 09427                            Id = 15L,
 09428                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09429                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09430                            Hour = 0,
 09431                            IsDeleted = false,
 09432                            RouteKey = "ReadyToShip",
 09433                            StatusCurrentId = 9L,
 09434                            StatusNextId = 10L
 09435                        },
 09436                        new
 09437                        {
 09438                            Id = 30L,
 09439                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09440                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09441                            Hour = 0,
 09442                            IsDeleted = false,
 09443                            RouteKey = "CustomerReject",
 09444                            StatusCurrentId = 9L,
 09445                            StatusNextId = 15L
 09446                        },
 09447                        new
 09448                        {
 09449                            Id = 16L,
 09450                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09451                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09452                            Hour = 0,
 09453                            IsDeleted = false,
 09454                            RouteKey = "Ship",
 09455                            StatusCurrentId = 10L,
 09456                            StatusNextId = 13L
 09457                        },
 09458                        new
 09459                        {
 09460                            Id = 17L,
 09461                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09462                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09463                            Hour = 24,
 09464                            IsDeleted = false,
 09465                            RouteKey = "Auto",
 09466                            StatusCurrentId = 10L,
 09467                            StatusNextId = 7L
 09468                        },
 09469                        new
 09470                        {
 09471                            Id = 18L,
 09472                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09473                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09474                            Hour = 0,
 09475                            IsDeleted = false,
 09476                            RouteKey = "SupplierReject",
 09477                            StatusCurrentId = 10L,
 09478                            StatusNextId = 12L
 09479                        },
 09480                        new
 09481                        {
 09482                            Id = 19L,
 09483                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09484                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09485                            Hour = 0,
 09486                            IsDeleted = false,
 09487                            RouteKey = "Correction",
 09488                            StatusCurrentId = 10L,
 09489                            StatusNextId = 11L
 09490                        },
 09491                        new
 09492                        {
 09493                            Id = 31L,
 09494                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09495                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09496                            Hour = 0,
 09497                            IsDeleted = false,
 09498                            RouteKey = "CustomerReject",
 09499                            StatusCurrentId = 10L,
 09500                            StatusNextId = 15L
 09501                        },
 09502                        new
 09503                        {
 09504                            Id = 20L,
 09505                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09506                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09507                            Hour = 8,
 09508                            IsDeleted = false,
 09509                            RouteKey = "Auto",
 09510                            StatusCurrentId = 11L,
 09511                            StatusNextId = 7L
 09512                        },
 09513                        new
 09514                        {
 09515                            Id = 21L,
 09516                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09517                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09518                            Hour = 0,
 09519                            IsDeleted = false,
 09520                            RouteKey = "SupplierReject",
 09521                            StatusCurrentId = 11L,
 09522                            StatusNextId = 12L
 09523                        },
 09524                        new
 09525                        {
 09526                            Id = 22L,
 09527                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09528                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09529                            Hour = 0,
 09530                            IsDeleted = false,
 09531                            RouteKey = "ReadyToShip",
 09532                            StatusCurrentId = 11L,
 09533                            StatusNextId = 10L
 09534                        },
 09535                        new
 09536                        {
 09537                            Id = 32L,
 09538                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09539                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09540                            Hour = 0,
 09541                            IsDeleted = false,
 09542                            RouteKey = "CustomerReject",
 09543                            StatusCurrentId = 11L,
 09544                            StatusNextId = 15L
 09545                        },
 09546                        new
 09547                        {
 09548                            Id = 23L,
 09549                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09550                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09551                            Hour = 0,
 09552                            IsDeleted = false,
 09553                            RouteKey = "Accept",
 09554                            StatusCurrentId = 13L,
 09555                            StatusNextId = 14L
 09556                        },
 09557                        new
 09558                        {
 09559                            Id = 24L,
 09560                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09561                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09562                            Hour = 0,
 09563                            IsDeleted = false,
 09564                            RouteKey = "CustomerReject",
 09565                            StatusCurrentId = 13L,
 09566                            StatusNextId = 15L
 09567                        },
 09568                        new
 09569                        {
 09570                            Id = 25L,
 09571                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09572                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09573                            Hour = 24,
 09574                            IsDeleted = false,
 09575                            RouteKey = "Auto",
 09576                            StatusCurrentId = 13L,
 09577                            StatusNextId = 7L
 09578                        },
 09579                        new
 09580                        {
 09581                            Id = 26L,
 09582                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09583                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09584                            Hour = 0,
 09585                            IsDeleted = false,
 09586                            RouteKey = "ClaimProcess",
 09587                            StatusCurrentId = 15L,
 09588                            StatusNextId = 16L
 09589                        },
 09590                        new
 09591                        {
 09592                            Id = 27L,
 09593                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09594                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09595                            Hour = 0,
 09596                            IsDeleted = false,
 09597                            RouteKey = "ClaimAccept",
 09598                            StatusCurrentId = 16L,
 09599                            StatusNextId = 18L
 09600                        },
 09601                        new
 09602                        {
 09603                            Id = 28L,
 09604                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09605                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09606                            Hour = 24,
 09607                            IsDeleted = false,
 09608                            RouteKey = "Auto",
 09609                            StatusCurrentId = 16L,
 09610                            StatusNextId = 18L
 09611                        },
 09612                        new
 09613                        {
 09614                            Id = 29L,
 09615                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09616                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09617                            Hour = 0,
 09618                            IsDeleted = false,
 09619                            RouteKey = "ClaimDecline",
 09620                            StatusCurrentId = 16L,
 09621                            StatusNextId = 17L
 09622                        });
 09623                });
 9624
 09625            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", b =>
 09626                {
 09627                    b.Property<long>("Id")
 09628                        .ValueGeneratedOnAdd()
 09629                        .HasColumnType("bigint")
 09630                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09631                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09632
 09633                    b.Property<string>("Code")
 09634                        .IsRequired()
 09635                        .HasColumnType("text");
 09636
 09637                    b.Property<long?>("CreatedByUserId")
 09638                        .HasColumnType("bigint");
 09639
 09640                    b.Property<DateTime>("CreationDateTime")
 09641                        .HasColumnType("timestamp without time zone");
 09642
 09643                    b.Property<string>("Description")
 09644                        .HasColumnType("text");
 09645
 09646                    b.Property<Guid>("GUID")
 09647                        .ValueGeneratedOnAdd()
 09648                        .HasColumnType("uuid");
 09649
 09650                    b.Property<bool>("IsDeleted")
 09651                        .HasColumnType("boolean");
 09652
 09653                    b.Property<DateTime?>("ModificationDateTime")
 09654                        .HasColumnType("timestamp without time zone");
 09655
 09656                    b.Property<long?>("ModifiedByUserId")
 09657                        .HasColumnType("bigint");
 09658
 09659                    b.Property<string>("Name")
 09660                        .IsRequired()
 09661                        .HasColumnType("text");
 09662
 09663                    b.Property<long?>("RecStateId")
 09664                        .HasColumnType("bigint");
 09665
 09666                    b.HasKey("Id");
 09667
 09668                    b.HasIndex("CreatedByUserId");
 09669
 09670                    b.HasIndex("ModifiedByUserId");
 09671
 09672                    b.HasIndex("RecStateId");
 09673
 09674                    b.ToTable("MovementType");
 09675
 09676                    b.HasData(
 09677                        new
 09678                        {
 09679                            Id = 1L,
 09680                            Code = "Order",
 09681                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09682                            Description = "",
 09683                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09684                            IsDeleted = false,
 09685                            Name = "Заказ"
 09686                        },
 09687                        new
 09688                        {
 09689                            Id = 2L,
 09690                            Code = "Shipment",
 09691                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09692                            Description = "",
 09693                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09694                            IsDeleted = false,
 09695                            Name = "Отгрузка"
 09696                        },
 09697                        new
 09698                        {
 09699                            Id = 3L,
 09700                            Code = "Arrival",
 09701                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09702                            Description = "",
 09703                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09704                            IsDeleted = false,
 09705                            Name = "Приход"
 09706                        },
 09707                        new
 09708                        {
 09709                            Id = 4L,
 09710                            Code = "Deny",
 09711                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09712                            Description = "",
 09713                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09714                            IsDeleted = false,
 09715                            Name = "Отказ"
 09716                        });
 09717                });
 9718
 09719            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", b =>
 09720                {
 09721                    b.Property<long>("Id")
 09722                        .ValueGeneratedOnAdd()
 09723                        .HasColumnType("bigint")
 09724                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09725
 09726                    b.Property<string>("Body")
 09727                        .IsRequired()
 09728                        .HasColumnType("text");
 09729
 09730                    b.Property<long?>("CreatedByUserId")
 09731                        .HasColumnType("bigint");
 09732
 09733                    b.Property<DateTime>("CreationDateTime")
 09734                        .HasColumnType("timestamp without time zone");
 09735
 09736                    b.Property<Guid>("GUID")
 09737                        .ValueGeneratedOnAdd()
 09738                        .HasColumnType("uuid");
 09739
 09740                    b.Property<bool>("IsDeleted")
 09741                        .HasColumnType("boolean");
 09742
 09743                    b.Property<DateTime?>("ModificationDateTime")
 09744                        .HasColumnType("timestamp without time zone");
 09745
 09746                    b.Property<long?>("ModifiedByUserId")
 09747                        .HasColumnType("bigint");
 09748
 09749                    b.Property<long>("NotificationsTypeId")
 09750                        .HasColumnType("bigint");
 09751
 09752                    b.Property<long?>("RecStateId")
 09753                        .HasColumnType("bigint");
 09754
 09755                    b.Property<string>("Subject")
 09756                        .IsRequired()
 09757                        .HasColumnType("text");
 09758
 09759                    b.Property<DateTime>("TimeToTurnOff")
 09760                        .HasColumnType("timestamp without time zone");
 09761
 09762                    b.Property<long>("UserId")
 09763                        .HasColumnType("bigint");
 09764
 09765                    b.HasKey("Id");
 09766
 09767                    b.HasIndex("CreatedByUserId");
 09768
 09769                    b.HasIndex("ModifiedByUserId");
 09770
 09771                    b.HasIndex("NotificationsTypeId");
 09772
 09773                    b.HasIndex("RecStateId");
 09774
 09775                    b.HasIndex("UserId");
 09776
 09777                    b.ToTable("Notifications");
 09778                });
 9779
 09780            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationUsers", b =>
 09781                {
 09782                    b.Property<long>("Id")
 09783                        .ValueGeneratedOnAdd()
 09784                        .HasColumnType("bigint")
 09785                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09786
 09787                    b.Property<long?>("CreatedByUserId")
 09788                        .HasColumnType("bigint");
 09789
 09790                    b.Property<DateTime>("CreationDateTime")
 09791                        .HasColumnType("timestamp without time zone");
 09792
 09793                    b.Property<Guid>("GUID")
 09794                        .ValueGeneratedOnAdd()
 09795                        .HasColumnType("uuid");
 09796
 09797                    b.Property<bool>("IsDeleted")
 09798                        .HasColumnType("boolean");
 09799
 09800                    b.Property<DateTime?>("ModificationDateTime")
 09801                        .HasColumnType("timestamp without time zone");
 09802
 09803                    b.Property<long?>("ModifiedByUserId")
 09804                        .HasColumnType("bigint");
 09805
 09806                    b.Property<long>("NotificationId")
 09807                        .HasColumnType("bigint");
 09808
 09809                    b.Property<long?>("NotificationsStatusId")
 09810                        .HasColumnType("bigint");
 09811
 09812                    b.Property<long?>("RecStateId")
 09813                        .HasColumnType("bigint");
 09814
 09815                    b.Property<long?>("UserId")
 09816                        .HasColumnType("bigint");
 09817
 09818                    b.HasKey("Id");
 09819
 09820                    b.HasIndex("CreatedByUserId");
 09821
 09822                    b.HasIndex("ModifiedByUserId");
 09823
 09824                    b.HasIndex("NotificationId");
 09825
 09826                    b.HasIndex("NotificationsStatusId");
 09827
 09828                    b.HasIndex("RecStateId");
 09829
 09830                    b.HasIndex("UserId");
 09831
 09832                    b.ToTable("NotificationUsers");
 09833                });
 9834
 09835            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", b =>
 09836                {
 09837                    b.Property<long>("Id")
 09838                        .ValueGeneratedOnAdd()
 09839                        .HasColumnType("bigint")
 09840                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09841                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09842
 09843                    b.Property<string>("Code")
 09844                        .IsRequired()
 09845                        .HasColumnType("text");
 09846
 09847                    b.Property<long?>("CreatedByUserId")
 09848                        .HasColumnType("bigint");
 09849
 09850                    b.Property<DateTime>("CreationDateTime")
 09851                        .HasColumnType("timestamp without time zone");
 09852
 09853                    b.Property<string>("Description")
 09854                        .HasColumnType("text");
 09855
 09856                    b.Property<Guid>("GUID")
 09857                        .ValueGeneratedOnAdd()
 09858                        .HasColumnType("uuid");
 09859
 09860                    b.Property<bool>("IsDeleted")
 09861                        .HasColumnType("boolean");
 09862
 09863                    b.Property<DateTime?>("ModificationDateTime")
 09864                        .HasColumnType("timestamp without time zone");
 09865
 09866                    b.Property<long?>("ModifiedByUserId")
 09867                        .HasColumnType("bigint");
 09868
 09869                    b.Property<string>("Name")
 09870                        .IsRequired()
 09871                        .HasColumnType("text");
 09872
 09873                    b.Property<long?>("RecStateId")
 09874                        .HasColumnType("bigint");
 09875
 09876                    b.HasKey("Id");
 09877
 09878                    b.HasIndex("CreatedByUserId");
 09879
 09880                    b.HasIndex("ModifiedByUserId");
 09881
 09882                    b.HasIndex("RecStateId");
 09883
 09884                    b.ToTable("NotificationsStatus");
 09885
 09886                    b.HasData(
 09887                        new
 09888                        {
 09889                            Id = 1L,
 09890                            Code = "Unknown",
 09891                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09892                            Description = "",
 09893                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09894                            IsDeleted = false,
 09895                            Name = "Неизвестно"
 09896                        },
 09897                        new
 09898                        {
 09899                            Id = 2L,
 09900                            Code = "Created",
 09901                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09902                            Description = "",
 09903                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09904                            IsDeleted = false,
 09905                            Name = "Создано"
 09906                        },
 09907                        new
 09908                        {
 09909                            Id = 3L,
 09910                            Code = "Sent",
 09911                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09912                            Description = "",
 09913                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09914                            IsDeleted = false,
 09915                            Name = "Отправлено"
 09916                        },
 09917                        new
 09918                        {
 09919                            Id = 4L,
 09920                            Code = "Read",
 09921                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09922                            Description = "",
 09923                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09924                            IsDeleted = false,
 09925                            Name = "Прочитано"
 09926                        },
 09927                        new
 09928                        {
 09929                            Id = 5L,
 09930                            Code = "Deactivated",
 09931                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09932                            Description = "",
 09933                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09934                            IsDeleted = false,
 09935                            Name = "Отключено"
 09936                        });
 09937                });
 9938
 09939            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", b =>
 09940                {
 09941                    b.Property<long>("Id")
 09942                        .ValueGeneratedOnAdd()
 09943                        .HasColumnType("bigint")
 09944                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 09945                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 09946
 09947                    b.Property<string>("Code")
 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<string>("Description")
 09958                        .HasColumnType("text");
 09959
 09960                    b.Property<Guid>("GUID")
 09961                        .ValueGeneratedOnAdd()
 09962                        .HasColumnType("uuid");
 09963
 09964                    b.Property<bool>("IsDeleted")
 09965                        .HasColumnType("boolean");
 09966
 09967                    b.Property<DateTime?>("ModificationDateTime")
 09968                        .HasColumnType("timestamp without time zone");
 09969
 09970                    b.Property<long?>("ModifiedByUserId")
 09971                        .HasColumnType("bigint");
 09972
 09973                    b.Property<string>("Name")
 09974                        .IsRequired()
 09975                        .HasColumnType("text");
 09976
 09977                    b.Property<long?>("RecStateId")
 09978                        .HasColumnType("bigint");
 09979
 09980                    b.HasKey("Id");
 09981
 09982                    b.HasIndex("CreatedByUserId");
 09983
 09984                    b.HasIndex("ModifiedByUserId");
 09985
 09986                    b.HasIndex("RecStateId");
 09987
 09988                    b.ToTable("NotificationsType");
 09989
 09990                    b.HasData(
 09991                        new
 09992                        {
 09993                            Id = 1L,
 09994                            Code = "System",
 09995                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 09996                            Description = "",
 09997                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 09998                            IsDeleted = false,
 09999                            Name = "Системное"
 010000                        },
 010001                        new
 010002                        {
 010003                            Id = 2L,
 010004                            Code = "News",
 010005                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010006                            Description = "",
 010007                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010008                            IsDeleted = false,
 010009                            Name = "Новость"
 010010                        });
 010011                });
 10012
 010013            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Photo", b =>
 010014                {
 010015                    b.Property<long>("Id")
 010016                        .ValueGeneratedOnAdd()
 010017                        .HasColumnType("bigint")
 010018                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010019
 010020                    b.Property<long?>("CreatedByUserId")
 010021                        .HasColumnType("bigint");
 010022
 010023                    b.Property<DateTime>("CreationDateTime")
 010024                        .HasColumnType("timestamp without time zone");
 010025
 010026                    b.Property<int>("FullSizeHeight")
 010027                        .HasColumnType("integer");
 010028
 010029                    b.Property<string>("FullSizeUrl")
 010030                        .HasColumnType("text");
 010031
 010032                    b.Property<int>("FullSizeWidth")
 010033                        .HasColumnType("integer");
 010034
 010035                    b.Property<Guid>("GUID")
 010036                        .ValueGeneratedOnAdd()
 010037                        .HasColumnType("uuid");
 010038
 010039                    b.Property<long?>("GoodId")
 010040                        .HasColumnType("bigint");
 010041
 010042                    b.Property<bool>("IsDeleted")
 010043                        .HasColumnType("boolean");
 010044
 010045                    b.Property<DateTime?>("ModificationDateTime")
 010046                        .HasColumnType("timestamp without time zone");
 010047
 010048                    b.Property<long?>("ModifiedByUserId")
 010049                        .HasColumnType("bigint");
 010050
 010051                    b.Property<int>("PreviewHeight")
 010052                        .HasColumnType("integer");
 010053
 010054                    b.Property<string>("PreviewUrl")
 010055                        .HasColumnType("text");
 010056
 010057                    b.Property<int>("PreviewWidth")
 010058                        .HasColumnType("integer");
 010059
 010060                    b.Property<long?>("RecStateId")
 010061                        .HasColumnType("bigint");
 010062
 010063                    b.HasKey("Id");
 010064
 010065                    b.HasIndex("CreatedByUserId");
 010066
 010067                    b.HasIndex("GoodId");
 010068
 010069                    b.HasIndex("ModifiedByUserId");
 010070
 010071                    b.HasIndex("RecStateId");
 010072
 010073                    b.ToTable("Photos");
 010074                });
 10075
 010076            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceCurrent", b =>
 010077                {
 010078                    b.Property<long>("Id")
 010079                        .ValueGeneratedOnAdd()
 010080                        .HasColumnType("bigint")
 010081                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010082
 010083                    b.Property<long?>("CreatedByUserId")
 010084                        .HasColumnType("bigint");
 010085
 010086                    b.Property<DateTime>("CreationDateTime")
 010087                        .HasColumnType("timestamp without time zone");
 010088
 010089                    b.Property<Guid>("GUID")
 010090                        .ValueGeneratedOnAdd()
 010091                        .HasColumnType("uuid");
 010092
 010093                    b.Property<long>("GoodId")
 010094                        .HasColumnType("bigint");
 010095
 010096                    b.Property<bool>("IsDeleted")
 010097                        .HasColumnType("boolean");
 010098
 010099                    b.Property<DateTime?>("ModificationDateTime")
 010100                        .HasColumnType("timestamp without time zone");
 010101
 010102                    b.Property<long?>("ModifiedByUserId")
 010103                        .HasColumnType("bigint");
 010104
 010105                    b.Property<decimal>("Price")
 010106                        .HasColumnType("numeric");
 010107
 010108                    b.Property<long?>("RecStateId")
 010109                        .HasColumnType("bigint");
 010110
 010111                    b.Property<long>("SupplierDepartmentId")
 010112                        .HasColumnType("bigint");
 010113
 010114                    b.HasKey("Id");
 010115
 010116                    b.HasIndex("CreatedByUserId");
 010117
 010118                    b.HasIndex("GoodId");
 010119
 010120                    b.HasIndex("ModifiedByUserId");
 010121
 010122                    b.HasIndex("RecStateId");
 010123
 010124                    b.HasIndex("SupplierDepartmentId");
 010125
 010126                    b.ToTable("PricesCurrent");
 010127                });
 10128
 010129            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", b =>
 010130                {
 010131                    b.Property<long>("Id")
 010132                        .ValueGeneratedOnAdd()
 010133                        .HasColumnType("bigint")
 010134                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010135
 010136                    b.Property<DateTime>("BeginDate")
 010137                        .HasColumnType("timestamp without time zone");
 010138
 010139                    b.Property<long?>("CreatedByUserId")
 010140                        .HasColumnType("bigint");
 010141
 010142                    b.Property<DateTime>("CreationDateTime")
 010143                        .HasColumnType("timestamp without time zone");
 010144
 010145                    b.Property<string>("DocNumber")
 010146                        .IsRequired()
 010147                        .HasColumnType("text");
 010148
 010149                    b.Property<DateTime>("EndDate")
 010150                        .HasColumnType("timestamp without time zone");
 010151
 010152                    b.Property<Guid>("GUID")
 010153                        .ValueGeneratedOnAdd()
 010154                        .HasColumnType("uuid");
 010155
 010156                    b.Property<bool>("IsDeleted")
 010157                        .HasColumnType("boolean");
 010158
 010159                    b.Property<DateTime?>("ModificationDateTime")
 010160                        .HasColumnType("timestamp without time zone");
 010161
 010162                    b.Property<long?>("ModifiedByUserId")
 010163                        .HasColumnType("bigint");
 010164
 010165                    b.Property<long?>("RecStateId")
 010166                        .HasColumnType("bigint");
 010167
 010168                    b.Property<long>("SupplierDepartmentId")
 010169                        .HasColumnType("bigint");
 010170
 010171                    b.HasKey("Id");
 010172
 010173                    b.HasIndex("CreatedByUserId");
 010174
 010175                    b.HasIndex("ModifiedByUserId");
 010176
 010177                    b.HasIndex("RecStateId");
 010178
 010179                    b.HasIndex("SupplierDepartmentId");
 010180
 010181                    b.ToTable("PricesTrend");
 010182                });
 10183
 010184            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrendDetail", b =>
 010185                {
 010186                    b.Property<long>("Id")
 010187                        .ValueGeneratedOnAdd()
 010188                        .HasColumnType("bigint")
 010189                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010190
 010191                    b.Property<long?>("CreatedByUserId")
 010192                        .HasColumnType("bigint");
 010193
 010194                    b.Property<DateTime>("CreationDateTime")
 010195                        .HasColumnType("timestamp without time zone");
 010196
 010197                    b.Property<int?>("Discount")
 010198                        .HasColumnType("integer");
 010199
 010200                    b.Property<Guid>("GUID")
 010201                        .ValueGeneratedOnAdd()
 010202                        .HasColumnType("uuid");
 010203
 010204                    b.Property<long>("GoodId")
 010205                        .HasColumnType("bigint");
 010206
 010207                    b.Property<bool>("IsDeleted")
 010208                        .HasColumnType("boolean");
 010209
 010210                    b.Property<DateTime?>("ModificationDateTime")
 010211                        .HasColumnType("timestamp without time zone");
 010212
 010213                    b.Property<long?>("ModifiedByUserId")
 010214                        .HasColumnType("bigint");
 010215
 010216                    b.Property<decimal>("PriceNew")
 010217                        .HasColumnType("numeric");
 010218
 010219                    b.Property<decimal?>("PriceOld")
 010220                        .HasColumnType("numeric");
 010221
 010222                    b.Property<long>("PriceTrendId")
 010223                        .HasColumnType("bigint");
 010224
 010225                    b.Property<long?>("RecStateId")
 010226                        .HasColumnType("bigint");
 010227
 010228                    b.HasKey("Id");
 010229
 010230                    b.HasIndex("CreatedByUserId");
 010231
 010232                    b.HasIndex("ModifiedByUserId");
 010233
 010234                    b.HasIndex("PriceTrendId");
 010235
 010236                    b.HasIndex("RecStateId");
 010237
 010238                    b.HasIndex("GoodId", "PriceTrendId")
 010239                        .IsUnique();
 010240
 010241                    b.ToTable("PriceTrendDetails");
 010242                });
 10243
 010244            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoBid", b =>
 010245                {
 010246                    b.Property<long>("Id")
 010247                        .ValueGeneratedOnAdd()
 010248                        .HasColumnType("bigint")
 010249                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010250
 010251                    b.Property<long?>("CreatedByUserId")
 010252                        .HasColumnType("bigint");
 010253
 010254                    b.Property<DateTime>("CreationDate")
 010255                        .HasColumnType("timestamp without time zone");
 010256
 010257                    b.Property<DateTime>("CreationDateTime")
 010258                        .HasColumnType("timestamp without time zone");
 010259
 010260                    b.Property<long>("CustomerDepartmentId")
 010261                        .HasColumnType("bigint");
 010262
 010263                    b.Property<DateTime>("DateEnd")
 010264                        .HasColumnType("timestamp without time zone");
 010265
 010266                    b.Property<Guid>("GUID")
 010267                        .ValueGeneratedOnAdd()
 010268                        .HasColumnType("uuid");
 010269
 010270                    b.Property<long>("GoodId")
 010271                        .HasColumnType("bigint");
 010272
 010273                    b.Property<bool>("IsDeleted")
 010274                        .HasColumnType("boolean");
 010275
 010276                    b.Property<DateTime?>("ModificationDateTime")
 010277                        .HasColumnType("timestamp without time zone");
 010278
 010279                    b.Property<long?>("ModifiedByUserId")
 010280                        .HasColumnType("bigint");
 010281
 010282                    b.Property<decimal>("Price")
 010283                        .HasColumnType("numeric");
 010284
 010285                    b.Property<long>("PromoOfferId")
 010286                        .HasColumnType("bigint");
 010287
 010288                    b.Property<decimal>("Quantity")
 010289                        .HasColumnType("numeric");
 010290
 010291                    b.Property<long?>("RecStateId")
 010292                        .HasColumnType("bigint");
 010293
 010294                    b.Property<decimal>("Sum")
 010295                        .HasColumnType("numeric");
 010296
 010297                    b.HasKey("Id");
 010298
 010299                    b.HasIndex("CreatedByUserId");
 010300
 010301                    b.HasIndex("CustomerDepartmentId");
 010302
 010303                    b.HasIndex("GoodId");
 010304
 010305                    b.HasIndex("ModifiedByUserId");
 010306
 010307                    b.HasIndex("PromoOfferId");
 010308
 010309                    b.HasIndex("RecStateId");
 010310
 010311                    b.ToTable("PromoBids");
 010312                });
 10313
 010314            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoOffer", b =>
 010315                {
 010316                    b.Property<long>("Id")
 010317                        .ValueGeneratedOnAdd()
 010318                        .HasColumnType("bigint")
 010319                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010320
 010321                    b.Property<long?>("CreatedByUserId")
 010322                        .HasColumnType("bigint");
 010323
 010324                    b.Property<DateTime>("CreationDateTime")
 010325                        .HasColumnType("timestamp without time zone");
 010326
 010327                    b.Property<DateTime>("DateBegin")
 010328                        .HasColumnType("timestamp without time zone");
 010329
 010330                    b.Property<DateTime>("DateEnd")
 010331                        .HasColumnType("timestamp without time zone");
 010332
 010333                    b.Property<Guid>("GUID")
 010334                        .ValueGeneratedOnAdd()
 010335                        .HasColumnType("uuid");
 010336
 010337                    b.Property<long>("GoodId")
 010338                        .HasColumnType("bigint");
 010339
 010340                    b.Property<bool>("IsDeleted")
 010341                        .HasColumnType("boolean");
 010342
 010343                    b.Property<decimal?>("MaxQuantity")
 010344                        .HasColumnType("numeric");
 010345
 010346                    b.Property<decimal>("MinQuantity")
 010347                        .HasColumnType("numeric");
 010348
 010349                    b.Property<DateTime?>("ModificationDateTime")
 010350                        .HasColumnType("timestamp without time zone");
 010351
 010352                    b.Property<long?>("ModifiedByUserId")
 010353                        .HasColumnType("bigint");
 010354
 010355                    b.Property<decimal>("Price")
 010356                        .HasColumnType("numeric");
 010357
 010358                    b.Property<long?>("RecStateId")
 010359                        .HasColumnType("bigint");
 010360
 010361                    b.Property<long>("SupplierDepartmentId")
 010362                        .HasColumnType("bigint");
 010363
 010364                    b.HasKey("Id");
 010365
 010366                    b.HasIndex("CreatedByUserId");
 010367
 010368                    b.HasIndex("GoodId");
 010369
 010370                    b.HasIndex("ModifiedByUserId");
 010371
 010372                    b.HasIndex("RecStateId");
 010373
 010374                    b.HasIndex("SupplierDepartmentId");
 010375
 010376                    b.ToTable("PromoOffers");
 010377                });
 10378
 010379            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", b =>
 010380                {
 010381                    b.Property<long>("Id")
 010382                        .ValueGeneratedOnAdd()
 010383                        .HasColumnType("bigint")
 010384                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010385                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010386
 010387                    b.Property<string>("Code")
 010388                        .IsRequired()
 010389                        .HasColumnType("text");
 010390
 010391                    b.Property<long?>("CreatedByUserId")
 010392                        .HasColumnType("bigint");
 010393
 010394                    b.Property<DateTime>("CreationDateTime")
 010395                        .HasColumnType("timestamp without time zone");
 010396
 010397                    b.Property<string>("Description")
 010398                        .HasColumnType("text");
 010399
 010400                    b.Property<Guid>("GUID")
 010401                        .ValueGeneratedOnAdd()
 010402                        .HasColumnType("uuid");
 010403
 010404                    b.Property<bool>("IsDeleted")
 010405                        .HasColumnType("boolean");
 010406
 010407                    b.Property<DateTime?>("ModificationDateTime")
 010408                        .HasColumnType("timestamp without time zone");
 010409
 010410                    b.Property<long?>("ModifiedByUserId")
 010411                        .HasColumnType("bigint");
 010412
 010413                    b.Property<string>("Name")
 010414                        .IsRequired()
 010415                        .HasColumnType("text");
 010416
 010417                    b.Property<long?>("RecStateId")
 010418                        .HasColumnType("bigint");
 010419
 010420                    b.HasKey("Id");
 010421
 010422                    b.HasIndex("CreatedByUserId");
 010423
 010424                    b.HasIndex("ModifiedByUserId");
 010425
 010426                    b.HasIndex("RecStateId");
 010427
 010428                    b.ToTable("RecordsState");
 010429
 010430                    b.HasData(
 010431                        new
 010432                        {
 010433                            Id = 1L,
 010434                            Code = "Error",
 010435                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010436                            Description = "",
 010437                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010438                            IsDeleted = false,
 010439                            Name = "Ошибка"
 010440                        },
 010441                        new
 010442                        {
 010443                            Id = 2L,
 010444                            Code = "Active",
 010445                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010446                            Description = "",
 010447                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010448                            IsDeleted = false,
 010449                            Name = "Активно"
 010450                        },
 010451                        new
 010452                        {
 010453                            Id = 3L,
 010454                            Code = "Inactive",
 010455                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010456                            Description = "",
 010457                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010458                            IsDeleted = false,
 010459                            Name = "Неактивно"
 010460                        },
 010461                        new
 010462                        {
 010463                            Id = 4L,
 010464                            Code = "Deleted",
 010465                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010466                            Description = "",
 010467                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010468                            IsDeleted = false,
 010469                            Name = "Удалено"
 010470                        },
 010471                        new
 010472                        {
 010473                            Id = 5L,
 010474                            Code = "Empty",
 010475                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010476                            Description = "",
 010477                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010478                            IsDeleted = false,
 010479                            Name = "Пусто"
 010480                        });
 010481                });
 10482
 010483            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Rest", b =>
 010484                {
 010485                    b.Property<long>("Id")
 010486                        .ValueGeneratedOnAdd()
 010487                        .HasColumnType("bigint")
 010488                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010489
 010490                    b.Property<long?>("CreatedByUserId")
 010491                        .HasColumnType("bigint");
 010492
 010493                    b.Property<DateTime>("CreationDateTime")
 010494                        .HasColumnType("timestamp without time zone");
 010495
 010496                    b.Property<long>("DepartmentId")
 010497                        .HasColumnType("bigint");
 010498
 010499                    b.Property<Guid>("GUID")
 010500                        .ValueGeneratedOnAdd()
 010501                        .HasColumnType("uuid");
 010502
 010503                    b.Property<long>("GoodId")
 010504                        .HasColumnType("bigint");
 010505
 010506                    b.Property<bool>("IsDeleted")
 010507                        .HasColumnType("boolean");
 010508
 010509                    b.Property<DateTime?>("ModificationDateTime")
 010510                        .HasColumnType("timestamp without time zone");
 010511
 010512                    b.Property<long?>("ModifiedByUserId")
 010513                        .HasColumnType("bigint");
 010514
 010515                    b.Property<decimal>("Quantity")
 010516                        .HasColumnType("numeric");
 010517
 010518                    b.Property<long?>("RecStateId")
 010519                        .HasColumnType("bigint");
 010520
 010521                    b.HasKey("Id");
 010522
 010523                    b.HasIndex("CreatedByUserId");
 010524
 010525                    b.HasIndex("DepartmentId");
 010526
 010527                    b.HasIndex("ModifiedByUserId");
 010528
 010529                    b.HasIndex("RecStateId");
 010530
 010531                    b.HasIndex("GoodId", "DepartmentId")
 010532                        .IsUnique();
 010533
 010534                    b.ToTable("Rests");
 010535                });
 10536
 010537            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RestHold", b =>
 010538                {
 010539                    b.Property<long>("Id")
 010540                        .ValueGeneratedOnAdd()
 010541                        .HasColumnType("bigint")
 010542                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010543
 010544                    b.Property<long?>("CreatedByUserId")
 010545                        .HasColumnType("bigint");
 010546
 010547                    b.Property<DateTime>("CreationDateTime")
 010548                        .HasColumnType("timestamp without time zone");
 010549
 010550                    b.Property<Guid>("GUID")
 010551                        .ValueGeneratedOnAdd()
 010552                        .HasColumnType("uuid");
 010553
 010554                    b.Property<long>("GoodId")
 010555                        .HasColumnType("bigint");
 010556
 010557                    b.Property<bool>("IsDeleted")
 010558                        .HasColumnType("boolean");
 010559
 010560                    b.Property<DateTime?>("ModificationDateTime")
 010561                        .HasColumnType("timestamp without time zone");
 010562
 010563                    b.Property<long?>("ModifiedByUserId")
 010564                        .HasColumnType("bigint");
 010565
 010566                    b.Property<long>("MovementId")
 010567                        .HasColumnType("bigint");
 010568
 010569                    b.Property<decimal>("Quantity")
 010570                        .HasColumnType("numeric");
 010571
 010572                    b.Property<long?>("RecStateId")
 010573                        .HasColumnType("bigint");
 010574
 010575                    b.HasKey("Id");
 010576
 010577                    b.HasIndex("CreatedByUserId");
 010578
 010579                    b.HasIndex("GoodId");
 010580
 010581                    b.HasIndex("ModifiedByUserId");
 010582
 010583                    b.HasIndex("MovementId");
 010584
 010585                    b.HasIndex("RecStateId");
 010586
 010587                    b.ToTable("RestHolds");
 010588                });
 10589
 010590            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", b =>
 010591                {
 010592                    b.Property<long>("Id")
 010593                        .ValueGeneratedOnAdd()
 010594                        .HasColumnType("bigint")
 010595                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010596                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010597
 010598                    b.Property<long?>("CreatedByUserId")
 010599                        .HasColumnType("bigint");
 010600
 010601                    b.Property<DateTime>("CreationDateTime")
 010602                        .HasColumnType("timestamp without time zone");
 010603
 010604                    b.Property<string>("Description")
 010605                        .HasColumnType("text");
 010606
 010607                    b.Property<Guid>("GUID")
 010608                        .ValueGeneratedOnAdd()
 010609                        .HasColumnType("uuid");
 010610
 010611                    b.Property<bool>("IsDeleted")
 010612                        .HasColumnType("boolean");
 010613
 010614                    b.Property<DateTime?>("ModificationDateTime")
 010615                        .HasColumnType("timestamp without time zone");
 010616
 010617                    b.Property<long?>("ModifiedByUserId")
 010618                        .HasColumnType("bigint");
 010619
 010620                    b.Property<string>("Name")
 010621                        .IsRequired()
 010622                        .HasColumnType("text");
 010623
 010624                    b.Property<long?>("RecStateId")
 010625                        .HasColumnType("bigint");
 010626
 010627                    b.HasKey("Id");
 010628
 010629                    b.HasIndex("CreatedByUserId");
 010630
 010631                    b.HasIndex("ModifiedByUserId");
 010632
 010633                    b.HasIndex("RecStateId");
 010634
 010635                    b.ToTable("Roles");
 010636
 010637                    b.HasData(
 010638                        new
 010639                        {
 010640                            Id = 1L,
 010641                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010642                            Description = "Администратор системы",
 010643                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010644                            IsDeleted = false,
 010645                            Name = "dd_sys_hi_level"
 010646                        },
 010647                        new
 010648                        {
 010649                            Id = 2L,
 010650                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010651                            Description = "Оператор системы",
 010652                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010653                            IsDeleted = false,
 010654                            Name = "dd_sys_low_level"
 010655                        },
 010656                        new
 010657                        {
 010658                            Id = 3L,
 010659                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010660                            Description = "Владелец магазина",
 010661                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010662                            IsDeleted = false,
 010663                            Name = "dd_cust_hi_level"
 010664                        },
 010665                        new
 010666                        {
 010667                            Id = 4L,
 010668                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010669                            Description = "Товаровед магазина",
 010670                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010671                            IsDeleted = false,
 010672                            Name = "dd_cust_mid_level"
 010673                        },
 010674                        new
 010675                        {
 010676                            Id = 5L,
 010677                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010678                            Description = "Продавец магазина",
 010679                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010680                            IsDeleted = false,
 010681                            Name = "dd_cust_low_level"
 010682                        },
 010683                        new
 010684                        {
 010685                            Id = 6L,
 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 = "dd_supp_hi_level"
 010691                        },
 010692                        new
 010693                        {
 010694                            Id = 7L,
 010695                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010696                            Description = "Управляющий поставщика",
 010697                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010698                            IsDeleted = false,
 010699                            Name = "dd_supp_mid_level"
 010700                        },
 010701                        new
 010702                        {
 010703                            Id = 8L,
 010704                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010705                            Description = "Кладовщик поставщика",
 010706                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010707                            IsDeleted = false,
 010708                            Name = "dd_supp_low_level"
 010709                        },
 010710                        new
 010711                        {
 010712                            Id = 9L,
 010713                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010714                            Description = "Анонимный пользователь",
 010715                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010716                            IsDeleted = false,
 010717                            Name = "dd_anonym"
 010718                        });
 010719                });
 10720
 010721            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.SupplyContract", b =>
 010722                {
 010723                    b.Property<long>("Id")
 010724                        .ValueGeneratedOnAdd()
 010725                        .HasColumnType("bigint")
 010726                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010727
 010728                    b.Property<DateTime>("BeginDate")
 010729                        .HasColumnType("timestamp without time zone");
 010730
 010731                    b.Property<long>("BuyerId")
 010732                        .HasColumnType("bigint");
 010733
 010734                    b.Property<long?>("CreatedByUserId")
 010735                        .HasColumnType("bigint");
 010736
 010737                    b.Property<DateTime>("CreationDateTime")
 010738                        .HasColumnType("timestamp without time zone");
 010739
 010740                    b.Property<string>("DocumentNumber")
 010741                        .IsRequired()
 010742                        .HasColumnType("text");
 010743
 010744                    b.Property<DateTime>("EndDate")
 010745                        .HasColumnType("timestamp without time zone");
 010746
 010747                    b.Property<Guid>("GUID")
 010748                        .ValueGeneratedOnAdd()
 010749                        .HasColumnType("uuid");
 010750
 010751                    b.Property<bool>("IsDeleted")
 010752                        .HasColumnType("boolean");
 010753
 010754                    b.Property<DateTime?>("ModificationDateTime")
 010755                        .HasColumnType("timestamp without time zone");
 010756
 010757                    b.Property<long?>("ModifiedByUserId")
 010758                        .HasColumnType("bigint");
 010759
 010760                    b.Property<decimal>("PrepaimentPercent")
 010761                        .HasColumnType("numeric");
 010762
 010763                    b.Property<long?>("RecStateId")
 010764                        .HasColumnType("bigint");
 010765
 010766                    b.Property<long>("SellerId")
 010767                        .HasColumnType("bigint");
 010768
 010769                    b.Property<DateTime>("SignOffDate")
 010770                        .HasColumnType("timestamp without time zone");
 010771
 010772                    b.Property<decimal>("TradeRatio")
 010773                        .HasColumnType("numeric");
 010774
 010775                    b.HasKey("Id");
 010776
 010777                    b.HasIndex("BuyerId");
 010778
 010779                    b.HasIndex("CreatedByUserId");
 010780
 010781                    b.HasIndex("DocumentNumber");
 010782
 010783                    b.HasIndex("ModifiedByUserId");
 010784
 010785                    b.HasIndex("RecStateId");
 010786
 010787                    b.HasIndex("SellerId");
 010788
 010789                    b.ToTable("SupplyContract");
 010790                });
 10791
 010792            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", b =>
 010793                {
 010794                    b.Property<long>("Id")
 010795                        .ValueGeneratedOnAdd()
 010796                        .HasColumnType("bigint")
 010797                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010798                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010799
 010800                    b.Property<string>("Code")
 010801                        .HasColumnType("text");
 010802
 010803                    b.Property<long?>("CreatedByUserId")
 010804                        .HasColumnType("bigint");
 010805
 010806                    b.Property<DateTime>("CreationDateTime")
 010807                        .HasColumnType("timestamp without time zone");
 010808
 010809                    b.Property<string>("Description")
 010810                        .HasColumnType("text");
 010811
 010812                    b.Property<Guid>("GUID")
 010813                        .ValueGeneratedOnAdd()
 010814                        .HasColumnType("uuid");
 010815
 010816                    b.Property<bool>("IsDeleted")
 010817                        .HasColumnType("boolean");
 010818
 010819                    b.Property<DateTime?>("ModificationDateTime")
 010820                        .HasColumnType("timestamp without time zone");
 010821
 010822                    b.Property<long?>("ModifiedByUserId")
 010823                        .HasColumnType("bigint");
 010824
 010825                    b.Property<string>("Name")
 010826                        .HasColumnType("text");
 010827
 010828                    b.Property<long?>("RecStateId")
 010829                        .HasColumnType("bigint");
 010830
 010831                    b.HasKey("Id");
 010832
 010833                    b.HasIndex("CreatedByUserId");
 010834
 010835                    b.HasIndex("ModifiedByUserId");
 010836
 010837                    b.HasIndex("RecStateId");
 010838
 010839                    b.ToTable("TaxSystems");
 010840
 010841                    b.HasData(
 010842                        new
 010843                        {
 010844                            Id = 1L,
 010845                            Code = "УСН",
 010846                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010847                            Description = "Упрощенка",
 010848                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010849                            IsDeleted = false,
 010850                            Name = "Упрощенная система налогообложения"
 010851                        },
 010852                        new
 010853                        {
 010854                            Id = 2L,
 010855                            Code = "ЕНВД",
 010856                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010857                            Description = "Вмененка",
 010858                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010859                            IsDeleted = false,
 010860                            Name = "Единый налог на вмененные доходы"
 010861                        },
 010862                        new
 010863                        {
 010864                            Id = 3L,
 010865                            Code = "ES",
 010866                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010867                            Description = "Единый сельскохозяйственный налог",
 010868                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010869                            IsDeleted = false,
 010870                            Name = "ЕСХН"
 010871                        },
 010872                        new
 010873                        {
 010874                            Id = 4L,
 010875                            Code = "ОСН",
 010876                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010877                            Description = "Стандартная",
 010878                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010879                            IsDeleted = false,
 010880                            Name = "Основная система налогообложения"
 010881                        });
 010882                });
 10883
 010884            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", b =>
 010885                {
 010886                    b.Property<long>("Id")
 010887                        .ValueGeneratedOnAdd()
 010888                        .HasColumnType("bigint")
 010889                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 010890                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 010891
 010892                    b.Property<string>("Code")
 010893                        .IsRequired()
 010894                        .HasColumnType("text");
 010895
 010896                    b.Property<long?>("CreatedByUserId")
 010897                        .HasColumnType("bigint");
 010898
 010899                    b.Property<DateTime>("CreationDateTime")
 010900                        .HasColumnType("timestamp without time zone");
 010901
 010902                    b.Property<string>("Description")
 010903                        .HasColumnType("text");
 010904
 010905                    b.Property<Guid>("GUID")
 010906                        .ValueGeneratedOnAdd()
 010907                        .HasColumnType("uuid");
 010908
 010909                    b.Property<bool>("IsDeleted")
 010910                        .HasColumnType("boolean");
 010911
 010912                    b.Property<DateTime?>("ModificationDateTime")
 010913                        .HasColumnType("timestamp without time zone");
 010914
 010915                    b.Property<long?>("ModifiedByUserId")
 010916                        .HasColumnType("bigint");
 010917
 010918                    b.Property<string>("Name")
 010919                        .IsRequired()
 010920                        .HasColumnType("text");
 010921
 010922                    b.Property<long?>("RecStateId")
 010923                        .HasColumnType("bigint");
 010924
 010925                    b.Property<string>("StrCode")
 010926                        .HasColumnType("text");
 010927
 010928                    b.HasKey("Id");
 010929
 010930                    b.HasIndex("CreatedByUserId");
 010931
 010932                    b.HasIndex("ModifiedByUserId");
 010933
 010934                    b.HasIndex("RecStateId");
 010935
 010936                    b.ToTable("UnitsKind");
 010937
 010938                    b.HasData(
 010939                        new
 010940                        {
 010941                            Id = 1L,
 010942                            Code = "1",
 010943                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010944                            Description = "",
 010945                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010946                            IsDeleted = false,
 010947                            Name = "Неизвестно",
 010948                            StrCode = "Unknown"
 010949                        },
 010950                        new
 010951                        {
 010952                            Id = 2L,
 010953                            Code = "166",
 010954                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010955                            Description = "Килограмм",
 010956                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010957                            IsDeleted = false,
 010958                            Name = "КГ",
 010959                            StrCode = "Kg"
 010960                        },
 010961                        new
 010962                        {
 010963                            Id = 3L,
 010964                            Code = "112",
 010965                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010966                            Description = "Литр",
 010967                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010968                            IsDeleted = false,
 010969                            Name = "Л",
 010970                            StrCode = "Litre"
 010971                        },
 010972                        new
 010973                        {
 010974                            Id = 4L,
 010975                            Code = "6",
 010976                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010977                            Description = "Метр",
 010978                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010979                            IsDeleted = false,
 010980                            Name = "М",
 010981                            StrCode = "Meter"
 010982                        },
 010983                        new
 010984                        {
 010985                            Id = 5L,
 010986                            Code = "796",
 010987                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010988                            Description = "Штука (1 единица товара)",
 010989                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 010990                            IsDeleted = false,
 010991                            Name = "ШТ",
 010992                            StrCode = "Item"
 010993                        },
 010994                        new
 010995                        {
 010996                            Id = 6L,
 010997                            Code = "55",
 010998                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 010999                            Description = "Квадратный метр",
 011000                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011001                            IsDeleted = false,
 011002                            Name = "М2",
 011003                            StrCode = "SquareMetre"
 011004                        },
 011005                        new
 011006                        {
 011007                            Id = 7L,
 011008                            Code = "113",
 011009                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011010                            Description = "Кубический метр",
 011011                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011012                            IsDeleted = false,
 011013                            Name = "М3",
 011014                            StrCode = "CubicMetre"
 011015                        });
 011016                });
 11017
 011018            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", b =>
 011019                {
 011020                    b.Property<long>("Id")
 011021                        .ValueGeneratedOnAdd()
 011022                        .HasColumnType("bigint")
 011023                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011024
 011025                    b.Property<long?>("CreatedByUserId")
 011026                        .HasColumnType("bigint");
 011027
 011028                    b.Property<DateTime>("CreationDateTime")
 011029                        .HasColumnType("timestamp without time zone");
 011030
 011031                    b.Property<Guid>("GUID")
 011032                        .ValueGeneratedOnAdd()
 011033                        .HasColumnType("uuid");
 011034
 011035                    b.Property<bool>("IsDeleted")
 011036                        .HasColumnType("boolean");
 011037
 011038                    b.Property<DateTime?>("ModificationDateTime")
 011039                        .HasColumnType("timestamp without time zone");
 011040
 011041                    b.Property<long?>("ModifiedByUserId")
 011042                        .HasColumnType("bigint");
 011043
 011044                    b.Property<long?>("RecStateId")
 011045                        .HasColumnType("bigint");
 011046
 011047                    b.Property<byte[]>("ResultFile")
 011048                        .HasColumnType("bytea");
 011049
 011050                    b.Property<byte[]>("SourceFile")
 011051                        .HasColumnType("bytea");
 011052
 011053                    b.Property<string>("SourceFileName")
 011054                        .HasColumnType("text");
 011055
 011056                    b.Property<int>("SourceRecordCount")
 011057                        .HasColumnType("integer");
 011058
 011059                    b.Property<int>("Status")
 011060                        .HasColumnType("integer");
 011061
 011062                    b.Property<int>("UploadedRecordCount")
 011063                        .HasColumnType("integer");
 011064
 011065                    b.HasKey("Id");
 011066
 011067                    b.HasIndex("CreatedByUserId");
 011068
 011069                    b.HasIndex("ModifiedByUserId");
 011070
 011071                    b.HasIndex("RecStateId");
 011072
 011073                    b.ToTable("Uploads");
 011074                });
 11075
 011076            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UploadItem", b =>
 011077                {
 011078                    b.Property<long>("Id")
 011079                        .ValueGeneratedOnAdd()
 011080                        .HasColumnType("bigint")
 011081                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011082
 011083                    b.Property<long?>("CreatedByUserId")
 011084                        .HasColumnType("bigint");
 011085
 011086                    b.Property<DateTime>("CreationDateTime")
 011087                        .HasColumnType("timestamp without time zone");
 011088
 011089                    b.Property<long>("EndityId")
 011090                        .HasColumnType("bigint");
 011091
 011092                    b.Property<string>("EntityName")
 011093                        .IsRequired()
 011094                        .HasColumnType("text");
 011095
 011096                    b.Property<Guid>("GUID")
 011097                        .ValueGeneratedOnAdd()
 011098                        .HasColumnType("uuid");
 011099
 011100                    b.Property<bool>("IsDeleted")
 011101                        .HasColumnType("boolean");
 011102
 011103                    b.Property<DateTime?>("ModificationDateTime")
 011104                        .HasColumnType("timestamp without time zone");
 011105
 011106                    b.Property<long?>("ModifiedByUserId")
 011107                        .HasColumnType("bigint");
 011108
 011109                    b.Property<long?>("RecStateId")
 011110                        .HasColumnType("bigint");
 011111
 011112                    b.Property<long>("UploadId")
 011113                        .HasColumnType("bigint");
 011114
 011115                    b.HasKey("Id");
 011116
 011117                    b.HasIndex("CreatedByUserId");
 011118
 011119                    b.HasIndex("ModifiedByUserId");
 011120
 011121                    b.HasIndex("RecStateId");
 011122
 011123                    b.HasIndex("UploadId");
 011124
 011125                    b.ToTable("UploadItems");
 011126                });
 11127
 011128            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", b =>
 011129                {
 011130                    b.Property<long>("Id")
 011131                        .ValueGeneratedOnAdd()
 011132                        .HasColumnType("bigint")
 011133                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011134
 011135                    b.Property<long?>("ContragentId")
 011136                        .HasColumnType("bigint");
 011137
 011138                    b.Property<long?>("CreatedByUserId")
 011139                        .HasColumnType("bigint");
 011140
 011141                    b.Property<DateTime>("CreationDateTime")
 011142                        .HasColumnType("timestamp without time zone");
 011143
 011144                    b.Property<string>("Email")
 011145                        .HasColumnType("text");
 011146
 011147                    b.Property<Guid>("ExternalKey")
 011148                        .ValueGeneratedOnAdd()
 011149                        .HasColumnType("uuid");
 011150
 011151                    b.Property<string>("FirstName")
 011152                        .IsRequired()
 011153                        .HasColumnType("text");
 011154
 011155                    b.Property<Guid>("GUID")
 011156                        .ValueGeneratedOnAdd()
 011157                        .HasColumnType("uuid");
 011158
 011159                    b.Property<bool>("IsBlocked")
 011160                        .HasColumnType("boolean");
 011161
 011162                    b.Property<bool>("IsContactPerson")
 011163                        .HasColumnType("boolean");
 011164
 011165                    b.Property<bool>("IsDeleted")
 011166                        .HasColumnType("boolean");
 011167
 011168                    b.Property<string>("LastName")
 011169                        .IsRequired()
 011170                        .HasColumnType("text");
 011171
 011172                    b.Property<string>("Login")
 011173                        .HasColumnType("text");
 011174
 011175                    b.Property<string>("MiddleName")
 011176                        .HasColumnType("text");
 011177
 011178                    b.Property<DateTime?>("ModificationDateTime")
 011179                        .HasColumnType("timestamp without time zone");
 011180
 011181                    b.Property<long?>("ModifiedByUserId")
 011182                        .HasColumnType("bigint");
 011183
 011184                    b.Property<string>("Phone")
 011185                        .HasColumnType("text");
 011186
 011187                    b.Property<string>("Position")
 011188                        .HasColumnType("text");
 011189
 011190                    b.Property<long?>("RecStateId")
 011191                        .HasColumnType("bigint");
 011192
 011193                    b.HasKey("Id");
 011194
 011195                    b.HasIndex("ContragentId");
 011196
 011197                    b.HasIndex("CreatedByUserId");
 011198
 011199                    b.HasIndex("Email");
 011200
 011201                    b.HasIndex("LastName");
 011202
 011203                    b.HasIndex("Login");
 011204
 011205                    b.HasIndex("ModifiedByUserId");
 011206
 011207                    b.HasIndex("Phone");
 011208
 011209                    b.HasIndex("RecStateId");
 011210
 011211                    b.ToTable("Users");
 011212
 011213                    b.HasData(
 011214                        new
 011215                        {
 011216                            Id = -1L,
 011217                            ContragentId = -2L,
 011218                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011219                            Email = "EmbeddedSvetaAdmin@dd.com",
 011220                            ExternalKey = new Guid("964c5734-ba34-43d0-8770-b22b665e9abd"),
 011221                            FirstName = "ServiceUser",
 011222                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011223                            IsBlocked = false,
 011224                            IsContactPerson = true,
 011225                            IsDeleted = false,
 011226                            LastName = "1",
 011227                            Login = "svetaAdmin",
 011228                            MiddleName = "1",
 011229                            Phone = "1",
 011230                            Position = "1"
 011231                        },
 011232                        new
 011233                        {
 011234                            Id = -2L,
 011235                            ContragentId = -1L,
 011236                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011237                            Email = "EmbeddedAnonymUser@dd.com",
 011238                            ExternalKey = new Guid("3ce2ae32-9028-46b6-afbe-ad4feec0a016"),
 011239                            FirstName = "Demo User",
 011240                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011241                            IsBlocked = false,
 011242                            IsContactPerson = true,
 011243                            IsDeleted = false,
 011244                            LastName = "1",
 011245                            Login = "Demo User",
 011246                            MiddleName = "Demo User",
 011247                            Phone = "1",
 011248                            Position = "Демо УЗ, не удалять"
 011249                        });
 011250                });
 11251
 011252            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserDepartment", b =>
 011253                {
 011254                    b.Property<long>("UserId")
 011255                        .HasColumnType("bigint");
 011256
 011257                    b.Property<long>("DepartmentId")
 011258                        .HasColumnType("bigint");
 011259
 011260                    b.Property<long?>("CreatedByUserId")
 011261                        .HasColumnType("bigint");
 011262
 011263                    b.Property<DateTime>("CreationDateTime")
 011264                        .HasColumnType("timestamp without time zone");
 011265
 011266                    b.Property<Guid>("GUID")
 011267                        .ValueGeneratedOnAdd()
 011268                        .HasColumnType("uuid");
 011269
 011270                    b.HasKey("UserId", "DepartmentId");
 011271
 011272                    b.HasIndex("DepartmentId");
 011273
 011274                    b.ToTable("UserDepartment");
 011275
 011276                    b.HasData(
 011277                        new
 011278                        {
 011279                            UserId = -2L,
 011280                            DepartmentId = -1L,
 011281                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011282                            GUID = new Guid("00000000-0000-0000-0000-000000000000")
 011283                        });
 011284                });
 11285
 011286            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserRole", b =>
 011287                {
 011288                    b.Property<long>("UserId")
 011289                        .HasColumnType("bigint");
 011290
 011291                    b.Property<long>("RoleId")
 011292                        .HasColumnType("bigint");
 011293
 011294                    b.Property<long?>("CreatedByUserId")
 011295                        .HasColumnType("bigint");
 011296
 011297                    b.Property<DateTime>("CreationDateTime")
 011298                        .HasColumnType("timestamp without time zone");
 011299
 011300                    b.Property<Guid>("GUID")
 011301                        .ValueGeneratedOnAdd()
 011302                        .HasColumnType("uuid");
 011303
 011304                    b.HasKey("UserId", "RoleId");
 011305
 011306                    b.HasIndex("RoleId");
 011307
 011308                    b.ToTable("UserRole");
 011309                });
 11310
 011311            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", b =>
 011312                {
 011313                    b.Property<long>("Id")
 011314                        .ValueGeneratedOnAdd()
 011315                        .HasColumnType("bigint")
 011316                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011317                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011318
 011319                    b.Property<string>("Code")
 011320                        .IsRequired()
 011321                        .HasColumnType("text");
 011322
 011323                    b.Property<long?>("CreatedByUserId")
 011324                        .HasColumnType("bigint");
 011325
 011326                    b.Property<DateTime>("CreationDateTime")
 011327                        .HasColumnType("timestamp without time zone");
 011328
 011329                    b.Property<string>("Description")
 011330                        .HasColumnType("text");
 011331
 011332                    b.Property<Guid>("GUID")
 011333                        .ValueGeneratedOnAdd()
 011334                        .HasColumnType("uuid");
 011335
 011336                    b.Property<bool>("IsDeleted")
 011337                        .HasColumnType("boolean");
 011338
 011339                    b.Property<DateTime?>("ModificationDateTime")
 011340                        .HasColumnType("timestamp without time zone");
 011341
 011342                    b.Property<long?>("ModifiedByUserId")
 011343                        .HasColumnType("bigint");
 011344
 011345                    b.Property<string>("Name")
 011346                        .IsRequired()
 011347                        .HasColumnType("text");
 011348
 011349                    b.Property<long?>("RecStateId")
 011350                        .HasColumnType("bigint");
 011351
 011352                    b.Property<string>("StrCode")
 011353                        .HasColumnType("text");
 011354
 011355                    b.Property<int>("Value")
 011356                        .HasColumnType("integer");
 011357
 011358                    b.HasKey("Id");
 011359
 011360                    b.HasIndex("CreatedByUserId");
 011361
 011362                    b.HasIndex("ModifiedByUserId");
 011363
 011364                    b.HasIndex("RecStateId");
 011365
 011366                    b.ToTable("VatsKind");
 011367
 011368                    b.HasData(
 011369                        new
 011370                        {
 011371                            Id = 1L,
 011372                            Code = "1",
 011373                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011374                            Description = "",
 011375                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011376                            IsDeleted = false,
 011377                            Name = "0%",
 011378                            StrCode = "Zero",
 011379                            Value = 1
 011380                        },
 011381                        new
 011382                        {
 011383                            Id = 2L,
 011384                            Code = "10",
 011385                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011386                            Description = "",
 011387                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011388                            IsDeleted = false,
 011389                            Name = "10%",
 011390                            StrCode = "Ten",
 011391                            Value = 10
 011392                        },
 011393                        new
 011394                        {
 011395                            Id = 3L,
 011396                            Code = "20",
 011397                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011398                            Description = "",
 011399                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011400                            IsDeleted = false,
 011401                            Name = "20%",
 011402                            StrCode = "Twenty",
 011403                            Value = 20
 011404                        },
 011405                        new
 011406                        {
 011407                            Id = 4L,
 011408                            Code = "0",
 011409                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011410                            Description = "",
 011411                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011412                            IsDeleted = false,
 011413                            Name = "Без НДС",
 011414                            StrCode = "None",
 011415                            Value = 1
 011416                        });
 011417                });
 11418
 011419            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransaction", b =>
 011420                {
 011421                    b.Property<long>("Id")
 011422                        .ValueGeneratedOnAdd()
 011423                        .HasColumnType("bigint")
 011424                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011425
 011426                    b.Property<long?>("CreatedByUserId")
 011427                        .HasColumnType("bigint");
 011428
 011429                    b.Property<DateTime>("CreationDateTime")
 011430                        .HasColumnType("timestamp without time zone");
 011431
 011432                    b.Property<Guid>("GUID")
 011433                        .ValueGeneratedOnAdd()
 011434                        .HasColumnType("uuid");
 011435
 011436                    b.Property<bool>("IsDeleted")
 011437                        .HasColumnType("boolean");
 011438
 011439                    b.Property<DateTime?>("ModificationDateTime")
 011440                        .HasColumnType("timestamp without time zone");
 011441
 011442                    b.Property<long?>("ModifiedByUserId")
 011443                        .HasColumnType("bigint");
 011444
 011445                    b.Property<long?>("MovementId")
 011446                        .HasColumnType("bigint");
 011447
 011448                    b.Property<long?>("RecStateId")
 011449                        .HasColumnType("bigint");
 011450
 011451                    b.Property<string>("SmsId")
 011452                        .HasColumnType("text");
 011453
 011454                    b.Property<long?>("StatusId")
 011455                        .HasColumnType("bigint");
 011456
 011457                    b.Property<decimal>("Sum")
 011458                        .HasColumnType("numeric");
 011459
 011460                    b.Property<string>("TransactionId")
 011461                        .HasColumnType("text");
 011462
 011463                    b.HasKey("Id");
 011464
 011465                    b.HasIndex("CreatedByUserId");
 011466
 011467                    b.HasIndex("ModifiedByUserId");
 011468
 011469                    b.HasIndex("MovementId");
 011470
 011471                    b.HasIndex("RecStateId");
 011472
 011473                    b.HasIndex("StatusId");
 011474
 011475                    b.ToTable("WalletTransactions");
 011476                });
 11477
 011478            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", b =>
 011479                {
 011480                    b.Property<long>("Id")
 011481                        .ValueGeneratedOnAdd()
 011482                        .HasColumnType("bigint")
 011483                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011484                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011485
 011486                    b.Property<string>("Code")
 011487                        .IsRequired()
 011488                        .HasColumnType("text");
 011489
 011490                    b.Property<long?>("CreatedByUserId")
 011491                        .HasColumnType("bigint");
 011492
 011493                    b.Property<DateTime>("CreationDateTime")
 011494                        .HasColumnType("timestamp without time zone");
 011495
 011496                    b.Property<string>("Description")
 011497                        .HasColumnType("text");
 011498
 011499                    b.Property<Guid>("GUID")
 011500                        .ValueGeneratedOnAdd()
 011501                        .HasColumnType("uuid");
 011502
 011503                    b.Property<bool>("IsDeleted")
 011504                        .HasColumnType("boolean");
 011505
 011506                    b.Property<DateTime?>("ModificationDateTime")
 011507                        .HasColumnType("timestamp without time zone");
 011508
 011509                    b.Property<long?>("ModifiedByUserId")
 011510                        .HasColumnType("bigint");
 011511
 011512                    b.Property<string>("Name")
 011513                        .IsRequired()
 011514                        .HasColumnType("text");
 011515
 011516                    b.Property<long?>("RecStateId")
 011517                        .HasColumnType("bigint");
 011518
 011519                    b.HasKey("Id");
 011520
 011521                    b.HasIndex("CreatedByUserId");
 011522
 011523                    b.HasIndex("ModifiedByUserId");
 011524
 011525                    b.HasIndex("RecStateId");
 011526
 011527                    b.ToTable("WalletTransactionStatuses");
 011528
 011529                    b.HasData(
 011530                        new
 011531                        {
 011532                            Id = 1L,
 011533                            Code = "WaitSms",
 011534                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011535                            Description = "",
 011536                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011537                            IsDeleted = false,
 011538                            Name = "Ожидание смс подтверждения"
 011539                        },
 011540                        new
 011541                        {
 011542                            Id = 2L,
 011543                            Code = "Hold",
 011544                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011545                            Description = "",
 011546                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011547                            IsDeleted = false,
 011548                            Name = "Холдировано"
 011549                        },
 011550                        new
 011551                        {
 011552                            Id = 3L,
 011553                            Code = "Confirm",
 011554                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011555                            Description = "",
 011556                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011557                            IsDeleted = false,
 011558                            Name = "Подтверждено"
 011559                        },
 011560                        new
 011561                        {
 011562                            Id = 4L,
 011563                            Code = "Cancel",
 011564                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011565                            Description = "",
 011566                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011567                            IsDeleted = false,
 011568                            Name = "Отменено"
 011569                        });
 011570                });
 11571
 011572            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WorkSchedule", b =>
 011573                {
 011574                    b.Property<long>("Id")
 011575                        .ValueGeneratedOnAdd()
 011576                        .HasColumnType("bigint")
 011577                        .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1000', '1', '', '', 'False', '1'")
 011578                        .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefault
 011579
 011580                    b.Property<DateTime>("BeginTime")
 011581                        .HasColumnType("timestamp without time zone");
 011582
 011583                    b.Property<long?>("CreatedByUserId")
 011584                        .HasColumnType("bigint");
 011585
 011586                    b.Property<DateTime>("CreationDateTime")
 011587                        .HasColumnType("timestamp without time zone");
 011588
 011589                    b.Property<DateTime>("EndTime")
 011590                        .HasColumnType("timestamp without time zone");
 011591
 011592                    b.Property<Guid>("GUID")
 011593                        .ValueGeneratedOnAdd()
 011594                        .HasColumnType("uuid");
 011595
 011596                    b.Property<bool>("IsDeleted")
 011597                        .HasColumnType("boolean");
 011598
 011599                    b.Property<bool>("IsWorkingDay")
 011600                        .HasColumnType("boolean");
 011601
 011602                    b.Property<DateTime?>("ModificationDateTime")
 011603                        .HasColumnType("timestamp without time zone");
 011604
 011605                    b.Property<long?>("ModifiedByUserId")
 011606                        .HasColumnType("bigint");
 011607
 011608                    b.Property<long?>("RecStateId")
 011609                        .HasColumnType("bigint");
 011610
 011611                    b.HasKey("Id");
 011612
 011613                    b.HasIndex("CreatedByUserId");
 011614
 011615                    b.HasIndex("ModifiedByUserId");
 011616
 011617                    b.HasIndex("RecStateId");
 011618
 011619                    b.ToTable("WorkScheduler");
 011620
 011621                    b.HasData(
 011622                        new
 011623                        {
 011624                            Id = 1L,
 011625                            BeginTime = new DateTime(2020, 5, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011626                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011627                            EndTime = new DateTime(2020, 5, 18, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011628                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011629                            IsDeleted = false,
 011630                            IsWorkingDay = true
 011631                        },
 011632                        new
 011633                        {
 011634                            Id = 2L,
 011635                            BeginTime = new DateTime(2020, 5, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011636                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011637                            EndTime = new DateTime(2020, 5, 19, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011638                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011639                            IsDeleted = false,
 011640                            IsWorkingDay = true
 011641                        },
 011642                        new
 011643                        {
 011644                            Id = 3L,
 011645                            BeginTime = new DateTime(2020, 5, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011646                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011647                            EndTime = new DateTime(2020, 5, 20, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011648                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011649                            IsDeleted = false,
 011650                            IsWorkingDay = true
 011651                        },
 011652                        new
 011653                        {
 011654                            Id = 4L,
 011655                            BeginTime = new DateTime(2020, 5, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011656                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011657                            EndTime = new DateTime(2020, 5, 21, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011658                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011659                            IsDeleted = false,
 011660                            IsWorkingDay = true
 011661                        },
 011662                        new
 011663                        {
 011664                            Id = 5L,
 011665                            BeginTime = new DateTime(2020, 5, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011666                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011667                            EndTime = new DateTime(2020, 5, 22, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011668                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011669                            IsDeleted = false,
 011670                            IsWorkingDay = true
 011671                        },
 011672                        new
 011673                        {
 011674                            Id = 6L,
 011675                            BeginTime = new DateTime(2020, 5, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011676                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011677                            EndTime = new DateTime(2020, 5, 23, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011678                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011679                            IsDeleted = false,
 011680                            IsWorkingDay = false
 011681                        },
 011682                        new
 011683                        {
 011684                            Id = 7L,
 011685                            BeginTime = new DateTime(2020, 5, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011686                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011687                            EndTime = new DateTime(2020, 5, 24, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011688                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011689                            IsDeleted = false,
 011690                            IsWorkingDay = false
 011691                        },
 011692                        new
 011693                        {
 011694                            Id = 8L,
 011695                            BeginTime = new DateTime(2020, 5, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011696                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011697                            EndTime = new DateTime(2020, 5, 25, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011698                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011699                            IsDeleted = false,
 011700                            IsWorkingDay = true
 011701                        },
 011702                        new
 011703                        {
 011704                            Id = 9L,
 011705                            BeginTime = new DateTime(2020, 5, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011706                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011707                            EndTime = new DateTime(2020, 5, 26, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011708                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011709                            IsDeleted = false,
 011710                            IsWorkingDay = true
 011711                        },
 011712                        new
 011713                        {
 011714                            Id = 10L,
 011715                            BeginTime = new DateTime(2020, 5, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011716                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011717                            EndTime = new DateTime(2020, 5, 27, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011718                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011719                            IsDeleted = false,
 011720                            IsWorkingDay = true
 011721                        },
 011722                        new
 011723                        {
 011724                            Id = 11L,
 011725                            BeginTime = new DateTime(2020, 5, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011726                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011727                            EndTime = new DateTime(2020, 5, 28, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011728                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011729                            IsDeleted = false,
 011730                            IsWorkingDay = true
 011731                        },
 011732                        new
 011733                        {
 011734                            Id = 12L,
 011735                            BeginTime = new DateTime(2020, 5, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011736                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011737                            EndTime = new DateTime(2020, 5, 29, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011738                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011739                            IsDeleted = false,
 011740                            IsWorkingDay = true
 011741                        },
 011742                        new
 011743                        {
 011744                            Id = 13L,
 011745                            BeginTime = new DateTime(2020, 5, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011746                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011747                            EndTime = new DateTime(2020, 5, 30, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011748                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011749                            IsDeleted = false,
 011750                            IsWorkingDay = false
 011751                        },
 011752                        new
 011753                        {
 011754                            Id = 14L,
 011755                            BeginTime = new DateTime(2020, 5, 31, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011756                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011757                            EndTime = new DateTime(2020, 5, 31, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011758                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011759                            IsDeleted = false,
 011760                            IsWorkingDay = false
 011761                        },
 011762                        new
 011763                        {
 011764                            Id = 15L,
 011765                            BeginTime = new DateTime(2020, 6, 1, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011766                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011767                            EndTime = new DateTime(2020, 6, 1, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011768                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011769                            IsDeleted = false,
 011770                            IsWorkingDay = true
 011771                        },
 011772                        new
 011773                        {
 011774                            Id = 16L,
 011775                            BeginTime = new DateTime(2020, 6, 2, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011776                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011777                            EndTime = new DateTime(2020, 6, 2, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011778                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011779                            IsDeleted = false,
 011780                            IsWorkingDay = true
 011781                        },
 011782                        new
 011783                        {
 011784                            Id = 17L,
 011785                            BeginTime = new DateTime(2020, 6, 3, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011786                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011787                            EndTime = new DateTime(2020, 6, 3, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011788                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011789                            IsDeleted = false,
 011790                            IsWorkingDay = true
 011791                        },
 011792                        new
 011793                        {
 011794                            Id = 18L,
 011795                            BeginTime = new DateTime(2020, 6, 4, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011796                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011797                            EndTime = new DateTime(2020, 6, 4, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011798                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011799                            IsDeleted = false,
 011800                            IsWorkingDay = true
 011801                        },
 011802                        new
 011803                        {
 011804                            Id = 19L,
 011805                            BeginTime = new DateTime(2020, 6, 5, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011806                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011807                            EndTime = new DateTime(2020, 6, 5, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011808                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011809                            IsDeleted = false,
 011810                            IsWorkingDay = true
 011811                        },
 011812                        new
 011813                        {
 011814                            Id = 20L,
 011815                            BeginTime = new DateTime(2020, 6, 6, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011816                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011817                            EndTime = new DateTime(2020, 6, 6, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011818                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011819                            IsDeleted = false,
 011820                            IsWorkingDay = false
 011821                        },
 011822                        new
 011823                        {
 011824                            Id = 21L,
 011825                            BeginTime = new DateTime(2020, 6, 7, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011826                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011827                            EndTime = new DateTime(2020, 6, 7, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011828                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011829                            IsDeleted = false,
 011830                            IsWorkingDay = false
 011831                        },
 011832                        new
 011833                        {
 011834                            Id = 22L,
 011835                            BeginTime = new DateTime(2020, 6, 8, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011836                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011837                            EndTime = new DateTime(2020, 6, 8, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011838                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011839                            IsDeleted = false,
 011840                            IsWorkingDay = true
 011841                        },
 011842                        new
 011843                        {
 011844                            Id = 23L,
 011845                            BeginTime = new DateTime(2020, 6, 9, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011846                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011847                            EndTime = new DateTime(2020, 6, 9, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011848                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011849                            IsDeleted = false,
 011850                            IsWorkingDay = true
 011851                        },
 011852                        new
 011853                        {
 011854                            Id = 24L,
 011855                            BeginTime = new DateTime(2020, 6, 10, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011856                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011857                            EndTime = new DateTime(2020, 6, 10, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011858                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011859                            IsDeleted = false,
 011860                            IsWorkingDay = true
 011861                        },
 011862                        new
 011863                        {
 011864                            Id = 25L,
 011865                            BeginTime = new DateTime(2020, 6, 11, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011866                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011867                            EndTime = new DateTime(2020, 6, 11, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011868                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011869                            IsDeleted = false,
 011870                            IsWorkingDay = true
 011871                        },
 011872                        new
 011873                        {
 011874                            Id = 26L,
 011875                            BeginTime = new DateTime(2020, 6, 12, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011876                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011877                            EndTime = new DateTime(2020, 6, 12, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011878                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011879                            IsDeleted = false,
 011880                            IsWorkingDay = false
 011881                        },
 011882                        new
 011883                        {
 011884                            Id = 27L,
 011885                            BeginTime = new DateTime(2020, 6, 13, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011886                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011887                            EndTime = new DateTime(2020, 6, 13, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011888                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011889                            IsDeleted = false,
 011890                            IsWorkingDay = false
 011891                        },
 011892                        new
 011893                        {
 011894                            Id = 28L,
 011895                            BeginTime = new DateTime(2020, 6, 14, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011896                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011897                            EndTime = new DateTime(2020, 6, 14, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011898                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011899                            IsDeleted = false,
 011900                            IsWorkingDay = false
 011901                        },
 011902                        new
 011903                        {
 011904                            Id = 29L,
 011905                            BeginTime = new DateTime(2020, 6, 15, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011906                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011907                            EndTime = new DateTime(2020, 6, 15, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011908                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011909                            IsDeleted = false,
 011910                            IsWorkingDay = true
 011911                        },
 011912                        new
 011913                        {
 011914                            Id = 30L,
 011915                            BeginTime = new DateTime(2020, 6, 16, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011916                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011917                            EndTime = new DateTime(2020, 6, 16, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011918                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011919                            IsDeleted = false,
 011920                            IsWorkingDay = true
 011921                        },
 011922                        new
 011923                        {
 011924                            Id = 31L,
 011925                            BeginTime = new DateTime(2020, 6, 17, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011926                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011927                            EndTime = new DateTime(2020, 6, 17, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011928                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011929                            IsDeleted = false,
 011930                            IsWorkingDay = true
 011931                        },
 011932                        new
 011933                        {
 011934                            Id = 32L,
 011935                            BeginTime = new DateTime(2020, 6, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011936                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011937                            EndTime = new DateTime(2020, 6, 18, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011938                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011939                            IsDeleted = false,
 011940                            IsWorkingDay = true
 011941                        },
 011942                        new
 011943                        {
 011944                            Id = 33L,
 011945                            BeginTime = new DateTime(2020, 6, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011946                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011947                            EndTime = new DateTime(2020, 6, 19, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011948                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011949                            IsDeleted = false,
 011950                            IsWorkingDay = true
 011951                        },
 011952                        new
 011953                        {
 011954                            Id = 34L,
 011955                            BeginTime = new DateTime(2020, 6, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011956                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011957                            EndTime = new DateTime(2020, 6, 20, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011958                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011959                            IsDeleted = false,
 011960                            IsWorkingDay = false
 011961                        },
 011962                        new
 011963                        {
 011964                            Id = 35L,
 011965                            BeginTime = new DateTime(2020, 6, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011966                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011967                            EndTime = new DateTime(2020, 6, 21, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011968                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011969                            IsDeleted = false,
 011970                            IsWorkingDay = false
 011971                        },
 011972                        new
 011973                        {
 011974                            Id = 36L,
 011975                            BeginTime = new DateTime(2020, 6, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011976                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011977                            EndTime = new DateTime(2020, 6, 22, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011978                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011979                            IsDeleted = false,
 011980                            IsWorkingDay = true
 011981                        },
 011982                        new
 011983                        {
 011984                            Id = 37L,
 011985                            BeginTime = new DateTime(2020, 6, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011986                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011987                            EndTime = new DateTime(2020, 6, 23, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011988                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011989                            IsDeleted = false,
 011990                            IsWorkingDay = true
 011991                        },
 011992                        new
 011993                        {
 011994                            Id = 38L,
 011995                            BeginTime = new DateTime(2020, 6, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 011996                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 011997                            EndTime = new DateTime(2020, 6, 24, 18, 0, 0, 0, DateTimeKind.Unspecified),
 011998                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 011999                            IsDeleted = false,
 012000                            IsWorkingDay = true
 012001                        },
 012002                        new
 012003                        {
 012004                            Id = 39L,
 012005                            BeginTime = new DateTime(2020, 6, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012006                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012007                            EndTime = new DateTime(2020, 6, 25, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012008                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012009                            IsDeleted = false,
 012010                            IsWorkingDay = true
 012011                        },
 012012                        new
 012013                        {
 012014                            Id = 40L,
 012015                            BeginTime = new DateTime(2020, 6, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012016                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012017                            EndTime = new DateTime(2020, 6, 26, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012018                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012019                            IsDeleted = false,
 012020                            IsWorkingDay = true
 012021                        },
 012022                        new
 012023                        {
 012024                            Id = 41L,
 012025                            BeginTime = new DateTime(2020, 6, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012026                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012027                            EndTime = new DateTime(2020, 6, 27, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012028                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012029                            IsDeleted = false,
 012030                            IsWorkingDay = false
 012031                        },
 012032                        new
 012033                        {
 012034                            Id = 42L,
 012035                            BeginTime = new DateTime(2020, 6, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012036                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012037                            EndTime = new DateTime(2020, 6, 28, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012038                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012039                            IsDeleted = false,
 012040                            IsWorkingDay = false
 012041                        },
 012042                        new
 012043                        {
 012044                            Id = 43L,
 012045                            BeginTime = new DateTime(2020, 6, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012046                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012047                            EndTime = new DateTime(2020, 6, 29, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012048                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012049                            IsDeleted = false,
 012050                            IsWorkingDay = true
 012051                        },
 012052                        new
 012053                        {
 012054                            Id = 44L,
 012055                            BeginTime = new DateTime(2020, 6, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012056                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012057                            EndTime = new DateTime(2020, 6, 30, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012058                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012059                            IsDeleted = false,
 012060                            IsWorkingDay = true
 012061                        },
 012062                        new
 012063                        {
 012064                            Id = 45L,
 012065                            BeginTime = new DateTime(2020, 7, 1, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012066                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012067                            EndTime = new DateTime(2020, 7, 1, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012068                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012069                            IsDeleted = false,
 012070                            IsWorkingDay = true
 012071                        },
 012072                        new
 012073                        {
 012074                            Id = 46L,
 012075                            BeginTime = new DateTime(2020, 7, 2, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012076                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012077                            EndTime = new DateTime(2020, 7, 2, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012078                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012079                            IsDeleted = false,
 012080                            IsWorkingDay = true
 012081                        },
 012082                        new
 012083                        {
 012084                            Id = 47L,
 012085                            BeginTime = new DateTime(2020, 7, 3, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012086                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012087                            EndTime = new DateTime(2020, 7, 3, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012088                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012089                            IsDeleted = false,
 012090                            IsWorkingDay = true
 012091                        },
 012092                        new
 012093                        {
 012094                            Id = 48L,
 012095                            BeginTime = new DateTime(2020, 7, 4, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012096                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012097                            EndTime = new DateTime(2020, 7, 4, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012098                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012099                            IsDeleted = false,
 012100                            IsWorkingDay = false
 012101                        },
 012102                        new
 012103                        {
 012104                            Id = 49L,
 012105                            BeginTime = new DateTime(2020, 7, 5, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012106                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012107                            EndTime = new DateTime(2020, 7, 5, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012108                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012109                            IsDeleted = false,
 012110                            IsWorkingDay = false
 012111                        },
 012112                        new
 012113                        {
 012114                            Id = 50L,
 012115                            BeginTime = new DateTime(2020, 7, 6, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012116                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012117                            EndTime = new DateTime(2020, 7, 6, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012118                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012119                            IsDeleted = false,
 012120                            IsWorkingDay = true
 012121                        },
 012122                        new
 012123                        {
 012124                            Id = 51L,
 012125                            BeginTime = new DateTime(2020, 7, 7, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012126                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012127                            EndTime = new DateTime(2020, 7, 7, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012128                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012129                            IsDeleted = false,
 012130                            IsWorkingDay = true
 012131                        },
 012132                        new
 012133                        {
 012134                            Id = 52L,
 012135                            BeginTime = new DateTime(2020, 7, 8, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012136                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012137                            EndTime = new DateTime(2020, 7, 8, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012138                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012139                            IsDeleted = false,
 012140                            IsWorkingDay = true
 012141                        },
 012142                        new
 012143                        {
 012144                            Id = 53L,
 012145                            BeginTime = new DateTime(2020, 7, 9, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012146                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012147                            EndTime = new DateTime(2020, 7, 9, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012148                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012149                            IsDeleted = false,
 012150                            IsWorkingDay = true
 012151                        },
 012152                        new
 012153                        {
 012154                            Id = 54L,
 012155                            BeginTime = new DateTime(2020, 7, 10, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012156                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012157                            EndTime = new DateTime(2020, 7, 10, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012158                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012159                            IsDeleted = false,
 012160                            IsWorkingDay = true
 012161                        },
 012162                        new
 012163                        {
 012164                            Id = 55L,
 012165                            BeginTime = new DateTime(2020, 7, 11, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012166                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012167                            EndTime = new DateTime(2020, 7, 11, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012168                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012169                            IsDeleted = false,
 012170                            IsWorkingDay = false
 012171                        },
 012172                        new
 012173                        {
 012174                            Id = 56L,
 012175                            BeginTime = new DateTime(2020, 7, 12, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012176                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012177                            EndTime = new DateTime(2020, 7, 12, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012178                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012179                            IsDeleted = false,
 012180                            IsWorkingDay = false
 012181                        },
 012182                        new
 012183                        {
 012184                            Id = 57L,
 012185                            BeginTime = new DateTime(2020, 7, 13, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012186                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012187                            EndTime = new DateTime(2020, 7, 13, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012188                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012189                            IsDeleted = false,
 012190                            IsWorkingDay = true
 012191                        },
 012192                        new
 012193                        {
 012194                            Id = 58L,
 012195                            BeginTime = new DateTime(2020, 7, 14, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012196                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012197                            EndTime = new DateTime(2020, 7, 14, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012198                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012199                            IsDeleted = false,
 012200                            IsWorkingDay = true
 012201                        },
 012202                        new
 012203                        {
 012204                            Id = 59L,
 012205                            BeginTime = new DateTime(2020, 7, 15, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012206                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012207                            EndTime = new DateTime(2020, 7, 15, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012208                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012209                            IsDeleted = false,
 012210                            IsWorkingDay = true
 012211                        },
 012212                        new
 012213                        {
 012214                            Id = 60L,
 012215                            BeginTime = new DateTime(2020, 7, 16, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012216                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012217                            EndTime = new DateTime(2020, 7, 16, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012218                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012219                            IsDeleted = false,
 012220                            IsWorkingDay = true
 012221                        },
 012222                        new
 012223                        {
 012224                            Id = 61L,
 012225                            BeginTime = new DateTime(2020, 7, 17, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012226                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012227                            EndTime = new DateTime(2020, 7, 17, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012228                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012229                            IsDeleted = false,
 012230                            IsWorkingDay = true
 012231                        },
 012232                        new
 012233                        {
 012234                            Id = 62L,
 012235                            BeginTime = new DateTime(2020, 7, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012236                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012237                            EndTime = new DateTime(2020, 7, 18, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012238                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012239                            IsDeleted = false,
 012240                            IsWorkingDay = false
 012241                        },
 012242                        new
 012243                        {
 012244                            Id = 63L,
 012245                            BeginTime = new DateTime(2020, 7, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012246                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012247                            EndTime = new DateTime(2020, 7, 19, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012248                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012249                            IsDeleted = false,
 012250                            IsWorkingDay = false
 012251                        },
 012252                        new
 012253                        {
 012254                            Id = 64L,
 012255                            BeginTime = new DateTime(2020, 7, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012256                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012257                            EndTime = new DateTime(2020, 7, 20, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012258                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012259                            IsDeleted = false,
 012260                            IsWorkingDay = true
 012261                        },
 012262                        new
 012263                        {
 012264                            Id = 65L,
 012265                            BeginTime = new DateTime(2020, 7, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012266                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012267                            EndTime = new DateTime(2020, 7, 21, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012268                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012269                            IsDeleted = false,
 012270                            IsWorkingDay = true
 012271                        },
 012272                        new
 012273                        {
 012274                            Id = 66L,
 012275                            BeginTime = new DateTime(2020, 7, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012276                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012277                            EndTime = new DateTime(2020, 7, 22, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012278                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012279                            IsDeleted = false,
 012280                            IsWorkingDay = true
 012281                        },
 012282                        new
 012283                        {
 012284                            Id = 67L,
 012285                            BeginTime = new DateTime(2020, 7, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012286                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012287                            EndTime = new DateTime(2020, 7, 23, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012288                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012289                            IsDeleted = false,
 012290                            IsWorkingDay = true
 012291                        },
 012292                        new
 012293                        {
 012294                            Id = 68L,
 012295                            BeginTime = new DateTime(2020, 7, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012296                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012297                            EndTime = new DateTime(2020, 7, 24, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012298                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012299                            IsDeleted = false,
 012300                            IsWorkingDay = true
 012301                        },
 012302                        new
 012303                        {
 012304                            Id = 69L,
 012305                            BeginTime = new DateTime(2020, 7, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012306                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012307                            EndTime = new DateTime(2020, 7, 25, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012308                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012309                            IsDeleted = false,
 012310                            IsWorkingDay = false
 012311                        },
 012312                        new
 012313                        {
 012314                            Id = 70L,
 012315                            BeginTime = new DateTime(2020, 7, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012316                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012317                            EndTime = new DateTime(2020, 7, 26, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012318                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012319                            IsDeleted = false,
 012320                            IsWorkingDay = false
 012321                        },
 012322                        new
 012323                        {
 012324                            Id = 71L,
 012325                            BeginTime = new DateTime(2020, 7, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012326                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012327                            EndTime = new DateTime(2020, 7, 27, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012328                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012329                            IsDeleted = false,
 012330                            IsWorkingDay = true
 012331                        },
 012332                        new
 012333                        {
 012334                            Id = 72L,
 012335                            BeginTime = new DateTime(2020, 7, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012336                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012337                            EndTime = new DateTime(2020, 7, 28, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012338                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012339                            IsDeleted = false,
 012340                            IsWorkingDay = true
 012341                        },
 012342                        new
 012343                        {
 012344                            Id = 73L,
 012345                            BeginTime = new DateTime(2020, 7, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012346                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012347                            EndTime = new DateTime(2020, 7, 29, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012348                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012349                            IsDeleted = false,
 012350                            IsWorkingDay = true
 012351                        },
 012352                        new
 012353                        {
 012354                            Id = 74L,
 012355                            BeginTime = new DateTime(2020, 7, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012356                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012357                            EndTime = new DateTime(2020, 7, 30, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012358                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012359                            IsDeleted = false,
 012360                            IsWorkingDay = true
 012361                        },
 012362                        new
 012363                        {
 012364                            Id = 75L,
 012365                            BeginTime = new DateTime(2020, 7, 31, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012366                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012367                            EndTime = new DateTime(2020, 7, 31, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012368                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012369                            IsDeleted = false,
 012370                            IsWorkingDay = true
 012371                        },
 012372                        new
 012373                        {
 012374                            Id = 76L,
 012375                            BeginTime = new DateTime(2020, 8, 1, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012376                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012377                            EndTime = new DateTime(2020, 8, 1, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012378                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012379                            IsDeleted = false,
 012380                            IsWorkingDay = false
 012381                        },
 012382                        new
 012383                        {
 012384                            Id = 77L,
 012385                            BeginTime = new DateTime(2020, 8, 2, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012386                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012387                            EndTime = new DateTime(2020, 8, 2, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012388                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012389                            IsDeleted = false,
 012390                            IsWorkingDay = false
 012391                        },
 012392                        new
 012393                        {
 012394                            Id = 78L,
 012395                            BeginTime = new DateTime(2020, 8, 3, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012396                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012397                            EndTime = new DateTime(2020, 8, 3, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012398                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012399                            IsDeleted = false,
 012400                            IsWorkingDay = true
 012401                        },
 012402                        new
 012403                        {
 012404                            Id = 79L,
 012405                            BeginTime = new DateTime(2020, 8, 4, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012406                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012407                            EndTime = new DateTime(2020, 8, 4, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012408                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012409                            IsDeleted = false,
 012410                            IsWorkingDay = true
 012411                        },
 012412                        new
 012413                        {
 012414                            Id = 80L,
 012415                            BeginTime = new DateTime(2020, 8, 5, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012416                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012417                            EndTime = new DateTime(2020, 8, 5, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012418                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012419                            IsDeleted = false,
 012420                            IsWorkingDay = true
 012421                        },
 012422                        new
 012423                        {
 012424                            Id = 81L,
 012425                            BeginTime = new DateTime(2020, 8, 6, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012426                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012427                            EndTime = new DateTime(2020, 8, 6, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012428                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012429                            IsDeleted = false,
 012430                            IsWorkingDay = true
 012431                        },
 012432                        new
 012433                        {
 012434                            Id = 82L,
 012435                            BeginTime = new DateTime(2020, 8, 7, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012436                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012437                            EndTime = new DateTime(2020, 8, 7, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012438                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012439                            IsDeleted = false,
 012440                            IsWorkingDay = true
 012441                        },
 012442                        new
 012443                        {
 012444                            Id = 83L,
 012445                            BeginTime = new DateTime(2020, 8, 8, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012446                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012447                            EndTime = new DateTime(2020, 8, 8, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012448                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012449                            IsDeleted = false,
 012450                            IsWorkingDay = false
 012451                        },
 012452                        new
 012453                        {
 012454                            Id = 84L,
 012455                            BeginTime = new DateTime(2020, 8, 9, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012456                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012457                            EndTime = new DateTime(2020, 8, 9, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012458                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012459                            IsDeleted = false,
 012460                            IsWorkingDay = false
 012461                        },
 012462                        new
 012463                        {
 012464                            Id = 85L,
 012465                            BeginTime = new DateTime(2020, 8, 10, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012466                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012467                            EndTime = new DateTime(2020, 8, 10, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012468                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012469                            IsDeleted = false,
 012470                            IsWorkingDay = true
 012471                        },
 012472                        new
 012473                        {
 012474                            Id = 86L,
 012475                            BeginTime = new DateTime(2020, 8, 11, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012476                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012477                            EndTime = new DateTime(2020, 8, 11, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012478                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012479                            IsDeleted = false,
 012480                            IsWorkingDay = true
 012481                        },
 012482                        new
 012483                        {
 012484                            Id = 87L,
 012485                            BeginTime = new DateTime(2020, 8, 12, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012486                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012487                            EndTime = new DateTime(2020, 8, 12, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012488                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012489                            IsDeleted = false,
 012490                            IsWorkingDay = true
 012491                        },
 012492                        new
 012493                        {
 012494                            Id = 88L,
 012495                            BeginTime = new DateTime(2020, 8, 13, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012496                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012497                            EndTime = new DateTime(2020, 8, 13, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012498                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012499                            IsDeleted = false,
 012500                            IsWorkingDay = true
 012501                        },
 012502                        new
 012503                        {
 012504                            Id = 89L,
 012505                            BeginTime = new DateTime(2020, 8, 14, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012506                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012507                            EndTime = new DateTime(2020, 8, 14, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012508                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012509                            IsDeleted = false,
 012510                            IsWorkingDay = true
 012511                        },
 012512                        new
 012513                        {
 012514                            Id = 90L,
 012515                            BeginTime = new DateTime(2020, 8, 15, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012516                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012517                            EndTime = new DateTime(2020, 8, 15, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012518                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012519                            IsDeleted = false,
 012520                            IsWorkingDay = false
 012521                        },
 012522                        new
 012523                        {
 012524                            Id = 91L,
 012525                            BeginTime = new DateTime(2020, 8, 16, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012526                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012527                            EndTime = new DateTime(2020, 8, 16, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012528                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012529                            IsDeleted = false,
 012530                            IsWorkingDay = false
 012531                        },
 012532                        new
 012533                        {
 012534                            Id = 92L,
 012535                            BeginTime = new DateTime(2020, 8, 17, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012536                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012537                            EndTime = new DateTime(2020, 8, 17, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012538                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012539                            IsDeleted = false,
 012540                            IsWorkingDay = true
 012541                        },
 012542                        new
 012543                        {
 012544                            Id = 93L,
 012545                            BeginTime = new DateTime(2020, 8, 18, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012546                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012547                            EndTime = new DateTime(2020, 8, 18, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012548                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012549                            IsDeleted = false,
 012550                            IsWorkingDay = true
 012551                        },
 012552                        new
 012553                        {
 012554                            Id = 94L,
 012555                            BeginTime = new DateTime(2020, 8, 19, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012556                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012557                            EndTime = new DateTime(2020, 8, 19, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012558                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012559                            IsDeleted = false,
 012560                            IsWorkingDay = true
 012561                        },
 012562                        new
 012563                        {
 012564                            Id = 95L,
 012565                            BeginTime = new DateTime(2020, 8, 20, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012566                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012567                            EndTime = new DateTime(2020, 8, 20, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012568                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012569                            IsDeleted = false,
 012570                            IsWorkingDay = true
 012571                        },
 012572                        new
 012573                        {
 012574                            Id = 96L,
 012575                            BeginTime = new DateTime(2020, 8, 21, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012576                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012577                            EndTime = new DateTime(2020, 8, 21, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012578                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012579                            IsDeleted = false,
 012580                            IsWorkingDay = true
 012581                        },
 012582                        new
 012583                        {
 012584                            Id = 97L,
 012585                            BeginTime = new DateTime(2020, 8, 22, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012586                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012587                            EndTime = new DateTime(2020, 8, 22, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012588                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012589                            IsDeleted = false,
 012590                            IsWorkingDay = false
 012591                        },
 012592                        new
 012593                        {
 012594                            Id = 98L,
 012595                            BeginTime = new DateTime(2020, 8, 23, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012596                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012597                            EndTime = new DateTime(2020, 8, 23, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012598                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012599                            IsDeleted = false,
 012600                            IsWorkingDay = false
 012601                        },
 012602                        new
 012603                        {
 012604                            Id = 99L,
 012605                            BeginTime = new DateTime(2020, 8, 24, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012606                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012607                            EndTime = new DateTime(2020, 8, 24, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012608                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012609                            IsDeleted = false,
 012610                            IsWorkingDay = true
 012611                        },
 012612                        new
 012613                        {
 012614                            Id = 100L,
 012615                            BeginTime = new DateTime(2020, 8, 25, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012616                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012617                            EndTime = new DateTime(2020, 8, 25, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012618                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012619                            IsDeleted = false,
 012620                            IsWorkingDay = true
 012621                        },
 012622                        new
 012623                        {
 012624                            Id = 101L,
 012625                            BeginTime = new DateTime(2020, 8, 26, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012626                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012627                            EndTime = new DateTime(2020, 8, 26, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012628                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012629                            IsDeleted = false,
 012630                            IsWorkingDay = true
 012631                        },
 012632                        new
 012633                        {
 012634                            Id = 102L,
 012635                            BeginTime = new DateTime(2020, 8, 27, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012636                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012637                            EndTime = new DateTime(2020, 8, 27, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012638                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012639                            IsDeleted = false,
 012640                            IsWorkingDay = true
 012641                        },
 012642                        new
 012643                        {
 012644                            Id = 103L,
 012645                            BeginTime = new DateTime(2020, 8, 28, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012646                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012647                            EndTime = new DateTime(2020, 8, 28, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012648                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012649                            IsDeleted = false,
 012650                            IsWorkingDay = true
 012651                        },
 012652                        new
 012653                        {
 012654                            Id = 104L,
 012655                            BeginTime = new DateTime(2020, 8, 29, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012656                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012657                            EndTime = new DateTime(2020, 8, 29, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012658                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012659                            IsDeleted = false,
 012660                            IsWorkingDay = false
 012661                        },
 012662                        new
 012663                        {
 012664                            Id = 105L,
 012665                            BeginTime = new DateTime(2020, 8, 30, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012666                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012667                            EndTime = new DateTime(2020, 8, 30, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012668                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012669                            IsDeleted = false,
 012670                            IsWorkingDay = false
 012671                        },
 012672                        new
 012673                        {
 012674                            Id = 106L,
 012675                            BeginTime = new DateTime(2020, 8, 31, 9, 0, 0, 0, DateTimeKind.Unspecified),
 012676                            CreationDateTime = new DateTime(2020, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
 012677                            EndTime = new DateTime(2020, 8, 31, 18, 0, 0, 0, DateTimeKind.Unspecified),
 012678                            GUID = new Guid("00000000-0000-0000-0000-000000000000"),
 012679                            IsDeleted = false,
 012680                            IsWorkingDay = true
 012681                        });
 012682                });
 12683
 012684            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", b =>
 012685                {
 012686                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012687                        .WithMany()
 012688                        .HasForeignKey("CreatedByUserId");
 012689
 012690                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012691                        .WithMany()
 012692                        .HasForeignKey("ModifiedByUserId");
 012693
 012694                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012695                        .WithMany()
 012696                        .HasForeignKey("RecStateId");
 012697                });
 12698
 012699            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BankAccount", b =>
 012700                {
 012701                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 012702                        .WithMany("BankAccounts")
 012703                        .HasForeignKey("ContragentId");
 012704
 012705                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012706                        .WithMany()
 012707                        .HasForeignKey("CreatedByUserId");
 012708
 012709                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012710                        .WithMany()
 012711                        .HasForeignKey("ModifiedByUserId");
 012712
 012713                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012714                        .WithMany()
 012715                        .HasForeignKey("RecStateId");
 012716                });
 12717
 012718            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.BarCode", b =>
 012719                {
 012720                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012721                        .WithMany()
 012722                        .HasForeignKey("CreatedByUserId");
 012723
 012724                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", null)
 012725                        .WithMany("Barcodes")
 012726                        .HasForeignKey("GoodId");
 012727
 012728                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012729                        .WithMany()
 012730                        .HasForeignKey("ModifiedByUserId");
 012731
 012732                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012733                        .WithMany()
 012734                        .HasForeignKey("RecStateId");
 012735                });
 12736
 012737            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", b =>
 012738                {
 012739                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012740                        .WithMany()
 012741                        .HasForeignKey("CreatedByUserId");
 012742
 012743                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012744                        .WithMany()
 012745                        .HasForeignKey("ModifiedByUserId");
 012746
 012747                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "Parent")
 012748                        .WithMany()
 012749                        .HasForeignKey("ParentId");
 012750
 012751                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012752                        .WithMany()
 012753                        .HasForeignKey("RecStateId");
 012754                });
 12755
 012756            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", b =>
 012757                {
 012758                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012759                        .WithMany()
 012760                        .HasForeignKey("CreatedByUserId");
 012761
 012762                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012763                        .WithMany()
 012764                        .HasForeignKey("ModifiedByUserId");
 012765
 012766                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Parent")
 012767                        .WithMany()
 012768                        .HasForeignKey("ParentId");
 012769
 012770                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012771                        .WithMany()
 012772                        .HasForeignKey("RecStateId");
 012773                });
 12774
 012775            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Cluster", b =>
 012776                {
 012777                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012778                        .WithMany()
 012779                        .HasForeignKey("CreatedByUserId");
 012780
 012781                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012782                        .WithMany()
 012783                        .HasForeignKey("ModifiedByUserId");
 012784
 012785                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012786                        .WithMany()
 012787                        .HasForeignKey("RecStateId");
 012788
 012789                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Warehouse")
 012790                        .WithMany()
 012791                        .HasForeignKey("WarehouseId")
 012792                        .OnDelete(DeleteBehavior.Cascade)
 012793                        .IsRequired();
 012794                });
 12795
 012796            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Configuration", b =>
 012797                {
 012798                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012799                        .WithMany()
 012800                        .HasForeignKey("CreatedByUserId");
 012801
 012802                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012803                        .WithMany()
 012804                        .HasForeignKey("ModifiedByUserId");
 012805
 012806                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012807                        .WithMany()
 012808                        .HasForeignKey("RecStateId");
 012809
 012810                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.ConfigurationsDataType", "ValueType")
 012811                        .WithMany()
 012812                        .HasForeignKey("ValueTypeId")
 012813                        .OnDelete(DeleteBehavior.Cascade)
 012814                        .IsRequired();
 012815                });
 12816
 012817            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ConfigurationsDataType", b =>
 012818                {
 012819                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012820                        .WithMany()
 012821                        .HasForeignKey("CreatedByUserId");
 012822
 012823                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012824                        .WithMany()
 012825                        .HasForeignKey("ModifiedByUserId");
 012826
 012827                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012828                        .WithMany()
 012829                        .HasForeignKey("RecStateId");
 012830                });
 12831
 012832            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", b =>
 012833                {
 012834                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.ContragentsKind", "ContragentsKind")
 012835                        .WithMany()
 012836                        .HasForeignKey("ContragentsKindId")
 012837                        .OnDelete(DeleteBehavior.Cascade)
 012838                        .IsRequired();
 012839
 012840                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012841                        .WithMany()
 012842                        .HasForeignKey("CreatedByUserId");
 012843
 012844                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "JuridicAddress")
 012845                        .WithMany()
 012846                        .HasForeignKey("JuridicAddressId")
 012847                        .OnDelete(DeleteBehavior.Cascade)
 012848                        .IsRequired();
 012849
 012850                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012851                        .WithMany()
 012852                        .HasForeignKey("ModifiedByUserId");
 012853
 012854                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "Owner")
 012855                        .WithMany()
 012856                        .HasForeignKey("OwnerId")
 012857                        .OnDelete(DeleteBehavior.Cascade)
 012858                        .IsRequired();
 012859
 012860                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "PhysicAddress")
 012861                        .WithMany()
 012862                        .HasForeignKey("PhysicAddressId")
 012863                        .OnDelete(DeleteBehavior.Cascade)
 012864                        .IsRequired();
 012865
 012866                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012867                        .WithMany()
 012868                        .HasForeignKey("RecStateId");
 012869
 012870                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", "TaxSystem")
 012871                        .WithMany()
 012872                        .HasForeignKey("TaxSystemId");
 012873                });
 12874
 012875            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ContragentsKind", b =>
 012876                {
 012877                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012878                        .WithMany()
 012879                        .HasForeignKey("CreatedByUserId");
 012880
 012881                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012882                        .WithMany()
 012883                        .HasForeignKey("ModifiedByUserId");
 012884
 012885                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012886                        .WithMany()
 012887                        .HasForeignKey("RecStateId");
 012888                });
 12889
 012890            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ControlAccess", b =>
 012891                {
 012892                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", "Action")
 012893                        .WithMany()
 012894                        .HasForeignKey("ActionId")
 012895                        .OnDelete(DeleteBehavior.Cascade)
 012896                        .IsRequired();
 012897
 012898                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012899                        .WithMany()
 012900                        .HasForeignKey("CreatedByUserId");
 012901
 012902                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012903                        .WithMany()
 012904                        .HasForeignKey("ModifiedByUserId");
 012905
 012906                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012907                        .WithMany()
 012908                        .HasForeignKey("RecStateId");
 012909
 012910                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Role")
 012911                        .WithMany("ControlsAccess")
 012912                        .HasForeignKey("RoleId")
 012913                        .OnDelete(DeleteBehavior.Cascade)
 012914                        .IsRequired();
 012915                });
 12916
 012917            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", b =>
 012918                {
 012919                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012920                        .WithMany()
 012921                        .HasForeignKey("CreatedByUserId");
 012922
 012923                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012924                        .WithMany()
 012925                        .HasForeignKey("ModifiedByUserId");
 012926
 012927                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012928                        .WithMany()
 012929                        .HasForeignKey("RecStateId");
 012930                });
 12931
 012932            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Currency", b =>
 012933                {
 012934                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012935                        .WithMany()
 012936                        .HasForeignKey("CreatedByUserId");
 012937
 012938                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012939                        .WithMany()
 012940                        .HasForeignKey("ModifiedByUserId");
 012941
 012942                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012943                        .WithMany()
 012944                        .HasForeignKey("RecStateId");
 012945                });
 12946
 012947            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", b =>
 012948                {
 012949                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Address", "ActualAddress")
 012950                        .WithMany()
 012951                        .HasForeignKey("ActualAddressId");
 012952
 012953                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Cluster", "Cluster")
 012954                        .WithMany("Departments")
 012955                        .HasForeignKey("ClusterId");
 012956
 012957                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 012958                        .WithMany("Departments")
 012959                        .HasForeignKey("ContragentId")
 012960                        .OnDelete(DeleteBehavior.Cascade)
 012961                        .IsRequired();
 012962
 012963                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012964                        .WithMany()
 012965                        .HasForeignKey("CreatedByUserId");
 012966
 012967                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", "Kind")
 012968                        .WithMany()
 012969                        .HasForeignKey("KindId");
 012970
 012971                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 012972                        .WithMany()
 012973                        .HasForeignKey("ModifiedByUserId");
 012974
 012975                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 012976                        .WithMany()
 012977                        .HasForeignKey("RecStateId");
 012978
 012979                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsStatus", "Status")
 012980                        .WithMany()
 012981                        .HasForeignKey("StatusId");
 012982                });
 12983
 012984            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentCategoryRatio", b =>
 012985                {
 012986                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Category")
 012987                        .WithMany("DepartmentCategoryRatios")
 012988                        .HasForeignKey("CategoryId")
 012989                        .OnDelete(DeleteBehavior.Cascade)
 012990                        .IsRequired();
 012991
 012992                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 012993                        .WithMany()
 012994                        .HasForeignKey("CreatedByUserId");
 012995
 012996                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 012997                        .WithMany()
 012998                        .HasForeignKey("DepartmentId")
 012999                        .OnDelete(DeleteBehavior.Cascade)
 013000                        .IsRequired();
 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                });
 13010
 013011            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentGoodSetting", b =>
 013012                {
 013013                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013014                        .WithMany()
 013015                        .HasForeignKey("CreatedByUserId");
 013016
 013017                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 013018                        .WithMany()
 013019                        .HasForeignKey("DepartmentId")
 013020                        .OnDelete(DeleteBehavior.Cascade)
 013021                        .IsRequired();
 013022
 013023                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013024                        .WithMany("DepartmentGoodSettings")
 013025                        .HasForeignKey("GoodId")
 013026                        .OnDelete(DeleteBehavior.Cascade)
 013027                        .IsRequired();
 013028
 013029                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013030                        .WithMany()
 013031                        .HasForeignKey("ModifiedByUserId");
 013032
 013033                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013034                        .WithMany()
 013035                        .HasForeignKey("RecStateId");
 013036                });
 13037
 013038            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DepartmentsKind", 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.DepartmentsStatus", b =>
 013054                {
 013055                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013056                        .WithMany()
 013057                        .HasForeignKey("CreatedByUserId");
 013058
 013059                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013060                        .WithMany()
 013061                        .HasForeignKey("ModifiedByUserId");
 013062
 013063                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013064                        .WithMany()
 013065                        .HasForeignKey("RecStateId");
 013066                });
 13067
 013068            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.DiscountColor", b =>
 013069                {
 013070                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013071                        .WithMany()
 013072                        .HasForeignKey("CreatedByUserId");
 013073
 013074                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013075                        .WithMany()
 013076                        .HasForeignKey("ModifiedByUserId");
 013077
 013078                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013079                        .WithMany()
 013080                        .HasForeignKey("RecStateId");
 013081                });
 13082
 013083            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Email", b =>
 013084                {
 013085                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013086                        .WithMany()
 013087                        .HasForeignKey("CreatedByUserId");
 013088
 013089                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013090                        .WithMany()
 013091                        .HasForeignKey("ModifiedByUserId");
 013092
 013093                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013094                        .WithMany()
 013095                        .HasForeignKey("RecStateId");
 013096                });
 13097
 013098            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Event", b =>
 013099                {
 013100                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013101                        .WithMany()
 013102                        .HasForeignKey("CreatedByUserId");
 013103
 013104                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", "EventsKind")
 013105                        .WithMany()
 013106                        .HasForeignKey("EventsKindId")
 013107                        .OnDelete(DeleteBehavior.Cascade)
 013108                        .IsRequired();
 013109
 013110                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013111                        .WithMany()
 013112                        .HasForeignKey("ModifiedByUserId");
 013113
 013114                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013115                        .WithMany()
 013116                        .HasForeignKey("RecStateId");
 013117
 013118                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013119                        .WithMany()
 013120                        .HasForeignKey("UserId")
 013121                        .OnDelete(DeleteBehavior.Cascade)
 013122                        .IsRequired();
 013123                });
 13124
 013125            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.EventsKind", b =>
 013126                {
 013127                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013128                        .WithMany()
 013129                        .HasForeignKey("CreatedByUserId");
 013130
 013131                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013132                        .WithMany()
 013133                        .HasForeignKey("ModifiedByUserId");
 013134
 013135                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013136                        .WithMany()
 013137                        .HasForeignKey("RecStateId");
 013138                });
 13139
 013140            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.ExchangeToken", b =>
 013141                {
 013142                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 013143                        .WithMany()
 013144                        .HasForeignKey("ContragentId")
 013145                        .OnDelete(DeleteBehavior.Cascade)
 013146                        .IsRequired();
 013147
 013148                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013149                        .WithMany()
 013150                        .HasForeignKey("CreatedByUserId");
 013151
 013152                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013153                        .WithMany()
 013154                        .HasForeignKey("ModifiedByUserId");
 013155
 013156                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013157                        .WithMany()
 013158                        .HasForeignKey("RecStateId");
 013159                });
 13160
 013161            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.FrontAction", b =>
 013162                {
 013163                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013164                        .WithMany()
 013165                        .HasForeignKey("CreatedByUserId");
 013166
 013167                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013168                        .WithMany()
 013169                        .HasForeignKey("ModifiedByUserId");
 013170
 013171                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013172                        .WithMany()
 013173                        .HasForeignKey("RecStateId");
 013174                });
 13175
 013176            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", b =>
 013177                {
 013178                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "Brand")
 013179                        .WithMany()
 013180                        .HasForeignKey("BrandId");
 013181
 013182                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Category", "Category")
 013183                        .WithMany()
 013184                        .HasForeignKey("CategoryId")
 013185                        .OnDelete(DeleteBehavior.Cascade)
 013186                        .IsRequired();
 013187
 013188                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Country", "Country")
 013189                        .WithMany()
 013190                        .HasForeignKey("CountryId");
 013191
 013192                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013193                        .WithMany()
 013194                        .HasForeignKey("CreatedByUserId");
 013195
 013196                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.BarCode", "MainBarcode")
 013197                        .WithMany()
 013198                        .HasForeignKey("MainBarcodeId")
 013199                        .OnDelete(DeleteBehavior.Cascade)
 013200                        .IsRequired();
 013201
 013202                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Manufacturer")
 013203                        .WithMany()
 013204                        .HasForeignKey("ManufacturerId");
 013205
 013206                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013207                        .WithMany()
 013208                        .HasForeignKey("ModifiedByUserId");
 013209
 013210                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013211                        .WithMany()
 013212                        .HasForeignKey("RecStateId");
 013213
 013214                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Brand", "SubBrand")
 013215                        .WithMany()
 013216                        .HasForeignKey("SubBrandId");
 013217
 013218                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Supplier")
 013219                        .WithMany()
 013220                        .HasForeignKey("SupplierId");
 013221
 013222                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", "UnitsKind")
 013223                        .WithMany()
 013224                        .HasForeignKey("UnitsKindId")
 013225                        .OnDelete(DeleteBehavior.Cascade)
 013226                        .IsRequired();
 013227
 013228                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", "VatsKind")
 013229                        .WithMany()
 013230                        .HasForeignKey("VatsKindId")
 013231                        .OnDelete(DeleteBehavior.Cascade)
 013232                        .IsRequired();
 013233                });
 13234
 013235            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Incident", b =>
 013236                {
 013237                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013238                        .WithMany()
 013239                        .HasForeignKey("CreatedByUserId");
 013240
 013241                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsKind", "Kind")
 013242                        .WithMany()
 013243                        .HasForeignKey("KindId");
 013244
 013245                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013246                        .WithMany()
 013247                        .HasForeignKey("ModifiedByUserId");
 013248
 013249                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013250                        .WithMany()
 013251                        .HasForeignKey("RecStateId");
 013252
 013253                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", "Status")
 013254                        .WithMany()
 013255                        .HasForeignKey("StatusId");
 013256
 013257                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013258                        .WithMany()
 013259                        .HasForeignKey("UserId")
 013260                        .OnDelete(DeleteBehavior.Cascade)
 013261                        .IsRequired();
 013262                });
 13263
 013264            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsKind", b =>
 013265                {
 013266                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013267                        .WithMany()
 013268                        .HasForeignKey("CreatedByUserId");
 013269
 013270                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013271                        .WithMany()
 013272                        .HasForeignKey("ModifiedByUserId");
 013273
 013274                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013275                        .WithMany()
 013276                        .HasForeignKey("RecStateId");
 013277                });
 13278
 013279            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.IncidentsStatus", b =>
 013280                {
 013281                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013282                        .WithMany()
 013283                        .HasForeignKey("CreatedByUserId");
 013284
 013285                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013286                        .WithMany()
 013287                        .HasForeignKey("ModifiedByUserId");
 013288
 013289                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013290                        .WithMany()
 013291                        .HasForeignKey("RecStateId");
 013292                });
 13293
 013294            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.JobLogger", b =>
 013295                {
 013296                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013297                        .WithMany()
 013298                        .HasForeignKey("CreatedByUserId");
 013299
 013300                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013301                        .WithMany()
 013302                        .HasForeignKey("ModifiedByUserId");
 013303
 013304                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013305                        .WithMany()
 013306                        .HasForeignKey("RecStateId");
 013307                });
 13308
 013309            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MethodRole", b =>
 013310                {
 013311                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", "Methods")
 013312                        .WithMany("MethodsRoles")
 013313                        .HasForeignKey("MethodId")
 013314                        .OnDelete(DeleteBehavior.Cascade)
 013315                        .IsRequired();
 013316
 013317                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Roles")
 013318                        .WithMany("MethodsRoles")
 013319                        .HasForeignKey("RoleId")
 013320                        .OnDelete(DeleteBehavior.Cascade)
 013321                        .IsRequired();
 013322                });
 13323
 013324            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Methods", b =>
 013325                {
 013326                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013327                        .WithMany()
 013328                        .HasForeignKey("CreatedByUserId");
 013329
 013330                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013331                        .WithMany()
 013332                        .HasForeignKey("ModifiedByUserId");
 013333
 013334                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013335                        .WithMany()
 013336                        .HasForeignKey("RecStateId");
 013337                });
 13338
 013339            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", b =>
 013340                {
 013341                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013342                        .WithMany()
 013343                        .HasForeignKey("CreatedByUserId");
 013344
 013345                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Customer")
 013346                        .WithMany()
 013347                        .HasForeignKey("CustomerId")
 013348                        .OnDelete(DeleteBehavior.Cascade)
 013349                        .IsRequired();
 013350
 013351                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013352                        .WithMany()
 013353                        .HasForeignKey("ModifiedByUserId");
 013354
 013355                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "MovementStatus")
 013356                        .WithMany()
 013357                        .HasForeignKey("MovementStatusId")
 013358                        .OnDelete(DeleteBehavior.Cascade)
 013359                        .IsRequired();
 013360
 013361                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", "MovementType")
 013362                        .WithMany()
 013363                        .HasForeignKey("MovementTypeId")
 013364                        .OnDelete(DeleteBehavior.Cascade)
 013365                        .IsRequired();
 013366
 013367                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Parent")
 013368                        .WithMany()
 013369                        .HasForeignKey("ParentId");
 013370
 013371                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013372                        .WithMany()
 013373                        .HasForeignKey("RecStateId");
 013374
 013375                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Receiver")
 013376                        .WithMany()
 013377                        .HasForeignKey("ReceiverId")
 013378                        .OnDelete(DeleteBehavior.Cascade)
 013379                        .IsRequired();
 013380
 013381                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Sender")
 013382                        .WithMany()
 013383                        .HasForeignKey("SenderId");
 013384
 013385                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Supplier")
 013386                        .WithMany()
 013387                        .HasForeignKey("SupplierId")
 013388                        .OnDelete(DeleteBehavior.Cascade)
 013389                        .IsRequired();
 013390                });
 13391
 013392            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementItem", b =>
 013393                {
 013394                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013395                        .WithMany()
 013396                        .HasForeignKey("CreatedByUserId");
 013397
 013398                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013399                        .WithMany()
 013400                        .HasForeignKey("GoodId")
 013401                        .OnDelete(DeleteBehavior.Cascade)
 013402                        .IsRequired();
 013403
 013404                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013405                        .WithMany()
 013406                        .HasForeignKey("ModifiedByUserId");
 013407
 013408                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", null)
 013409                        .WithMany("Items")
 013410                        .HasForeignKey("MovementId");
 013411
 013412                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013413                        .WithMany()
 013414                        .HasForeignKey("RecStateId");
 013415                });
 13416
 013417            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementNote", b =>
 013418                {
 013419                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013420                        .WithMany()
 013421                        .HasForeignKey("CreatedByUserId");
 013422
 013423                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013424                        .WithMany()
 013425                        .HasForeignKey("ModifiedByUserId");
 013426
 013427                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", null)
 013428                        .WithMany("Notes")
 013429                        .HasForeignKey("MovementId");
 013430
 013431                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013432                        .WithMany()
 013433                        .HasForeignKey("RecStateId");
 013434                });
 13435
 013436            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementRouteAction", b =>
 013437                {
 013438                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013439                        .WithMany()
 013440                        .HasForeignKey("CreatedByUserId");
 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.MovementStatusOwner", "OwnerAction")
 013447                        .WithMany()
 013448                        .HasForeignKey("OwnerActionId")
 013449                        .OnDelete(DeleteBehavior.Cascade)
 013450                        .IsRequired();
 013451
 013452                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013453                        .WithMany()
 013454                        .HasForeignKey("RecStateId");
 013455
 013456                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "Status")
 013457                        .WithMany()
 013458                        .HasForeignKey("StatusId")
 013459                        .OnDelete(DeleteBehavior.Cascade)
 013460                        .IsRequired();
 013461                });
 13462
 013463            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", b =>
 013464                {
 013465                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013466                        .WithMany()
 013467                        .HasForeignKey("CreatedByUserId");
 013468
 013469                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013470                        .WithMany()
 013471                        .HasForeignKey("ModifiedByUserId");
 013472
 013473                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", "MovementType")
 013474                        .WithMany()
 013475                        .HasForeignKey("MovementTypeId")
 013476                        .OnDelete(DeleteBehavior.Cascade)
 013477                        .IsRequired();
 013478
 013479                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013480                        .WithMany()
 013481                        .HasForeignKey("RecStateId");
 013482
 013483                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", "StatusOwner")
 013484                        .WithMany()
 013485                        .HasForeignKey("StatusOwnerId")
 013486                        .OnDelete(DeleteBehavior.Cascade)
 013487                        .IsRequired();
 013488                });
 13489
 013490            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusJournal", b =>
 013491                {
 013492                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013493                        .WithMany()
 013494                        .HasForeignKey("CreatedByUserId");
 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.Movement", "Movement")
 013501                        .WithMany()
 013502                        .HasForeignKey("MovementId");
 013503
 013504                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013505                        .WithMany()
 013506                        .HasForeignKey("RecStateId");
 013507
 013508                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusCurrent")
 013509                        .WithMany()
 013510                        .HasForeignKey("StatusCurrentId");
 013511                });
 13512
 013513            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusOwner", b =>
 013514                {
 013515                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013516                        .WithMany()
 013517                        .HasForeignKey("CreatedByUserId");
 013518
 013519                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013520                        .WithMany()
 013521                        .HasForeignKey("ModifiedByUserId");
 013522
 013523                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013524                        .WithMany()
 013525                        .HasForeignKey("RecStateId");
 013526                });
 13527
 013528            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatusRoute", b =>
 013529                {
 013530                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013531                        .WithMany()
 013532                        .HasForeignKey("CreatedByUserId");
 013533
 013534                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013535                        .WithMany()
 013536                        .HasForeignKey("ModifiedByUserId");
 013537
 013538                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013539                        .WithMany()
 013540                        .HasForeignKey("RecStateId");
 013541
 013542                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusCurrent")
 013543                        .WithMany()
 013544                        .HasForeignKey("StatusCurrentId")
 013545                        .OnDelete(DeleteBehavior.Cascade)
 013546                        .IsRequired();
 013547
 013548                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementStatus", "StatusNext")
 013549                        .WithMany()
 013550                        .HasForeignKey("StatusNextId")
 013551                        .OnDelete(DeleteBehavior.Cascade)
 013552                        .IsRequired();
 013553                });
 13554
 013555            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.MovementType", b =>
 013556                {
 013557                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013558                        .WithMany()
 013559                        .HasForeignKey("CreatedByUserId");
 013560
 013561                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013562                        .WithMany()
 013563                        .HasForeignKey("ModifiedByUserId");
 013564
 013565                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013566                        .WithMany()
 013567                        .HasForeignKey("RecStateId");
 013568                });
 13569
 013570            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", b =>
 013571                {
 013572                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013573                        .WithMany()
 013574                        .HasForeignKey("CreatedByUserId");
 013575
 013576                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013577                        .WithMany()
 013578                        .HasForeignKey("ModifiedByUserId");
 013579
 013580                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", "NotificationsType")
 013581                        .WithMany()
 013582                        .HasForeignKey("NotificationsTypeId")
 013583                        .OnDelete(DeleteBehavior.Cascade)
 013584                        .IsRequired();
 013585
 013586                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013587                        .WithMany()
 013588                        .HasForeignKey("RecStateId");
 013589
 013590                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013591                        .WithMany()
 013592                        .HasForeignKey("UserId")
 013593                        .OnDelete(DeleteBehavior.Cascade)
 013594                        .IsRequired();
 013595                });
 13596
 013597            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationUsers", b =>
 013598                {
 013599                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013600                        .WithMany()
 013601                        .HasForeignKey("CreatedByUserId");
 013602
 013603                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013604                        .WithMany()
 013605                        .HasForeignKey("ModifiedByUserId");
 013606
 013607                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Notification", "Notification")
 013608                        .WithMany()
 013609                        .HasForeignKey("NotificationId")
 013610                        .OnDelete(DeleteBehavior.Cascade)
 013611                        .IsRequired();
 013612
 013613                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", "NotificationsStat
 013614                        .WithMany()
 013615                        .HasForeignKey("NotificationsStatusId");
 013616
 013617                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013618                        .WithMany()
 013619                        .HasForeignKey("RecStateId");
 013620
 013621                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 013622                        .WithMany()
 013623                        .HasForeignKey("UserId");
 013624                });
 13625
 013626            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsStatus", b =>
 013627                {
 013628                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013629                        .WithMany()
 013630                        .HasForeignKey("CreatedByUserId");
 013631
 013632                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013633                        .WithMany()
 013634                        .HasForeignKey("ModifiedByUserId");
 013635
 013636                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013637                        .WithMany()
 013638                        .HasForeignKey("RecStateId");
 013639                });
 13640
 013641            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.NotificationsType", b =>
 013642                {
 013643                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013644                        .WithMany()
 013645                        .HasForeignKey("CreatedByUserId");
 013646
 013647                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013648                        .WithMany()
 013649                        .HasForeignKey("ModifiedByUserId");
 013650
 013651                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013652                        .WithMany()
 013653                        .HasForeignKey("RecStateId");
 013654                });
 13655
 013656            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Photo", b =>
 013657                {
 013658                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013659                        .WithMany()
 013660                        .HasForeignKey("CreatedByUserId");
 013661
 013662                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", null)
 013663                        .WithMany("Photos")
 013664                        .HasForeignKey("GoodId");
 013665
 013666                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013667                        .WithMany()
 013668                        .HasForeignKey("ModifiedByUserId");
 013669
 013670                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013671                        .WithMany()
 013672                        .HasForeignKey("RecStateId");
 013673                });
 13674
 013675            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceCurrent", b =>
 013676                {
 013677                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013678                        .WithMany()
 013679                        .HasForeignKey("CreatedByUserId");
 013680
 013681                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013682                        .WithMany()
 013683                        .HasForeignKey("GoodId")
 013684                        .OnDelete(DeleteBehavior.Cascade)
 013685                        .IsRequired();
 013686
 013687                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013688                        .WithMany()
 013689                        .HasForeignKey("ModifiedByUserId");
 013690
 013691                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013692                        .WithMany()
 013693                        .HasForeignKey("RecStateId");
 013694
 013695                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 013696                        .WithMany()
 013697                        .HasForeignKey("SupplierDepartmentId")
 013698                        .OnDelete(DeleteBehavior.Cascade)
 013699                        .IsRequired();
 013700                });
 13701
 013702            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", b =>
 013703                {
 013704                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013705                        .WithMany()
 013706                        .HasForeignKey("CreatedByUserId");
 013707
 013708                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013709                        .WithMany()
 013710                        .HasForeignKey("ModifiedByUserId");
 013711
 013712                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013713                        .WithMany()
 013714                        .HasForeignKey("RecStateId");
 013715
 013716                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 013717                        .WithMany()
 013718                        .HasForeignKey("SupplierDepartmentId")
 013719                        .OnDelete(DeleteBehavior.Cascade)
 013720                        .IsRequired();
 013721                });
 13722
 013723            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrendDetail", b =>
 013724                {
 013725                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013726                        .WithMany()
 013727                        .HasForeignKey("CreatedByUserId");
 013728
 013729                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013730                        .WithMany("Prices")
 013731                        .HasForeignKey("GoodId")
 013732                        .OnDelete(DeleteBehavior.Cascade)
 013733                        .IsRequired();
 013734
 013735                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013736                        .WithMany()
 013737                        .HasForeignKey("ModifiedByUserId");
 013738
 013739                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.PriceTrend", "PriceTrend")
 013740                        .WithMany("PriceTrendDetails")
 013741                        .HasForeignKey("PriceTrendId")
 013742                        .OnDelete(DeleteBehavior.Cascade)
 013743                        .IsRequired();
 013744
 013745                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013746                        .WithMany()
 013747                        .HasForeignKey("RecStateId");
 013748                });
 13749
 013750            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoBid", b =>
 013751                {
 013752                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013753                        .WithMany()
 013754                        .HasForeignKey("CreatedByUserId");
 013755
 013756                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "CustomerDepartment")
 013757                        .WithMany()
 013758                        .HasForeignKey("CustomerDepartmentId")
 013759                        .OnDelete(DeleteBehavior.Cascade)
 013760                        .IsRequired();
 013761
 013762                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013763                        .WithMany()
 013764                        .HasForeignKey("GoodId")
 013765                        .OnDelete(DeleteBehavior.Cascade)
 013766                        .IsRequired();
 013767
 013768                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013769                        .WithMany()
 013770                        .HasForeignKey("ModifiedByUserId");
 013771
 013772                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.PromoOffer", "PromoOffer")
 013773                        .WithMany("Bids")
 013774                        .HasForeignKey("PromoOfferId")
 013775                        .OnDelete(DeleteBehavior.Cascade)
 013776                        .IsRequired();
 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.PromoOffer", 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.Good", "Good")
 013790                        .WithMany()
 013791                        .HasForeignKey("GoodId")
 013792                        .OnDelete(DeleteBehavior.Cascade)
 013793                        .IsRequired();
 013794
 013795                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013796                        .WithMany()
 013797                        .HasForeignKey("ModifiedByUserId");
 013798
 013799                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013800                        .WithMany()
 013801                        .HasForeignKey("RecStateId");
 013802
 013803                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "SupplierDepartment")
 013804                        .WithMany()
 013805                        .HasForeignKey("SupplierDepartmentId")
 013806                        .OnDelete(DeleteBehavior.Cascade)
 013807                        .IsRequired();
 013808                });
 13809
 013810            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", 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.Rest", 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.Department", "Department")
 013832                        .WithMany()
 013833                        .HasForeignKey("DepartmentId")
 013834                        .OnDelete(DeleteBehavior.Cascade)
 013835                        .IsRequired();
 013836
 013837                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Good", "Good")
 013838                        .WithMany("Rests")
 013839                        .HasForeignKey("GoodId")
 013840                        .OnDelete(DeleteBehavior.Cascade)
 013841                        .IsRequired();
 013842
 013843                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013844                        .WithMany()
 013845                        .HasForeignKey("ModifiedByUserId");
 013846
 013847                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013848                        .WithMany()
 013849                        .HasForeignKey("RecStateId");
 013850                });
 13851
 013852            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.RestHold", 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.Good", "Good")
 013859                        .WithMany()
 013860                        .HasForeignKey("GoodId")
 013861                        .OnDelete(DeleteBehavior.Cascade)
 013862                        .IsRequired();
 013863
 013864                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013865                        .WithMany()
 013866                        .HasForeignKey("ModifiedByUserId");
 013867
 013868                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Movement")
 013869                        .WithMany()
 013870                        .HasForeignKey("MovementId")
 013871                        .OnDelete(DeleteBehavior.Cascade)
 013872                        .IsRequired();
 013873
 013874                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013875                        .WithMany()
 013876                        .HasForeignKey("RecStateId");
 013877                });
 13878
 013879            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", b =>
 013880                {
 013881                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013882                        .WithMany()
 013883                        .HasForeignKey("CreatedByUserId");
 013884
 013885                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013886                        .WithMany()
 013887                        .HasForeignKey("ModifiedByUserId");
 013888
 013889                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013890                        .WithMany()
 013891                        .HasForeignKey("RecStateId");
 013892                });
 13893
 013894            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.SupplyContract", b =>
 013895                {
 013896                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Buyer")
 013897                        .WithMany("ContractsAsBuyer")
 013898                        .HasForeignKey("BuyerId")
 013899                        .OnDelete(DeleteBehavior.Cascade)
 013900                        .IsRequired();
 013901
 013902                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013903                        .WithMany()
 013904                        .HasForeignKey("CreatedByUserId");
 013905
 013906                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013907                        .WithMany()
 013908                        .HasForeignKey("ModifiedByUserId");
 013909
 013910                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013911                        .WithMany()
 013912                        .HasForeignKey("RecStateId");
 013913
 013914                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Seller")
 013915                        .WithMany("ContractsAsSeller")
 013916                        .HasForeignKey("SellerId")
 013917                        .OnDelete(DeleteBehavior.Cascade)
 013918                        .IsRequired();
 013919                });
 13920
 013921            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.TaxSystem", b =>
 013922                {
 013923                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013924                        .WithMany()
 013925                        .HasForeignKey("CreatedByUserId");
 013926
 013927                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013928                        .WithMany()
 013929                        .HasForeignKey("ModifiedByUserId");
 013930
 013931                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013932                        .WithMany()
 013933                        .HasForeignKey("RecStateId");
 013934                });
 13935
 013936            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UnitsKind", b =>
 013937                {
 013938                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013939                        .WithMany()
 013940                        .HasForeignKey("CreatedByUserId");
 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                });
 13950
 013951            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", b =>
 013952                {
 013953                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013954                        .WithMany()
 013955                        .HasForeignKey("CreatedByUserId");
 013956
 013957                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013958                        .WithMany()
 013959                        .HasForeignKey("ModifiedByUserId");
 013960
 013961                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013962                        .WithMany()
 013963                        .HasForeignKey("RecStateId");
 013964                });
 13965
 013966            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UploadItem", b =>
 013967                {
 013968                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013969                        .WithMany()
 013970                        .HasForeignKey("CreatedByUserId");
 013971
 013972                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013973                        .WithMany()
 013974                        .HasForeignKey("ModifiedByUserId");
 013975
 013976                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 013977                        .WithMany()
 013978                        .HasForeignKey("RecStateId");
 013979
 013980                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Upload", null)
 013981                        .WithMany("Items")
 013982                        .HasForeignKey("UploadId")
 013983                        .OnDelete(DeleteBehavior.Cascade)
 013984                        .IsRequired();
 013985                });
 13986
 013987            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", b =>
 013988                {
 013989                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Contragent", "Contragent")
 013990                        .WithMany("User")
 013991                        .HasForeignKey("ContragentId");
 013992
 013993                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 013994                        .WithMany()
 013995                        .HasForeignKey("CreatedByUserId");
 013996
 013997                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 013998                        .WithMany()
 013999                        .HasForeignKey("ModifiedByUserId");
 014000
 014001                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014002                        .WithMany()
 014003                        .HasForeignKey("RecStateId");
 014004                });
 14005
 014006            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserDepartment", b =>
 014007                {
 014008                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Department", "Department")
 014009                        .WithMany("UsersDepartments")
 014010                        .HasForeignKey("DepartmentId")
 014011                        .OnDelete(DeleteBehavior.Cascade)
 014012                        .IsRequired();
 014013
 014014                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 014015                        .WithMany("UsersDepartments")
 014016                        .HasForeignKey("UserId")
 014017                        .OnDelete(DeleteBehavior.Cascade)
 014018                        .IsRequired();
 014019                });
 14020
 014021            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.UserRole", b =>
 014022                {
 014023                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Roles", "Roles")
 014024                        .WithMany("UsersRoles")
 014025                        .HasForeignKey("RoleId")
 014026                        .OnDelete(DeleteBehavior.Cascade)
 014027                        .IsRequired();
 014028
 014029                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "User")
 014030                        .WithMany("UsersRoles")
 014031                        .HasForeignKey("UserId")
 014032                        .OnDelete(DeleteBehavior.Cascade)
 014033                        .IsRequired();
 014034                });
 14035
 014036            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.VatsKind", b =>
 014037                {
 014038                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014039                        .WithMany()
 014040                        .HasForeignKey("CreatedByUserId");
 014041
 014042                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014043                        .WithMany()
 014044                        .HasForeignKey("ModifiedByUserId");
 014045
 014046                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014047                        .WithMany()
 014048                        .HasForeignKey("RecStateId");
 014049                });
 14050
 014051            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransaction", b =>
 014052                {
 014053                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014054                        .WithMany()
 014055                        .HasForeignKey("CreatedByUserId");
 014056
 014057                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014058                        .WithMany()
 014059                        .HasForeignKey("ModifiedByUserId");
 014060
 014061                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.Movement", "Movement")
 014062                        .WithMany()
 014063                        .HasForeignKey("MovementId");
 014064
 014065                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014066                        .WithMany()
 014067                        .HasForeignKey("RecStateId");
 014068
 014069                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", "Status")
 014070                        .WithMany()
 014071                        .HasForeignKey("StatusId");
 014072                });
 14073
 014074            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WalletTransactionStatus", b =>
 014075                {
 014076                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014077                        .WithMany()
 014078                        .HasForeignKey("CreatedByUserId");
 014079
 014080                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014081                        .WithMany()
 014082                        .HasForeignKey("ModifiedByUserId");
 014083
 014084                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014085                        .WithMany()
 014086                        .HasForeignKey("RecStateId");
 014087                });
 14088
 014089            modelBuilder.Entity("WinSolutions.Sveta.Server.Data.DataModel.Entities.WorkSchedule", b =>
 014090                {
 014091                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "CreatedByUser")
 014092                        .WithMany()
 014093                        .HasForeignKey("CreatedByUserId");
 014094
 014095                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.User", "ModifiedByUser")
 014096                        .WithMany()
 014097                        .HasForeignKey("ModifiedByUserId");
 014098
 014099                    b.HasOne("WinSolutions.Sveta.Server.Data.DataModel.Entities.RecordsState", "RecState")
 014100                        .WithMany()
 014101                        .HasForeignKey("RecStateId");
 014102                });
 14103#pragma warning restore 612, 618
 014104        }
 14105    }
 14106}