From 6b348ff3ac5a3f2f4e288087d112b818a5511e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96ZT=C3=9CRK?= <76204082+iamsedatozturk@users.noreply.github.com> Date: Wed, 18 Jun 2025 13:29:25 +0300 Subject: [PATCH] =?UTF-8?q?Genel=20tan=C4=B1mlama=20Entitiy=20ve=20Seeder?= =?UTF-8?q?=20de=C4=9Fi=C5=9Fiklikleri?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Banks/BankAccountDto.cs | 18 + .../Banks/BankDto.cs | 18 + .../Contact/ContactTagDto.cs | 10 + .../Contact/ContactTitleDto.cs | 10 + .../Contact/CountryDto.cs | 18 + .../Contact/CountryGroupDto.cs | 9 + .../Contact/StateDto.cs | 11 + .../Currencies/CurrencyDto.cs | 14 + .../Sector/SectorDto.cs | 10 + .../Skill/SkillDto.cs | 10 + .../Skill/SkillLevelDto.cs | 12 + .../Skill/SkillTypeDto.cs | 13 + .../Uom/UomCategoryDto.cs | 9 + .../Uom/UomDto.cs | 17 + .../PlatformApplicationAutoMapperProfile.cs | 22 + .../Seeds/PlatformDataSeeder.cs | 222 +- .../Seeds/SeederData.json | 12506 +++++++++++++++- .../Seeds/SeederDto.cs | 120 +- .../Enums/UomType.cs | 8 + api/src/Kurs.Platform.Domain/Entities/Bank.cs | 40 + .../Entities/BankAccount.cs | 26 + .../Entities/ContactTag.cs | 12 + .../Entities/ContactTitle.cs | 12 + .../Kurs.Platform.Domain/Entities/Country.cs | 41 + .../Kurs.Platform.Domain/Entities/Currency.cs | 25 + .../Kurs.Platform.Domain/Entities/Sector.cs | 15 + .../Kurs.Platform.Domain/Entities/Skill.cs | 11 + .../Entities/SkillLevel.cs | 14 + .../Entities/SkillType.cs | 13 + .../Kurs.Platform.Domain/Entities/State.cs | 19 + api/src/Kurs.Platform.Domain/Entities/Uom.cs | 26 + .../Entities/UomCategory.cs | 15 + .../EntityFrameworkCore/PlatformDbContext.cs | 171 +- ...18100205_NewDefitinationTables.Designer.cs | 4617 ++++++ .../20250618100205_NewDefitinationTables.cs | 472 + .../PlatformDbContextModelSnapshot.cs | 899 ++ 36 files changed, 19220 insertions(+), 265 deletions(-) create mode 100644 api/src/Kurs.Platform.Application.Contracts/Banks/BankAccountDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Banks/BankDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Contact/ContactTagDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Contact/ContactTitleDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Contact/CountryDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Contact/CountryGroupDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Contact/StateDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Currencies/CurrencyDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Sector/SectorDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Skill/SkillDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Skill/SkillLevelDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Skill/SkillTypeDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Uom/UomCategoryDto.cs create mode 100644 api/src/Kurs.Platform.Application.Contracts/Uom/UomDto.cs create mode 100644 api/src/Kurs.Platform.Domain.Shared/Enums/UomType.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/Bank.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/BankAccount.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/ContactTag.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/ContactTitle.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/Country.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/Currency.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/Sector.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/Skill.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/SkillLevel.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/SkillType.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/State.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/Uom.cs create mode 100644 api/src/Kurs.Platform.Domain/Entities/UomCategory.cs create mode 100644 api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20250618100205_NewDefitinationTables.Designer.cs create mode 100644 api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20250618100205_NewDefitinationTables.cs diff --git a/api/src/Kurs.Platform.Application.Contracts/Banks/BankAccountDto.cs b/api/src/Kurs.Platform.Application.Contracts/Banks/BankAccountDto.cs new file mode 100644 index 00000000..2db7b9d7 --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Banks/BankAccountDto.cs @@ -0,0 +1,18 @@ +using System; +using Volo.Abp.Application.Dtos; + +public class BankAccountDto : AuditedEntityDto +{ + public string AccountNumber { get; set; } + public Guid BankId { get; set; } + public string BankName { get; set; } + + public string AccountOwner { get; set; } + + public Guid? CurrencyId { get; set; } + public string CurrencyCode { get; set; } + + public bool CanTransferMoney { get; set; } + + public string Company { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Banks/BankDto.cs b/api/src/Kurs.Platform.Application.Contracts/Banks/BankDto.cs new file mode 100644 index 00000000..b96b7063 --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Banks/BankDto.cs @@ -0,0 +1,18 @@ +using System; +using Volo.Abp.Application.Dtos; + +public class BankDto : AuditedEntityDto +{ + public string Name { get; set; } + public string IdentifierCode { get; set; } + + public string AddressLine1 { get; set; } + public string AddressLine2 { get; set; } + public string District { get; set; } + public string City { get; set; } + public string PostalCode { get; set; } + public string Country { get; set; } + + public string Phone { get; set; } + public string Email { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Contact/ContactTagDto.cs b/api/src/Kurs.Platform.Application.Contracts/Contact/ContactTagDto.cs new file mode 100644 index 00000000..026d1284 --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Contact/ContactTagDto.cs @@ -0,0 +1,10 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Contacts; + +public class ContactTagDto : AuditedEntityDto +{ + public string Name { get; set; } + public string Category { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Contact/ContactTitleDto.cs b/api/src/Kurs.Platform.Application.Contracts/Contact/ContactTitleDto.cs new file mode 100644 index 00000000..3bfd2686 --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Contact/ContactTitleDto.cs @@ -0,0 +1,10 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Contacts; + +public class ContactTitleDto : AuditedEntityDto +{ + public string Title { get; set; } + public string Abbreviation { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Contact/CountryDto.cs b/api/src/Kurs.Platform.Application.Contracts/Contact/CountryDto.cs new file mode 100644 index 00000000..c66b545d --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Contact/CountryDto.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Contacts; + +public class CountryDto : AuditedEntityDto +{ + public string Code { get; set; } + public string Name { get; set; } + public string CurrencyCode { get; set; } + public string PhoneCode { get; set; } + public string TaxLabel { get; set; } + public bool ZipRequired { get; set; } + public bool StateRequired { get; set; } + + public List States { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Contact/CountryGroupDto.cs b/api/src/Kurs.Platform.Application.Contracts/Contact/CountryGroupDto.cs new file mode 100644 index 00000000..8f973bc2 --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Contact/CountryGroupDto.cs @@ -0,0 +1,9 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Contacts; + +public class CountryGroupDto : AuditedEntityDto +{ + public string Name { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Contact/StateDto.cs b/api/src/Kurs.Platform.Application.Contracts/Contact/StateDto.cs new file mode 100644 index 00000000..98bb618f --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Contact/StateDto.cs @@ -0,0 +1,11 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Contacts; + +public class StateDto : AuditedEntityDto +{ + public string Name { get; set; } + public string Code { get; set; } + public string CountryCode { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Currencies/CurrencyDto.cs b/api/src/Kurs.Platform.Application.Contracts/Currencies/CurrencyDto.cs new file mode 100644 index 00000000..a6ed44f0 --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Currencies/CurrencyDto.cs @@ -0,0 +1,14 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Currencies; + +public class CurrencyDto : AuditedEntityDto +{ + public string Code { get; set; } + public string Symbol { get; set; } + public string Name { get; set; } + public decimal Rate { get; set; } + public bool IsActive { get; set; } + public DateTime? LastUpdated { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Sector/SectorDto.cs b/api/src/Kurs.Platform.Application.Contracts/Sector/SectorDto.cs new file mode 100644 index 00000000..135f6ff4 --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Sector/SectorDto.cs @@ -0,0 +1,10 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Sectors; + +public class SectorDto : AuditedEntityDto +{ + public string Name { get; set; } + public string FullName { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Skill/SkillDto.cs b/api/src/Kurs.Platform.Application.Contracts/Skill/SkillDto.cs new file mode 100644 index 00000000..2e1adbef --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Skill/SkillDto.cs @@ -0,0 +1,10 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Skills; + +public class SkillDto : AuditedEntityDto +{ + public string Name { get; set; } + public string TypeName { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Skill/SkillLevelDto.cs b/api/src/Kurs.Platform.Application.Contracts/Skill/SkillLevelDto.cs new file mode 100644 index 00000000..f6646176 --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Skill/SkillLevelDto.cs @@ -0,0 +1,12 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Skills; + +public class SkillLevelDto : AuditedEntityDto +{ + public string Name { get; set; } + public int Progress { get; set; } + public bool IsDefault { get; set; } + public string TypeName { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Skill/SkillTypeDto.cs b/api/src/Kurs.Platform.Application.Contracts/Skill/SkillTypeDto.cs new file mode 100644 index 00000000..bb2f05fe --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Skill/SkillTypeDto.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Skills; + +public class SkillTypeDto : AuditedEntityDto +{ + public string Name { get; set; } + + public List Skills { get; set; } + public List Levels { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Uom/UomCategoryDto.cs b/api/src/Kurs.Platform.Application.Contracts/Uom/UomCategoryDto.cs new file mode 100644 index 00000000..a24eb130 --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Uom/UomCategoryDto.cs @@ -0,0 +1,9 @@ +using System; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Uoms; + +public class UomCategoryDto : AuditedEntityDto +{ + public string Name { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application.Contracts/Uom/UomDto.cs b/api/src/Kurs.Platform.Application.Contracts/Uom/UomDto.cs new file mode 100644 index 00000000..5adc0560 --- /dev/null +++ b/api/src/Kurs.Platform.Application.Contracts/Uom/UomDto.cs @@ -0,0 +1,17 @@ +using System; +using Kurs.Platform.Enums; +using Volo.Abp.Application.Dtos; + +namespace Kurs.Platform.Uoms; + +public class UomDto : AuditedEntityDto +{ + public string Name { get; set; } + public UomType Type { get; set; } + public decimal Ratio { get; set; } + public bool IsActive { get; set; } + public decimal Rounding { get; set; } + + public Guid UomCategoryId { get; set; } + public string UomCategoryName { get; set; } // Listelemede gösterim için opsiyonel +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Application/PlatformApplicationAutoMapperProfile.cs b/api/src/Kurs.Platform.Application/PlatformApplicationAutoMapperProfile.cs index eb164f0c..b49a59cb 100644 --- a/api/src/Kurs.Platform.Application/PlatformApplicationAutoMapperProfile.cs +++ b/api/src/Kurs.Platform.Application/PlatformApplicationAutoMapperProfile.cs @@ -1,7 +1,12 @@ using AutoMapper; +using Kurs.Platform.Contacts; +using Kurs.Platform.Currencies; using Kurs.Platform.Entities; using Kurs.Platform.GlobalSearchs; using Kurs.Platform.OrganizationUnits; +using Kurs.Platform.Sectors; +using Kurs.Platform.Skills; +using Kurs.Platform.Uoms; using Volo.Abp.Identity; namespace Kurs.Platform; @@ -16,5 +21,22 @@ public class PlatformApplicationAutoMapperProfile : Profile CreateMap(); + CreateMap(); + CreateMap(); + CreateMap() + .ForMember(dest => dest.UomCategoryName, opt => opt.MapFrom(src => src.UomCategory.Name)); + CreateMap(); + CreateMap(); + CreateMap() + .ForMember(dest => dest.BankName, opt => opt.MapFrom(src => src.Bank.Name)) + .ForMember(dest => dest.CurrencyCode, opt => opt.MapFrom(src => src.Currency.Code)); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); } } diff --git a/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformDataSeeder.cs b/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformDataSeeder.cs index 266e3955..a71e3959 100644 --- a/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformDataSeeder.cs +++ b/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformDataSeeder.cs @@ -16,6 +16,7 @@ using Microsoft.Extensions.Configuration; using Volo.Abp.Data; using Volo.Abp.DependencyInjection; using Volo.Abp.Domain.Repositories; +using Volo.Abp.MultiTenancy; using Volo.Abp.PermissionManagement; using static Kurs.Settings.SettingsConsts; @@ -35,6 +36,18 @@ public class PlatformDataSeeder : IDataSeedContributor, ITransientDependency private readonly IRepository _menuRepository; private readonly IRepository _permissionGroupRepository; private readonly IRepository _permissionRepository; + private readonly IRepository _sectorRepository; + private readonly IRepository _uomCategoryRepository; + private readonly IRepository _uomRepository; + private readonly IRepository _currencyRepository; + private readonly IRepository _countryGroupRepository; + private readonly IRepository _countryRepository; + private readonly IRepository _stateRepository; + private readonly IRepository _skillTypeRepository; + private readonly IRepository _skillRepository; + private readonly IRepository _skillLevelRepository; + private readonly IRepository _contactTagRepository; + private readonly IRepository _contactTitleRepository; public PlatformDataSeeder( IRepository languages, @@ -48,7 +61,20 @@ public class PlatformDataSeeder : IDataSeedContributor, ITransientDependency IRepository notificationRuleRepository, IRepository menuRepository, IRepository permissionGroupRepository, - IRepository permissionRepository) + IRepository permissionRepository, + IRepository sectorRepository, + IRepository uomCategoryRepository, + IRepository uomRepository, + IRepository currencyRepository, + IRepository countryGroupRepository, + IRepository countryRepository, + IRepository stateRepository, + IRepository skillTypeRepository, + IRepository skillRepository, + IRepository skillLevelRepository, + IRepository contactTagRepository, + IRepository contactTitleRepository + ) { _languages = languages; _languageKey = languageKey; @@ -62,6 +88,18 @@ public class PlatformDataSeeder : IDataSeedContributor, ITransientDependency _menuRepository = menuRepository; _permissionGroupRepository = permissionGroupRepository; _permissionRepository = permissionRepository; + _sectorRepository = sectorRepository; + _uomCategoryRepository = uomCategoryRepository; + _uomRepository = uomRepository; + _currencyRepository = currencyRepository; + _countryGroupRepository = countryGroupRepository; + _countryRepository = countryRepository; + _stateRepository = stateRepository; + _skillTypeRepository = skillTypeRepository; + _skillRepository = skillRepository; + _skillLevelRepository = skillLevelRepository; + _contactTagRepository = contactTagRepository; + _contactTitleRepository = contactTitleRepository; } private static IConfigurationRoot BuildConfiguration() @@ -322,8 +360,186 @@ public class PlatformDataSeeder : IDataSeedContributor, ITransientDependency Name = item.Name, ParentName = string.IsNullOrWhiteSpace(item.ParentName) ? null : item.ParentName, DisplayName = item.DisplayName, - IsEnabled = item.IsEnabled, - MultiTenancySide = item.MultiTenancySide + IsEnabled = item.IsEnabled, + MultiTenancySide = (MultiTenancySides)item.MultiTenancySide + }); + } + } + + foreach (var item in items.Sectors) + { + var exists = await _sectorRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _sectorRepository.InsertAsync(new Sector + { + Name = item.Name, + FullName = item.FullName + }); + } + } + + foreach (var item in items.UomCategories) + { + var exists = await _uomCategoryRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _uomCategoryRepository.InsertAsync(new UomCategory + { + Name = item.Name + }); + } + } + + foreach (var item in items.Uoms) + { + var exists = await _uomRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _uomRepository.InsertAsync(new Uom + { + Name = item.Name, + Type = item.Type, + Ratio = item.Ratio, + IsActive = item.IsActive, + Rounding = item.Rounding, + CategoryName = item.CategoryName + }); + } + } + + foreach (var item in items.Currencies) + { + var exists = await _currencyRepository.AnyAsync(x => x.Code == item.Code); + + if (!exists) + { + await _currencyRepository.InsertAsync(new Currency + { + Code = item.Code, + Symbol = item.Symbol, + Name = item.Name, + IsActive = item.IsActive + }); + } + } + + foreach (var item in items.CountryGroups) + { + var exists = await _countryGroupRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _countryGroupRepository.InsertAsync(new CountryGroup + { + Name = item.Name, + }); + } + } + + foreach (var item in items.Countries) + { + var exists = await _countryRepository.AnyAsync(x => x.Code == item.Code); + + if (!exists) + { + await _countryRepository.InsertAsync(new Country + { + Code = item.Code, + Name = item.Name, + CurrencyCode = item.CurrencyCode, + PhoneCode = item.PhoneCode, + TaxLabel = item.TaxLabel, + GroupName = item.GroupName + }); + } + } + + foreach (var item in items.States) + { + var exists = await _stateRepository.AnyAsync(x => x.Name == item.Name && x.CountryCode == item.CountryCode); + + if (!exists) + { + await _stateRepository.InsertAsync(new State + { + Code = item.Code, + Name = item.Name, + CountryCode = item.CountryCode + }); + } + } + + foreach (var item in items.SkillTypes) + { + var exists = await _skillTypeRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _skillTypeRepository.InsertAsync(new SkillType + { + Name = item.Name, + }); + } + } + + foreach (var item in items.Skills) + { + var exists = await _skillRepository.AnyAsync(x => x.Name == item.Name && x.TypeName == item.TypeName); + + if (!exists) + { + await _skillRepository.InsertAsync(new Skill + { + Name = item.Name, + TypeName = item.TypeName + }); + } + } + + foreach (var item in items.SkillLevels) + { + var exists = await _skillLevelRepository.AnyAsync(x => x.Name == item.Name && x.TypeName == item.TypeName); + + if (!exists) + { + await _skillLevelRepository.InsertAsync(new SkillLevel + { + Name = item.Name, + TypeName = item.TypeName, + Progress = item.Progress, + IsDefault = item.IsDefault + }); + } + } + + foreach (var item in items.ContactTags) + { + var exists = await _contactTagRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _contactTagRepository.InsertAsync(new ContactTag + { + Name = item.Name, + Category = item.Category, + }); + } + } + + foreach (var item in items.ContactTitles) + { + var exists = await _contactTitleRepository.AnyAsync(x => x.Title == item.Title); + + if (!exists) + { + await _contactTitleRepository.InsertAsync(new ContactTitle + { + Title = item.Title, + Abbreviation = item.Abbreviation, }); } } diff --git a/api/src/Kurs.Platform.DbMigrator/Seeds/SeederData.json b/api/src/Kurs.Platform.DbMigrator/Seeds/SeederData.json index d9c2ef30..3f210088 100644 --- a/api/src/Kurs.Platform.DbMigrator/Seeds/SeederData.json +++ b/api/src/Kurs.Platform.DbMigrator/Seeds/SeederData.json @@ -617,7 +617,7 @@ "key": "AbpIdentity.Users.ClaimType", "en": "Claim Types", "tr": "Talep Tipleri" - }, + }, { "resourceName": "Platform", "key": "AbpIdentity.Users.SecurityLog", @@ -2069,7 +2069,7 @@ "key": "Abp.Identity.User.NoClaimsFound", "en": "No Claims Found", "tr": "Talep Bulunamadı" - }, + }, { "resourceName": "Platform", "key": "Abp.Identity.User.ClaimValue", @@ -4628,10 +4628,7 @@ "descriptionKey": "Abp.Localization.DefaultLanguage.Description", "defaultValue": "en", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.SiteManagement", @@ -4665,10 +4662,7 @@ "descriptionKey": "Abp.Localization.Timezone.Description", "defaultValue": "UTC", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.SiteManagement", @@ -4824,11 +4818,7 @@ "descriptionKey": "App.SiteManagement.Theme.Style.Description", "defaultValue": "dx.light.compact", "isVisibleToClients": true, - "providers": [ - "U", - "G", - "D" - ], + "providers": ["U", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.SiteManagement", @@ -4876,10 +4866,7 @@ "descriptionKey": "App.SiteManagement.General.NewMemberNotificationEmails.Description", "defaultValue": "system@sozsoft.com", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.SiteManagement", @@ -4895,10 +4882,7 @@ "descriptionKey": "App.SiteManagement.General.TimedLoginEmails.Description", "defaultValue": "system@sozsoft.com", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.SiteManagement", @@ -4914,11 +4898,7 @@ "descriptionKey": "App.Sender.Sms.PostaGuvercini.Url.Description", "defaultValue": "https://www.postaguvercini.com/api_http", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -4934,11 +4914,7 @@ "descriptionKey": "App.Sender.Sms.PostaGuvercini.Username.Description", "defaultValue": "2AIlj4QlCrvlbDDBS/712A==", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": true, "mainGroupKey": "App.Sender", @@ -4954,11 +4930,7 @@ "descriptionKey": "App.Sender.Sms.PostaGuvercini.Password.Description", "defaultValue": "oTuwyZM9sxfJI+jDH5wJAw==", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": true, "mainGroupKey": "App.Sender", @@ -4974,11 +4946,7 @@ "descriptionKey": "App.Sender.WhatsApp.Url.Description", "defaultValue": "https://graph.facebook.com/v21.0", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -4994,11 +4962,7 @@ "descriptionKey": "App.Sender.WhatsApp.PhoneNumberId.Description", "defaultValue": "442035112335974", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -5014,11 +4978,7 @@ "descriptionKey": "App.Sender.WhatsApp.Token.Description", "defaultValue": "EAANoftqZAJ64BO5oPwXPqniUtNGF70u8TKvQVzGZBaYQh5UY8fYrgQkcXP9UbQUqT9PWRah1L7TzcBIiWQMacT8AkmZB33AP1begLoywIZCsQSdBSUz21GQaCowfVosYgBoXSyqH8irSBPQDLIjxxVxrC2n76SD9X6zPXeHgOqIPY92DqJXplstWrlhtZCAZDZD", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -5034,11 +4994,7 @@ "descriptionKey": "App.Sender.WhatsApp.TemplateName.Description", "defaultValue": "kurs_platform_notification", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -5054,10 +5010,7 @@ "descriptionKey": "App.Sender.Rocket.Url.Description", "defaultValue": "https://chat.sozsoft.com/api/v1", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -5073,10 +5026,7 @@ "descriptionKey": "App.Sender.Rocket.UserId.Description", "defaultValue": "LfpzPjzag4QJXm84N", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -5092,10 +5042,7 @@ "descriptionKey": "App.Sender.Rocket.Token.Description", "defaultValue": "jvqALawvXn0Q7c6FfHJV3h58DCHDfQLgFF5y7oIc7oc", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -5111,11 +5058,7 @@ "descriptionKey": "Abp.Mailing.DefaultFromDisplayName.Description", "defaultValue": "Kurs", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -5131,11 +5074,7 @@ "descriptionKey": "Abp.Mailing.DefaultFromAddress.Description", "defaultValue": "system@sozsoft.com", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -5151,11 +5090,7 @@ "descriptionKey": "Abp.Mailing.Smtp.UserName.Description", "defaultValue": "system@sozsoft.com", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -5171,11 +5106,7 @@ "descriptionKey": "Abp.Mailing.Smtp.Password.Description", "defaultValue": "QT9L7BCl1CT/1Hq19HoSlQ==", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": true, "mainGroupKey": "Abp.Mailing", @@ -5191,11 +5122,7 @@ "descriptionKey": "Abp.Mailing.Smtp.Host.Description", "defaultValue": "127.0.0.1", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -5211,11 +5138,7 @@ "descriptionKey": "Abp.Mailing.Smtp.Port.Description", "defaultValue": "25", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -5231,11 +5154,7 @@ "descriptionKey": "Abp.Mailing.Smtp.Domain.Description", "defaultValue": "sozsoft.com", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -5251,11 +5170,7 @@ "descriptionKey": "Abp.Mailing.Smtp.EnableSsl.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -5271,11 +5186,7 @@ "descriptionKey": "Abp.Mailing.AWS.Profile.Description", "defaultValue": "mail-sdk-user", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -5291,11 +5202,7 @@ "descriptionKey": "Abp.Mailing.AWS.Region.Description", "defaultValue": "eu-central-1", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -5311,11 +5218,7 @@ "descriptionKey": "Abp.Mailing.AWS.AccessKey.Description", "defaultValue": "aXW8L21rP6dPO6Txj76Be2FCpWRBa25EMrSAVL76", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -5331,11 +5234,7 @@ "descriptionKey": "Abp.Mailing.AWS.AccessKeyId.Description", "defaultValue": "AKIATULUYBLX4IY3S2P1", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -5351,10 +5250,7 @@ "descriptionKey": "Abp.Account.IsSelfRegistrationEnabled.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -5370,10 +5266,7 @@ "descriptionKey": "Abp.Account.EnableLocalLogin.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -5389,11 +5282,7 @@ "descriptionKey": "Abp.Account.TwoFactor.Enabled.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -5409,10 +5298,7 @@ "descriptionKey": "Abp.Account.Captcha.MaxFailedAccessAttempts.Description", "defaultValue": "3", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -5428,10 +5314,7 @@ "descriptionKey": "Abp.Account.Captcha.EndPoint.Description", "defaultValue": "https://challenges.cloudflare.com/turnstile/v0/siteverify", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -5447,10 +5330,7 @@ "descriptionKey": "Abp.Account.Captcha.SiteKey.Description", "defaultValue": "0x4AAAAAAAGadwQME-GSYuJU", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -5466,10 +5346,7 @@ "descriptionKey": "Abp.Account.Captcha.SecretKey.Description", "defaultValue": "0x4AAAAAAAGad_f_WP47IcNBs9FTu5DhNX8", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -5485,11 +5362,7 @@ "descriptionKey": "Abp.Identity.Profile.General.RequireVerifiedAccount.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5505,11 +5378,7 @@ "descriptionKey": "Abp.Identity.Profile.General.BlacklistedEmailProviders.Description", "defaultValue": "gmail.com\r\nyahoo.com\r\nhotmail.com", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5525,11 +5394,7 @@ "descriptionKey": "Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5545,11 +5410,7 @@ "descriptionKey": "Abp.Identity.Password.PasswordChangePeriodDays.Description", "defaultValue": "0", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5565,11 +5426,7 @@ "descriptionKey": "Abp.Identity.Password.RequiredLength.Description", "defaultValue": "6", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5585,11 +5442,7 @@ "descriptionKey": "Abp.Identity.Password.RequiredUniqueChars.Description", "defaultValue": "1", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5605,11 +5458,7 @@ "descriptionKey": "Abp.Identity.Password.RequireNonAlphanumeric.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5625,11 +5474,7 @@ "descriptionKey": "Abp.Identity.Password.RequireLowercase.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5645,11 +5490,7 @@ "descriptionKey": "Abp.Identity.Password.RequireUppercase.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5665,11 +5506,7 @@ "descriptionKey": "Abp.Identity.Password.RequireDigit.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5685,11 +5522,7 @@ "descriptionKey": "Abp.Identity.Lockout.AllowedForNewUsers.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5705,11 +5538,7 @@ "descriptionKey": "Abp.Identity.Lockout.LockoutDuration.Description", "defaultValue": "300", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5725,11 +5554,7 @@ "descriptionKey": "Abp.Identity.Lockout.MaxFailedAccessAttempts.Description", "defaultValue": "5", "isVisibleToClients": false, - "providers": [ - "T", - "G", - "D" - ], + "providers": ["T", "G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5745,10 +5570,7 @@ "descriptionKey": "Abp.Identity.SignIn.RequireConfirmedEmail.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5764,10 +5586,7 @@ "descriptionKey": "Abp.Identity.SignIn.RequireConfirmedPhoneNumber.Description", "defaultValue": "False", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5783,10 +5602,7 @@ "descriptionKey": "Abp.Identity.User.IsUserNameUpdateEnabled.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -5802,10 +5618,7 @@ "descriptionKey": "Abp.Identity.User.IsEmailUpdateEnabled.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": [ - "G", - "D" - ], + "providers": ["G", "D"], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -6044,7 +5857,7 @@ "Icon": "FcMenu", "RequiredPermissionName": "App.Menus", "IsDisabled": false - }, + }, { "ParentCode": null, "Code": "App.Administration", @@ -6064,7 +5877,7 @@ "Icon": "FcSettings", "RequiredPermissionName": "App.Setting", "IsDisabled": false - }, + }, { "ParentCode": "App.Administration", "Code": "Abp.Identity", @@ -6270,7 +6083,7 @@ { "Name": "App.Platform", "DisplayName": "App.Platform" - }, + }, { "Name": "AbpTenantManagement", "DisplayName": "AbpTenantManagement" @@ -6380,7 +6193,7 @@ "DisplayName": "AbpIdentity.Users.SecurityLog", "IsEnabled": true, "MultiTenancySide": 3 - }, + }, { "GroupName": "AbpIdentity", "Name": "AbpIdentity.Users.ClaimType", @@ -7028,7 +6841,7 @@ "DisplayName": "Update", "IsEnabled": true, "MultiTenancySide": 3 - }, + }, { "GroupName": "AbpIdentity", "Name": "App.IpRestrictions.Create", @@ -7517,5 +7330,12206 @@ "IsEnabled": true, "MultiTenancySide": 3 } + ], + "Sectors": [ + { "Name": "Ambalaj", "FullName": "" }, + { "Name": "Demir Çelik", "FullName": "" }, + { "Name": "Diğer", "FullName": "" }, + { "Name": "Elektrik ve Elektronik", "FullName": "" }, + { "Name": "Giyim", "FullName": "" }, + { "Name": "Güvenlik", "FullName": "" }, + { "Name": "Gıda", "FullName": "" }, + { "Name": "Hizmet-servis", "FullName": "" }, + { "Name": "Hırdavat ve Nalburiye", "FullName": "" }, + { "Name": "Isıtma, Soğutma ve Havalandırma", "FullName": "" }, + { "Name": "İnşaat", "FullName": "" }, + { "Name": "Kantar", "FullName": "" }, + { "Name": "Kimyasal", "FullName": "" }, + { "Name": "Kırtasiye", "FullName": "" }, + { "Name": "Laboratuar ve Test Ürünleri", "FullName": "" }, + { "Name": "Makina", "FullName": "" }, + { "Name": "Matbaa", "FullName": "" }, + { "Name": "Ofis", "FullName": "" }, + { "Name": "Oto Tamir-Servis", "FullName": "" }, + { "Name": "Pnomatik", "FullName": "" }, + { "Name": "Sarf", "FullName": "" }, + { "Name": "Sağlık", "FullName": "" }, + { "Name": "Tartı", "FullName": "" }, + { "Name": "Transpalet", "FullName": "" }, + { "Name": "Yedek Parça", "FullName": "" } + ], + "UomCategories": [ + { "Name": "Adet" }, + { "Name": "Ağırlık" }, + { "Name": "Çalışma Süresi" }, + { "Name": "Uzunluk / Mesafe" }, + { "Name": "Yüzey" }, + { "Name": "Hacim" } + ], + "Uoms": [ + { + "Name": "Adet", + "Type": "Reference", + "Ratio": 1.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Adet" + }, + { + "Name": "ADET", + "Type": "SmallerThanReference", + "Ratio": 1.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Adet" + }, + { + "Name": "TAKIM", + "Type": "SmallerThanReference", + "Ratio": 1.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Adet" + }, + { + "Name": "Düzine", + "Type": "BiggerThanReference", + "Ratio": 12.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Adet" + }, + { + "Name": "g", + "Type": "SmallerThanReference", + "Ratio": 1000.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Ağırlık" + }, + { + "Name": "ons", + "Type": "SmallerThanReference", + "Ratio": 35.274, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Ağırlık" + }, + { + "Name": "pound", + "Type": "SmallerThanReference", + "Ratio": 2.20462, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Ağırlık" + }, + { + "Name": "kg", + "Type": "Reference", + "Ratio": 1.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Ağırlık" + }, + { + "Name": "t", + "Type": "BiggerThanReference", + "Ratio": 1000.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Ağırlık" + }, + { + "Name": "Saat", + "Type": "SmallerThanReference", + "Ratio": 8.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Çalışma Süresi" + }, + { + "Name": "Gün", + "Type": "Reference", + "Ratio": 1.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Çalışma Süresi" + }, + { + "Name": "mm", + "Type": "SmallerThanReference", + "Ratio": 1000.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Uzunluk / Mesafe" + }, + { + "Name": "cm", + "Type": "SmallerThanReference", + "Ratio": 100.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Uzunluk / Mesafe" + }, + { + "Name": "inç", + "Type": "SmallerThanReference", + "Ratio": 39.3701, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Uzunluk / Mesafe" + }, + { + "Name": "ayak", + "Type": "SmallerThanReference", + "Ratio": 3.28084, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Uzunluk / Mesafe" + }, + { + "Name": "yd", + "Type": "SmallerThanReference", + "Ratio": 1.09361, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Uzunluk / Mesafe" + }, + { + "Name": "m", + "Type": "Reference", + "Ratio": 1.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Uzunluk / Mesafe" + }, + { + "Name": "MT", + "Type": "SmallerThanReference", + "Ratio": 1.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Uzunluk / Mesafe" + }, + { + "Name": "km", + "Type": "BiggerThanReference", + "Ratio": 1000.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Uzunluk / Mesafe" + }, + { + "Name": "mil", + "Type": "BiggerThanReference", + "Ratio": 1609.34, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Uzunluk / Mesafe" + }, + { + "Name": "ft²", + "Type": "SmallerThanReference", + "Ratio": 10.76391, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Yüzey" + }, + { + "Name": "m²", + "Type": "Reference", + "Ratio": 1.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Yüzey" + }, + { + "Name": "inç³", + "Type": "SmallerThanReference", + "Ratio": 61.0237, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Hacim" + }, + { + "Name": "sıvı ons (Amerikan)", + "Type": "SmallerThanReference", + "Ratio": 33.814, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Hacim" + }, + { + "Name": "çeyrek(Amerikan)", + "Type": "SmallerThanReference", + "Ratio": 1.05669, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Hacim" + }, + { + "Name": "L", + "Type": "Reference", + "Ratio": 1.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Hacim" + }, + { + "Name": "galon (Amerikan)", + "Type": "BiggerThanReference", + "Ratio": 3.78541, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Hacim" + }, + { + "Name": "ayak³", + "Type": "BiggerThanReference", + "Ratio": 28.3168, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Hacim" + }, + { + "Name": "m³", + "Type": "BiggerThanReference", + "Ratio": 1000.0, + "IsActive": true, + "Rounding": 0.01, + "CategoryName": "Hacim" + } + ], + "Currencies": [ + { + "Code": "TRY", + "Symbol": "₺", + "Name": "Turkish lira", + "Rate": 1.0, + "IsActive": true + }, + { + "Code": "USD", + "Symbol": "$", + "Name": "United States dollar", + "Rate": 1.0, + "IsActive": true + }, + { + "Code": "AED", + "Symbol": "د.إ", + "Name": "United Arab Emirates dirham", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "AFN", + "Symbol": "Afs", + "Name": "Afghan afghani", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "ALL", + "Symbol": "L", + "Name": "Albanian lek", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "AMD", + "Symbol": "դր.", + "Name": "Armenian dram", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "ANG", + "Symbol": "ƒ", + "Name": "Netherlands Antillean guilder", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "AOA", + "Symbol": "Kz", + "Name": "Angolan kwanza", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "ARS", + "Symbol": "$", + "Name": "Argentine peso", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "AUD", + "Symbol": "$", + "Name": "Australian dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "AWG", + "Symbol": "Afl.", + "Name": "Aruban florin", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "AZN", + "Symbol": "m", + "Name": "Azerbaijani manat", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BAM", + "Symbol": "KM", + "Name": "Bosnia and Herzegovina convertible mark", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BBD", + "Symbol": "Bds$", + "Name": "Barbados dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BDT", + "Symbol": "৳", + "Name": "Bangladeshi taka", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BGN", + "Symbol": "лв", + "Name": "Bulgarian lev", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BHD", + "Symbol": "BD", + "Name": "Bahraini dinar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BIF", + "Symbol": "FBu", + "Name": "Burundian franc", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BMD", + "Symbol": "BD$", + "Name": "Bermudian dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BND", + "Symbol": "$", + "Name": "Brunei dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BOB", + "Symbol": "Bs.", + "Name": "Boliviano", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BRL", + "Symbol": "R$", + "Name": "Brazilian real", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BSD", + "Symbol": "B$", + "Name": "Bahamian dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BTN", + "Symbol": "Nu.", + "Name": "Bhutanese ngultrum", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BWP", + "Symbol": "P", + "Name": "Botswana pula", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BYN", + "Symbol": "Br", + "Name": "Belarusian ruble", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BYR", + "Symbol": "BR", + "Name": "Belarusian ruble", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "BZD", + "Symbol": "BZ$", + "Name": "Belize dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CAD", + "Symbol": "$", + "Name": "Canadian dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CDF", + "Symbol": "Fr", + "Name": "Congolese franc", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CHF", + "Symbol": "CHF", + "Name": "Swiss franc", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CLF", + "Symbol": "$", + "Name": "Unidad de Fomento", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CLP", + "Symbol": "$", + "Name": "Chilean peso", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CNH", + "Symbol": "¥", + "Name": "Chinese yuan - Offshore", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CNY", + "Symbol": "¥", + "Name": "Chinese yuan", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "COP", + "Symbol": "$", + "Name": "Colombian peso", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "COU", + "Symbol": "$", + "Name": "Unidad de Valor Real", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CRC", + "Symbol": "₡", + "Name": "Costa Rican colón", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CUC", + "Symbol": "$", + "Name": "Cuban convertible peso", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CUP", + "Symbol": "$", + "Name": "Cuban peso", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CVE", + "Symbol": "$", + "Name": "Cape Verdean escudo", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "CZK", + "Symbol": "Kč", + "Name": "Czech koruna", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "DJF", + "Symbol": "Fdj", + "Name": "Djiboutian franc", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "DKK", + "Symbol": "kr", + "Name": "Danish krone", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "DOP", + "Symbol": "RD$", + "Name": "Dominican peso", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "DZD", + "Symbol": "DA", + "Name": "Algerian dinar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "EGP", + "Symbol": "LE", + "Name": "Egyptian pound", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "ERN", + "Symbol": "Nfk", + "Name": "Eritrean nakfa", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "ETB", + "Symbol": "Br", + "Name": "Ethiopian birr", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "EUR", + "Symbol": "€", + "Name": "Euro", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "FJD", + "Symbol": "FJ$", + "Name": "Fiji dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "FKP", + "Symbol": "£", + "Name": "Falkland Islands pound", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "GBP", + "Symbol": "£", + "Name": "Pound sterling", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "GEL", + "Symbol": "ლ", + "Name": "Georgian lari", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "GHS", + "Symbol": "GH¢", + "Name": "Ghanaian cedi", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "GIP", + "Symbol": "£", + "Name": "Gibraltar pound", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "GMD", + "Symbol": "D", + "Name": "Gambian dalasi", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "GNF", + "Symbol": "FG", + "Name": "Guinean franc", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "GTQ", + "Symbol": "Q", + "Name": "Guatemalan Quetzal", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "GYD", + "Symbol": "$", + "Name": "Guyanese dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "HKD", + "Symbol": "$", + "Name": "Hong Kong dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "HNL", + "Symbol": "L", + "Name": "Honduran lempira", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "HRK", + "Symbol": "kn", + "Name": "Croatian kuna", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "HTG", + "Symbol": "G", + "Name": "Haitian gourde", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "HUF", + "Symbol": "Ft", + "Name": "Hungarian forint", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "IDR", + "Symbol": "Rp", + "Name": "Indonesian rupiah", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "ILS", + "Symbol": "₪", + "Name": "Israeli new shekel", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "INR", + "Symbol": "₹", + "Name": "Indian rupee", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "IQD", + "Symbol": "ع.د", + "Name": "Iraqi dinar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "IRR", + "Symbol": "﷼", + "Name": "Iranian rial", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "ISK", + "Symbol": "kr", + "Name": "Icelandic króna", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "JMD", + "Symbol": "$", + "Name": "Jamaican dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "JOD", + "Symbol": "د.ا", + "Name": "Jordanian dinar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "JPY", + "Symbol": "¥", + "Name": "Japanese yen", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "KES", + "Symbol": "KSh", + "Name": "Kenyan shilling", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "KGS", + "Symbol": "лв", + "Name": "Kyrgyzstani som", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "KHR", + "Symbol": "៛", + "Name": "Cambodian riel", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "KMF", + "Symbol": "CF", + "Name": "Comorian franc", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "KPW", + "Symbol": "₩", + "Name": "North Korean won", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "KRW", + "Symbol": "₩", + "Name": "South Korean won", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "KWD", + "Symbol": "د.ك", + "Name": "Kuwaiti dinar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "KYD", + "Symbol": "$", + "Name": "Cayman Islands dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "KZT", + "Symbol": "₸", + "Name": "Kazakhstani tenge", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "LAK", + "Symbol": "₭", + "Name": "Lao kip", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "LBP", + "Symbol": "ل.ل", + "Name": "Lebanese pound", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "LKR", + "Symbol": "Rs", + "Name": "Sri Lankan rupee", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "LRD", + "Symbol": "L$", + "Name": "Liberian dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "LSL", + "Symbol": "M", + "Name": "Lesotho loti", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "LTL", + "Symbol": "Lt", + "Name": "Lithuanian litas", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "LVL", + "Symbol": "Ls", + "Name": "Latvian lats", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "LYD", + "Symbol": "ل.د", + "Name": "Libyan dinar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MAD", + "Symbol": "DH", + "Name": "Moroccan dirham", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MDL", + "Symbol": "L", + "Name": "Moldovan leu", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MGA", + "Symbol": "Ar", + "Name": "Malagasy ariary", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MKD", + "Symbol": "ден", + "Name": "Macedonian denar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MMK", + "Symbol": "K", + "Name": "Myanmar kyat", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MNT", + "Symbol": "₮", + "Name": "Mongolian tögrög", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MOP", + "Symbol": "MOP$", + "Name": "Macanese pataca", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MRO", + "Symbol": "UM", + "Name": "Mauritanian ouguiya (old)", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MRU", + "Symbol": "UM", + "Name": "Mauritanian ouguiya", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MUR", + "Symbol": "Rs", + "Name": "Mauritian rupee", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MVR", + "Symbol": "Rf", + "Name": "Maldivian rufiyaa", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MWK", + "Symbol": "MK", + "Name": "Malawian kwacha", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MXN", + "Symbol": "$", + "Name": "Mexican peso", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MYR", + "Symbol": "RM", + "Name": "Malaysian ringgit", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "MZN", + "Symbol": "MT", + "Name": "Mozambican metical", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "NAD", + "Symbol": "$", + "Name": "Namibian dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "NGN", + "Symbol": "₦", + "Name": "Nigerian naira", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "NIO", + "Symbol": "C$", + "Name": "Nicaraguan córdoba", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "NOK", + "Symbol": "kr", + "Name": "Norwegian krone", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "NPR", + "Symbol": "₨", + "Name": "Nepalese rupee", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "NZD", + "Symbol": "$", + "Name": "New Zealand dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "OMR", + "Symbol": "ر.ع.", + "Name": "Omani rial", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "PAB", + "Symbol": "B/.", + "Name": "Panamanian balboa", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "PEN", + "Symbol": "S/", + "Name": "Peruvian sol", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "PGK", + "Symbol": "K", + "Name": "Papua New Guinean kina", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "PHP", + "Symbol": "₱", + "Name": "Philippine peso", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "PKR", + "Symbol": "Rs.", + "Name": "Pakistani rupee", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "PLN", + "Symbol": "zł", + "Name": "Polish złoty", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "PYG", + "Symbol": "₲", + "Name": "Paraguayan guaraní", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "QAR", + "Symbol": "QR", + "Name": "Qatari riyal", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "RON", + "Symbol": "lei", + "Name": "Romanian leu", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "RSD", + "Symbol": "din.", + "Name": "Serbian dinar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "RUB", + "Symbol": "руб", + "Name": "Russian ruble", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "RWF", + "Symbol": "RF", + "Name": "Rwandan franc", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SAR", + "Symbol": "SR", + "Name": "Saudi riyal", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SBD", + "Symbol": "SI$", + "Name": "Solomon Islands dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SCR", + "Symbol": "SR", + "Name": "Seychellois rupee", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SDG", + "Symbol": "ج.س.", + "Name": "Sudanese pound", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SEK", + "Symbol": "kr", + "Name": "Swedish krona", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SGD", + "Symbol": "S$", + "Name": "Singapore dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SHP", + "Symbol": "£", + "Name": "Saint Helena pound", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SLE", + "Symbol": "Le", + "Name": "Sierra Leonean leone", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SLL", + "Symbol": "Le", + "Name": "Sierra Leonean leone", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SOS", + "Symbol": "Sh.", + "Name": "Somali shilling", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SRD", + "Symbol": "$", + "Name": "Surinamese dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SSP", + "Symbol": "£", + "Name": "South Sudanese pound", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "STD", + "Symbol": "Db", + "Name": "São Tomé and Príncipe dobra", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "STN", + "Symbol": "Db", + "Name": "São Tomé and Príncipe dobra", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SVC", + "Symbol": "¢", + "Name": "Salvadoran Colon", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SYP", + "Symbol": "£", + "Name": "Syrian pound", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "SZL", + "Symbol": "E", + "Name": "Swazi lilangeni", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "THB", + "Symbol": "฿", + "Name": "Thai baht", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "TJS", + "Symbol": "TJS", + "Name": "Tajikistani somoni", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "TMT", + "Symbol": "T", + "Name": "Turkmenistan manat", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "TND", + "Symbol": "DT", + "Name": "Tunisian dinar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "TOP", + "Symbol": "T$", + "Name": "Tongan paʻanga", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "TTD", + "Symbol": "$", + "Name": "Trinidad and Tobago dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "TWD", + "Symbol": "NT$", + "Name": "New Taiwan dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "TZS", + "Symbol": "TSh", + "Name": "Tanzanian shilling", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "UAH", + "Symbol": "₴", + "Name": "Ukraine Hryvnia", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "UGX", + "Symbol": "USh", + "Name": "Ugandan shilling", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "UYI", + "Symbol": "$", + "Name": "Uruguay Peso en Unidades Indexadas", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "UYU", + "Symbol": "$", + "Name": "Uruguayan peso", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "UYW", + "Symbol": "$", + "Name": "Unidad previsional", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "UZS", + "Symbol": "лв", + "Name": "Uzbekistan som", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "VEF", + "Symbol": "Bs.F", + "Name": "Venezuelan bolívar fuerte", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "VES", + "Symbol": "Bs", + "Name": "Venezuelan bolívar soberano", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "VND", + "Symbol": "₫", + "Name": "Vietnamese đồng", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "VUV", + "Symbol": "VT", + "Name": "Vanuatu vatu", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "WST", + "Symbol": "WS$", + "Name": "Samoan tālā", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "XAF", + "Symbol": "FCFA", + "Name": "CFA franc BEAC", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "XCD", + "Symbol": "$", + "Name": "East Caribbean dollar", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "XOF", + "Symbol": "CFA", + "Name": "CFA franc BCEAO", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "XPF", + "Symbol": "XPF", + "Name": "CFP franc", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "YER", + "Symbol": "﷼", + "Name": "Yemeni rial", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "ZAR", + "Symbol": "R", + "Name": "South African rand", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "ZIG", + "Symbol": "ZiG", + "Name": "Zimbabwe Gold", + "Rate": 1.0, + "IsActive": false + }, + { + "Code": "ZMW", + "Symbol": "ZK", + "Name": "Zambian kwacha", + "Rate": 1.0, + "IsActive": false + } + ], + "CountryGroups": [ + { "Name": "European Union" }, + { "Name": "Güney Amerika" }, + { "Name": "SEPA Ülkeleri" }, + { "Name": "Körfez İşbirliği Konseyi (KİK)" }, + { "Name": "Eurasian Economic Union" }, + { "Name": "İsviçre ve Lihtenştayn" } + ], + "Countries": [ + { + "Name": "Andorra", + "Code": "AD", + "CurrencyCode": "EUR", + "PhoneCode": "376", + "TaxLabel": "" + }, + { + "Name": "Birleşik Arap Emirlikleri", + "Code": "AE", + "CurrencyCode": "AED", + "PhoneCode": "971", + "TaxLabel": "" + }, + { + "Name": "Afganistan", + "Code": "AF", + "CurrencyCode": "AFN", + "PhoneCode": "93", + "TaxLabel": "" + }, + { + "Name": "Antigua ve Barbuda", + "Code": "AG", + "CurrencyCode": "USD", + "PhoneCode": "1,268", + "TaxLabel": "" + }, + { + "Name": "Anguilla", + "Code": "AI", + "CurrencyCode": "USD", + "PhoneCode": "1,264", + "TaxLabel": "" + }, + { + "Name": "Arnavutluk", + "Code": "AL", + "CurrencyCode": "ALL", + "PhoneCode": "355", + "TaxLabel": "" + }, + { + "Name": "Ermenistan", + "Code": "AM", + "CurrencyCode": "AMD", + "PhoneCode": "374", + "TaxLabel": "" + }, + { + "Name": "Angola", + "Code": "AO", + "CurrencyCode": "AOA", + "PhoneCode": "244", + "TaxLabel": "" + }, + { + "Name": "Antartika", + "Code": "AQ", + "CurrencyCode": "USD", + "PhoneCode": "672", + "TaxLabel": "" + }, + { + "Name": "Arjantin", + "Code": "AR", + "CurrencyCode": "ARS", + "PhoneCode": "54", + "TaxLabel": "CUIT" + }, + { + "Name": "Amerikan Samoası", + "Code": "AS", + "CurrencyCode": "USD", + "PhoneCode": "1,684", + "TaxLabel": "" + }, + { + "Name": "Avusturya", + "Code": "AT", + "CurrencyCode": "EUR", + "PhoneCode": "43", + "TaxLabel": "USt" + }, + { + "Name": "Avustralya", + "Code": "AU", + "CurrencyCode": "AUD", + "PhoneCode": "61", + "TaxLabel": "ABN" + }, + { + "Name": "Aruba", + "Code": "AW", + "CurrencyCode": "AWG", + "PhoneCode": "297", + "TaxLabel": "" + }, + { + "Name": "Aland Adaları", + "Code": "AX", + "CurrencyCode": "EUR", + "PhoneCode": "358", + "TaxLabel": "" + }, + { + "Name": "Azerbaycan", + "Code": "AZ", + "CurrencyCode": "AZN", + "PhoneCode": "994", + "TaxLabel": "" + }, + { + "Name": "Bosna-Hersek", + "Code": "BA", + "CurrencyCode": "BAM", + "PhoneCode": "387", + "TaxLabel": "" + }, + { + "Name": "Barbados", + "Code": "BB", + "CurrencyCode": "BBD", + "PhoneCode": "1,246", + "TaxLabel": "" + }, + { + "Name": "Bangladeş", + "Code": "BD", + "CurrencyCode": "BDT", + "PhoneCode": "880", + "TaxLabel": "" + }, + { + "Name": "Belçika", + "Code": "BE", + "CurrencyCode": "EUR", + "PhoneCode": "32", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Burkina Faso", + "Code": "BF", + "CurrencyCode": "XOF", + "PhoneCode": "226", + "TaxLabel": "" + }, + { + "Name": "Bulgaristan", + "Code": "BG", + "CurrencyCode": "", + "PhoneCode": "359", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Bahreyn", + "Code": "BH", + "CurrencyCode": "", + "PhoneCode": "973", + "TaxLabel": "" + }, + { + "Name": "Burundi", + "Code": "BI", + "CurrencyCode": "", + "PhoneCode": "257", + "TaxLabel": "" + }, + { + "Name": "Benin", + "Code": "BJ", + "CurrencyCode": "XOF", + "PhoneCode": "229", + "TaxLabel": "" + }, + { + "Name": "Saint Barthelemy", + "Code": "BL", + "CurrencyCode": "EUR", + "PhoneCode": "590", + "TaxLabel": "" + }, + { + "Name": "Bermuda", + "Code": "BM", + "CurrencyCode": "", + "PhoneCode": "1,441", + "TaxLabel": "" + }, + { + "Name": "Brunei", + "Code": "BN", + "CurrencyCode": "", + "PhoneCode": "673", + "TaxLabel": "" + }, + { + "Name": "Bolivya", + "Code": "BO", + "CurrencyCode": "", + "PhoneCode": "591", + "TaxLabel": "" + }, + { + "Name": "Bonaire, Sint Eustatius and Saba", + "Code": "BQ", + "CurrencyCode": "USD", + "PhoneCode": "599", + "TaxLabel": "" + }, + { + "Name": "Brezilya", + "Code": "BR", + "CurrencyCode": "", + "PhoneCode": "55", + "TaxLabel": "" + }, + { + "Name": "Bahamalar", + "Code": "BS", + "CurrencyCode": "", + "PhoneCode": "1,242", + "TaxLabel": "" + }, + { + "Name": "Bhutan", + "Code": "BT", + "CurrencyCode": "", + "PhoneCode": "975", + "TaxLabel": "" + }, + { + "Name": "Bouvet Adası", + "Code": "BV", + "CurrencyCode": "", + "PhoneCode": "55", + "TaxLabel": "" + }, + { + "Name": "Botsvana", + "Code": "BW", + "CurrencyCode": "BWP", + "PhoneCode": "267", + "TaxLabel": "" + }, + { + "Name": "Belarus", + "Code": "BY", + "CurrencyCode": "BYN", + "PhoneCode": "375", + "TaxLabel": "" + }, + { + "Name": "Belize", + "Code": "BZ", + "CurrencyCode": "BZD", + "PhoneCode": "501", + "TaxLabel": "" + }, + { + "Name": "Kanada", + "Code": "CA", + "CurrencyCode": "CAD", + "PhoneCode": "1", + "TaxLabel": "" + }, + { + "Name": "Kokos (Keeling) Adaları", + "Code": "CC", + "CurrencyCode": "AUD", + "PhoneCode": "61", + "TaxLabel": "" + }, + { + "Name": "Orta Afrika Cumhuriyeti", + "Code": "CF", + "CurrencyCode": "", + "PhoneCode": "236", + "TaxLabel": "" + }, + { + "Name": "Kongo Demokratik Cumhuriyeti", + "Code": "CD", + "CurrencyCode": "", + "PhoneCode": "243", + "TaxLabel": "" + }, + { + "Name": "Kongo", + "Code": "CG", + "CurrencyCode": "", + "PhoneCode": "242", + "TaxLabel": "" + }, + { + "Name": "İsviçre", + "Code": "CH", + "CurrencyCode": "CHF", + "PhoneCode": "41", + "TaxLabel": "" + }, + { + "Name": "Fildişi Sahili", + "Code": "CI", + "CurrencyCode": "XOF", + "PhoneCode": "225", + "TaxLabel": "" + }, + { + "Name": "Cook Adaları", + "Code": "CK", + "CurrencyCode": "", + "PhoneCode": "682", + "TaxLabel": "" + }, + { + "Name": "Şili", + "Code": "CL", + "CurrencyCode": "CLP", + "PhoneCode": "56", + "TaxLabel": "" + }, + { + "Name": "Kamerun", + "Code": "CM", + "CurrencyCode": "", + "PhoneCode": "237", + "TaxLabel": "" + }, + { + "Name": "Çin Halk Cumhuriyeti", + "Code": "CN", + "CurrencyCode": "CNY", + "PhoneCode": "86", + "TaxLabel": "" + }, + { + "Name": "Kolombiya", + "Code": "CO", + "CurrencyCode": "COP", + "PhoneCode": "57", + "TaxLabel": "NIT" + }, + { + "Name": "Kosta Rika", + "Code": "CR", + "CurrencyCode": "CRC", + "PhoneCode": "506", + "TaxLabel": "" + }, + { + "Name": "Küba", + "Code": "CU", + "CurrencyCode": "CUP", + "PhoneCode": "53", + "TaxLabel": "" + }, + { + "Name": "Cape Verde", + "Code": "CV", + "CurrencyCode": "", + "PhoneCode": "238", + "TaxLabel": "" + }, + { + "Name": "Curacao", + "Code": "CW", + "CurrencyCode": "ANG", + "PhoneCode": "599", + "TaxLabel": "" + }, + { + "Name": "Christmas Adası", + "Code": "CX", + "CurrencyCode": "AUD", + "PhoneCode": "61", + "TaxLabel": "" + }, + { + "Name": "Kıbrıs Rum Kesimi", + "Code": "CY", + "CurrencyCode": "EUR", + "PhoneCode": "357", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Çek Cumhuriyeti", + "Code": "CZ", + "CurrencyCode": "", + "PhoneCode": "420", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Almanya", + "Code": "DE", + "CurrencyCode": "EUR", + "PhoneCode": "49", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Cibuti", + "Code": "DJ", + "CurrencyCode": "", + "PhoneCode": "253", + "TaxLabel": "" + }, + { + "Name": "Danimarka", + "Code": "DK", + "CurrencyCode": "", + "PhoneCode": "45", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Dominika", + "Code": "DM", + "CurrencyCode": "USD", + "PhoneCode": "1,767", + "TaxLabel": "" + }, + { + "Name": "Dominik Cumhuriyeti", + "Code": "DO", + "CurrencyCode": "", + "PhoneCode": "1,849", + "TaxLabel": "RNC" + }, + { + "Name": "Cezayir", + "Code": "DZ", + "CurrencyCode": "DZD", + "PhoneCode": "213", + "TaxLabel": "" + }, + { + "Name": "Ekvador", + "Code": "EC", + "CurrencyCode": "USD", + "PhoneCode": "593", + "TaxLabel": "RUC" + }, + { + "Name": "Estonya", + "Code": "EE", + "CurrencyCode": "EUR", + "PhoneCode": "372", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Mısır", + "Code": "EG", + "CurrencyCode": "", + "PhoneCode": "20", + "TaxLabel": "" + }, + { + "Name": "Batı Sahra", + "Code": "EH", + "CurrencyCode": "", + "PhoneCode": "212", + "TaxLabel": "" + }, + { + "Name": "Eritre", + "Code": "ER", + "CurrencyCode": "", + "PhoneCode": "291", + "TaxLabel": "" + }, + { + "Name": "İspanya", + "Code": "ES", + "CurrencyCode": "EUR", + "PhoneCode": "34", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Etiyopya", + "Code": "ET", + "CurrencyCode": "", + "PhoneCode": "251", + "TaxLabel": "" + }, + { + "Name": "Finlandiya", + "Code": "FI", + "CurrencyCode": "EUR", + "PhoneCode": "358", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Fiji", + "Code": "FJ", + "CurrencyCode": "", + "PhoneCode": "679", + "TaxLabel": "" + }, + { + "Name": "Falkland Adaları", + "Code": "FK", + "CurrencyCode": "", + "PhoneCode": "500", + "TaxLabel": "" + }, + { + "Name": "Mikronezya", + "Code": "FM", + "CurrencyCode": "USD", + "PhoneCode": "691", + "TaxLabel": "" + }, + { + "Name": "Faroe Adaları", + "Code": "FO", + "CurrencyCode": "", + "PhoneCode": "298", + "TaxLabel": "" + }, + { + "Name": "Fransa", + "Code": "FR", + "CurrencyCode": "EUR", + "PhoneCode": "33", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Gabon", + "Code": "GA", + "CurrencyCode": "", + "PhoneCode": "241", + "TaxLabel": "" + }, + { + "Name": "Grenada", + "Code": "GD", + "CurrencyCode": "USD", + "PhoneCode": "1,473", + "TaxLabel": "" + }, + { + "Name": "Gürcistan", + "Code": "GE", + "CurrencyCode": "", + "PhoneCode": "995", + "TaxLabel": "" + }, + { + "Name": "Fransız Guyanası", + "Code": "GF", + "CurrencyCode": "EUR", + "PhoneCode": "594", + "TaxLabel": "" + }, + { + "Name": "Gana", + "Code": "GH", + "CurrencyCode": "", + "PhoneCode": "233", + "TaxLabel": "" + }, + { + "Name": "Cebelitarık", + "Code": "GI", + "CurrencyCode": "", + "PhoneCode": "350", + "TaxLabel": "" + }, + { + "Name": "Guernsey", + "Code": "GG", + "CurrencyCode": "", + "PhoneCode": "44", + "TaxLabel": "" + }, + { + "Name": "Grönland", + "Code": "GL", + "CurrencyCode": "", + "PhoneCode": "299", + "TaxLabel": "" + }, + { + "Name": "Gambiya", + "Code": "GM", + "CurrencyCode": "", + "PhoneCode": "220", + "TaxLabel": "" + }, + { + "Name": "Gine", + "Code": "GN", + "CurrencyCode": "", + "PhoneCode": "224", + "TaxLabel": "" + }, + { + "Name": "Guadelup", + "Code": "GP", + "CurrencyCode": "EUR", + "PhoneCode": "590", + "TaxLabel": "" + }, + { + "Name": "Ekvator Ginesi", + "Code": "GQ", + "CurrencyCode": "", + "PhoneCode": "240", + "TaxLabel": "" + }, + { + "Name": "Yunanistan", + "Code": "GR", + "CurrencyCode": "EUR", + "PhoneCode": "30", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Güney Georgia ve Güney Sandwich Adaları", + "Code": "GS", + "CurrencyCode": "", + "PhoneCode": "500", + "TaxLabel": "" + }, + { + "Name": "Guatemala", + "Code": "GT", + "CurrencyCode": "", + "PhoneCode": "502", + "TaxLabel": "NIT" + }, + { + "Name": "Guam", + "Code": "GU", + "CurrencyCode": "USD", + "PhoneCode": "1,671", + "TaxLabel": "" + }, + { + "Name": "Gine-Bissau", + "Code": "GW", + "CurrencyCode": "XOF", + "PhoneCode": "245", + "TaxLabel": "" + }, + { + "Name": "Guyana", + "Code": "GY", + "CurrencyCode": "", + "PhoneCode": "592", + "TaxLabel": "" + }, + { + "Name": "Hong Kong", + "Code": "HK", + "CurrencyCode": "", + "PhoneCode": "852", + "TaxLabel": "" + }, + { + "Name": "Heard Adası ve McDonald Adaları", + "Code": "HM", + "CurrencyCode": "AUD", + "PhoneCode": "672", + "TaxLabel": "" + }, + { + "Name": "Honduras", + "Code": "HN", + "CurrencyCode": "", + "PhoneCode": "504", + "TaxLabel": "RTN" + }, + { + "Name": "Hırvatistan", + "Code": "HR", + "CurrencyCode": "EUR", + "PhoneCode": "385", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Haiti", + "Code": "HT", + "CurrencyCode": "", + "PhoneCode": "509", + "TaxLabel": "" + }, + { + "Name": "Macaristan", + "Code": "HU", + "CurrencyCode": "", + "PhoneCode": "36", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Endonezya", + "Code": "ID", + "CurrencyCode": "", + "PhoneCode": "62", + "TaxLabel": "NPWP" + }, + { + "Name": "İrlanda", + "Code": "IE", + "CurrencyCode": "EUR", + "PhoneCode": "353", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "İsrail", + "Code": "IL", + "CurrencyCode": "ILS", + "PhoneCode": "972", + "TaxLabel": "" + }, + { + "Name": "Man Adası", + "Code": "IM", + "CurrencyCode": "", + "PhoneCode": "44", + "TaxLabel": "" + }, + { + "Name": "Hindistan", + "Code": "IN", + "CurrencyCode": "", + "PhoneCode": "91", + "TaxLabel": "GSTIN" + }, + { + "Name": "İngiliz Hint Okyanusu Toprağı", + "Code": "IO", + "CurrencyCode": "USD", + "PhoneCode": "246", + "TaxLabel": "" + }, + { + "Name": "Irak", + "Code": "IQ", + "CurrencyCode": "", + "PhoneCode": "964", + "TaxLabel": "" + }, + { + "Name": "İran", + "Code": "IR", + "CurrencyCode": "", + "PhoneCode": "98", + "TaxLabel": "" + }, + { + "Name": "İzlanda", + "Code": "IS", + "CurrencyCode": "", + "PhoneCode": "354", + "TaxLabel": "" + }, + { + "Name": "İtalya", + "Code": "IT", + "CurrencyCode": "EUR", + "PhoneCode": "39", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Jersey", + "Code": "JE", + "CurrencyCode": "", + "PhoneCode": "44", + "TaxLabel": "" + }, + { + "Name": "Jamaika", + "Code": "JM", + "CurrencyCode": "", + "PhoneCode": "1,876", + "TaxLabel": "" + }, + { + "Name": "Ürdün", + "Code": "JO", + "CurrencyCode": "", + "PhoneCode": "962", + "TaxLabel": "" + }, + { + "Name": "Japonya", + "Code": "JP", + "CurrencyCode": "", + "PhoneCode": "81", + "TaxLabel": "" + }, + { + "Name": "Kenya", + "Code": "KE", + "CurrencyCode": "", + "PhoneCode": "254", + "TaxLabel": "" + }, + { + "Name": "Kırgızistan", + "Code": "KG", + "CurrencyCode": "", + "PhoneCode": "996", + "TaxLabel": "" + }, + { + "Name": "Kamboçya", + "Code": "KH", + "CurrencyCode": "", + "PhoneCode": "855", + "TaxLabel": "" + }, + { + "Name": "Kiribati", + "Code": "KI", + "CurrencyCode": "AUD", + "PhoneCode": "686", + "TaxLabel": "" + }, + { + "Name": "Komorlar", + "Code": "KM", + "CurrencyCode": "", + "PhoneCode": "269", + "TaxLabel": "" + }, + { + "Name": "Saint Kitts ve Nevis", + "Code": "KN", + "CurrencyCode": "USD", + "PhoneCode": "1,869", + "TaxLabel": "" + }, + { + "Name": "Kuzey Kore", + "Code": "KP", + "CurrencyCode": "", + "PhoneCode": "850", + "TaxLabel": "" + }, + { + "Name": "Güney Kore", + "Code": "KR", + "CurrencyCode": "", + "PhoneCode": "82", + "TaxLabel": "" + }, + { + "Name": "Kuveyt", + "Code": "KW", + "CurrencyCode": "", + "PhoneCode": "965", + "TaxLabel": "" + }, + { + "Name": "Kayman Adaları", + "Code": "KY", + "CurrencyCode": "", + "PhoneCode": "1,345", + "TaxLabel": "" + }, + { + "Name": "Kazakistan", + "Code": "KZ", + "CurrencyCode": "", + "PhoneCode": "7", + "TaxLabel": "" + }, + { + "Name": "Laos", + "Code": "LA", + "CurrencyCode": "", + "PhoneCode": "856", + "TaxLabel": "" + }, + { + "Name": "Lübnan", + "Code": "LB", + "CurrencyCode": "", + "PhoneCode": "961", + "TaxLabel": "" + }, + { + "Name": "Saint Lucia", + "Code": "LC", + "CurrencyCode": "USD", + "PhoneCode": "1,758", + "TaxLabel": "" + }, + { + "Name": "Lihtenştayn", + "Code": "LI", + "CurrencyCode": "CHF", + "PhoneCode": "423", + "TaxLabel": "" + }, + { + "Name": "Sri Lanka", + "Code": "LK", + "CurrencyCode": "", + "PhoneCode": "94", + "TaxLabel": "" + }, + { + "Name": "Liberya", + "Code": "LR", + "CurrencyCode": "", + "PhoneCode": "231", + "TaxLabel": "" + }, + { + "Name": "Lesotho", + "Code": "LS", + "CurrencyCode": "", + "PhoneCode": "266", + "TaxLabel": "" + }, + { + "Name": "Litvanya", + "Code": "LT", + "CurrencyCode": "EUR", + "PhoneCode": "370", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Lüksemburg", + "Code": "LU", + "CurrencyCode": "EUR", + "PhoneCode": "352", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Letonya", + "Code": "LV", + "CurrencyCode": "EUR", + "PhoneCode": "371", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Libya", + "Code": "LY", + "CurrencyCode": "", + "PhoneCode": "218", + "TaxLabel": "" + }, + { + "Name": "Fas", + "Code": "MA", + "CurrencyCode": "", + "PhoneCode": "212", + "TaxLabel": "" + }, + { + "Name": "Monako", + "Code": "MC", + "CurrencyCode": "EUR", + "PhoneCode": "377", + "TaxLabel": "" + }, + { + "Name": "Moldova Cumhuriyeti", + "Code": "MD", + "CurrencyCode": "", + "PhoneCode": "373", + "TaxLabel": "" + }, + { + "Name": "Karadağ", + "Code": "ME", + "CurrencyCode": "EUR", + "PhoneCode": "382", + "TaxLabel": "" + }, + { + "Name": "Saint Martin (Fransız kısmı)", + "Code": "MF", + "CurrencyCode": "EUR", + "PhoneCode": "590", + "TaxLabel": "" + }, + { + "Name": "Madagaskar", + "Code": "MG", + "CurrencyCode": "", + "PhoneCode": "261", + "TaxLabel": "" + }, + { + "Name": "Marshall Adaları", + "Code": "MH", + "CurrencyCode": "USD", + "PhoneCode": "692", + "TaxLabel": "" + }, + { + "Name": "Makedonya", + "Code": "MK", + "CurrencyCode": "", + "PhoneCode": "389", + "TaxLabel": "" + }, + { + "Name": "Mali", + "Code": "ML", + "CurrencyCode": "XOF", + "PhoneCode": "223", + "TaxLabel": "" + }, + { + "Name": "Myanmar", + "Code": "MM", + "CurrencyCode": "", + "PhoneCode": "95", + "TaxLabel": "" + }, + { + "Name": "Moğolistan", + "Code": "MN", + "CurrencyCode": "", + "PhoneCode": "976", + "TaxLabel": "" + }, + { + "Name": "Makao", + "Code": "MO", + "CurrencyCode": "", + "PhoneCode": "853", + "TaxLabel": "" + }, + { + "Name": "Kuzey Mariana Adaları", + "Code": "MP", + "CurrencyCode": "USD", + "PhoneCode": "1,670", + "TaxLabel": "" + }, + { + "Name": "Martinik", + "Code": "MQ", + "CurrencyCode": "EUR", + "PhoneCode": "596", + "TaxLabel": "" + }, + { + "Name": "Moritanya", + "Code": "MR", + "CurrencyCode": "", + "PhoneCode": "222", + "TaxLabel": "" + }, + { + "Name": "Montserrat", + "Code": "MS", + "CurrencyCode": "USD", + "PhoneCode": "1,664", + "TaxLabel": "" + }, + { + "Name": "Malta", + "Code": "MT", + "CurrencyCode": "EUR", + "PhoneCode": "356", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Mauritius", + "Code": "MU", + "CurrencyCode": "", + "PhoneCode": "230", + "TaxLabel": "" + }, + { + "Name": "Maldivler", + "Code": "MV", + "CurrencyCode": "", + "PhoneCode": "960", + "TaxLabel": "" + }, + { + "Name": "Malavi", + "Code": "MW", + "CurrencyCode": "", + "PhoneCode": "265", + "TaxLabel": "" + }, + { + "Name": "Solomon Adaları", + "Code": "SB", + "CurrencyCode": "", + "PhoneCode": "677", + "TaxLabel": "" + }, + { + "Name": "Meksika", + "Code": "MX", + "CurrencyCode": "", + "PhoneCode": "52", + "TaxLabel": "RFC" + }, + { + "Name": "Malezya", + "Code": "MY", + "CurrencyCode": "", + "PhoneCode": "60", + "TaxLabel": "" + }, + { + "Name": "Mozambik", + "Code": "MZ", + "CurrencyCode": "", + "PhoneCode": "258", + "TaxLabel": "" + }, + { + "Name": "Namibya", + "Code": "NA", + "CurrencyCode": "", + "PhoneCode": "264", + "TaxLabel": "" + }, + { + "Name": "Yeni Kaledonya", + "Code": "NC", + "CurrencyCode": "", + "PhoneCode": "687", + "TaxLabel": "" + }, + { + "Name": "Nijer", + "Code": "NE", + "CurrencyCode": "XOF", + "PhoneCode": "227", + "TaxLabel": "" + }, + { + "Name": "Norfolk Adası", + "Code": "NF", + "CurrencyCode": "AUD", + "PhoneCode": "672", + "TaxLabel": "" + }, + { + "Name": "Nijerya", + "Code": "NG", + "CurrencyCode": "", + "PhoneCode": "234", + "TaxLabel": "" + }, + { + "Name": "Nikaragua", + "Code": "NI", + "CurrencyCode": "", + "PhoneCode": "505", + "TaxLabel": "" + }, + { + "Name": "Hollanda", + "Code": "NL", + "CurrencyCode": "EUR", + "PhoneCode": "31", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Norveç", + "Code": "NO", + "CurrencyCode": "", + "PhoneCode": "47", + "TaxLabel": "" + }, + { + "Name": "Nepal", + "Code": "NP", + "CurrencyCode": "", + "PhoneCode": "977", + "TaxLabel": "" + }, + { + "Name": "Nauru", + "Code": "NR", + "CurrencyCode": "AUD", + "PhoneCode": "674", + "TaxLabel": "" + }, + { + "Name": "Niue", + "Code": "NU", + "CurrencyCode": "", + "PhoneCode": "683", + "TaxLabel": "" + }, + { + "Name": "Yeni Zelanda", + "Code": "NZ", + "CurrencyCode": "", + "PhoneCode": "64", + "TaxLabel": "" + }, + { + "Name": "Umman", + "Code": "OM", + "CurrencyCode": "", + "PhoneCode": "968", + "TaxLabel": "" + }, + { + "Name": "Panama", + "Code": "PA", + "CurrencyCode": "", + "PhoneCode": "507", + "TaxLabel": "RUC" + }, + { + "Name": "Peru", + "Code": "PE", + "CurrencyCode": "", + "PhoneCode": "51", + "TaxLabel": "RUC" + }, + { + "Name": "Fransız Polinezyası", + "Code": "PF", + "CurrencyCode": "", + "PhoneCode": "689", + "TaxLabel": "N° Tahiti" + }, + { + "Name": "Papua Yeni Gine", + "Code": "PG", + "CurrencyCode": "", + "PhoneCode": "675", + "TaxLabel": "" + }, + { + "Name": "Filipinler", + "Code": "PH", + "CurrencyCode": "", + "PhoneCode": "63", + "TaxLabel": "" + }, + { + "Name": "Pakistan", + "Code": "PK", + "CurrencyCode": "", + "PhoneCode": "92", + "TaxLabel": "" + }, + { + "Name": "Polonya", + "Code": "PL", + "CurrencyCode": "", + "PhoneCode": "48", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Saint Pierre ve Mikelon", + "Code": "PM", + "CurrencyCode": "EUR", + "PhoneCode": "508", + "TaxLabel": "" + }, + { + "Name": "Pitcairn", + "Code": "PN", + "CurrencyCode": "", + "PhoneCode": "64", + "TaxLabel": "" + }, + { + "Name": "Porto Riko", + "Code": "PR", + "CurrencyCode": "USD", + "PhoneCode": "1,939", + "TaxLabel": "" + }, + { + "Name": "İşgal Altındaki Filistin Toprağı", + "Code": "PS", + "CurrencyCode": "ILS", + "PhoneCode": "970", + "TaxLabel": "" + }, + { + "Name": "Portekiz", + "Code": "PT", + "CurrencyCode": "EUR", + "PhoneCode": "351", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Palau", + "Code": "PW", + "CurrencyCode": "USD", + "PhoneCode": "680", + "TaxLabel": "" + }, + { + "Name": "Paraguay", + "Code": "PY", + "CurrencyCode": "", + "PhoneCode": "595", + "TaxLabel": "" + }, + { + "Name": "Katar", + "Code": "QA", + "CurrencyCode": "", + "PhoneCode": "974", + "TaxLabel": "" + }, + { + "Name": "Reunion", + "Code": "RE", + "CurrencyCode": "EUR", + "PhoneCode": "262", + "TaxLabel": "" + }, + { + "Name": "Romanya", + "Code": "RO", + "CurrencyCode": "", + "PhoneCode": "40", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Sırbistan", + "Code": "RS", + "CurrencyCode": "", + "PhoneCode": "381", + "TaxLabel": "" + }, + { + "Name": "Rusya Federasyonu", + "Code": "RU", + "CurrencyCode": "", + "PhoneCode": "7", + "TaxLabel": "" + }, + { + "Name": "Ruanda", + "Code": "RW", + "CurrencyCode": "", + "PhoneCode": "250", + "TaxLabel": "" + }, + { + "Name": "Suudi Arabistan", + "Code": "SA", + "CurrencyCode": "", + "PhoneCode": "966", + "TaxLabel": "" + }, + { + "Name": "Seyşeller", + "Code": "SC", + "CurrencyCode": "", + "PhoneCode": "248", + "TaxLabel": "" + }, + { + "Name": "Sudan", + "Code": "SD", + "CurrencyCode": "", + "PhoneCode": "249", + "TaxLabel": "" + }, + { + "Name": "İsveç", + "Code": "SE", + "CurrencyCode": "", + "PhoneCode": "46", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Singapur", + "Code": "SG", + "CurrencyCode": "", + "PhoneCode": "65", + "TaxLabel": "GST No." + }, + { + "Name": "Saint Helena", + "Code": "SH", + "CurrencyCode": "", + "PhoneCode": "290", + "TaxLabel": "" + }, + { + "Name": "Slovenya", + "Code": "SI", + "CurrencyCode": "EUR", + "PhoneCode": "386", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Svalbard ve Jan Mayen", + "Code": "SJ", + "CurrencyCode": "", + "PhoneCode": "47", + "TaxLabel": "" + }, + { + "Name": "Slovakya", + "Code": "SK", + "CurrencyCode": "EUR", + "PhoneCode": "421", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Sierra Leone", + "Code": "SL", + "CurrencyCode": "", + "PhoneCode": "232", + "TaxLabel": "" + }, + { + "Name": "San Marino", + "Code": "SM", + "CurrencyCode": "EUR", + "PhoneCode": "378", + "TaxLabel": "" + }, + { + "Name": "Senegal", + "Code": "SN", + "CurrencyCode": "XOF", + "PhoneCode": "221", + "TaxLabel": "" + }, + { + "Name": "Somali", + "Code": "SO", + "CurrencyCode": "", + "PhoneCode": "252", + "TaxLabel": "" + }, + { + "Name": "Surinam", + "Code": "SR", + "CurrencyCode": "", + "PhoneCode": "597", + "TaxLabel": "" + }, + { + "Name": "South Sudan", + "Code": "SS", + "CurrencyCode": "", + "PhoneCode": "211", + "TaxLabel": "" + }, + { + "Name": "Sao Tome ve Principe", + "Code": "ST", + "CurrencyCode": "", + "PhoneCode": "239", + "TaxLabel": "" + }, + { + "Name": "El Salvador", + "Code": "SV", + "CurrencyCode": "", + "PhoneCode": "503", + "TaxLabel": "" + }, + { + "Name": "Sint Maarten", + "Code": "SX", + "CurrencyCode": "ANG", + "PhoneCode": "1,721", + "TaxLabel": "" + }, + { + "Name": "Suriye", + "Code": "SY", + "CurrencyCode": "", + "PhoneCode": "963", + "TaxLabel": "" + }, + { + "Name": "Svaziland", + "Code": "SZ", + "CurrencyCode": "", + "PhoneCode": "268", + "TaxLabel": "" + }, + { + "Name": "Turks ve Caicos Adaları", + "Code": "TC", + "CurrencyCode": "USD", + "PhoneCode": "1,649", + "TaxLabel": "" + }, + { + "Name": "Çad", + "Code": "TD", + "CurrencyCode": "", + "PhoneCode": "235", + "TaxLabel": "" + }, + { + "Name": "Fransız Güney Toprakları", + "Code": "TF", + "CurrencyCode": "EUR", + "PhoneCode": "262", + "TaxLabel": "" + }, + { + "Name": "Togo", + "Code": "TG", + "CurrencyCode": "XOF", + "PhoneCode": "228", + "TaxLabel": "" + }, + { + "Name": "Tayland", + "Code": "TH", + "CurrencyCode": "", + "PhoneCode": "66", + "TaxLabel": "" + }, + { + "Name": "Tacikistan", + "Code": "TJ", + "CurrencyCode": "", + "PhoneCode": "992", + "TaxLabel": "" + }, + { + "Name": "Tokelau", + "Code": "TK", + "CurrencyCode": "", + "PhoneCode": "690", + "TaxLabel": "" + }, + { + "Name": "Türkmenistan", + "Code": "TM", + "CurrencyCode": "", + "PhoneCode": "993", + "TaxLabel": "" + }, + { + "Name": "Tunus", + "Code": "TN", + "CurrencyCode": "", + "PhoneCode": "216", + "TaxLabel": "" + }, + { + "Name": "Tonga", + "Code": "TO", + "CurrencyCode": "", + "PhoneCode": "676", + "TaxLabel": "" + }, + { + "Name": "Doğu Timor", + "Code": "TL", + "CurrencyCode": "USD", + "PhoneCode": "670", + "TaxLabel": "" + }, + { + "Name": "Türkiye", + "Code": "TR", + "CurrencyCode": "TRY", + "PhoneCode": "90", + "TaxLabel": "" + }, + { + "Name": "Trinidad ve Tobago", + "Code": "TT", + "CurrencyCode": "", + "PhoneCode": "1,868", + "TaxLabel": "" + }, + { + "Name": "Tuvalu", + "Code": "TV", + "CurrencyCode": "AUD", + "PhoneCode": "688", + "TaxLabel": "" + }, + { + "Name": "Tayvan", + "Code": "TW", + "CurrencyCode": "", + "PhoneCode": "886", + "TaxLabel": "" + }, + { + "Name": "Tanzanya Birleşik Cumhuriyeti", + "Code": "TZ", + "CurrencyCode": "", + "PhoneCode": "255", + "TaxLabel": "" + }, + { + "Name": "Ukrayna", + "Code": "UA", + "CurrencyCode": "", + "PhoneCode": "380", + "TaxLabel": "" + }, + { + "Name": "Uganda", + "Code": "UG", + "CurrencyCode": "", + "PhoneCode": "256", + "TaxLabel": "" + }, + { + "Name": "Birleşik Krallık (Büyük Britanya ve Kuzey İrlanda)", + "Code": "GB", + "CurrencyCode": "", + "PhoneCode": "44", + "TaxLabel": "VKN/TCKN" + }, + { + "Name": "Birleşik Devletler Minor Outlying Adaları", + "Code": "UM", + "CurrencyCode": "USD", + "PhoneCode": "699", + "TaxLabel": "" + }, + { + "Name": "Amerika Birleşik Devletleri", + "Code": "US", + "CurrencyCode": "USD", + "PhoneCode": "1", + "TaxLabel": "" + }, + { + "Name": "Uruguay", + "Code": "UY", + "CurrencyCode": "", + "PhoneCode": "598", + "TaxLabel": "" + }, + { + "Name": "Özbekistan", + "Code": "UZ", + "CurrencyCode": "", + "PhoneCode": "998", + "TaxLabel": "" + }, + { + "Name": "Vatikan", + "Code": "VA", + "CurrencyCode": "EUR", + "PhoneCode": "379", + "TaxLabel": "" + }, + { + "Name": "Saint Vincent ve Grenadinler", + "Code": "VC", + "CurrencyCode": "USD", + "PhoneCode": "1,784", + "TaxLabel": "" + }, + { + "Name": "Venezuela", + "Code": "VE", + "CurrencyCode": "", + "PhoneCode": "58", + "TaxLabel": "" + }, + { + "Name": "Virjin Adaları (İngiliz)", + "Code": "VG", + "CurrencyCode": "USD", + "PhoneCode": "1,284", + "TaxLabel": "" + }, + { + "Name": "Virjin Adaları (ABD)", + "Code": "VI", + "CurrencyCode": "USD", + "PhoneCode": "1,340", + "TaxLabel": "" + }, + { + "Name": "Vietnam", + "Code": "VN", + "CurrencyCode": "", + "PhoneCode": "84", + "TaxLabel": "" + }, + { + "Name": "Vanuatu", + "Code": "VU", + "CurrencyCode": "", + "PhoneCode": "678", + "TaxLabel": "" + }, + { + "Name": "Wallis ve Futuna", + "Code": "WF", + "CurrencyCode": "", + "PhoneCode": "681", + "TaxLabel": "" + }, + { + "Name": "Samoa", + "Code": "WS", + "CurrencyCode": "", + "PhoneCode": "685", + "TaxLabel": "" + }, + { + "Name": "Yemen", + "Code": "YE", + "CurrencyCode": "", + "PhoneCode": "967", + "TaxLabel": "" + }, + { + "Name": "Mayotte", + "Code": "YT", + "CurrencyCode": "EUR", + "PhoneCode": "262", + "TaxLabel": "" + }, + { + "Name": "Güney Afrika Cumhuriyeti", + "Code": "ZA", + "CurrencyCode": "", + "PhoneCode": "27", + "TaxLabel": "" + }, + { + "Name": "Zambia", + "Code": "ZM", + "CurrencyCode": "", + "PhoneCode": "260", + "TaxLabel": "" + }, + { + "Name": "Zimbabve", + "Code": "ZW", + "CurrencyCode": "", + "PhoneCode": "263", + "TaxLabel": "" + }, + { + "Name": "Kosova", + "Code": "XK", + "CurrencyCode": "EUR", + "PhoneCode": "383", + "TaxLabel": "" + } + ], + "States": [ + { + "Name": "Cairo", + "Code": "C", + "CountryCode": "EG" + }, + { + "Name": "Gifu", + "Code": "21", + "CountryCode": "JP" + }, + { + "Name": "Alba", + "Code": "AB", + "CountryCode": "RO" + }, + { + "Name": "Sánchez Ramírez", + "Code": "SRA", + "CountryCode": "DO" + }, + { + "Name": "Loja", + "Code": "11", + "CountryCode": "EC" + }, + { + "Name": "Australian Capital Territory", + "Code": "ACT", + "CountryCode": "AU" + }, + { + "Name": "New South Wales", + "Code": "NSW", + "CountryCode": "AU" + }, + { + "Name": "Northern Territory", + "Code": "NT", + "CountryCode": "AU" + }, + { + "Name": "Queensland", + "Code": "QLD", + "CountryCode": "AU" + }, + { + "Name": "South Australia", + "Code": "SA", + "CountryCode": "AU" + }, + { + "Name": "Tasmania", + "Code": "TAS", + "CountryCode": "AU" + }, + { + "Name": "Victoria", + "Code": "VIC", + "CountryCode": "AU" + }, + { + "Name": "Western Australia", + "Code": "WA", + "CountryCode": "AU" + }, + { + "Name": "Alabama", + "Code": "AL", + "CountryCode": "US" + }, + { + "Name": "Alaska", + "Code": "AK", + "CountryCode": "US" + }, + { + "Name": "Arizona", + "Code": "AZ", + "CountryCode": "US" + }, + { + "Name": "Arkansas", + "Code": "AR", + "CountryCode": "US" + }, + { + "Name": "California", + "Code": "CA", + "CountryCode": "US" + }, + { + "Name": "Colorado", + "Code": "CO", + "CountryCode": "US" + }, + { + "Name": "Connecticut", + "Code": "CT", + "CountryCode": "US" + }, + { + "Name": "Delaware", + "Code": "DE", + "CountryCode": "US" + }, + { + "Name": "District of Columbia", + "Code": "DC", + "CountryCode": "US" + }, + { + "Name": "Florida", + "Code": "FL", + "CountryCode": "US" + }, + { + "Name": "Georgia", + "Code": "GA", + "CountryCode": "US" + }, + { + "Name": "Hawaii", + "Code": "HI", + "CountryCode": "US" + }, + { + "Name": "Idaho", + "Code": "ID", + "CountryCode": "US" + }, + { + "Name": "Illinois", + "Code": "IL", + "CountryCode": "US" + }, + { + "Name": "Indiana", + "Code": "IN", + "CountryCode": "US" + }, + { + "Name": "Iowa", + "Code": "IA", + "CountryCode": "US" + }, + { + "Name": "Kansas", + "Code": "KS", + "CountryCode": "US" + }, + { + "Name": "Kentucky", + "Code": "KY", + "CountryCode": "US" + }, + { + "Name": "Louisiana", + "Code": "LA", + "CountryCode": "US" + }, + { + "Name": "Maine", + "Code": "ME", + "CountryCode": "US" + }, + { + "Name": "Montana", + "Code": "MT", + "CountryCode": "US" + }, + { + "Name": "Nebraska", + "Code": "NE", + "CountryCode": "US" + }, + { + "Name": "Nevada", + "Code": "NV", + "CountryCode": "US" + }, + { + "Name": "New Hampshire", + "Code": "NH", + "CountryCode": "US" + }, + { + "Name": "New Jersey", + "Code": "NJ", + "CountryCode": "US" + }, + { + "Name": "New Mexico", + "Code": "NM", + "CountryCode": "US" + }, + { + "Name": "New York", + "Code": "NY", + "CountryCode": "US" + }, + { + "Name": "North Carolina", + "Code": "NC", + "CountryCode": "US" + }, + { + "Name": "North Dakota", + "Code": "ND", + "CountryCode": "US" + }, + { + "Name": "Ohio", + "Code": "OH", + "CountryCode": "US" + }, + { + "Name": "Oklahoma", + "Code": "OK", + "CountryCode": "US" + }, + { + "Name": "Oregon", + "Code": "OR", + "CountryCode": "US" + }, + { + "Name": "Maryland", + "Code": "MD", + "CountryCode": "US" + }, + { + "Name": "Massachusetts", + "Code": "MA", + "CountryCode": "US" + }, + { + "Name": "Michigan", + "Code": "MI", + "CountryCode": "US" + }, + { + "Name": "Minnesota", + "Code": "MN", + "CountryCode": "US" + }, + { + "Name": "Mississippi", + "Code": "MS", + "CountryCode": "US" + }, + { + "Name": "Missouri", + "Code": "MO", + "CountryCode": "US" + }, + { + "Name": "Pennsylvania", + "Code": "PA", + "CountryCode": "US" + }, + { + "Name": "Rhode Island", + "Code": "RI", + "CountryCode": "US" + }, + { + "Name": "South Carolina", + "Code": "SC", + "CountryCode": "US" + }, + { + "Name": "South Dakota", + "Code": "SD", + "CountryCode": "US" + }, + { + "Name": "Tennessee", + "Code": "TN", + "CountryCode": "US" + }, + { + "Name": "Texas", + "Code": "TX", + "CountryCode": "US" + }, + { + "Name": "Utah", + "Code": "UT", + "CountryCode": "US" + }, + { + "Name": "Vermont", + "Code": "VT", + "CountryCode": "US" + }, + { + "Name": "Virginia", + "Code": "VA", + "CountryCode": "US" + }, + { + "Name": "Washington", + "Code": "WA", + "CountryCode": "US" + }, + { + "Name": "West Virginia", + "Code": "WV", + "CountryCode": "US" + }, + { + "Name": "Wisconsin", + "Code": "WI", + "CountryCode": "US" + }, + { + "Name": "Wyoming", + "Code": "WY", + "CountryCode": "US" + }, + { + "Name": "American Samoa", + "Code": "AS", + "CountryCode": "US" + }, + { + "Name": "Federated States of Micronesia", + "Code": "FM", + "CountryCode": "US" + }, + { + "Name": "Guam", + "Code": "GU", + "CountryCode": "US" + }, + { + "Name": "Marshall Islands", + "Code": "MH", + "CountryCode": "US" + }, + { + "Name": "Northern Mariana Islands", + "Code": "MP", + "CountryCode": "US" + }, + { + "Name": "Palau", + "Code": "PW", + "CountryCode": "US" + }, + { + "Name": "Puerto Rico", + "Code": "PR", + "CountryCode": "US" + }, + { + "Name": "Virgin Islands", + "Code": "VI", + "CountryCode": "US" + }, + { + "Name": "Armed Forces Americas", + "Code": "AA", + "CountryCode": "US" + }, + { + "Name": "Armed Forces Europe", + "Code": "AE", + "CountryCode": "US" + }, + { + "Name": "Armed Forces Pacific", + "Code": "AP", + "CountryCode": "US" + }, + { + "Name": "Acre", + "Code": "AC", + "CountryCode": "BR" + }, + { + "Name": "Alagoas", + "Code": "AL", + "CountryCode": "BR" + }, + { + "Name": "Amapá", + "Code": "AP", + "CountryCode": "BR" + }, + { + "Name": "Amazonas", + "Code": "AM", + "CountryCode": "BR" + }, + { + "Name": "Bahia", + "Code": "BA", + "CountryCode": "BR" + }, + { + "Name": "Ceará", + "Code": "CE", + "CountryCode": "BR" + }, + { + "Name": "Distrito Federal", + "Code": "DF", + "CountryCode": "BR" + }, + { + "Name": "Espírito Santo", + "Code": "ES", + "CountryCode": "BR" + }, + { + "Name": "Goiás", + "Code": "GO", + "CountryCode": "BR" + }, + { + "Name": "Maranhão", + "Code": "MA", + "CountryCode": "BR" + }, + { + "Name": "Mato Grosso", + "Code": "MT", + "CountryCode": "BR" + }, + { + "Name": "Mato Grosso do Sul", + "Code": "MS", + "CountryCode": "BR" + }, + { + "Name": "Minas Gerais", + "Code": "MG", + "CountryCode": "BR" + }, + { + "Name": "Pará", + "Code": "PA", + "CountryCode": "BR" + }, + { + "Name": "Paraíba", + "Code": "PB", + "CountryCode": "BR" + }, + { + "Name": "Paraná", + "Code": "PR", + "CountryCode": "BR" + }, + { + "Name": "Pernambuco", + "Code": "PE", + "CountryCode": "BR" + }, + { + "Name": "Piauí", + "Code": "PI", + "CountryCode": "BR" + }, + { + "Name": "Rio de Janeiro", + "Code": "RJ", + "CountryCode": "BR" + }, + { + "Name": "Rio Grande do Norte", + "Code": "RN", + "CountryCode": "BR" + }, + { + "Name": "Rio Grande do Sul", + "Code": "RS", + "CountryCode": "BR" + }, + { + "Name": "Rondônia", + "Code": "RO", + "CountryCode": "BR" + }, + { + "Name": "Roraima", + "Code": "RR", + "CountryCode": "BR" + }, + { + "Name": "Santa Catarina", + "Code": "SC", + "CountryCode": "BR" + }, + { + "Name": "São Paulo", + "Code": "SP", + "CountryCode": "BR" + }, + { + "Name": "Sergipe", + "Code": "SE", + "CountryCode": "BR" + }, + { + "Name": "Tocantins", + "Code": "TO", + "CountryCode": "BR" + }, + { + "Name": "Republic of Adygeya", + "Code": "AD", + "CountryCode": "RU" + }, + { + "Name": "Altai Republic", + "Code": "AL", + "CountryCode": "RU" + }, + { + "Name": "Altai Krai", + "Code": "ALT", + "CountryCode": "RU" + }, + { + "Name": "Amur Oblast", + "Code": "AMU", + "CountryCode": "RU" + }, + { + "Name": "Arkhangelsk Oblast", + "Code": "ARK", + "CountryCode": "RU" + }, + { + "Name": "Astrakhan Oblast", + "Code": "AST", + "CountryCode": "RU" + }, + { + "Name": "Republic of Bashkortostan", + "Code": "BA", + "CountryCode": "RU" + }, + { + "Name": "Belgorod Oblast", + "Code": "BEL", + "CountryCode": "RU" + }, + { + "Name": "Bryansk Oblast", + "Code": "BRY", + "CountryCode": "RU" + }, + { + "Name": "Republic of Buryatia", + "Code": "BU", + "CountryCode": "RU" + }, + { + "Name": "Chechen Republic", + "Code": "CE", + "CountryCode": "RU" + }, + { + "Name": "Chelyabinsk Oblast", + "Code": "CHE", + "CountryCode": "RU" + }, + { + "Name": "Chukotka Autonomous Okrug", + "Code": "CHU", + "CountryCode": "RU" + }, + { + "Name": "Chuvash Republic", + "Code": "CU", + "CountryCode": "RU" + }, + { + "Name": "Republic of Dagestan", + "Code": "DA", + "CountryCode": "RU" + }, + { + "Name": "Republic of Ingushetia", + "Code": "IN", + "CountryCode": "RU" + }, + { + "Name": "Irkutsk Oblast", + "Code": "IRK", + "CountryCode": "RU" + }, + { + "Name": "Ivanovo Oblast", + "Code": "IVA", + "CountryCode": "RU" + }, + { + "Name": "Kamchatka Krai", + "Code": "KAM", + "CountryCode": "RU" + }, + { + "Name": "Kabardino-Balkarian Republic", + "Code": "KB", + "CountryCode": "RU" + }, + { + "Name": "Kaliningrad Oblast", + "Code": "KGD", + "CountryCode": "RU" + }, + { + "Name": "Republic of Kalmykia", + "Code": "KL", + "CountryCode": "RU" + }, + { + "Name": "Kaluga Oblast", + "Code": "KLU", + "CountryCode": "RU" + }, + { + "Name": "Karachay–Cherkess Republic", + "Code": "KC", + "CountryCode": "RU" + }, + { + "Name": "Republic of Karelia", + "Code": "KR", + "CountryCode": "RU" + }, + { + "Name": "Kemerovo Oblast", + "Code": "KEM", + "CountryCode": "RU" + }, + { + "Name": "Khabarovsk Krai", + "Code": "KHA", + "CountryCode": "RU" + }, + { + "Name": "Republic of Khakassia", + "Code": "KK", + "CountryCode": "RU" + }, + { + "Name": "Khanty-Mansi Autonomous Okrug", + "Code": "KHM", + "CountryCode": "RU" + }, + { + "Name": "Kirov Oblast", + "Code": "KIR", + "CountryCode": "RU" + }, + { + "Name": "Komi Republic", + "Code": "KO", + "CountryCode": "RU" + }, + { + "Name": "Kostroma Oblast", + "Code": "KOS", + "CountryCode": "RU" + }, + { + "Name": "Krasnodar Krai", + "Code": "KDA", + "CountryCode": "RU" + }, + { + "Name": "Krasnoyarsk Krai", + "Code": "KYA", + "CountryCode": "RU" + }, + { + "Name": "Kurgan Oblast", + "Code": "KGN", + "CountryCode": "RU" + }, + { + "Name": "Kursk Oblast", + "Code": "KRS", + "CountryCode": "RU" + }, + { + "Name": "Leningrad Oblast", + "Code": "LEN", + "CountryCode": "RU" + }, + { + "Name": "Lipetsk Oblast", + "Code": "LIP", + "CountryCode": "RU" + }, + { + "Name": "Magadan Oblast", + "Code": "MAG", + "CountryCode": "RU" + }, + { + "Name": "Mari El Republic", + "Code": "ME", + "CountryCode": "RU" + }, + { + "Name": "Republic of Mordovia", + "Code": "MO", + "CountryCode": "RU" + }, + { + "Name": "Moscow Oblast", + "Code": "MOS", + "CountryCode": "RU" + }, + { + "Name": "Moscow", + "Code": "MOW", + "CountryCode": "RU" + }, + { + "Name": "Murmansk Oblast", + "Code": "MUR", + "CountryCode": "RU" + }, + { + "Name": "Nizhny Novgorod Oblast", + "Code": "NIZ", + "CountryCode": "RU" + }, + { + "Name": "Novgorod Oblast", + "Code": "NGR", + "CountryCode": "RU" + }, + { + "Name": "Novosibirsk Oblast", + "Code": "NVS", + "CountryCode": "RU" + }, + { + "Name": "Omsk Oblast", + "Code": "OMS", + "CountryCode": "RU" + }, + { + "Name": "Orenburg Oblast", + "Code": "ORE", + "CountryCode": "RU" + }, + { + "Name": "Oryol Oblast", + "Code": "ORL", + "CountryCode": "RU" + }, + { + "Name": "Penza Oblast", + "Code": "PNZ", + "CountryCode": "RU" + }, + { + "Name": "Perm Krai", + "Code": "PER", + "CountryCode": "RU" + }, + { + "Name": "Primorsky Krai", + "Code": "PRI", + "CountryCode": "RU" + }, + { + "Name": "Pskov Oblast", + "Code": "PSK", + "CountryCode": "RU" + }, + { + "Name": "Rostov Oblast", + "Code": "ROS", + "CountryCode": "RU" + }, + { + "Name": "Ryazan Oblast", + "Code": "RYA", + "CountryCode": "RU" + }, + { + "Name": "Sakha Republic (Yakutia)", + "Code": "SA", + "CountryCode": "RU" + }, + { + "Name": "Sakhalin Oblast", + "Code": "SAK", + "CountryCode": "RU" + }, + { + "Name": "Samara Oblast", + "Code": "SAM", + "CountryCode": "RU" + }, + { + "Name": "Saint Petersburg", + "Code": "SPE", + "CountryCode": "RU" + }, + { + "Name": "Saratov Oblast", + "Code": "SAR", + "CountryCode": "RU" + }, + { + "Name": "Republic of North Ossetia–Alania", + "Code": "SE", + "CountryCode": "RU" + }, + { + "Name": "Smolensk Oblast", + "Code": "SMO", + "CountryCode": "RU" + }, + { + "Name": "Stavropol Krai", + "Code": "STA", + "CountryCode": "RU" + }, + { + "Name": "Sverdlovsk Oblast", + "Code": "SVE", + "CountryCode": "RU" + }, + { + "Name": "Tambov Oblast", + "Code": "TAM", + "CountryCode": "RU" + }, + { + "Name": "Republic of Tatarstan", + "Code": "TA", + "CountryCode": "RU" + }, + { + "Name": "Tomsk Oblast", + "Code": "TOM", + "CountryCode": "RU" + }, + { + "Name": "Tula Oblast", + "Code": "TUL", + "CountryCode": "RU" + }, + { + "Name": "Tver Oblast", + "Code": "TVE", + "CountryCode": "RU" + }, + { + "Name": "Tyumen Oblast", + "Code": "TYU", + "CountryCode": "RU" + }, + { + "Name": "Tyva Republic", + "Code": "TY", + "CountryCode": "RU" + }, + { + "Name": "Udmurtia", + "Code": "UD", + "CountryCode": "RU" + }, + { + "Name": "Ulyanovsk Oblast", + "Code": "ULY", + "CountryCode": "RU" + }, + { + "Name": "Vladimir Oblast", + "Code": "VLA", + "CountryCode": "RU" + }, + { + "Name": "Volgograd Oblast", + "Code": "VGG", + "CountryCode": "RU" + }, + { + "Name": "Vologda Oblast", + "Code": "VLG", + "CountryCode": "RU" + }, + { + "Name": "Voronezh Oblast", + "Code": "VOR", + "CountryCode": "RU" + }, + { + "Name": "Yamalo-Nenets Autonomous Okrug", + "Code": "YAN", + "CountryCode": "RU" + }, + { + "Name": "Yaroslavl Oblast", + "Code": "YAR", + "CountryCode": "RU" + }, + { + "Name": "Jewish Autonomous Oblast", + "Code": "YEV", + "CountryCode": "RU" + }, + { + "Name": "Alta Verapaz", + "Code": "AVE", + "CountryCode": "GT" + }, + { + "Name": "Baja Verapaz", + "Code": "BVE", + "CountryCode": "GT" + }, + { + "Name": "Chimaltenango", + "Code": "CMT", + "CountryCode": "GT" + }, + { + "Name": "Chiquimula", + "Code": "CQM", + "CountryCode": "GT" + }, + { + "Name": "El Progreso", + "Code": "EPR", + "CountryCode": "GT" + }, + { + "Name": "Escuintla", + "Code": "ESC", + "CountryCode": "GT" + }, + { + "Name": "Guatemala", + "Code": "GUA", + "CountryCode": "GT" + }, + { + "Name": "Huehuetenango", + "Code": "HUE", + "CountryCode": "GT" + }, + { + "Name": "Izabal", + "Code": "IZA", + "CountryCode": "GT" + }, + { + "Name": "Jalapa", + "Code": "JAL", + "CountryCode": "GT" + }, + { + "Name": "Jutiapa", + "Code": "JUT", + "CountryCode": "GT" + }, + { + "Name": "Petén", + "Code": "PET", + "CountryCode": "GT" + }, + { + "Name": "Quetzaltenango", + "Code": "QUE", + "CountryCode": "GT" + }, + { + "Name": "Quiché", + "Code": "QUI", + "CountryCode": "GT" + }, + { + "Name": "Retalhuleu", + "Code": "RET", + "CountryCode": "GT" + }, + { + "Name": "Sacatepéquez", + "Code": "SAC", + "CountryCode": "GT" + }, + { + "Name": "San Marcos", + "Code": "SMA", + "CountryCode": "GT" + }, + { + "Name": "Santa Rosa", + "Code": "SRO", + "CountryCode": "GT" + }, + { + "Name": "Sololá", + "Code": "SOL", + "CountryCode": "GT" + }, + { + "Name": "Suchitepéquez", + "Code": "SUC", + "CountryCode": "GT" + }, + { + "Name": "Totonicapán", + "Code": "TOT", + "CountryCode": "GT" + }, + { + "Name": "Zacapa", + "Code": "ZAC", + "CountryCode": "GT" + }, + { + "Name": "Aichi", + "Code": "23", + "CountryCode": "JP" + }, + { + "Name": "Akita", + "Code": "05", + "CountryCode": "JP" + }, + { + "Name": "Aomori", + "Code": "02", + "CountryCode": "JP" + }, + { + "Name": "Chiba", + "Code": "12", + "CountryCode": "JP" + }, + { + "Name": "Ehime", + "Code": "38", + "CountryCode": "JP" + }, + { + "Name": "Fukui", + "Code": "18", + "CountryCode": "JP" + }, + { + "Name": "Fukuoka", + "Code": "40", + "CountryCode": "JP" + }, + { + "Name": "Fukushima", + "Code": "07", + "CountryCode": "JP" + }, + { + "Name": "Gunma", + "Code": "10", + "CountryCode": "JP" + }, + { + "Name": "Hiroshima", + "Code": "34", + "CountryCode": "JP" + }, + { + "Name": "Hokkaido", + "Code": "01", + "CountryCode": "JP" + }, + { + "Name": "Hyogo", + "Code": "28", + "CountryCode": "JP" + }, + { + "Name": "Ibaraki", + "Code": "08", + "CountryCode": "JP" + }, + { + "Name": "Ishikawa", + "Code": "17", + "CountryCode": "JP" + }, + { + "Name": "Iwate", + "Code": "03", + "CountryCode": "JP" + }, + { + "Name": "Kagawa", + "Code": "37", + "CountryCode": "JP" + }, + { + "Name": "Kagoshima", + "Code": "46", + "CountryCode": "JP" + }, + { + "Name": "Kanagawa", + "Code": "14", + "CountryCode": "JP" + }, + { + "Name": "Kochi", + "Code": "39", + "CountryCode": "JP" + }, + { + "Name": "Kumamoto", + "Code": "43", + "CountryCode": "JP" + }, + { + "Name": "Kyoto", + "Code": "26", + "CountryCode": "JP" + }, + { + "Name": "Mie", + "Code": "24", + "CountryCode": "JP" + }, + { + "Name": "Miyagi", + "Code": "04", + "CountryCode": "JP" + }, + { + "Name": "Miyazaki", + "Code": "45", + "CountryCode": "JP" + }, + { + "Name": "Nagano", + "Code": "20", + "CountryCode": "JP" + }, + { + "Name": "Nagasaki", + "Code": "42", + "CountryCode": "JP" + }, + { + "Name": "Nara", + "Code": "29", + "CountryCode": "JP" + }, + { + "Name": "Niigata", + "Code": "15", + "CountryCode": "JP" + }, + { + "Name": "Oita", + "Code": "44", + "CountryCode": "JP" + }, + { + "Name": "Okayama", + "Code": "33", + "CountryCode": "JP" + }, + { + "Name": "Okinawa", + "Code": "47", + "CountryCode": "JP" + }, + { + "Name": "Osaka", + "Code": "27", + "CountryCode": "JP" + }, + { + "Name": "Saga", + "Code": "41", + "CountryCode": "JP" + }, + { + "Name": "Saitama", + "Code": "11", + "CountryCode": "JP" + }, + { + "Name": "Shiga", + "Code": "25", + "CountryCode": "JP" + }, + { + "Name": "Shimane", + "Code": "32", + "CountryCode": "JP" + }, + { + "Name": "Shizuoka", + "Code": "22", + "CountryCode": "JP" + }, + { + "Name": "Tochigi", + "Code": "09", + "CountryCode": "JP" + }, + { + "Name": "Tokushima", + "Code": "36", + "CountryCode": "JP" + }, + { + "Name": "Tottori", + "Code": "31", + "CountryCode": "JP" + }, + { + "Name": "Toyama", + "Code": "16", + "CountryCode": "JP" + }, + { + "Name": "Tokyo", + "Code": "13", + "CountryCode": "JP" + }, + { + "Name": "Wakayama", + "Code": "30", + "CountryCode": "JP" + }, + { + "Name": "Yamagata", + "Code": "06", + "CountryCode": "JP" + }, + { + "Name": "Yamaguchi", + "Code": "35", + "CountryCode": "JP" + }, + { + "Name": "Yamanashi", + "Code": "19", + "CountryCode": "JP" + }, + { + "Name": "Aveiro", + "Code": "01", + "CountryCode": "PT" + }, + { + "Name": "Beja", + "Code": "02", + "CountryCode": "PT" + }, + { + "Name": "Braga", + "Code": "03", + "CountryCode": "PT" + }, + { + "Name": "Bragança", + "Code": "04", + "CountryCode": "PT" + }, + { + "Name": "Castelo Branco", + "Code": "05", + "CountryCode": "PT" + }, + { + "Name": "Coimbra", + "Code": "06", + "CountryCode": "PT" + }, + { + "Name": "Évora", + "Code": "07", + "CountryCode": "PT" + }, + { + "Name": "Faro", + "Code": "08", + "CountryCode": "PT" + }, + { + "Name": "Guarda", + "Code": "09", + "CountryCode": "PT" + }, + { + "Name": "Leiria", + "Code": "10", + "CountryCode": "PT" + }, + { + "Name": "Lisboa", + "Code": "11", + "CountryCode": "PT" + }, + { + "Name": "Portalegre", + "Code": "12", + "CountryCode": "PT" + }, + { + "Name": "Porto", + "Code": "13", + "CountryCode": "PT" + }, + { + "Name": "Santarém", + "Code": "14", + "CountryCode": "PT" + }, + { + "Name": "Setúbal", + "Code": "15", + "CountryCode": "PT" + }, + { + "Name": "Viana do Castelo", + "Code": "16", + "CountryCode": "PT" + }, + { + "Name": "Vila Real", + "Code": "17", + "CountryCode": "PT" + }, + { + "Name": "Viseu", + "Code": "18", + "CountryCode": "PT" + }, + { + "Name": "Açores", + "Code": "20", + "CountryCode": "PT" + }, + { + "Name": "Madeira", + "Code": "30", + "CountryCode": "PT" + }, + { + "Name": "Dakahlia", + "Code": "DK", + "CountryCode": "EG" + }, + { + "Name": "Red Sea", + "Code": "BA", + "CountryCode": "EG" + }, + { + "Name": "Beheira", + "Code": "BH", + "CountryCode": "EG" + }, + { + "Name": "Faiyum", + "Code": "FYM", + "CountryCode": "EG" + }, + { + "Name": "Gharbia", + "Code": "GH", + "CountryCode": "EG" + }, + { + "Name": "Alexandria", + "Code": "ALX", + "CountryCode": "EG" + }, + { + "Name": "Ismailia", + "Code": "IS", + "CountryCode": "EG" + }, + { + "Name": "Giza", + "Code": "GZ", + "CountryCode": "EG" + }, + { + "Name": "Monufia", + "Code": "MNF", + "CountryCode": "EG" + }, + { + "Name": "Minya", + "Code": "MN", + "CountryCode": "EG" + }, + { + "Name": "Qalyubia", + "Code": "KB", + "CountryCode": "EG" + }, + { + "Name": "Luxor", + "Code": "LX", + "CountryCode": "EG" + }, + { + "Name": "New Valley", + "Code": "WAD", + "CountryCode": "EG" + }, + { + "Name": "Al Sharqia", + "Code": "SHR", + "CountryCode": "EG" + }, + { + "Name": "6th of October", + "Code": "SU", + "CountryCode": "EG" + }, + { + "Name": "Suez", + "Code": "SUZ", + "CountryCode": "EG" + }, + { + "Name": "Aswan", + "Code": "ASN", + "CountryCode": "EG" + }, + { + "Name": "Asyut", + "Code": "AST", + "CountryCode": "EG" + }, + { + "Name": "Beni Suef", + "Code": "BNS", + "CountryCode": "EG" + }, + { + "Name": "Port Said", + "Code": "PTS", + "CountryCode": "EG" + }, + { + "Name": "Damietta", + "Code": "DT", + "CountryCode": "EG" + }, + { + "Name": "Helwan", + "Code": "HU", + "CountryCode": "EG" + }, + { + "Name": "South Sinai", + "Code": "JS", + "CountryCode": "EG" + }, + { + "Name": "Kafr el-Sheikh", + "Code": "KFS", + "CountryCode": "EG" + }, + { + "Name": "Matrouh", + "Code": "MT", + "CountryCode": "EG" + }, + { + "Name": "Qena", + "Code": "KN", + "CountryCode": "EG" + }, + { + "Name": "North Sinai", + "Code": "SIN", + "CountryCode": "EG" + }, + { + "Name": "Sohag", + "Code": "SHG", + "CountryCode": "EG" + }, + { + "Name": "Eastern Cape", + "Code": "EC", + "CountryCode": "ZA" + }, + { + "Name": "Free State", + "Code": "FS", + "CountryCode": "ZA" + }, + { + "Name": "Gauteng", + "Code": "GP", + "CountryCode": "ZA" + }, + { + "Name": "KwaZulu-Natal", + "Code": "KZN", + "CountryCode": "ZA" + }, + { + "Name": "Limpopo", + "Code": "LP", + "CountryCode": "ZA" + }, + { + "Name": "Mpumalanga", + "Code": "MP", + "CountryCode": "ZA" + }, + { + "Name": "Northern Cape", + "Code": "NC", + "CountryCode": "ZA" + }, + { + "Name": "North West", + "Code": "NW", + "CountryCode": "ZA" + }, + { + "Name": "Western Cape", + "Code": "WC", + "CountryCode": "ZA" + }, + { + "Name": "Agrigento", + "Code": "AG", + "CountryCode": "IT" + }, + { + "Name": "Alessandria", + "Code": "AL", + "CountryCode": "IT" + }, + { + "Name": "Ancona", + "Code": "AN", + "CountryCode": "IT" + }, + { + "Name": "Aosta", + "Code": "AO", + "CountryCode": "IT" + }, + { + "Name": "Arezzo", + "Code": "AR", + "CountryCode": "IT" + }, + { + "Name": "Ascoli Piceno", + "Code": "AP", + "CountryCode": "IT" + }, + { + "Name": "Asti", + "Code": "AT", + "CountryCode": "IT" + }, + { + "Name": "Avellino", + "Code": "AV", + "CountryCode": "IT" + }, + { + "Name": "Bari", + "Code": "BA", + "CountryCode": "IT" + }, + { + "Name": "Barletta-Andria-Trani", + "Code": "BT", + "CountryCode": "IT" + }, + { + "Name": "Belluno", + "Code": "BL", + "CountryCode": "IT" + }, + { + "Name": "Benevento", + "Code": "BN", + "CountryCode": "IT" + }, + { + "Name": "Bergamo", + "Code": "BG", + "CountryCode": "IT" + }, + { + "Name": "Biella", + "Code": "BI", + "CountryCode": "IT" + }, + { + "Name": "Bologna", + "Code": "BO", + "CountryCode": "IT" + }, + { + "Name": "Bolzano", + "Code": "BZ", + "CountryCode": "IT" + }, + { + "Name": "Brescia", + "Code": "BS", + "CountryCode": "IT" + }, + { + "Name": "Brindisi", + "Code": "BR", + "CountryCode": "IT" + }, + { + "Name": "Cagliari", + "Code": "CA", + "CountryCode": "IT" + }, + { + "Name": "Caltanissetta", + "Code": "CL", + "CountryCode": "IT" + }, + { + "Name": "Campobasso", + "Code": "CB", + "CountryCode": "IT" + }, + { + "Name": "Carbonia-Iglesias", + "Code": "CI", + "CountryCode": "IT" + }, + { + "Name": "Caserta", + "Code": "CE", + "CountryCode": "IT" + }, + { + "Name": "Catania", + "Code": "CT", + "CountryCode": "IT" + }, + { + "Name": "Catanzaro", + "Code": "CZ", + "CountryCode": "IT" + }, + { + "Name": "Chieti", + "Code": "CH", + "CountryCode": "IT" + }, + { + "Name": "Como", + "Code": "CO", + "CountryCode": "IT" + }, + { + "Name": "Cosenza", + "Code": "CS", + "CountryCode": "IT" + }, + { + "Name": "Cremona", + "Code": "CR", + "CountryCode": "IT" + }, + { + "Name": "Crotone", + "Code": "KR", + "CountryCode": "IT" + }, + { + "Name": "Cuneo", + "Code": "CN", + "CountryCode": "IT" + }, + { + "Name": "Enna", + "Code": "EN", + "CountryCode": "IT" + }, + { + "Name": "Fermo", + "Code": "FM", + "CountryCode": "IT" + }, + { + "Name": "Ferrara", + "Code": "FE", + "CountryCode": "IT" + }, + { + "Name": "Firenze", + "Code": "FI", + "CountryCode": "IT" + }, + { + "Name": "Foggia", + "Code": "FG", + "CountryCode": "IT" + }, + { + "Name": "Forlì-Cesena", + "Code": "FC", + "CountryCode": "IT" + }, + { + "Name": "Frosinone", + "Code": "FR", + "CountryCode": "IT" + }, + { + "Name": "Genova", + "Code": "GE", + "CountryCode": "IT" + }, + { + "Name": "Gorizia", + "Code": "GO", + "CountryCode": "IT" + }, + { + "Name": "Grosseto", + "Code": "GR", + "CountryCode": "IT" + }, + { + "Name": "Imperia", + "Code": "IM", + "CountryCode": "IT" + }, + { + "Name": "Isernia", + "Code": "IS", + "CountryCode": "IT" + }, + { + "Name": "La Spezia", + "Code": "SP", + "CountryCode": "IT" + }, + { + "Name": "L'Aquila", + "Code": "AQ", + "CountryCode": "IT" + }, + { + "Name": "Latina", + "Code": "LT", + "CountryCode": "IT" + }, + { + "Name": "Lecce", + "Code": "LE", + "CountryCode": "IT" + }, + { + "Name": "Lecco", + "Code": "LC", + "CountryCode": "IT" + }, + { + "Name": "Livorno", + "Code": "LI", + "CountryCode": "IT" + }, + { + "Name": "Lodi", + "Code": "LO", + "CountryCode": "IT" + }, + { + "Name": "Lucca", + "Code": "LU", + "CountryCode": "IT" + }, + { + "Name": "Macerata", + "Code": "MC", + "CountryCode": "IT" + }, + { + "Name": "Mantova", + "Code": "MN", + "CountryCode": "IT" + }, + { + "Name": "Massa-Carrara", + "Code": "MS", + "CountryCode": "IT" + }, + { + "Name": "Matera", + "Code": "MT", + "CountryCode": "IT" + }, + { + "Name": "Medio Campidano", + "Code": "VS", + "CountryCode": "IT" + }, + { + "Name": "Messina", + "Code": "ME", + "CountryCode": "IT" + }, + { + "Name": "Milano", + "Code": "MI", + "CountryCode": "IT" + }, + { + "Name": "Modena", + "Code": "MO", + "CountryCode": "IT" + }, + { + "Name": "Monza e Brianza", + "Code": "MB", + "CountryCode": "IT" + }, + { + "Name": "Napoli", + "Code": "NA", + "CountryCode": "IT" + }, + { + "Name": "Novara", + "Code": "NO", + "CountryCode": "IT" + }, + { + "Name": "Nuoro", + "Code": "NU", + "CountryCode": "IT" + }, + { + "Name": "Ogliastra", + "Code": "OG", + "CountryCode": "IT" + }, + { + "Name": "Olbia-Tempio", + "Code": "OT", + "CountryCode": "IT" + }, + { + "Name": "Oristano", + "Code": "OR", + "CountryCode": "IT" + }, + { + "Name": "Padova", + "Code": "PD", + "CountryCode": "IT" + }, + { + "Name": "Palermo", + "Code": "PA", + "CountryCode": "IT" + }, + { + "Name": "Parma", + "Code": "PR", + "CountryCode": "IT" + }, + { + "Name": "Pavia", + "Code": "PV", + "CountryCode": "IT" + }, + { + "Name": "Perugia", + "Code": "PG", + "CountryCode": "IT" + }, + { + "Name": "Pesaro e Urbino", + "Code": "PU", + "CountryCode": "IT" + }, + { + "Name": "Pescara", + "Code": "PE", + "CountryCode": "IT" + }, + { + "Name": "Piacenza", + "Code": "PC", + "CountryCode": "IT" + }, + { + "Name": "Pisa", + "Code": "PI", + "CountryCode": "IT" + }, + { + "Name": "Pistoia", + "Code": "PT", + "CountryCode": "IT" + }, + { + "Name": "Pordenone", + "Code": "PN", + "CountryCode": "IT" + }, + { + "Name": "Potenza", + "Code": "PZ", + "CountryCode": "IT" + }, + { + "Name": "Prato", + "Code": "PO", + "CountryCode": "IT" + }, + { + "Name": "Ragusa", + "Code": "RG", + "CountryCode": "IT" + }, + { + "Name": "Ravenna", + "Code": "RA", + "CountryCode": "IT" + }, + { + "Name": "Reggio Calabria", + "Code": "RC", + "CountryCode": "IT" + }, + { + "Name": "Reggio Emilia", + "Code": "RE", + "CountryCode": "IT" + }, + { + "Name": "Rieti", + "Code": "RI", + "CountryCode": "IT" + }, + { + "Name": "Rimini", + "Code": "RN", + "CountryCode": "IT" + }, + { + "Name": "Roma", + "Code": "RM", + "CountryCode": "IT" + }, + { + "Name": "Rovigo", + "Code": "RO", + "CountryCode": "IT" + }, + { + "Name": "Salerno", + "Code": "SA", + "CountryCode": "IT" + }, + { + "Name": "Sassari", + "Code": "SS", + "CountryCode": "IT" + }, + { + "Name": "Savona", + "Code": "SV", + "CountryCode": "IT" + }, + { + "Name": "Siena", + "Code": "SI", + "CountryCode": "IT" + }, + { + "Name": "Siracusa", + "Code": "SR", + "CountryCode": "IT" + }, + { + "Name": "Sondrio", + "Code": "SO", + "CountryCode": "IT" + }, + { + "Name": "Sud Sardegna", + "Code": "SU", + "CountryCode": "IT" + }, + { + "Name": "Taranto", + "Code": "TA", + "CountryCode": "IT" + }, + { + "Name": "Teramo", + "Code": "TE", + "CountryCode": "IT" + }, + { + "Name": "Terni", + "Code": "TR", + "CountryCode": "IT" + }, + { + "Name": "Torino", + "Code": "TO", + "CountryCode": "IT" + }, + { + "Name": "Trapani", + "Code": "TP", + "CountryCode": "IT" + }, + { + "Name": "Trento", + "Code": "TN", + "CountryCode": "IT" + }, + { + "Name": "Treviso", + "Code": "TV", + "CountryCode": "IT" + }, + { + "Name": "Trieste", + "Code": "TS", + "CountryCode": "IT" + }, + { + "Name": "Udine", + "Code": "UD", + "CountryCode": "IT" + }, + { + "Name": "Varese", + "Code": "VA", + "CountryCode": "IT" + }, + { + "Name": "Venezia", + "Code": "VE", + "CountryCode": "IT" + }, + { + "Name": "Verbano-Cusio-Ossola", + "Code": "VB", + "CountryCode": "IT" + }, + { + "Name": "Vercelli", + "Code": "VC", + "CountryCode": "IT" + }, + { + "Name": "Verona", + "Code": "VR", + "CountryCode": "IT" + }, + { + "Name": "Vibo Valentia", + "Code": "VV", + "CountryCode": "IT" + }, + { + "Name": "Vicenza", + "Code": "VI", + "CountryCode": "IT" + }, + { + "Name": "Viterbo", + "Code": "VT", + "CountryCode": "IT" + }, + { + "Name": "A Coruña (La Coruña)", + "Code": "C", + "CountryCode": "ES" + }, + { + "Name": "Araba/Álava", + "Code": "VI", + "CountryCode": "ES" + }, + { + "Name": "Albacete", + "Code": "AB", + "CountryCode": "ES" + }, + { + "Name": "Alacant (Alicante)", + "Code": "A", + "CountryCode": "ES" + }, + { + "Name": "Almería", + "Code": "AL", + "CountryCode": "ES" + }, + { + "Name": "Asturias", + "Code": "O", + "CountryCode": "ES" + }, + { + "Name": "Ávila", + "Code": "AV", + "CountryCode": "ES" + }, + { + "Name": "Badajoz", + "Code": "BA", + "CountryCode": "ES" + }, + { + "Name": "Illes Balears (Islas Baleares)", + "Code": "PM", + "CountryCode": "ES" + }, + { + "Name": "Barcelona", + "Code": "B", + "CountryCode": "ES" + }, + { + "Name": "Burgos", + "Code": "BU", + "CountryCode": "ES" + }, + { + "Name": "Cáceres", + "Code": "CC", + "CountryCode": "ES" + }, + { + "Name": "Cádiz", + "Code": "CA", + "CountryCode": "ES" + }, + { + "Name": "Cantabria", + "Code": "S", + "CountryCode": "ES" + }, + { + "Name": "Castelló (Castellón)", + "Code": "CS", + "CountryCode": "ES" + }, + { + "Name": "Ceuta", + "Code": "CE", + "CountryCode": "ES" + }, + { + "Name": "Ciudad Real", + "Code": "CR", + "CountryCode": "ES" + }, + { + "Name": "Córdoba", + "Code": "CO", + "CountryCode": "ES" + }, + { + "Name": "Cuenca", + "Code": "CU", + "CountryCode": "ES" + }, + { + "Name": "Girona (Gerona)", + "Code": "GI", + "CountryCode": "ES" + }, + { + "Name": "Granada", + "Code": "GR", + "CountryCode": "ES" + }, + { + "Name": "Guadalajara", + "Code": "GU", + "CountryCode": "ES" + }, + { + "Name": "Gipuzkoa (Guipúzcoa)", + "Code": "SS", + "CountryCode": "ES" + }, + { + "Name": "Huelva", + "Code": "H", + "CountryCode": "ES" + }, + { + "Name": "Huesca", + "Code": "HU", + "CountryCode": "ES" + }, + { + "Name": "Jaén", + "Code": "J", + "CountryCode": "ES" + }, + { + "Name": "La Rioja", + "Code": "LO", + "CountryCode": "ES" + }, + { + "Name": "Las Palmas", + "Code": "GC", + "CountryCode": "ES" + }, + { + "Name": "León", + "Code": "LE", + "CountryCode": "ES" + }, + { + "Name": "Lleida (Lérida)", + "Code": "L", + "CountryCode": "ES" + }, + { + "Name": "Lugo", + "Code": "LU", + "CountryCode": "ES" + }, + { + "Name": "Madrid", + "Code": "M", + "CountryCode": "ES" + }, + { + "Name": "Málaga", + "Code": "MA", + "CountryCode": "ES" + }, + { + "Name": "Melilla", + "Code": "ME", + "CountryCode": "ES" + }, + { + "Name": "Murcia", + "Code": "MU", + "CountryCode": "ES" + }, + { + "Name": "Navarra (Nafarroa)", + "Code": "NA", + "CountryCode": "ES" + }, + { + "Name": "Ourense (Orense)", + "Code": "OR", + "CountryCode": "ES" + }, + { + "Name": "Palencia", + "Code": "P", + "CountryCode": "ES" + }, + { + "Name": "Pontevedra", + "Code": "PO", + "CountryCode": "ES" + }, + { + "Name": "Salamanca", + "Code": "SA", + "CountryCode": "ES" + }, + { + "Name": "Santa Cruz de Tenerife", + "Code": "TF", + "CountryCode": "ES" + }, + { + "Name": "Segovia", + "Code": "SG", + "CountryCode": "ES" + }, + { + "Name": "Sevilla", + "Code": "SE", + "CountryCode": "ES" + }, + { + "Name": "Soria", + "Code": "SO", + "CountryCode": "ES" + }, + { + "Name": "Tarragona", + "Code": "T", + "CountryCode": "ES" + }, + { + "Name": "Teruel", + "Code": "TE", + "CountryCode": "ES" + }, + { + "Name": "Toledo", + "Code": "TO", + "CountryCode": "ES" + }, + { + "Name": "València (Valencia)", + "Code": "V", + "CountryCode": "ES" + }, + { + "Name": "Valladolid", + "Code": "VA", + "CountryCode": "ES" + }, + { + "Name": "Bizkaia (Vizcaya)", + "Code": "BI", + "CountryCode": "ES" + }, + { + "Name": "Zamora", + "Code": "ZA", + "CountryCode": "ES" + }, + { + "Name": "Zaragoza", + "Code": "Z", + "CountryCode": "ES" + }, + { + "Name": "Johor", + "Code": "MY-01", + "CountryCode": "MY" + }, + { + "Name": "Kedah", + "Code": "MY-02", + "CountryCode": "MY" + }, + { + "Name": "Kelantan", + "Code": "MY-03", + "CountryCode": "MY" + }, + { + "Name": "Kuala Lumpur", + "Code": "MY-14", + "CountryCode": "MY" + }, + { + "Name": "Labuan", + "Code": "MY-15", + "CountryCode": "MY" + }, + { + "Name": "Melaka", + "Code": "MY-04", + "CountryCode": "MY" + }, + { + "Name": "Negeri Sembilan", + "Code": "MY-05", + "CountryCode": "MY" + }, + { + "Name": "Pahang", + "Code": "MY-06", + "CountryCode": "MY" + }, + { + "Name": "Perak", + "Code": "MY-08", + "CountryCode": "MY" + }, + { + "Name": "Perlis", + "Code": "MY-09", + "CountryCode": "MY" + }, + { + "Name": "Pulau Pinang", + "Code": "MY-07", + "CountryCode": "MY" + }, + { + "Name": "Putrajaya", + "Code": "MY-16", + "CountryCode": "MY" + }, + { + "Name": "Sabah", + "Code": "MY-12", + "CountryCode": "MY" + }, + { + "Name": "Sarawak", + "Code": "MY-13", + "CountryCode": "MY" + }, + { + "Name": "Selangor", + "Code": "MY-10", + "CountryCode": "MY" + }, + { + "Name": "Terengganu", + "Code": "MY-11", + "CountryCode": "MY" + }, + { + "Name": "Aguascalientes", + "Code": "AGU", + "CountryCode": "MX" + }, + { + "Name": "Baja California", + "Code": "BCN", + "CountryCode": "MX" + }, + { + "Name": "Baja California Sur", + "Code": "BCS", + "CountryCode": "MX" + }, + { + "Name": "Chihuahua", + "Code": "CHH", + "CountryCode": "MX" + }, + { + "Name": "Colima", + "Code": "COL", + "CountryCode": "MX" + }, + { + "Name": "Campeche", + "Code": "CAM", + "CountryCode": "MX" + }, + { + "Name": "Coahuila", + "Code": "COA", + "CountryCode": "MX" + }, + { + "Name": "Chiapas", + "Code": "CHP", + "CountryCode": "MX" + }, + { + "Name": "Ciudad de México", + "Code": "CMX", + "CountryCode": "MX" + }, + { + "Name": "Durango", + "Code": "DUR", + "CountryCode": "MX" + }, + { + "Name": "Guerrero", + "Code": "GRO", + "CountryCode": "MX" + }, + { + "Name": "Guanajuato", + "Code": "GUA", + "CountryCode": "MX" + }, + { + "Name": "Hidalgo", + "Code": "HID", + "CountryCode": "MX" + }, + { + "Name": "Jalisco", + "Code": "JAL", + "CountryCode": "MX" + }, + { + "Name": "Michoacán", + "Code": "MIC", + "CountryCode": "MX" + }, + { + "Name": "Morelos", + "Code": "MOR", + "CountryCode": "MX" + }, + { + "Name": "México", + "Code": "MEX", + "CountryCode": "MX" + }, + { + "Name": "Nayarit", + "Code": "NAY", + "CountryCode": "MX" + }, + { + "Name": "Nuevo León", + "Code": "NLE", + "CountryCode": "MX" + }, + { + "Name": "Oaxaca", + "Code": "OAX", + "CountryCode": "MX" + }, + { + "Name": "Puebla", + "Code": "PUE", + "CountryCode": "MX" + }, + { + "Name": "Quintana Roo", + "Code": "ROO", + "CountryCode": "MX" + }, + { + "Name": "Querétaro", + "Code": "QUE", + "CountryCode": "MX" + }, + { + "Name": "Sinaloa", + "Code": "SIN", + "CountryCode": "MX" + }, + { + "Name": "San Luis Potosí", + "Code": "SLP", + "CountryCode": "MX" + }, + { + "Name": "Sonora", + "Code": "SON", + "CountryCode": "MX" + }, + { + "Name": "Tabasco", + "Code": "TAB", + "CountryCode": "MX" + }, + { + "Name": "Tlaxcala", + "Code": "TLA", + "CountryCode": "MX" + }, + { + "Name": "Tamaulipas", + "Code": "TAM", + "CountryCode": "MX" + }, + { + "Name": "Veracruz", + "Code": "VER", + "CountryCode": "MX" + }, + { + "Name": "Yucatán", + "Code": "YUC", + "CountryCode": "MX" + }, + { + "Name": "Zacatecas", + "Code": "ZAC", + "CountryCode": "MX" + }, + { + "Name": "Auckland", + "Code": "AUK", + "CountryCode": "NZ" + }, + { + "Name": "Bay of Plenty", + "Code": "BOP", + "CountryCode": "NZ" + }, + { + "Name": "Canterbury", + "Code": "CAN", + "CountryCode": "NZ" + }, + { + "Name": "Gisborne", + "Code": "GIS", + "CountryCode": "NZ" + }, + { + "Name": "Hawke's Bay", + "Code": "HKB", + "CountryCode": "NZ" + }, + { + "Name": "Manawatu-Wanganui", + "Code": "MWT", + "CountryCode": "NZ" + }, + { + "Name": "Marlborough", + "Code": "MBH", + "CountryCode": "NZ" + }, + { + "Name": "Nelson", + "Code": "NSN", + "CountryCode": "NZ" + }, + { + "Name": "Northland", + "Code": "NTL", + "CountryCode": "NZ" + }, + { + "Name": "Otago", + "Code": "OTA", + "CountryCode": "NZ" + }, + { + "Name": "Southland", + "Code": "STL", + "CountryCode": "NZ" + }, + { + "Name": "Taranaki", + "Code": "TKI", + "CountryCode": "NZ" + }, + { + "Name": "Tasman", + "Code": "TAS", + "CountryCode": "NZ" + }, + { + "Name": "Waikato", + "Code": "WKO", + "CountryCode": "NZ" + }, + { + "Name": "Wellington", + "Code": "WGN", + "CountryCode": "NZ" + }, + { + "Name": "West Coast", + "Code": "WTC", + "CountryCode": "NZ" + }, + { + "Name": "Alberta", + "Code": "AB", + "CountryCode": "CA" + }, + { + "Name": "British Columbia", + "Code": "BC", + "CountryCode": "CA" + }, + { + "Name": "Manitoba", + "Code": "MB", + "CountryCode": "CA" + }, + { + "Name": "New Brunswick", + "Code": "NB", + "CountryCode": "CA" + }, + { + "Name": "Newfoundland and Labrador", + "Code": "NL", + "CountryCode": "CA" + }, + { + "Name": "Northwest Territories", + "Code": "NT", + "CountryCode": "CA" + }, + { + "Name": "Nova Scotia", + "Code": "NS", + "CountryCode": "CA" + }, + { + "Name": "Nunavut", + "Code": "NU", + "CountryCode": "CA" + }, + { + "Name": "Ontario", + "Code": "ON", + "CountryCode": "CA" + }, + { + "Name": "Prince Edward Island", + "Code": "PE", + "CountryCode": "CA" + }, + { + "Name": "Quebec", + "Code": "QC", + "CountryCode": "CA" + }, + { + "Name": "Saskatchewan", + "Code": "SK", + "CountryCode": "CA" + }, + { + "Name": "Yukon", + "Code": "YT", + "CountryCode": "CA" + }, + { + "Name": "Abu Dhabi", + "Code": "AZ", + "CountryCode": "AE" + }, + { + "Name": "Ajman", + "Code": "AJ", + "CountryCode": "AE" + }, + { + "Name": "Dubai", + "Code": "DU", + "CountryCode": "AE" + }, + { + "Name": "Fujairah", + "Code": "FU", + "CountryCode": "AE" + }, + { + "Name": "Ras al-Khaimah", + "Code": "RK", + "CountryCode": "AE" + }, + { + "Name": "Sharjah", + "Code": "SH", + "CountryCode": "AE" + }, + { + "Name": "Umm al-Quwain", + "Code": "UQ", + "CountryCode": "AE" + }, + { + "Name": "Ciudad Autónoma de Buenos Aires", + "Code": "C", + "CountryCode": "AR" + }, + { + "Name": "Buenos Aires", + "Code": "B", + "CountryCode": "AR" + }, + { + "Name": "Catamarca", + "Code": "K", + "CountryCode": "AR" + }, + { + "Name": "Chaco", + "Code": "H", + "CountryCode": "AR" + }, + { + "Name": "Chubut", + "Code": "U", + "CountryCode": "AR" + }, + { + "Name": "Córdoba", + "Code": "X", + "CountryCode": "AR" + }, + { + "Name": "Corrientes", + "Code": "W", + "CountryCode": "AR" + }, + { + "Name": "Entre Ríos", + "Code": "E", + "CountryCode": "AR" + }, + { + "Name": "Formosa", + "Code": "P", + "CountryCode": "AR" + }, + { + "Name": "Jujuy", + "Code": "Y", + "CountryCode": "AR" + }, + { + "Name": "La Pampa", + "Code": "L", + "CountryCode": "AR" + }, + { + "Name": "La Rioja", + "Code": "F", + "CountryCode": "AR" + }, + { + "Name": "Mendoza", + "Code": "M", + "CountryCode": "AR" + }, + { + "Name": "Misiones", + "Code": "N", + "CountryCode": "AR" + }, + { + "Name": "Neuquén", + "Code": "Q", + "CountryCode": "AR" + }, + { + "Name": "Río Negro", + "Code": "R", + "CountryCode": "AR" + }, + { + "Name": "Salta", + "Code": "A", + "CountryCode": "AR" + }, + { + "Name": "San Juan", + "Code": "J", + "CountryCode": "AR" + }, + { + "Name": "San Luis", + "Code": "D", + "CountryCode": "AR" + }, + { + "Name": "Santa Cruz", + "Code": "Z", + "CountryCode": "AR" + }, + { + "Name": "Santa Fe", + "Code": "S", + "CountryCode": "AR" + }, + { + "Name": "Santiago Del Estero", + "Code": "G", + "CountryCode": "AR" + }, + { + "Name": "Tierra del Fuego", + "Code": "V", + "CountryCode": "AR" + }, + { + "Name": "Tucumán", + "Code": "T", + "CountryCode": "AR" + }, + { + "Name": "Andaman and Nicobar", + "Code": "AN", + "CountryCode": "IN" + }, + { + "Name": "Andhra Pradesh", + "Code": "AP", + "CountryCode": "IN" + }, + { + "Name": "Arunachal Pradesh", + "Code": "AR", + "CountryCode": "IN" + }, + { + "Name": "Assam", + "Code": "AS", + "CountryCode": "IN" + }, + { + "Name": "Bihar", + "Code": "BR", + "CountryCode": "IN" + }, + { + "Name": "Chandigarh", + "Code": "CH", + "CountryCode": "IN" + }, + { + "Name": "Chattisgarh", + "Code": "CG", + "CountryCode": "IN" + }, + { + "Name": "Dadra and Nagar Haveli", + "Code": "DN", + "CountryCode": "IN" + }, + { + "Name": "Daman and Diu", + "Code": "DD", + "CountryCode": "IN" + }, + { + "Name": "Delhi", + "Code": "DL", + "CountryCode": "IN" + }, + { + "Name": "Goa", + "Code": "GA", + "CountryCode": "IN" + }, + { + "Name": "Gujarat", + "Code": "GJ", + "CountryCode": "IN" + }, + { + "Name": "Haryana", + "Code": "HR", + "CountryCode": "IN" + }, + { + "Name": "Himachal Pradesh", + "Code": "HP", + "CountryCode": "IN" + }, + { + "Name": "Jammu and Kashmir", + "Code": "JK", + "CountryCode": "IN" + }, + { + "Name": "Jharkhand", + "Code": "JH", + "CountryCode": "IN" + }, + { + "Name": "Karnataka", + "Code": "KA", + "CountryCode": "IN" + }, + { + "Name": "Kerala", + "Code": "KL", + "CountryCode": "IN" + }, + { + "Name": "Lakshadweep", + "Code": "LD", + "CountryCode": "IN" + }, + { + "Name": "Madhya Pradesh", + "Code": "MP", + "CountryCode": "IN" + }, + { + "Name": "Maharashtra", + "Code": "MH", + "CountryCode": "IN" + }, + { + "Name": "Manipur", + "Code": "MN", + "CountryCode": "IN" + }, + { + "Name": "Meghalaya", + "Code": "ML", + "CountryCode": "IN" + }, + { + "Name": "Mizoram", + "Code": "MZ", + "CountryCode": "IN" + }, + { + "Name": "Nagaland", + "Code": "NL", + "CountryCode": "IN" + }, + { + "Name": "Orissa", + "Code": "OR", + "CountryCode": "IN" + }, + { + "Name": "Puducherry", + "Code": "PY", + "CountryCode": "IN" + }, + { + "Name": "Punjab", + "Code": "PB", + "CountryCode": "IN" + }, + { + "Name": "Rajasthan", + "Code": "RJ", + "CountryCode": "IN" + }, + { + "Name": "Sikkim", + "Code": "SK", + "CountryCode": "IN" + }, + { + "Name": "Tamil Nadu", + "Code": "TN", + "CountryCode": "IN" + }, + { + "Name": "Telangana", + "Code": "TS", + "CountryCode": "IN" + }, + { + "Name": "Tripura", + "Code": "TR", + "CountryCode": "IN" + }, + { + "Name": "Uttar Pradesh", + "Code": "UP", + "CountryCode": "IN" + }, + { + "Name": "Uttarakhand", + "Code": "UK", + "CountryCode": "IN" + }, + { + "Name": "West Bengal", + "Code": "WB", + "CountryCode": "IN" + }, + { + "Name": "Aceh", + "Code": "AC", + "CountryCode": "ID" + }, + { + "Name": "Bali", + "Code": "BA", + "CountryCode": "ID" + }, + { + "Name": "Bangka Belitung", + "Code": "BB", + "CountryCode": "ID" + }, + { + "Name": "Banten", + "Code": "BT", + "CountryCode": "ID" + }, + { + "Name": "Bengkulu", + "Code": "BE", + "CountryCode": "ID" + }, + { + "Name": "Gorontalo", + "Code": "GO", + "CountryCode": "ID" + }, + { + "Name": "Jakarta", + "Code": "JK", + "CountryCode": "ID" + }, + { + "Name": "Jambi", + "Code": "JA", + "CountryCode": "ID" + }, + { + "Name": "Jawa Barat", + "Code": "JB", + "CountryCode": "ID" + }, + { + "Name": "Jawa Tengah", + "Code": "JT", + "CountryCode": "ID" + }, + { + "Name": "Jawa Timur", + "Code": "JI", + "CountryCode": "ID" + }, + { + "Name": "Kalimantan Barat", + "Code": "KB", + "CountryCode": "ID" + }, + { + "Name": "Kalimantan Selatan", + "Code": "KS", + "CountryCode": "ID" + }, + { + "Name": "Kalimantan Tengah", + "Code": "KT", + "CountryCode": "ID" + }, + { + "Name": "Kalimantan Timur", + "Code": "KI", + "CountryCode": "ID" + }, + { + "Name": "Kalimantan Utara", + "Code": "KU", + "CountryCode": "ID" + }, + { + "Name": "Kepulauan Riau", + "Code": "KR", + "CountryCode": "ID" + }, + { + "Name": "Lampung", + "Code": "LA", + "CountryCode": "ID" + }, + { + "Name": "Maluku", + "Code": "MA", + "CountryCode": "ID" + }, + { + "Name": "Maluku Utara", + "Code": "MU", + "CountryCode": "ID" + }, + { + "Name": "Nusa Tenggara Barat", + "Code": "NB", + "CountryCode": "ID" + }, + { + "Name": "Nusa Tenggara Timur", + "Code": "NT", + "CountryCode": "ID" + }, + { + "Name": "Papua", + "Code": "PA", + "CountryCode": "ID" + }, + { + "Name": "Papua Barat", + "Code": "PB", + "CountryCode": "ID" + }, + { + "Name": "Papua Barat Daya", + "Code": "PD", + "CountryCode": "ID" + }, + { + "Name": "Papua Selatan", + "Code": "PS", + "CountryCode": "ID" + }, + { + "Name": "Papua Tengah", + "Code": "PT", + "CountryCode": "ID" + }, + { + "Name": "Papua Pegunungan", + "Code": "PE", + "CountryCode": "ID" + }, + { + "Name": "Riau", + "Code": "RI", + "CountryCode": "ID" + }, + { + "Name": "Sulawesi Barat", + "Code": "SR", + "CountryCode": "ID" + }, + { + "Name": "Sulawesi Selatan", + "Code": "SN", + "CountryCode": "ID" + }, + { + "Name": "Sulawesi Tengah", + "Code": "ST", + "CountryCode": "ID" + }, + { + "Name": "Sulawesi Tenggara", + "Code": "SG", + "CountryCode": "ID" + }, + { + "Name": "Sulawesi Utara", + "Code": "SA", + "CountryCode": "ID" + }, + { + "Name": "Sumatra Barat", + "Code": "SB", + "CountryCode": "ID" + }, + { + "Name": "Sumatra Selatan", + "Code": "SS", + "CountryCode": "ID" + }, + { + "Name": "Sumatra Utara", + "Code": "SU", + "CountryCode": "ID" + }, + { + "Name": "Yogyakarta", + "Code": "YO", + "CountryCode": "ID" + }, + { + "Name": "Antioquia", + "Code": "ANT", + "CountryCode": "CO" + }, + { + "Name": "Atlántico", + "Code": "ATL", + "CountryCode": "CO" + }, + { + "Name": "Bogotá", + "Code": "DC", + "CountryCode": "CO" + }, + { + "Name": "Bolívar", + "Code": "BOL", + "CountryCode": "CO" + }, + { + "Name": "Boyacá", + "Code": "BOY", + "CountryCode": "CO" + }, + { + "Name": "Caldas", + "Code": "CAL", + "CountryCode": "CO" + }, + { + "Name": "Caquetá", + "Code": "CAQ", + "CountryCode": "CO" + }, + { + "Name": "Cauca", + "Code": "CAU", + "CountryCode": "CO" + }, + { + "Name": "Cesar", + "Code": "CES", + "CountryCode": "CO" + }, + { + "Name": "Córdoba", + "Code": "COR", + "CountryCode": "CO" + }, + { + "Name": "Cundinamarca", + "Code": "CUN", + "CountryCode": "CO" + }, + { + "Name": "Chocó", + "Code": "CHO", + "CountryCode": "CO" + }, + { + "Name": "Huila", + "Code": "HUI", + "CountryCode": "CO" + }, + { + "Name": "La Guajira", + "Code": "LAG", + "CountryCode": "CO" + }, + { + "Name": "Magdalena", + "Code": "MAG", + "CountryCode": "CO" + }, + { + "Name": "Meta", + "Code": "MET", + "CountryCode": "CO" + }, + { + "Name": "Nariño", + "Code": "NAR", + "CountryCode": "CO" + }, + { + "Name": "Norte de Santander", + "Code": "NSA", + "CountryCode": "CO" + }, + { + "Name": "Quindío", + "Code": "QUI", + "CountryCode": "CO" + }, + { + "Name": "Risaralda", + "Code": "RIS", + "CountryCode": "CO" + }, + { + "Name": "Santander", + "Code": "SAN", + "CountryCode": "CO" + }, + { + "Name": "Sucre", + "Code": "SUC", + "CountryCode": "CO" + }, + { + "Name": "Tolima", + "Code": "TOL", + "CountryCode": "CO" + }, + { + "Name": "Valle del Cauca", + "Code": "VAC", + "CountryCode": "CO" + }, + { + "Name": "Arauca", + "Code": "ARA", + "CountryCode": "CO" + }, + { + "Name": "Casanare", + "Code": "CAS", + "CountryCode": "CO" + }, + { + "Name": "Putumayo", + "Code": "PUT", + "CountryCode": "CO" + }, + { + "Name": "San Andrés y Providencia", + "Code": "SAP", + "CountryCode": "CO" + }, + { + "Name": "Amazonas", + "Code": "AMA", + "CountryCode": "CO" + }, + { + "Name": "Guainía", + "Code": "GUA", + "CountryCode": "CO" + }, + { + "Name": "Guaviare", + "Code": "GUV", + "CountryCode": "CO" + }, + { + "Name": "Vaupés", + "Code": "VAU", + "CountryCode": "CO" + }, + { + "Name": "Vichada", + "Code": "VID", + "CountryCode": "CO" + }, + { + "Name": "Архангай", + "Code": "01", + "CountryCode": "MN" + }, + { + "Name": "Баян-Өлгий", + "Code": "02", + "CountryCode": "MN" + }, + { + "Name": "Баянхонгор", + "Code": "03", + "CountryCode": "MN" + }, + { + "Name": "Булган", + "Code": "04", + "CountryCode": "MN" + }, + { + "Name": "Говь-Алтай", + "Code": "05", + "CountryCode": "MN" + }, + { + "Name": "Дорноговь", + "Code": "06", + "CountryCode": "MN" + }, + { + "Name": "Дорнод", + "Code": "07", + "CountryCode": "MN" + }, + { + "Name": "Дундговь", + "Code": "08", + "CountryCode": "MN" + }, + { + "Name": "Завхан", + "Code": "09", + "CountryCode": "MN" + }, + { + "Name": "Өвөрхангай", + "Code": "10", + "CountryCode": "MN" + }, + { + "Name": "Өмнөговь", + "Code": "11", + "CountryCode": "MN" + }, + { + "Name": "Сүхбаатар", + "Code": "12", + "CountryCode": "MN" + }, + { + "Name": "Сэлэнгэ", + "Code": "13", + "CountryCode": "MN" + }, + { + "Name": "Төв", + "Code": "14", + "CountryCode": "MN" + }, + { + "Name": "Увс", + "Code": "15", + "CountryCode": "MN" + }, + { + "Name": "Ховд", + "Code": "16", + "CountryCode": "MN" + }, + { + "Name": "Хөвсгөл", + "Code": "17", + "CountryCode": "MN" + }, + { + "Name": "Хэнтий", + "Code": "18", + "CountryCode": "MN" + }, + { + "Name": "Дархан-Уул", + "Code": "19", + "CountryCode": "MN" + }, + { + "Name": "Орхон", + "Code": "20", + "CountryCode": "MN" + }, + { + "Name": "УБ - Хан Уул", + "Code": "23", + "CountryCode": "MN" + }, + { + "Name": "УБ - Баянзүрх", + "Code": "24", + "CountryCode": "MN" + }, + { + "Name": "УБ - Сүхбаатар", + "Code": "25", + "CountryCode": "MN" + }, + { + "Name": "УБ - Баянгол", + "Code": "26", + "CountryCode": "MN" + }, + { + "Name": "УБ - Багануур", + "Code": "27", + "CountryCode": "MN" + }, + { + "Name": "УБ - Багахангай", + "Code": "28", + "CountryCode": "MN" + }, + { + "Name": "УБ - Налайх", + "Code": "29", + "CountryCode": "MN" + }, + { + "Name": "Говьсүмбэр", + "Code": "32", + "CountryCode": "MN" + }, + { + "Name": "УБ - Сонгино Хайрхан", + "Code": "34", + "CountryCode": "MN" + }, + { + "Name": "УБ - Чингэлтэй", + "Code": "35", + "CountryCode": "MN" + }, + { + "Name": "Aberdeenshire", + "Code": "A1", + "CountryCode": "GB" + }, + { + "Name": "Angus", + "Code": "A5", + "CountryCode": "GB" + }, + { + "Name": "Argyll", + "Code": "A7", + "CountryCode": "GB" + }, + { + "Name": "Avon", + "Code": "A9", + "CountryCode": "GB" + }, + { + "Name": "Ayrshire", + "Code": "B1", + "CountryCode": "GB" + }, + { + "Name": "Banffshire", + "Code": "B3", + "CountryCode": "GB" + }, + { + "Name": "Bedfordshire", + "Code": "B5", + "CountryCode": "GB" + }, + { + "Name": "Berkshire", + "Code": "B7", + "CountryCode": "GB" + }, + { + "Name": "Berwickshire", + "Code": "B9", + "CountryCode": "GB" + }, + { + "Name": "Buckinghamshire", + "Code": "C1", + "CountryCode": "GB" + }, + { + "Name": "Caithness", + "Code": "C3", + "CountryCode": "GB" + }, + { + "Name": "Cambridgeshire", + "Code": "C5", + "CountryCode": "GB" + }, + { + "Name": "Channel Islands", + "Code": "C6", + "CountryCode": "GB" + }, + { + "Name": "Cheshire", + "Code": "C7", + "CountryCode": "GB" + }, + { + "Name": "Clackmannanshire", + "Code": "C9", + "CountryCode": "GB" + }, + { + "Name": "Cleveland", + "Code": "D1", + "CountryCode": "GB" + }, + { + "Name": "Clwyd", + "Code": "D3", + "CountryCode": "GB" + }, + { + "Name": "County Antrim", + "Code": "D5", + "CountryCode": "GB" + }, + { + "Name": "County Armagh", + "Code": "D7", + "CountryCode": "GB" + }, + { + "Name": "County Down", + "Code": "D9", + "CountryCode": "GB" + }, + { + "Name": "County Durham", + "Code": "E1", + "CountryCode": "GB" + }, + { + "Name": "County Fermanagh", + "Code": "E3", + "CountryCode": "GB" + }, + { + "Name": "County Londonderry", + "Code": "E5", + "CountryCode": "GB" + }, + { + "Name": "County Tyrone", + "Code": "E7", + "CountryCode": "GB" + }, + { + "Name": "Cornwall", + "Code": "E9", + "CountryCode": "GB" + }, + { + "Name": "Cumbria", + "Code": "F1", + "CountryCode": "GB" + }, + { + "Name": "Derbyshire", + "Code": "F3", + "CountryCode": "GB" + }, + { + "Name": "Devon", + "Code": "F5", + "CountryCode": "GB" + }, + { + "Name": "Dorset", + "Code": "F7", + "CountryCode": "GB" + }, + { + "Name": "Dumfriesshire", + "Code": "F9", + "CountryCode": "GB" + }, + { + "Name": "Dunbartonshire", + "Code": "G1", + "CountryCode": "GB" + }, + { + "Name": "Dyfed", + "Code": "G3", + "CountryCode": "GB" + }, + { + "Name": "East Lothian", + "Code": "G5", + "CountryCode": "GB" + }, + { + "Name": "East Sussex", + "Code": "G7", + "CountryCode": "GB" + }, + { + "Name": "Essex", + "Code": "G9", + "CountryCode": "GB" + }, + { + "Name": "Fife", + "Code": "H1", + "CountryCode": "GB" + }, + { + "Name": "Gloucestershire", + "Code": "H3", + "CountryCode": "GB" + }, + { + "Name": "Gwent", + "Code": "H7", + "CountryCode": "GB" + }, + { + "Name": "Gwynedd", + "Code": "H9", + "CountryCode": "GB" + }, + { + "Name": "Hampshire", + "Code": "I1", + "CountryCode": "GB" + }, + { + "Name": "Herefordshire", + "Code": "I3", + "CountryCode": "GB" + }, + { + "Name": "Hertfordshire", + "Code": "I5", + "CountryCode": "GB" + }, + { + "Name": "Inverness-Shire", + "Code": "I7", + "CountryCode": "GB" + }, + { + "Name": "Isle of Arran", + "Code": "I9", + "CountryCode": "GB" + }, + { + "Name": "Isle of Barra", + "Code": "J1", + "CountryCode": "GB" + }, + { + "Name": "Isle of Benbecula", + "Code": "J3", + "CountryCode": "GB" + }, + { + "Name": "Isle of Bute", + "Code": "J5", + "CountryCode": "GB" + }, + { + "Name": "Isle of Canna", + "Code": "J7", + "CountryCode": "GB" + }, + { + "Name": "Isle of Coll", + "Code": "J9", + "CountryCode": "GB" + }, + { + "Name": "Isle of Colonsay", + "Code": "K1", + "CountryCode": "GB" + }, + { + "Name": "Isle of Cumbrae", + "Code": "K3", + "CountryCode": "GB" + }, + { + "Name": "Isle of Eigg", + "Code": "K5", + "CountryCode": "GB" + }, + { + "Name": "Isle of Gigha", + "Code": "K7", + "CountryCode": "GB" + }, + { + "Name": "Isle of Harris", + "Code": "K9", + "CountryCode": "GB" + }, + { + "Name": "Isle of Iona", + "Code": "L1", + "CountryCode": "GB" + }, + { + "Name": "Isle of Islay", + "Code": "L2", + "CountryCode": "GB" + }, + { + "Name": "Isle of Jura", + "Code": "L5", + "CountryCode": "GB" + }, + { + "Name": "Isle of Lewis", + "Code": "L7", + "CountryCode": "GB" + }, + { + "Name": "Isle of Man", + "Code": "L9", + "CountryCode": "GB" + }, + { + "Name": "Isle of Mull", + "Code": "M1", + "CountryCode": "GB" + }, + { + "Name": "Isle of North Uist", + "Code": "M3", + "CountryCode": "GB" + }, + { + "Name": "Isle of Rhum", + "Code": "M7", + "CountryCode": "GB" + }, + { + "Name": "Isle of Scalpay", + "Code": "M9", + "CountryCode": "GB" + }, + { + "Name": "Shetland Islands", + "Code": "N1", + "CountryCode": "GB" + }, + { + "Name": "Isle of Skye", + "Code": "N3", + "CountryCode": "GB" + }, + { + "Name": "Isle of South Uist", + "Code": "N5", + "CountryCode": "GB" + }, + { + "Name": "Isle of Tiree", + "Code": "N7", + "CountryCode": "GB" + }, + { + "Name": "Isle of Wight", + "Code": "N9", + "CountryCode": "GB" + }, + { + "Name": "Kent", + "Code": "O5", + "CountryCode": "GB" + }, + { + "Name": "Kincardineshire", + "Code": "O7", + "CountryCode": "GB" + }, + { + "Name": "Kinross-Shire", + "Code": "O9", + "CountryCode": "GB" + }, + { + "Name": "Kirkcudbrightshire", + "Code": "P1", + "CountryCode": "GB" + }, + { + "Name": "Lancashire", + "Code": "P5", + "CountryCode": "GB" + }, + { + "Name": "Leicestershire", + "Code": "P7", + "CountryCode": "GB" + }, + { + "Name": "Lincolnshire", + "Code": "P9", + "CountryCode": "GB" + }, + { + "Name": "Merseyside", + "Code": "Q3", + "CountryCode": "GB" + }, + { + "Name": "Mid Glamorgan", + "Code": "Q5", + "CountryCode": "GB" + }, + { + "Name": "Middlesex", + "Code": "Q9", + "CountryCode": "GB" + }, + { + "Name": "Morayshire", + "Code": "R1", + "CountryCode": "GB" + }, + { + "Name": "Nairnshire", + "Code": "R3", + "CountryCode": "GB" + }, + { + "Name": "North Humberside", + "Code": "R7", + "CountryCode": "GB" + }, + { + "Name": "North Yorkshire", + "Code": "R9", + "CountryCode": "GB" + }, + { + "Name": "Northamptonshire", + "Code": "S1", + "CountryCode": "GB" + }, + { + "Name": "Northumberland", + "Code": "S3", + "CountryCode": "GB" + }, + { + "Name": "Nottinghamshire", + "Code": "S5", + "CountryCode": "GB" + }, + { + "Name": "Oxfordshire", + "Code": "S7", + "CountryCode": "GB" + }, + { + "Name": "Peeblesshire", + "Code": "S9", + "CountryCode": "GB" + }, + { + "Name": "Perthshire", + "Code": "T1", + "CountryCode": "GB" + }, + { + "Name": "Powys", + "Code": "T3", + "CountryCode": "GB" + }, + { + "Name": "Renfrewshire", + "Code": "T5", + "CountryCode": "GB" + }, + { + "Name": "Ross-Shire", + "Code": "T7", + "CountryCode": "GB" + }, + { + "Name": "Roxburghshire", + "Code": "T9", + "CountryCode": "GB" + }, + { + "Name": "Selkirkshire", + "Code": "U3", + "CountryCode": "GB" + }, + { + "Name": "Shropshire", + "Code": "U5", + "CountryCode": "GB" + }, + { + "Name": "Somerset", + "Code": "U7", + "CountryCode": "GB" + }, + { + "Name": "South Glamorgan", + "Code": "U9", + "CountryCode": "GB" + }, + { + "Name": "South Humberside", + "Code": "V1", + "CountryCode": "GB" + }, + { + "Name": "South Yorkshire", + "Code": "V3", + "CountryCode": "GB" + }, + { + "Name": "Staffordshire", + "Code": "V5", + "CountryCode": "GB" + }, + { + "Name": "Stirlingshire", + "Code": "V7", + "CountryCode": "GB" + }, + { + "Name": "Suffolk", + "Code": "V9", + "CountryCode": "GB" + }, + { + "Name": "Surrey", + "Code": "W1", + "CountryCode": "GB" + }, + { + "Name": "Sutherland", + "Code": "W3", + "CountryCode": "GB" + }, + { + "Name": "Tyne and Wear", + "Code": "W5", + "CountryCode": "GB" + }, + { + "Name": "Warwickshire", + "Code": "W7", + "CountryCode": "GB" + }, + { + "Name": "West Glamorgan", + "Code": "W9", + "CountryCode": "GB" + }, + { + "Name": "West Lothian", + "Code": "X1", + "CountryCode": "GB" + }, + { + "Name": "West Midlands", + "Code": "X3", + "CountryCode": "GB" + }, + { + "Name": "West Sussex", + "Code": "X5", + "CountryCode": "GB" + }, + { + "Name": "West Yorkshire", + "Code": "X7", + "CountryCode": "GB" + }, + { + "Name": "Wigtownshire", + "Code": "X9", + "CountryCode": "GB" + }, + { + "Name": "Wiltshire", + "Code": "Y1", + "CountryCode": "GB" + }, + { + "Name": "Worcestershire", + "Code": "Y3", + "CountryCode": "GB" + }, + { + "Name": "Orkney", + "Code": "M5", + "CountryCode": "GB" + }, + { + "Name": "Isles of Scilly", + "Code": "O1", + "CountryCode": "GB" + }, + { + "Name": "Lanarkshire", + "Code": "P3", + "CountryCode": "GB" + }, + { + "Name": "London", + "Code": "Q1", + "CountryCode": "GB" + }, + { + "Name": "Midlothian", + "Code": "Q7", + "CountryCode": "GB" + }, + { + "Name": "Norfolk", + "Code": "R5", + "CountryCode": "GB" + }, + { + "Name": "Argeș", + "Code": "AG", + "CountryCode": "RO" + }, + { + "Name": "Arad", + "Code": "AR", + "CountryCode": "RO" + }, + { + "Name": "București", + "Code": "B", + "CountryCode": "RO" + }, + { + "Name": "Bacău", + "Code": "BC", + "CountryCode": "RO" + }, + { + "Name": "Bihor", + "Code": "BH", + "CountryCode": "RO" + }, + { + "Name": "Bistrița-Năsăud", + "Code": "BN", + "CountryCode": "RO" + }, + { + "Name": "Brăila", + "Code": "BR", + "CountryCode": "RO" + }, + { + "Name": "Botoșani", + "Code": "BT", + "CountryCode": "RO" + }, + { + "Name": "Brașov", + "Code": "BV", + "CountryCode": "RO" + }, + { + "Name": "Buzău", + "Code": "BZ", + "CountryCode": "RO" + }, + { + "Name": "Cluj", + "Code": "CJ", + "CountryCode": "RO" + }, + { + "Name": "Călărași", + "Code": "CL", + "CountryCode": "RO" + }, + { + "Name": "Caraș Severin", + "Code": "CS", + "CountryCode": "RO" + }, + { + "Name": "Constanța", + "Code": "CT", + "CountryCode": "RO" + }, + { + "Name": "Covasna", + "Code": "CV", + "CountryCode": "RO" + }, + { + "Name": "Dâmbovița", + "Code": "DB", + "CountryCode": "RO" + }, + { + "Name": "Dolj", + "Code": "DJ", + "CountryCode": "RO" + }, + { + "Name": "Gorj", + "Code": "GJ", + "CountryCode": "RO" + }, + { + "Name": "Galați", + "Code": "GL", + "CountryCode": "RO" + }, + { + "Name": "Giurgiu", + "Code": "GR", + "CountryCode": "RO" + }, + { + "Name": "Hunedoara", + "Code": "HD", + "CountryCode": "RO" + }, + { + "Name": "Harghita", + "Code": "HR", + "CountryCode": "RO" + }, + { + "Name": "Ilfov", + "Code": "IF", + "CountryCode": "RO" + }, + { + "Name": "Ialomița", + "Code": "IL", + "CountryCode": "RO" + }, + { + "Name": "Iași", + "Code": "IS", + "CountryCode": "RO" + }, + { + "Name": "Mehedinți", + "Code": "MH", + "CountryCode": "RO" + }, + { + "Name": "Maramureș", + "Code": "MM", + "CountryCode": "RO" + }, + { + "Name": "Mureș", + "Code": "MS", + "CountryCode": "RO" + }, + { + "Name": "Neamț", + "Code": "NT", + "CountryCode": "RO" + }, + { + "Name": "Olt", + "Code": "OT", + "CountryCode": "RO" + }, + { + "Name": "Prahova", + "Code": "PH", + "CountryCode": "RO" + }, + { + "Name": "Sibiu", + "Code": "SB", + "CountryCode": "RO" + }, + { + "Name": "Sălaj", + "Code": "SJ", + "CountryCode": "RO" + }, + { + "Name": "Satu Mare", + "Code": "SM", + "CountryCode": "RO" + }, + { + "Name": "Suceava", + "Code": "SV", + "CountryCode": "RO" + }, + { + "Name": "Tulcea", + "Code": "TL", + "CountryCode": "RO" + }, + { + "Name": "Timiș", + "Code": "TM", + "CountryCode": "RO" + }, + { + "Name": "Teleorman", + "Code": "TR", + "CountryCode": "RO" + }, + { + "Name": "Vâlcea", + "Code": "VL", + "CountryCode": "RO" + }, + { + "Name": "Vrancea", + "Code": "VN", + "CountryCode": "RO" + }, + { + "Name": "Vaslui", + "Code": "VS", + "CountryCode": "RO" + }, + { + "Name": "北京市", + "Code": "京", + "CountryCode": "CN" + }, + { + "Name": "上海市", + "Code": "沪", + "CountryCode": "CN" + }, + { + "Name": "浙江省", + "Code": "浙", + "CountryCode": "CN" + }, + { + "Name": "天津市", + "Code": "津", + "CountryCode": "CN" + }, + { + "Name": "安徽省", + "Code": "皖", + "CountryCode": "CN" + }, + { + "Name": "福建省", + "Code": "闽", + "CountryCode": "CN" + }, + { + "Name": "重庆市", + "Code": "渝", + "CountryCode": "CN" + }, + { + "Name": "江西省", + "Code": "赣", + "CountryCode": "CN" + }, + { + "Name": "山东省", + "Code": "鲁", + "CountryCode": "CN" + }, + { + "Name": "河南省", + "Code": "豫", + "CountryCode": "CN" + }, + { + "Name": "内蒙古自治区", + "Code": "蒙", + "CountryCode": "CN" + }, + { + "Name": "湖北省", + "Code": "鄂", + "CountryCode": "CN" + }, + { + "Name": "新疆维吾尔自治区", + "Code": "新", + "CountryCode": "CN" + }, + { + "Name": "湖南省", + "Code": "湘", + "CountryCode": "CN" + }, + { + "Name": "宁夏回族自治区", + "Code": "宁", + "CountryCode": "CN" + }, + { + "Name": "广东省", + "Code": "粤", + "CountryCode": "CN" + }, + { + "Name": "西藏自治区", + "Code": "藏", + "CountryCode": "CN" + }, + { + "Name": "海南省", + "Code": "琼", + "CountryCode": "CN" + }, + { + "Name": "广西壮族自治区", + "Code": "桂", + "CountryCode": "CN" + }, + { + "Name": "四川省", + "Code": "蜀", + "CountryCode": "CN" + }, + { + "Name": "河北省", + "Code": "冀", + "CountryCode": "CN" + }, + { + "Name": "贵州省", + "Code": "黔", + "CountryCode": "CN" + }, + { + "Name": "山西省", + "Code": "晋", + "CountryCode": "CN" + }, + { + "Name": "云南省", + "Code": "滇", + "CountryCode": "CN" + }, + { + "Name": "辽宁省", + "Code": "辽", + "CountryCode": "CN" + }, + { + "Name": "陕西省", + "Code": "陕", + "CountryCode": "CN" + }, + { + "Name": "吉林省", + "Code": "吉", + "CountryCode": "CN" + }, + { + "Name": "甘肃省", + "Code": "甘", + "CountryCode": "CN" + }, + { + "Name": "黑龙江省", + "Code": "黑", + "CountryCode": "CN" + }, + { + "Name": "青海省", + "Code": "青", + "CountryCode": "CN" + }, + { + "Name": "江苏省", + "Code": "苏", + "CountryCode": "CN" + }, + { + "Name": "台湾省", + "Code": "台", + "CountryCode": "CN" + }, + { + "Name": "香港特别行政区", + "Code": "港", + "CountryCode": "CN" + }, + { + "Name": "澳门特别行政区", + "Code": "澳", + "CountryCode": "CN" + }, + { + "Name": "Addis Ababa", + "Code": "AA", + "CountryCode": "ET" + }, + { + "Name": "Afar", + "Code": "AF", + "CountryCode": "ET" + }, + { + "Name": "Amhara", + "Code": "AM", + "CountryCode": "ET" + }, + { + "Name": "Benishangul-Gumuz", + "Code": "BN", + "CountryCode": "ET" + }, + { + "Name": "Dire Dawa", + "Code": "DR", + "CountryCode": "ET" + }, + { + "Name": "Gambella Peoples", + "Code": "GM", + "CountryCode": "ET" + }, + { + "Name": "Harrari Peoples", + "Code": "HR", + "CountryCode": "ET" + }, + { + "Name": "Oromia", + "Code": "OR", + "CountryCode": "ET" + }, + { + "Name": "Somali", + "Code": "SM", + "CountryCode": "ET" + }, + { + "Name": "Southern Peoples, Nations, and Nationalities", + "Code": "SP", + "CountryCode": "ET" + }, + { + "Name": "Tigray", + "Code": "TG", + "CountryCode": "ET" + }, + { + "Name": "Carlow", + "Code": "CW", + "CountryCode": "IE" + }, + { + "Name": "Cavan", + "Code": "CN", + "CountryCode": "IE" + }, + { + "Name": "Clare", + "Code": "CE", + "CountryCode": "IE" + }, + { + "Name": "Cork", + "Code": "C", + "CountryCode": "IE" + }, + { + "Name": "Limerick", + "Code": "LK", + "CountryCode": "IE" + }, + { + "Name": "Waterford", + "Code": "WD", + "CountryCode": "IE" + }, + { + "Name": "Donegal", + "Code": "DL", + "CountryCode": "IE" + }, + { + "Name": "Dublin", + "Code": "D", + "CountryCode": "IE" + }, + { + "Name": "Galway", + "Code": "G", + "CountryCode": "IE" + }, + { + "Name": "Kerry", + "Code": "KY", + "CountryCode": "IE" + }, + { + "Name": "Kildare", + "Code": "KE", + "CountryCode": "IE" + }, + { + "Name": "Kilkenny", + "Code": "KK", + "CountryCode": "IE" + }, + { + "Name": "Laois", + "Code": "LS", + "CountryCode": "IE" + }, + { + "Name": "Leitrim", + "Code": "LM", + "CountryCode": "IE" + }, + { + "Name": "Longford", + "Code": "LD", + "CountryCode": "IE" + }, + { + "Name": "Louth", + "Code": "LH", + "CountryCode": "IE" + }, + { + "Name": "Mayo", + "Code": "MO", + "CountryCode": "IE" + }, + { + "Name": "Meath", + "Code": "MH", + "CountryCode": "IE" + }, + { + "Name": "Monaghan", + "Code": "MN", + "CountryCode": "IE" + }, + { + "Name": "Offaly", + "Code": "OY", + "CountryCode": "IE" + }, + { + "Name": "Roscommon", + "Code": "RN", + "CountryCode": "IE" + }, + { + "Name": "Sligo", + "Code": "SO", + "CountryCode": "IE" + }, + { + "Name": "Tipperary", + "Code": "TR", + "CountryCode": "IE" + }, + { + "Name": "Westmeath", + "Code": "WH", + "CountryCode": "IE" + }, + { + "Name": "Wexford", + "Code": "WX", + "CountryCode": "IE" + }, + { + "Name": "Wicklow", + "Code": "WW", + "CountryCode": "IE" + }, + { + "Name": "Antrim", + "Code": "AM", + "CountryCode": "IE" + }, + { + "Name": "Armagh", + "Code": "AH", + "CountryCode": "IE" + }, + { + "Name": "Down", + "Code": "DN", + "CountryCode": "IE" + }, + { + "Name": "Fermanagh", + "Code": "FH", + "CountryCode": "IE" + }, + { + "Name": "Londonderry", + "Code": "LY", + "CountryCode": "IE" + }, + { + "Name": "Tyrone", + "Code": "TE", + "CountryCode": "IE" + }, + { + "Name": "Drenthe", + "Code": "DR", + "CountryCode": "NL" + }, + { + "Name": "Flevoland", + "Code": "FL", + "CountryCode": "NL" + }, + { + "Name": "Friesland", + "Code": "FR", + "CountryCode": "NL" + }, + { + "Name": "Gelderland", + "Code": "GE", + "CountryCode": "NL" + }, + { + "Name": "Groningen", + "Code": "GR", + "CountryCode": "NL" + }, + { + "Name": "Limburg", + "Code": "LI", + "CountryCode": "NL" + }, + { + "Name": "Noord-Brabant", + "Code": "NB", + "CountryCode": "NL" + }, + { + "Name": "Noord-Holland", + "Code": "NH", + "CountryCode": "NL" + }, + { + "Name": "Overijssel", + "Code": "OV", + "CountryCode": "NL" + }, + { + "Name": "Utrecht", + "Code": "UT", + "CountryCode": "NL" + }, + { + "Name": "Zeeland", + "Code": "ZE", + "CountryCode": "NL" + }, + { + "Name": "Zuid-Holland", + "Code": "ZH", + "CountryCode": "NL" + }, + { + "Name": "Bonaire", + "Code": "BQ1", + "CountryCode": "NL" + }, + { + "Name": "Saba", + "Code": "BQ2", + "CountryCode": "NL" + }, + { + "Name": "Sint Eustatius", + "Code": "BQ3", + "CountryCode": "NL" + }, + { + "Name": "Adana", + "Code": "01", + "CountryCode": "TR" + }, + { + "Name": "Adıyaman", + "Code": "02", + "CountryCode": "TR" + }, + { + "Name": "Afyonkarahisar", + "Code": "03", + "CountryCode": "TR" + }, + { + "Name": "Ağrı", + "Code": "04", + "CountryCode": "TR" + }, + { + "Name": "Amasya", + "Code": "05", + "CountryCode": "TR" + }, + { + "Name": "Ankara", + "Code": "06", + "CountryCode": "TR" + }, + { + "Name": "Antalya", + "Code": "07", + "CountryCode": "TR" + }, + { + "Name": "Artvin", + "Code": "08", + "CountryCode": "TR" + }, + { + "Name": "Aydın", + "Code": "09", + "CountryCode": "TR" + }, + { + "Name": "Balıkesir", + "Code": "10", + "CountryCode": "TR" + }, + { + "Name": "Bilecik", + "Code": "11", + "CountryCode": "TR" + }, + { + "Name": "Bingöl", + "Code": "12", + "CountryCode": "TR" + }, + { + "Name": "Bitlis", + "Code": "13", + "CountryCode": "TR" + }, + { + "Name": "Bolu", + "Code": "14", + "CountryCode": "TR" + }, + { + "Name": "Burdur", + "Code": "15", + "CountryCode": "TR" + }, + { + "Name": "Bursa", + "Code": "16", + "CountryCode": "TR" + }, + { + "Name": "Çanakkale", + "Code": "17", + "CountryCode": "TR" + }, + { + "Name": "Çankırı", + "Code": "18", + "CountryCode": "TR" + }, + { + "Name": "Çorum", + "Code": "19", + "CountryCode": "TR" + }, + { + "Name": "Denizli", + "Code": "20", + "CountryCode": "TR" + }, + { + "Name": "Diyarbakır", + "Code": "21", + "CountryCode": "TR" + }, + { + "Name": "Edirne", + "Code": "22", + "CountryCode": "TR" + }, + { + "Name": "Elazığ", + "Code": "23", + "CountryCode": "TR" + }, + { + "Name": "Erzincan", + "Code": "24", + "CountryCode": "TR" + }, + { + "Name": "Erzurum", + "Code": "25", + "CountryCode": "TR" + }, + { + "Name": "Eskişehir", + "Code": "26", + "CountryCode": "TR" + }, + { + "Name": "Gaziantep", + "Code": "27", + "CountryCode": "TR" + }, + { + "Name": "Giresun", + "Code": "28", + "CountryCode": "TR" + }, + { + "Name": "Gümüşhane", + "Code": "29", + "CountryCode": "TR" + }, + { + "Name": "Hakkari", + "Code": "30", + "CountryCode": "TR" + }, + { + "Name": "Hatay", + "Code": "31", + "CountryCode": "TR" + }, + { + "Name": "Isparta", + "Code": "32", + "CountryCode": "TR" + }, + { + "Name": "Mersin", + "Code": "33", + "CountryCode": "TR" + }, + { + "Name": "İstanbul", + "Code": "34", + "CountryCode": "TR" + }, + { + "Name": "İzmir", + "Code": "35", + "CountryCode": "TR" + }, + { + "Name": "Kars", + "Code": "36", + "CountryCode": "TR" + }, + { + "Name": "Kastamonu", + "Code": "37", + "CountryCode": "TR" + }, + { + "Name": "Kayseri", + "Code": "38", + "CountryCode": "TR" + }, + { + "Name": "Kırklareli", + "Code": "39", + "CountryCode": "TR" + }, + { + "Name": "Kırşehir", + "Code": "40", + "CountryCode": "TR" + }, + { + "Name": "Kocaeli", + "Code": "41", + "CountryCode": "TR" + }, + { + "Name": "Konya", + "Code": "42", + "CountryCode": "TR" + }, + { + "Name": "Kütahya", + "Code": "43", + "CountryCode": "TR" + }, + { + "Name": "Malatya", + "Code": "44", + "CountryCode": "TR" + }, + { + "Name": "Manisa", + "Code": "45", + "CountryCode": "TR" + }, + { + "Name": "Kahramanmaraş", + "Code": "46", + "CountryCode": "TR" + }, + { + "Name": "Mardin", + "Code": "47", + "CountryCode": "TR" + }, + { + "Name": "Muğla", + "Code": "48", + "CountryCode": "TR" + }, + { + "Name": "Muş", + "Code": "49", + "CountryCode": "TR" + }, + { + "Name": "Nevşehir", + "Code": "50", + "CountryCode": "TR" + }, + { + "Name": "Niğde", + "Code": "51", + "CountryCode": "TR" + }, + { + "Name": "Ordu", + "Code": "52", + "CountryCode": "TR" + }, + { + "Name": "Rize", + "Code": "53", + "CountryCode": "TR" + }, + { + "Name": "Sakarya", + "Code": "54", + "CountryCode": "TR" + }, + { + "Name": "Samsun", + "Code": "55", + "CountryCode": "TR" + }, + { + "Name": "Siirt", + "Code": "56", + "CountryCode": "TR" + }, + { + "Name": "Sinop", + "Code": "57", + "CountryCode": "TR" + }, + { + "Name": "Sivas", + "Code": "58", + "CountryCode": "TR" + }, + { + "Name": "Tekirdağ", + "Code": "59", + "CountryCode": "TR" + }, + { + "Name": "Tokat", + "Code": "60", + "CountryCode": "TR" + }, + { + "Name": "Trabzon", + "Code": "61", + "CountryCode": "TR" + }, + { + "Name": "Tunceli", + "Code": "62", + "CountryCode": "TR" + }, + { + "Name": "Şanlıurfa", + "Code": "63", + "CountryCode": "TR" + }, + { + "Name": "Uşak", + "Code": "64", + "CountryCode": "TR" + }, + { + "Name": "Van", + "Code": "65", + "CountryCode": "TR" + }, + { + "Name": "Yozgat", + "Code": "66", + "CountryCode": "TR" + }, + { + "Name": "Zonguldak", + "Code": "67", + "CountryCode": "TR" + }, + { + "Name": "Aksaray", + "Code": "68", + "CountryCode": "TR" + }, + { + "Name": "Bayburt", + "Code": "69", + "CountryCode": "TR" + }, + { + "Name": "Karaman", + "Code": "70", + "CountryCode": "TR" + }, + { + "Name": "Kırıkkale", + "Code": "71", + "CountryCode": "TR" + }, + { + "Name": "Batman", + "Code": "72", + "CountryCode": "TR" + }, + { + "Name": "Şırnak", + "Code": "73", + "CountryCode": "TR" + }, + { + "Name": "Bartın", + "Code": "74", + "CountryCode": "TR" + }, + { + "Name": "Ardahan", + "Code": "75", + "CountryCode": "TR" + }, + { + "Name": "Iğdır", + "Code": "76", + "CountryCode": "TR" + }, + { + "Name": "Yalova", + "Code": "77", + "CountryCode": "TR" + }, + { + "Name": "Karabük", + "Code": "78", + "CountryCode": "TR" + }, + { + "Name": "Kilis", + "Code": "79", + "CountryCode": "TR" + }, + { + "Name": "Osmaniye", + "Code": "80", + "CountryCode": "TR" + }, + { + "Name": "Düzce", + "Code": "81", + "CountryCode": "TR" + }, + { + "Name": "An Giang", + "Code": "VN-44", + "CountryCode": "VN" + }, + { + "Name": "Bình Dương", + "Code": "VN-57", + "CountryCode": "VN" + }, + { + "Name": "Bình Định", + "Code": "VN-31", + "CountryCode": "VN" + }, + { + "Name": "Bắc Giang", + "Code": "VN-54", + "CountryCode": "VN" + }, + { + "Name": "Bắc Kạn", + "Code": "VN-53", + "CountryCode": "VN" + }, + { + "Name": "Bạc Liêu", + "Code": "VN-55", + "CountryCode": "VN" + }, + { + "Name": "Bắc Ninh", + "Code": "VN-56", + "CountryCode": "VN" + }, + { + "Name": "Bình Phước", + "Code": "VN-58", + "CountryCode": "VN" + }, + { + "Name": "Bà Rịa - Vũng Tàu", + "Code": "VN-43", + "CountryCode": "VN" + }, + { + "Name": "Bình Thuận", + "Code": "VN-40", + "CountryCode": "VN" + }, + { + "Name": "Bến Tre", + "Code": "VN-50", + "CountryCode": "VN" + }, + { + "Name": "Cao Bằng", + "Code": "VN-04", + "CountryCode": "VN" + }, + { + "Name": "Cà Mau", + "Code": "VN-59", + "CountryCode": "VN" + }, + { + "Name": "TP Cần Thơ", + "Code": "VN-CT", + "CountryCode": "VN" + }, + { + "Name": "Điện Biên", + "Code": "VN-71", + "CountryCode": "VN" + }, + { + "Name": "Đắk Lắk", + "Code": "VN-33", + "CountryCode": "VN" + }, + { + "Name": "TP Đà Nẵng", + "Code": "VN-DN", + "CountryCode": "VN" + }, + { + "Name": "Đồng Nai", + "Code": "VN-39", + "CountryCode": "VN" + }, + { + "Name": "Đắk Nông", + "Code": "VN-72", + "CountryCode": "VN" + }, + { + "Name": "Đồng Tháp", + "Code": "VN-45", + "CountryCode": "VN" + }, + { + "Name": "Gia Lai", + "Code": "VN-30", + "CountryCode": "VN" + }, + { + "Name": "Hòa Bình", + "Code": "VN-14", + "CountryCode": "VN" + }, + { + "Name": "TP Hồ Chí Minh", + "Code": "VN-SG", + "CountryCode": "VN" + }, + { + "Name": "Hải Dương", + "Code": "VN-61", + "CountryCode": "VN" + }, + { + "Name": "Hậu Giang", + "Code": "VN-73", + "CountryCode": "VN" + }, + { + "Name": "Hà Giang", + "Code": "VN-03", + "CountryCode": "VN" + }, + { + "Name": "Hà Nội", + "Code": "VN-HN", + "CountryCode": "VN" + }, + { + "Name": "Hà Nam", + "Code": "VN-63", + "CountryCode": "VN" + }, + { + "Name": "TP Hải Phòng", + "Code": "VN-HP", + "CountryCode": "VN" + }, + { + "Name": "Hà Tĩnh", + "Code": "VN-23", + "CountryCode": "VN" + }, + { + "Name": "Hưng Yên", + "Code": "VN-66", + "CountryCode": "VN" + }, + { + "Name": "Kiên Giang", + "Code": "VN-47", + "CountryCode": "VN" + }, + { + "Name": "Khánh Hòa", + "Code": "VN-34", + "CountryCode": "VN" + }, + { + "Name": "Kon Tum", + "Code": "VN-28", + "CountryCode": "VN" + }, + { + "Name": "Long An", + "Code": "VN-41", + "CountryCode": "VN" + }, + { + "Name": "Lào Cai", + "Code": "VN-02", + "CountryCode": "VN" + }, + { + "Name": "Lai Châu", + "Code": "VN-01", + "CountryCode": "VN" + }, + { + "Name": "Lâm Đồng", + "Code": "VN-35", + "CountryCode": "VN" + }, + { + "Name": "Lạng Sơn", + "Code": "VN-09", + "CountryCode": "VN" + }, + { + "Name": "Nghệ An", + "Code": "VN-22", + "CountryCode": "VN" + }, + { + "Name": "Ninh Bình", + "Code": "VN-18", + "CountryCode": "VN" + }, + { + "Name": "Nam Định", + "Code": "VN-67", + "CountryCode": "VN" + }, + { + "Name": "Ninh Thuận", + "Code": "VN-36", + "CountryCode": "VN" + }, + { + "Name": "Phú Thọ", + "Code": "VN-68", + "CountryCode": "VN" + }, + { + "Name": "Phú Yên", + "Code": "VN-32", + "CountryCode": "VN" + }, + { + "Name": "Quảng Bình", + "Code": "VN-24", + "CountryCode": "VN" + }, + { + "Name": "Quảng Ninh", + "Code": "VN-13", + "CountryCode": "VN" + }, + { + "Name": "Quảng Nam", + "Code": "VN-27", + "CountryCode": "VN" + }, + { + "Name": "Quảng Ngãi", + "Code": "VN-29", + "CountryCode": "VN" + }, + { + "Name": "Quảng Trị", + "Code": "VN-25", + "CountryCode": "VN" + }, + { + "Name": "Sơn La", + "Code": "VN-05", + "CountryCode": "VN" + }, + { + "Name": "Sóc Trăng", + "Code": "VN-52", + "CountryCode": "VN" + }, + { + "Name": "Thái Bình", + "Code": "VN-20", + "CountryCode": "VN" + }, + { + "Name": "Tiền Giang", + "Code": "VN-46", + "CountryCode": "VN" + }, + { + "Name": "Thanh Hóa", + "Code": "VN-21", + "CountryCode": "VN" + }, + { + "Name": "Thái Nguyên", + "Code": "VN-69", + "CountryCode": "VN" + }, + { + "Name": "Tây Ninh", + "Code": "VN-37", + "CountryCode": "VN" + }, + { + "Name": "Tuyên Quang", + "Code": "VN-07", + "CountryCode": "VN" + }, + { + "Name": "Thừa Thiên - Huế", + "Code": "VN-26", + "CountryCode": "VN" + }, + { + "Name": "Trà Vinh", + "Code": "VN-51", + "CountryCode": "VN" + }, + { + "Name": "Vĩnh Long", + "Code": "VN-49", + "CountryCode": "VN" + }, + { + "Name": "Vĩnh Phúc", + "Code": "VN-70", + "CountryCode": "VN" + }, + { + "Name": "Yên Bái", + "Code": "VN-06", + "CountryCode": "VN" + }, + { + "Name": "San José", + "Code": "1", + "CountryCode": "CR" + }, + { + "Name": "Alajuela", + "Code": "2", + "CountryCode": "CR" + }, + { + "Name": "Heredia", + "Code": "4", + "CountryCode": "CR" + }, + { + "Name": "Cartago", + "Code": "3", + "CountryCode": "CR" + }, + { + "Name": "Puntarenas", + "Code": "6", + "CountryCode": "CR" + }, + { + "Name": "Guanacaste", + "Code": "5", + "CountryCode": "CR" + }, + { + "Name": "Limón", + "Code": "7", + "CountryCode": "CR" + }, + { + "Name": "Distrito Nacional", + "Code": "DN", + "CountryCode": "DO" + }, + { + "Name": "Azua", + "Code": "AZU", + "CountryCode": "DO" + }, + { + "Name": "Bahoruco", + "Code": "BAH", + "CountryCode": "DO" + }, + { + "Name": "Barahona", + "Code": "BAR", + "CountryCode": "DO" + }, + { + "Name": "Dajabón", + "Code": "DAJ", + "CountryCode": "DO" + }, + { + "Name": "Duarte", + "Code": "DUA", + "CountryCode": "DO" + }, + { + "Name": "Elías Piña", + "Code": "ELP", + "CountryCode": "DO" + }, + { + "Name": "El Seibo", + "Code": "ELS", + "CountryCode": "DO" + }, + { + "Name": "Espaillat", + "Code": "ESP", + "CountryCode": "DO" + }, + { + "Name": "Independencia", + "Code": "IND", + "CountryCode": "DO" + }, + { + "Name": "La Altagracia", + "Code": "LA", + "CountryCode": "DO" + }, + { + "Name": "La Romana", + "Code": "LR", + "CountryCode": "DO" + }, + { + "Name": "La Vega", + "Code": "LV", + "CountryCode": "DO" + }, + { + "Name": "María Trinidad Sánchez", + "Code": "MTS", + "CountryCode": "DO" + }, + { + "Name": "Monte Cristi", + "Code": "MC", + "CountryCode": "DO" + }, + { + "Name": "Pedernales", + "Code": "PED", + "CountryCode": "DO" + }, + { + "Name": "Peravia", + "Code": "PER", + "CountryCode": "DO" + }, + { + "Name": "Puerto Plata", + "Code": "PP", + "CountryCode": "DO" + }, + { + "Name": "Hermanas Mirabal", + "Code": "HEM", + "CountryCode": "DO" + }, + { + "Name": "Samaná", + "Code": "SAM", + "CountryCode": "DO" + }, + { + "Name": "San Cristóbal", + "Code": "SC", + "CountryCode": "DO" + }, + { + "Name": "San Juan", + "Code": "SJ", + "CountryCode": "DO" + }, + { + "Name": "San Pedro de Macorís", + "Code": "SPM", + "CountryCode": "DO" + }, + { + "Name": "Santiago", + "Code": "STGO", + "CountryCode": "DO" + }, + { + "Name": "Santiago Rodríguez", + "Code": "SRO", + "CountryCode": "DO" + }, + { + "Name": "Valverde", + "Code": "VAL", + "CountryCode": "DO" + }, + { + "Name": "Monseñor Nouel", + "Code": "MON", + "CountryCode": "DO" + }, + { + "Name": "Monte Plata", + "Code": "MP", + "CountryCode": "DO" + }, + { + "Name": "Hato Mayor", + "Code": "HAM", + "CountryCode": "DO" + }, + { + "Name": "San José de Ocoa", + "Code": "SJO", + "CountryCode": "DO" + }, + { + "Name": "Santo Domingo", + "Code": "SD", + "CountryCode": "DO" + }, + { + "Name": "Amazonas", + "Code": "01", + "CountryCode": "PE" + }, + { + "Name": "Áncash", + "Code": "02", + "CountryCode": "PE" + }, + { + "Name": "Apurímac", + "Code": "03", + "CountryCode": "PE" + }, + { + "Name": "Arequipa", + "Code": "04", + "CountryCode": "PE" + }, + { + "Name": "Ayacucho", + "Code": "05", + "CountryCode": "PE" + }, + { + "Name": "Cajamarca", + "Code": "06", + "CountryCode": "PE" + }, + { + "Name": "Callao", + "Code": "07", + "CountryCode": "PE" + }, + { + "Name": "Cusco", + "Code": "08", + "CountryCode": "PE" + }, + { + "Name": "Huancavelica", + "Code": "09", + "CountryCode": "PE" + }, + { + "Name": "Huánuco", + "Code": "10", + "CountryCode": "PE" + }, + { + "Name": "Ica", + "Code": "11", + "CountryCode": "PE" + }, + { + "Name": "Junin", + "Code": "12", + "CountryCode": "PE" + }, + { + "Name": "La Libertad", + "Code": "13", + "CountryCode": "PE" + }, + { + "Name": "Lambayeque", + "Code": "14", + "CountryCode": "PE" + }, + { + "Name": "Lima", + "Code": "15", + "CountryCode": "PE" + }, + { + "Name": "Loreto", + "Code": "16", + "CountryCode": "PE" + }, + { + "Name": "Madre de Dios", + "Code": "17", + "CountryCode": "PE" + }, + { + "Name": "Moquegua", + "Code": "18", + "CountryCode": "PE" + }, + { + "Name": "Pasco", + "Code": "19", + "CountryCode": "PE" + }, + { + "Name": "Piura", + "Code": "20", + "CountryCode": "PE" + }, + { + "Name": "Puno", + "Code": "21", + "CountryCode": "PE" + }, + { + "Name": "San Martín", + "Code": "22", + "CountryCode": "PE" + }, + { + "Name": "Tacna", + "Code": "23", + "CountryCode": "PE" + }, + { + "Name": "Tumbes", + "Code": "24", + "CountryCode": "PE" + }, + { + "Name": "Ucayali", + "Code": "25", + "CountryCode": "PE" + }, + { + "Name": "Tarapacá", + "Code": "01", + "CountryCode": "CL" + }, + { + "Name": "Antofagasta", + "Code": "02", + "CountryCode": "CL" + }, + { + "Name": "Atacama", + "Code": "03", + "CountryCode": "CL" + }, + { + "Name": "Coquimbo", + "Code": "04", + "CountryCode": "CL" + }, + { + "Name": "Valparaíso", + "Code": "05", + "CountryCode": "CL" + }, + { + "Name": "del Libertador Gral. Bernardo O'Higgins", + "Code": "06", + "CountryCode": "CL" + }, + { + "Name": "del Maule", + "Code": "07", + "CountryCode": "CL" + }, + { + "Name": "del BíoBio", + "Code": "08", + "CountryCode": "CL" + }, + { + "Name": "de la Araucania", + "Code": "09", + "CountryCode": "CL" + }, + { + "Name": "de los Lagos", + "Code": "10", + "CountryCode": "CL" + }, + { + "Name": "Aysén del Gral. Carlos Ibáñez del Campo", + "Code": "11", + "CountryCode": "CL" + }, + { + "Name": "Magallanes", + "Code": "12", + "CountryCode": "CL" + }, + { + "Name": "Metropolitana", + "Code": "13", + "CountryCode": "CL" + }, + { + "Name": "Los Ríos", + "Code": "14", + "CountryCode": "CL" + }, + { + "Name": "Arica y Parinacota", + "Code": "15", + "CountryCode": "CL" + }, + { + "Name": "del Ñuble", + "Code": "16", + "CountryCode": "CL" + }, + { + "Name": "Harjumaa", + "Code": "EE-37", + "CountryCode": "EE" + }, + { + "Name": "Hiiumaa", + "Code": "EE-39", + "CountryCode": "EE" + }, + { + "Name": "Ida-Virumaa", + "Code": "EE-44", + "CountryCode": "EE" + }, + { + "Name": "Jõgevamaa", + "Code": "EE-49", + "CountryCode": "EE" + }, + { + "Name": "Järvamaa", + "Code": "EE-51", + "CountryCode": "EE" + }, + { + "Name": "Läänemaa", + "Code": "EE-57", + "CountryCode": "EE" + }, + { + "Name": "Lääne-Virumaa", + "Code": "EE-59", + "CountryCode": "EE" + }, + { + "Name": "Põlvamaa", + "Code": "EE-65", + "CountryCode": "EE" + }, + { + "Name": "Pärnumaa", + "Code": "EE-67", + "CountryCode": "EE" + }, + { + "Name": "Raplamaa", + "Code": "EE-70", + "CountryCode": "EE" + }, + { + "Name": "Saaremaa", + "Code": "EE-74", + "CountryCode": "EE" + }, + { + "Name": "Tartumaa", + "Code": "EE-78", + "CountryCode": "EE" + }, + { + "Name": "Valgamaa", + "Code": "EE-82", + "CountryCode": "EE" + }, + { + "Name": "Viljandimaa", + "Code": "EE-84", + "CountryCode": "EE" + }, + { + "Name": "Võrumaa", + "Code": "EE-86", + "CountryCode": "EE" + }, + { + "Name": "Aglonas novads", + "Code": "LV-001", + "CountryCode": "LV" + }, + { + "Name": "Aizkraukles novads", + "Code": "LV-002", + "CountryCode": "LV" + }, + { + "Name": "Aizputes novads", + "Code": "LV-003", + "CountryCode": "LV" + }, + { + "Name": "Aknīstes novads", + "Code": "LV-004", + "CountryCode": "LV" + }, + { + "Name": "Alojas novads", + "Code": "LV-005", + "CountryCode": "LV" + }, + { + "Name": "Alsungas novads", + "Code": "LV-006", + "CountryCode": "LV" + }, + { + "Name": "Alūksnes novads", + "Code": "LV-007", + "CountryCode": "LV" + }, + { + "Name": "Amatas novads", + "Code": "LV-008", + "CountryCode": "LV" + }, + { + "Name": "Apes novads", + "Code": "LV-009", + "CountryCode": "LV" + }, + { + "Name": "Auces novads", + "Code": "LV-010", + "CountryCode": "LV" + }, + { + "Name": "Ādažu novads", + "Code": "LV-011", + "CountryCode": "LV" + }, + { + "Name": "Babītes novads", + "Code": "LV-012", + "CountryCode": "LV" + }, + { + "Name": "Baldones novads", + "Code": "LV-013", + "CountryCode": "LV" + }, + { + "Name": "Baltinavas novads", + "Code": "LV-014", + "CountryCode": "LV" + }, + { + "Name": "Balvu novads", + "Code": "LV-015", + "CountryCode": "LV" + }, + { + "Name": "Bauskas novads", + "Code": "LV-016", + "CountryCode": "LV" + }, + { + "Name": "Beverīnas novads", + "Code": "LV-017", + "CountryCode": "LV" + }, + { + "Name": "Brocēnu novads", + "Code": "LV-018", + "CountryCode": "LV" + }, + { + "Name": "Burtnieku novads", + "Code": "LV-019", + "CountryCode": "LV" + }, + { + "Name": "Carnikavas novads", + "Code": "LV-020", + "CountryCode": "LV" + }, + { + "Name": "Cesvaines novads", + "Code": "LV-021", + "CountryCode": "LV" + }, + { + "Name": "Cēsu novads", + "Code": "LV-022", + "CountryCode": "LV" + }, + { + "Name": "Ciblas novads", + "Code": "LV-023", + "CountryCode": "LV" + }, + { + "Name": "Dagdas novads", + "Code": "LV-024", + "CountryCode": "LV" + }, + { + "Name": "Daugavpils novads", + "Code": "LV-025", + "CountryCode": "LV" + }, + { + "Name": "Dobeles novads", + "Code": "LV-026", + "CountryCode": "LV" + }, + { + "Name": "Dundagas novads", + "Code": "LV-027", + "CountryCode": "LV" + }, + { + "Name": "Durbes novads", + "Code": "LV-028", + "CountryCode": "LV" + }, + { + "Name": "Engures novads", + "Code": "LV-029", + "CountryCode": "LV" + }, + { + "Name": "Ērgļu novads", + "Code": "LV-030", + "CountryCode": "LV" + }, + { + "Name": "Garkalnes novads", + "Code": "LV-031", + "CountryCode": "LV" + }, + { + "Name": "Grobiņas novads", + "Code": "LV-032", + "CountryCode": "LV" + }, + { + "Name": "Gulbenes novads", + "Code": "LV-033", + "CountryCode": "LV" + }, + { + "Name": "Iecavas novads", + "Code": "LV-034", + "CountryCode": "LV" + }, + { + "Name": "Ikšķiles novads", + "Code": "LV-035", + "CountryCode": "LV" + }, + { + "Name": "Ilūkstes novads", + "Code": "LV-036", + "CountryCode": "LV" + }, + { + "Name": "Inčukalna novads", + "Code": "LV-037", + "CountryCode": "LV" + }, + { + "Name": "Jaunjelgavas novads", + "Code": "LV-038", + "CountryCode": "LV" + }, + { + "Name": "Jaunpiebalgas novads", + "Code": "LV-039", + "CountryCode": "LV" + }, + { + "Name": "Jaunpils novads", + "Code": "LV-040", + "CountryCode": "LV" + }, + { + "Name": "Jelgavas novads", + "Code": "LV-041", + "CountryCode": "LV" + }, + { + "Name": "Jēkabpils novads", + "Code": "LV-042", + "CountryCode": "LV" + }, + { + "Name": "Kandavas novads", + "Code": "LV-043", + "CountryCode": "LV" + }, + { + "Name": "Kārsavas novads", + "Code": "LV-044", + "CountryCode": "LV" + }, + { + "Name": "Kocēnu novads", + "Code": "LV-045", + "CountryCode": "LV" + }, + { + "Name": "Kokneses novads", + "Code": "LV-046", + "CountryCode": "LV" + }, + { + "Name": "Krāslavas novads", + "Code": "LV-047", + "CountryCode": "LV" + }, + { + "Name": "Krimuldas novads", + "Code": "LV-048", + "CountryCode": "LV" + }, + { + "Name": "Krustpils novads", + "Code": "LV-049", + "CountryCode": "LV" + }, + { + "Name": "Kuldīgas novads", + "Code": "LV-050", + "CountryCode": "LV" + }, + { + "Name": "Ķeguma novads", + "Code": "LV-051", + "CountryCode": "LV" + }, + { + "Name": "Ķekavas novads", + "Code": "LV-052", + "CountryCode": "LV" + }, + { + "Name": "Lielvārdes novads", + "Code": "LV-053", + "CountryCode": "LV" + }, + { + "Name": "Limbažu novads", + "Code": "LV-054", + "CountryCode": "LV" + }, + { + "Name": "Līgatnes novads", + "Code": "LV-055", + "CountryCode": "LV" + }, + { + "Name": "Līvānu novads", + "Code": "LV-056", + "CountryCode": "LV" + }, + { + "Name": "Lubānas novads", + "Code": "LV-057", + "CountryCode": "LV" + }, + { + "Name": "Ludzas novads", + "Code": "LV-058", + "CountryCode": "LV" + }, + { + "Name": "Madonas novads", + "Code": "LV-059", + "CountryCode": "LV" + }, + { + "Name": "Mazsalacas novads", + "Code": "LV-060", + "CountryCode": "LV" + }, + { + "Name": "Mālpils novads", + "Code": "LV-061", + "CountryCode": "LV" + }, + { + "Name": "Mārupes novads", + "Code": "LV-062", + "CountryCode": "LV" + }, + { + "Name": "Mērsraga novads", + "Code": "LV-063", + "CountryCode": "LV" + }, + { + "Name": "Naukšēnu novads", + "Code": "LV-064", + "CountryCode": "LV" + }, + { + "Name": "Neretas novads", + "Code": "LV-065", + "CountryCode": "LV" + }, + { + "Name": "Nīcas novads", + "Code": "LV-066", + "CountryCode": "LV" + }, + { + "Name": "Ogres novads", + "Code": "LV-067", + "CountryCode": "LV" + }, + { + "Name": "Olaines novads", + "Code": "LV-068", + "CountryCode": "LV" + }, + { + "Name": "Ozolnieku novads", + "Code": "LV-069", + "CountryCode": "LV" + }, + { + "Name": "Pārgaujas novads", + "Code": "LV-070", + "CountryCode": "LV" + }, + { + "Name": "Pāvilostas novads", + "Code": "LV-071", + "CountryCode": "LV" + }, + { + "Name": "Pļaviņu novads", + "Code": "LV-072", + "CountryCode": "LV" + }, + { + "Name": "Preiļu novads", + "Code": "LV-073", + "CountryCode": "LV" + }, + { + "Name": "Priekules novads", + "Code": "LV-074", + "CountryCode": "LV" + }, + { + "Name": "Priekuļu novads", + "Code": "LV-075", + "CountryCode": "LV" + }, + { + "Name": "Raunas novads", + "Code": "LV-076", + "CountryCode": "LV" + }, + { + "Name": "Rēzeknes novads", + "Code": "LV-077", + "CountryCode": "LV" + }, + { + "Name": "Riebiņu novads", + "Code": "LV-078", + "CountryCode": "LV" + }, + { + "Name": "Rojas novads", + "Code": "LV-079", + "CountryCode": "LV" + }, + { + "Name": "Ropažu novads", + "Code": "LV-080", + "CountryCode": "LV" + }, + { + "Name": "Rucavas novads", + "Code": "LV-081", + "CountryCode": "LV" + }, + { + "Name": "Rugāju novads", + "Code": "LV-082", + "CountryCode": "LV" + }, + { + "Name": "Rundāles novads", + "Code": "LV-083", + "CountryCode": "LV" + }, + { + "Name": "Rūjienas novads", + "Code": "LV-084", + "CountryCode": "LV" + }, + { + "Name": "Salas novads", + "Code": "LV-085", + "CountryCode": "LV" + }, + { + "Name": "Salacgrīvas novads", + "Code": "LV-086", + "CountryCode": "LV" + }, + { + "Name": "Salaspils novads", + "Code": "LV-087", + "CountryCode": "LV" + }, + { + "Name": "Saldus novads", + "Code": "LV-088", + "CountryCode": "LV" + }, + { + "Name": "Saulkrastu novads", + "Code": "LV-089", + "CountryCode": "LV" + }, + { + "Name": "Sējas novads", + "Code": "LV-090", + "CountryCode": "LV" + }, + { + "Name": "Siguldas novads", + "Code": "LV-091", + "CountryCode": "LV" + }, + { + "Name": "Skrīveru novads", + "Code": "LV-092", + "CountryCode": "LV" + }, + { + "Name": "Skrundas novads", + "Code": "LV-093", + "CountryCode": "LV" + }, + { + "Name": "Smiltenes novads", + "Code": "LV-094", + "CountryCode": "LV" + }, + { + "Name": "Stopiņu novads", + "Code": "LV-095", + "CountryCode": "LV" + }, + { + "Name": "Strenču novads", + "Code": "LV-096", + "CountryCode": "LV" + }, + { + "Name": "Talsu novads", + "Code": "LV-097", + "CountryCode": "LV" + }, + { + "Name": "Tērvetes novads", + "Code": "LV-098", + "CountryCode": "LV" + }, + { + "Name": "Tukuma novads", + "Code": "LV-099", + "CountryCode": "LV" + }, + { + "Name": "Vaiņodes novads", + "Code": "LV-100", + "CountryCode": "LV" + }, + { + "Name": "Valkas novads", + "Code": "LV-101", + "CountryCode": "LV" + }, + { + "Name": "Varakļānu novads", + "Code": "LV-102", + "CountryCode": "LV" + }, + { + "Name": "Vārkavas novads", + "Code": "LV-103", + "CountryCode": "LV" + }, + { + "Name": "Vecpiebalgas novads", + "Code": "LV-104", + "CountryCode": "LV" + }, + { + "Name": "Vecumnieku novads", + "Code": "LV-105", + "CountryCode": "LV" + }, + { + "Name": "Ventspils novads", + "Code": "LV-106", + "CountryCode": "LV" + }, + { + "Name": "Viesītes novads", + "Code": "LV-107", + "CountryCode": "LV" + }, + { + "Name": "Viļakas novads", + "Code": "LV-108", + "CountryCode": "LV" + }, + { + "Name": "Viļānu novads", + "Code": "LV-109", + "CountryCode": "LV" + }, + { + "Name": "Zilupes novads", + "Code": "LV-110", + "CountryCode": "LV" + }, + { + "Name": "Daugavpils", + "Code": "LV-DGV", + "CountryCode": "LV" + }, + { + "Name": "Jelgava", + "Code": "LV-JEL", + "CountryCode": "LV" + }, + { + "Name": "Jēkabpils", + "Code": "LV-JKB", + "CountryCode": "LV" + }, + { + "Name": "Jūrmala", + "Code": "LV-JUR", + "CountryCode": "LV" + }, + { + "Name": "Liepāja", + "Code": "LV-LPX", + "CountryCode": "LV" + }, + { + "Name": "Rēzekne", + "Code": "LV-REZ", + "CountryCode": "LV" + }, + { + "Name": "Rīga", + "Code": "LV-RIX", + "CountryCode": "LV" + }, + { + "Name": "Valmiera", + "Code": "LV-VMR", + "CountryCode": "LV" + }, + { + "Name": "Ventspils", + "Code": "LV-VEN", + "CountryCode": "LV" + }, + { + "Name": "Alytaus apskritis", + "Code": "LT-AL", + "CountryCode": "LT" + }, + { + "Name": "Kauno apskritis", + "Code": "LT-KU", + "CountryCode": "LT" + }, + { + "Name": "Klaipėdos apskritis", + "Code": "LT-KL", + "CountryCode": "LT" + }, + { + "Name": "Marijampolės apskritis", + "Code": "LT-MR", + "CountryCode": "LT" + }, + { + "Name": "Panevėžio apskritis", + "Code": "LT-PN", + "CountryCode": "LT" + }, + { + "Name": "Šiaulių apskritis", + "Code": "LT-SA", + "CountryCode": "LT" + }, + { + "Name": "Tauragės apskritis", + "Code": "LT-TA", + "CountryCode": "LT" + }, + { + "Name": "Telšių apskritis", + "Code": "LT-TE", + "CountryCode": "LT" + }, + { + "Name": "Utenos apskritis", + "Code": "LT-UT", + "CountryCode": "LT" + }, + { + "Name": "Vilniaus apskritis", + "Code": "LT-VL", + "CountryCode": "LT" + }, + { + "Name": "Ahvenanmaa", + "Code": "FI-01", + "CountryCode": "FI" + }, + { + "Name": "Etelä-Karjala", + "Code": "FI-02", + "CountryCode": "FI" + }, + { + "Name": "Etelä-Pohjanmaa", + "Code": "FI-03", + "CountryCode": "FI" + }, + { + "Name": "Etelä-Savo", + "Code": "FI-04", + "CountryCode": "FI" + }, + { + "Name": "Kainuu", + "Code": "FI-05", + "CountryCode": "FI" + }, + { + "Name": "Kanta-Häme", + "Code": "FI-06", + "CountryCode": "FI" + }, + { + "Name": "Keski-Pohjanmaa", + "Code": "FI-07", + "CountryCode": "FI" + }, + { + "Name": "Keski-Suomi", + "Code": "FI-08", + "CountryCode": "FI" + }, + { + "Name": "Kymenlaakso", + "Code": "FI-09", + "CountryCode": "FI" + }, + { + "Name": "Lappi", + "Code": "FI-10", + "CountryCode": "FI" + }, + { + "Name": "Pirkanmaa", + "Code": "FI-11", + "CountryCode": "FI" + }, + { + "Name": "Pohjanmaa", + "Code": "FI-12", + "CountryCode": "FI" + }, + { + "Name": "Pohjois-Karjala", + "Code": "FI-13", + "CountryCode": "FI" + }, + { + "Name": "Pohjois-Pohjanmaa", + "Code": "FI-14", + "CountryCode": "FI" + }, + { + "Name": "Pohjois-Savo", + "Code": "FI-15", + "CountryCode": "FI" + }, + { + "Name": "Päijät-Häme", + "Code": "FI-16", + "CountryCode": "FI" + }, + { + "Name": "Satakunta", + "Code": "FI-17", + "CountryCode": "FI" + }, + { + "Name": "Uusimaa", + "Code": "FI-18", + "CountryCode": "FI" + }, + { + "Name": "Varsinais-Suomi", + "Code": "FI-19", + "CountryCode": "FI" + }, + { + "Name": "Blekinge län", + "Code": "SE-K", + "CountryCode": "SE" + }, + { + "Name": "Dalarnas län", + "Code": "SE-W", + "CountryCode": "SE" + }, + { + "Name": "Gotlands län", + "Code": "SE-I", + "CountryCode": "SE" + }, + { + "Name": "Gävleborgs län", + "Code": "SE-X", + "CountryCode": "SE" + }, + { + "Name": "Hallands län", + "Code": "SE-N", + "CountryCode": "SE" + }, + { + "Name": "Jämtlands län", + "Code": "SE-Z", + "CountryCode": "SE" + }, + { + "Name": "Jönköpings län", + "Code": "SE-F", + "CountryCode": "SE" + }, + { + "Name": "Kalmar län", + "Code": "SE-H", + "CountryCode": "SE" + }, + { + "Name": "Kronobergs län", + "Code": "SE-G", + "CountryCode": "SE" + }, + { + "Name": "Norrbottens län", + "Code": "SE-BD", + "CountryCode": "SE" + }, + { + "Name": "Skåne län", + "Code": "SE-M", + "CountryCode": "SE" + }, + { + "Name": "Stockholms län", + "Code": "SE-AB", + "CountryCode": "SE" + }, + { + "Name": "Södermanlands län", + "Code": "SE-D", + "CountryCode": "SE" + }, + { + "Name": "Uppsala län", + "Code": "SE-C", + "CountryCode": "SE" + }, + { + "Name": "Värmlands län", + "Code": "SE-S", + "CountryCode": "SE" + }, + { + "Name": "Västerbottens län", + "Code": "SE-AC", + "CountryCode": "SE" + }, + { + "Name": "Västernorrlands län", + "Code": "SE-Y", + "CountryCode": "SE" + }, + { + "Name": "Västmanlands län", + "Code": "SE-U", + "CountryCode": "SE" + }, + { + "Name": "Västra Götalands län", + "Code": "SE-O", + "CountryCode": "SE" + }, + { + "Name": "Örebro län", + "Code": "SE-T", + "CountryCode": "SE" + }, + { + "Name": "Östergötlands län", + "Code": "SE-E", + "CountryCode": "SE" + }, + { + "Name": "Agder", + "Code": "NO-42", + "CountryCode": "NO" + }, + { + "Name": "Innlandet", + "Code": "NO-34", + "CountryCode": "NO" + }, + { + "Name": "Møre og Romsdal", + "Code": "NO-15", + "CountryCode": "NO" + }, + { + "Name": "Nordland", + "Code": "NO-18", + "CountryCode": "NO" + }, + { + "Name": "Oslo", + "Code": "NO-03", + "CountryCode": "NO" + }, + { + "Name": "Rogaland", + "Code": "NO-11", + "CountryCode": "NO" + }, + { + "Name": "Troms og Finnmark / Romsa ja Finnmárku", + "Code": "NO-54", + "CountryCode": "NO" + }, + { + "Name": "Trøndelag", + "Code": "NO-50", + "CountryCode": "NO" + }, + { + "Name": "Vestfold og Telemark", + "Code": "NO-38", + "CountryCode": "NO" + }, + { + "Name": "Vestland", + "Code": "NO-46", + "CountryCode": "NO" + }, + { + "Name": "Viken", + "Code": "NO-30", + "CountryCode": "NO" + }, + { + "Name": "Jan Mayen", + "Code": "NO-22", + "CountryCode": "NO" + }, + { + "Name": "Svalbard", + "Code": "NO-21", + "CountryCode": "NO" + }, + { + "Name": "Baden-Württemberg", + "Code": "DE-BW", + "CountryCode": "DE" + }, + { + "Name": "Bayern", + "Code": "DE-BY", + "CountryCode": "DE" + }, + { + "Name": "Berlin", + "Code": "DE-BE", + "CountryCode": "DE" + }, + { + "Name": "Brandenburg", + "Code": "DE-BB", + "CountryCode": "DE" + }, + { + "Name": "Bremen", + "Code": "DE-HB", + "CountryCode": "DE" + }, + { + "Name": "Hamburg", + "Code": "DE-HH", + "CountryCode": "DE" + }, + { + "Name": "Hessen", + "Code": "DE-HE", + "CountryCode": "DE" + }, + { + "Name": "Mecklenburg-Vorpommern", + "Code": "DE-MV", + "CountryCode": "DE" + }, + { + "Name": "Niedersachsen", + "Code": "DE-NI", + "CountryCode": "DE" + }, + { + "Name": "Nordrhein-Westfalen", + "Code": "DE-NW", + "CountryCode": "DE" + }, + { + "Name": "Rheinland-Pfalz", + "Code": "DE-RP", + "CountryCode": "DE" + }, + { + "Name": "Saarland", + "Code": "DE-SL", + "CountryCode": "DE" + }, + { + "Name": "Sachsen", + "Code": "DE-SN", + "CountryCode": "DE" + }, + { + "Name": "Sachsen-Anhalt", + "Code": "DE-ST", + "CountryCode": "DE" + }, + { + "Name": "Schleswig-Holstein", + "Code": "DE-SH", + "CountryCode": "DE" + }, + { + "Name": "Thüringen", + "Code": "DE-TH", + "CountryCode": "DE" + }, + { + "Name": "Azuay", + "Code": "01", + "CountryCode": "EC" + }, + { + "Name": "Bolivar", + "Code": "02", + "CountryCode": "EC" + }, + { + "Name": "Canar", + "Code": "03", + "CountryCode": "EC" + }, + { + "Name": "Carchi", + "Code": "04", + "CountryCode": "EC" + }, + { + "Name": "Cotopaxi", + "Code": "05", + "CountryCode": "EC" + }, + { + "Name": "Chimborazo", + "Code": "06", + "CountryCode": "EC" + }, + { + "Name": "El Oro", + "Code": "07", + "CountryCode": "EC" + }, + { + "Name": "Esmeraldas", + "Code": "08", + "CountryCode": "EC" + }, + { + "Name": "Guayas", + "Code": "09", + "CountryCode": "EC" + }, + { + "Name": "Imbabura", + "Code": "10", + "CountryCode": "EC" + }, + { + "Name": "Los Rios", + "Code": "12", + "CountryCode": "EC" + }, + { + "Name": "Manabi", + "Code": "13", + "CountryCode": "EC" + }, + { + "Name": "Morona Santiago", + "Code": "14", + "CountryCode": "EC" + }, + { + "Name": "Napo", + "Code": "15", + "CountryCode": "EC" + }, + { + "Name": "Pastaza", + "Code": "16", + "CountryCode": "EC" + }, + { + "Name": "Pichincha", + "Code": "17", + "CountryCode": "EC" + }, + { + "Name": "Tungurahua", + "Code": "18", + "CountryCode": "EC" + }, + { + "Name": "Zamora Chinchipe", + "Code": "19", + "CountryCode": "EC" + }, + { + "Name": "Galapagos", + "Code": "20", + "CountryCode": "EC" + }, + { + "Name": "Sucumbios", + "Code": "21", + "CountryCode": "EC" + }, + { + "Name": "Orellana", + "Code": "22", + "CountryCode": "EC" + }, + { + "Name": "Santo Domingo de los Tsachilas", + "Code": "23", + "CountryCode": "EC" + }, + { + "Name": "Santa Elena", + "Code": "24", + "CountryCode": "EC" + }, + { + "Name": "Zürich", + "Code": "ZH", + "CountryCode": "CH" + }, + { + "Name": "Zurigo", + "Code": "ZH-IT", + "CountryCode": "CH" + }, + { + "Name": "Zurich", + "Code": "ZH-FR", + "CountryCode": "CH" + }, + { + "Name": "Bern", + "Code": "BE", + "CountryCode": "CH" + }, + { + "Name": "Berna", + "Code": "BE-IT", + "CountryCode": "CH" + }, + { + "Name": "Berne", + "Code": "BE-FR", + "CountryCode": "CH" + }, + { + "Name": "Luzern", + "Code": "LU", + "CountryCode": "CH" + }, + { + "Name": "Lucerna", + "Code": "LU-IT", + "CountryCode": "CH" + }, + { + "Name": "Lucerne", + "Code": "LU-FR", + "CountryCode": "CH" + }, + { + "Name": "Uri", + "Code": "UR", + "CountryCode": "CH" + }, + { + "Name": "Schwyz", + "Code": "SZ", + "CountryCode": "CH" + }, + { + "Name": "Svitto", + "Code": "SZ-IT", + "CountryCode": "CH" + }, + { + "Name": "Obwalden", + "Code": "OW", + "CountryCode": "CH" + }, + { + "Name": "Obvaldo", + "Code": "OW-IT", + "CountryCode": "CH" + }, + { + "Name": "Obwald", + "Code": "OW-FR", + "CountryCode": "CH" + }, + { + "Name": "Nidwalden", + "Code": "NW", + "CountryCode": "CH" + }, + { + "Name": "Nidvaldo", + "Code": "NW-IT", + "CountryCode": "CH" + }, + { + "Name": "Nidwald", + "Code": "NW-FR", + "CountryCode": "CH" + }, + { + "Name": "Glarus", + "Code": "GL", + "CountryCode": "CH" + }, + { + "Name": "Glanora", + "Code": "GL-IT", + "CountryCode": "CH" + }, + { + "Name": "Glaris", + "Code": "GL-FR", + "CountryCode": "CH" + }, + { + "Name": "Zug", + "Code": "ZG", + "CountryCode": "CH" + }, + { + "Name": "Zugo", + "Code": "ZG-IT", + "CountryCode": "CH" + }, + { + "Name": "Zoug", + "Code": "ZG-FR", + "CountryCode": "CH" + }, + { + "Name": "Freiburg", + "Code": "FR", + "CountryCode": "CH" + }, + { + "Name": "Friburgo", + "Code": "FR-IT", + "CountryCode": "CH" + }, + { + "Name": "Fribourg", + "Code": "FR-FR", + "CountryCode": "CH" + }, + { + "Name": "Solothurn", + "Code": "SO", + "CountryCode": "CH" + }, + { + "Name": "Soletta", + "Code": "SO-IT", + "CountryCode": "CH" + }, + { + "Name": "Soleure", + "Code": "SO-FR", + "CountryCode": "CH" + }, + { + "Name": "Basel-Stadt", + "Code": "BS", + "CountryCode": "CH" + }, + { + "Name": "Basilea-Città", + "Code": "BS-IT", + "CountryCode": "CH" + }, + { + "Name": "Bâle-Ville", + "Code": "BS-FR", + "CountryCode": "CH" + }, + { + "Name": "Basel-Landschaft", + "Code": "BL", + "CountryCode": "CH" + }, + { + "Name": "Basilea-Campagna", + "Code": "BL-IT", + "CountryCode": "CH" + }, + { + "Name": "Bâle-Campagne", + "Code": "BL-FR", + "CountryCode": "CH" + }, + { + "Name": "Schaffhausen", + "Code": "SH", + "CountryCode": "CH" + }, + { + "Name": "Sciaffusa", + "Code": "SH-IT", + "CountryCode": "CH" + }, + { + "Name": "Schaffhouse", + "Code": "SH-FR", + "CountryCode": "CH" + }, + { + "Name": "Appenzell Ausserrhoden", + "Code": "AR", + "CountryCode": "CH" + }, + { + "Name": "Appenzello Esterno", + "Code": "AR-IT", + "CountryCode": "CH" + }, + { + "Name": "Appenzell Rhodes-Extérieures", + "Code": "AR-FR", + "CountryCode": "CH" + }, + { + "Name": "Appenzell Innerrhoden", + "Code": "AI", + "CountryCode": "CH" + }, + { + "Name": "Appenzello Interno", + "Code": "AI-IT", + "CountryCode": "CH" + }, + { + "Name": "Appenzell Rhodes-Intérieures", + "Code": "AI-FR", + "CountryCode": "CH" + }, + { + "Name": "St. Gallen", + "Code": "SG", + "CountryCode": "CH" + }, + { + "Name": "San Gallo", + "Code": "SG-IT", + "CountryCode": "CH" + }, + { + "Name": "Saint-Gall", + "Code": "SG-FR", + "CountryCode": "CH" + }, + { + "Name": "Graubünden", + "Code": "GR", + "CountryCode": "CH" + }, + { + "Name": "Grigioni", + "Code": "GR-IT", + "CountryCode": "CH" + }, + { + "Name": "Grisons", + "Code": "GR-FR", + "CountryCode": "CH" + }, + { + "Name": "Aargau", + "Code": "AG", + "CountryCode": "CH" + }, + { + "Name": "Argovia", + "Code": "AG-IT", + "CountryCode": "CH" + }, + { + "Name": "Argovie", + "Code": "AG-FR", + "CountryCode": "CH" + }, + { + "Name": "Thurgau", + "Code": "TG", + "CountryCode": "CH" + }, + { + "Name": "Turgovia", + "Code": "TG-IT", + "CountryCode": "CH" + }, + { + "Name": "Thurgovie", + "Code": "TG-FR", + "CountryCode": "CH" + }, + { + "Name": "Tessin", + "Code": "TI", + "CountryCode": "CH" + }, + { + "Name": "Ticino", + "Code": "TI-IT", + "CountryCode": "CH" + }, + { + "Name": "Waadt", + "Code": "VD", + "CountryCode": "CH" + }, + { + "Name": "Vaud", + "Code": "VD-FR", + "CountryCode": "CH" + }, + { + "Name": "Wallis", + "Code": "VS", + "CountryCode": "CH" + }, + { + "Name": "Vallese", + "Code": "VS-IT", + "CountryCode": "CH" + }, + { + "Name": "Valais", + "Code": "VS-FR", + "CountryCode": "CH" + }, + { + "Name": "Neuenburg", + "Code": "NE", + "CountryCode": "CH" + }, + { + "Name": "Neuchâtel", + "Code": "NE-FR", + "CountryCode": "CH" + }, + { + "Name": "Genf", + "Code": "GE", + "CountryCode": "CH" + }, + { + "Name": "Ginevra", + "Code": "GE-IT", + "CountryCode": "CH" + }, + { + "Name": "Genève", + "Code": "GE-FR", + "CountryCode": "CH" + }, + { + "Name": "Jura", + "Code": "JU", + "CountryCode": "CH" + }, + { + "Name": "Giura", + "Code": "JU-IT", + "CountryCode": "CH" + }, + { + "Name": "Bangkok", + "Code": "TH-10", + "CountryCode": "TH" + }, + { + "Name": "Amnat Charoen", + "Code": "TH-37", + "CountryCode": "TH" + }, + { + "Name": "Ang Thong", + "Code": "TH-15", + "CountryCode": "TH" + }, + { + "Name": "Bueng Kan", + "Code": "TH-38", + "CountryCode": "TH" + }, + { + "Name": "Buriram", + "Code": "TH-31", + "CountryCode": "TH" + }, + { + "Name": "Chachoengsao", + "Code": "TH-24", + "CountryCode": "TH" + }, + { + "Name": "Chai Nat", + "Code": "TH-18", + "CountryCode": "TH" + }, + { + "Name": "Chaiyaphum", + "Code": "TH-36", + "CountryCode": "TH" + }, + { + "Name": "Chanthaburi", + "Code": "TH-22", + "CountryCode": "TH" + }, + { + "Name": "Chiang Mai", + "Code": "TH-50", + "CountryCode": "TH" + }, + { + "Name": "Chiang Rai", + "Code": "TH-57", + "CountryCode": "TH" + }, + { + "Name": "Chonburi", + "Code": "TH-20", + "CountryCode": "TH" + }, + { + "Name": "Chumphon", + "Code": "TH-86", + "CountryCode": "TH" + }, + { + "Name": "Kalasin", + "Code": "TH-46", + "CountryCode": "TH" + }, + { + "Name": "Kamphaeng Phet", + "Code": "TH-62", + "CountryCode": "TH" + }, + { + "Name": "Kanchanaburi", + "Code": "TH-71", + "CountryCode": "TH" + }, + { + "Name": "Khon Kaen", + "Code": "TH-40", + "CountryCode": "TH" + }, + { + "Name": "Krabi", + "Code": "TH-81", + "CountryCode": "TH" + }, + { + "Name": "Lampang", + "Code": "TH-52", + "CountryCode": "TH" + }, + { + "Name": "Lamphun", + "Code": "TH-51", + "CountryCode": "TH" + }, + { + "Name": "Loei", + "Code": "TH-42", + "CountryCode": "TH" + }, + { + "Name": "Lopburi", + "Code": "TH-16", + "CountryCode": "TH" + }, + { + "Name": "Mae Hong Son", + "Code": "TH-58", + "CountryCode": "TH" + }, + { + "Name": "Maha Sarakham", + "Code": "TH-44", + "CountryCode": "TH" + }, + { + "Name": "Mukdahan", + "Code": "TH-49", + "CountryCode": "TH" + }, + { + "Name": "Nakhon Nayok", + "Code": "TH-26", + "CountryCode": "TH" + }, + { + "Name": "Nakhon Pathom", + "Code": "TH-73", + "CountryCode": "TH" + }, + { + "Name": "Nakhon Phanom", + "Code": "TH-48", + "CountryCode": "TH" + }, + { + "Name": "Nakhon Ratchasima", + "Code": "TH-30", + "CountryCode": "TH" + }, + { + "Name": "Nakhon Sawan", + "Code": "TH-60", + "CountryCode": "TH" + }, + { + "Name": "Nakhon Si Thammarat", + "Code": "TH-80", + "CountryCode": "TH" + }, + { + "Name": "Nan", + "Code": "TH-55", + "CountryCode": "TH" + }, + { + "Name": "Narathiwat", + "Code": "TH-96", + "CountryCode": "TH" + }, + { + "Name": "Nong Bua Lamphu", + "Code": "TH-39", + "CountryCode": "TH" + }, + { + "Name": "Nong Khai", + "Code": "TH-43", + "CountryCode": "TH" + }, + { + "Name": "Nonthaburi", + "Code": "TH-12", + "CountryCode": "TH" + }, + { + "Name": "Pathum Thani", + "Code": "TH-13", + "CountryCode": "TH" + }, + { + "Name": "Pattani", + "Code": "TH-94", + "CountryCode": "TH" + }, + { + "Name": "Phang Nga", + "Code": "TH-82", + "CountryCode": "TH" + }, + { + "Name": "Phatthalung", + "Code": "TH-93", + "CountryCode": "TH" + }, + { + "Name": "Phayao", + "Code": "TH-56", + "CountryCode": "TH" + }, + { + "Name": "Phetchabun", + "Code": "TH-67", + "CountryCode": "TH" + }, + { + "Name": "Phetchaburi", + "Code": "TH-76", + "CountryCode": "TH" + }, + { + "Name": "Phichit", + "Code": "TH-66", + "CountryCode": "TH" + }, + { + "Name": "Phitsanulok", + "Code": "TH-65", + "CountryCode": "TH" + }, + { + "Name": "Phra Nakhon Si Ayutthaya", + "Code": "TH-14", + "CountryCode": "TH" + }, + { + "Name": "Phrae", + "Code": "TH-54", + "CountryCode": "TH" + }, + { + "Name": "Phuket", + "Code": "TH-83", + "CountryCode": "TH" + }, + { + "Name": "Prachinburi", + "Code": "TH-25", + "CountryCode": "TH" + }, + { + "Name": "Prachuap Khiri Khan", + "Code": "TH-77", + "CountryCode": "TH" + }, + { + "Name": "Ranong", + "Code": "TH-85", + "CountryCode": "TH" + }, + { + "Name": "Ratchaburi", + "Code": "TH-70", + "CountryCode": "TH" + }, + { + "Name": "Rayong", + "Code": "TH-21", + "CountryCode": "TH" + }, + { + "Name": "Roi Et", + "Code": "TH-45", + "CountryCode": "TH" + }, + { + "Name": "Sa Kaeo", + "Code": "TH-27", + "CountryCode": "TH" + }, + { + "Name": "Sakon Nakhon", + "Code": "TH-47", + "CountryCode": "TH" + }, + { + "Name": "Samut Prakan", + "Code": "TH-11", + "CountryCode": "TH" + }, + { + "Name": "Samut Sakhon", + "Code": "TH-74", + "CountryCode": "TH" + }, + { + "Name": "Samut Songkhram", + "Code": "TH-75", + "CountryCode": "TH" + }, + { + "Name": "Saraburi", + "Code": "TH-19", + "CountryCode": "TH" + }, + { + "Name": "Satun", + "Code": "TH-91", + "CountryCode": "TH" + }, + { + "Name": "Sing Buri", + "Code": "TH-17", + "CountryCode": "TH" + }, + { + "Name": "Sisaket", + "Code": "TH-33", + "CountryCode": "TH" + }, + { + "Name": "Songkhla", + "Code": "TH-90", + "CountryCode": "TH" + }, + { + "Name": "Sukhothai", + "Code": "TH-64", + "CountryCode": "TH" + }, + { + "Name": "Suphan Buri", + "Code": "TH-72", + "CountryCode": "TH" + }, + { + "Name": "Surat Thani", + "Code": "TH-84", + "CountryCode": "TH" + }, + { + "Name": "Surin", + "Code": "TH-32", + "CountryCode": "TH" + }, + { + "Name": "Tak", + "Code": "TH-63", + "CountryCode": "TH" + }, + { + "Name": "Trang", + "Code": "TH-92", + "CountryCode": "TH" + }, + { + "Name": "Trat", + "Code": "TH-23", + "CountryCode": "TH" + }, + { + "Name": "Ubon Ratchathani", + "Code": "TH-34", + "CountryCode": "TH" + }, + { + "Name": "Udon Thani", + "Code": "TH-41", + "CountryCode": "TH" + }, + { + "Name": "Uthai Thani", + "Code": "TH-61", + "CountryCode": "TH" + }, + { + "Name": "Uttaradit", + "Code": "TH-53", + "CountryCode": "TH" + }, + { + "Name": "Yala", + "Code": "TH-95", + "CountryCode": "TH" + }, + { + "Name": "Yasothon", + "Code": "TH-35", + "CountryCode": "TH" + }, + { + "Name": "Abha", + "Code": "AHB", + "CountryCode": "SA" + }, + { + "Name": "Abqaiq", + "Code": "ABQ", + "CountryCode": "SA" + }, + { + "Name": "Ad Dammam", + "Code": "DMM", + "CountryCode": "SA" + }, + { + "Name": "Ad Dawadami", + "Code": "DAW", + "CountryCode": "SA" + }, + { + "Name": "Al Baha", + "Code": "ABT", + "CountryCode": "SA" + }, + { + "Name": "Al Bahah", + "Code": "BAH", + "CountryCode": "SA" + }, + { + "Name": "Al Hada", + "Code": "AHA", + "CountryCode": "SA" + }, + { + "Name": "Al Hadithah", + "Code": "HAD", + "CountryCode": "SA" + }, + { + "Name": "Al Hasa", + "Code": "ALH", + "CountryCode": "SA" + }, + { + "Name": "Al Jawf", + "Code": "LJW", + "CountryCode": "SA" + }, + { + "Name": "Al Jubayl Industrial City", + "Code": "JBI", + "CountryCode": "SA" + }, + { + "Name": "Al Kharj", + "Code": "AKH", + "CountryCode": "SA" + }, + { + "Name": "Al Khobar", + "Code": "AQK", + "CountryCode": "SA" + }, + { + "Name": "Al Khobar", + "Code": "ALK", + "CountryCode": "SA" + }, + { + "Name": "Al Khuraibah", + "Code": "KHU", + "CountryCode": "SA" + }, + { + "Name": "Al Muajjiz", + "Code": "AMU", + "CountryCode": "SA" + }, + { + "Name": "Al Qahmah", + "Code": "QAH", + "CountryCode": "SA" + }, + { + "Name": "Al Qunfudah", + "Code": "QUN", + "CountryCode": "SA" + }, + { + "Name": "Al Qurainah", + "Code": "QRN", + "CountryCode": "SA" + }, + { + "Name": "Al Shuqaiq", + "Code": "ASQ", + "CountryCode": "SA" + }, + { + "Name": "Al 'Uthmaniyah", + "Code": "AUT", + "CountryCode": "SA" + }, + { + "Name": "Ar Rass", + "Code": "ARR", + "CountryCode": "SA" + }, + { + "Name": "Arar", + "Code": "RAE", + "CountryCode": "SA" + }, + { + "Name": "Asfan", + "Code": "ASF", + "CountryCode": "SA" + }, + { + "Name": "Badanah", + "Code": "BDN", + "CountryCode": "SA" + }, + { + "Name": "Bisha", + "Code": "BHH", + "CountryCode": "SA" + }, + { + "Name": "Buraydah", + "Code": "BRU", + "CountryCode": "SA" + }, + { + "Name": "Buraydah", + "Code": "BUR", + "CountryCode": "SA" + }, + { + "Name": "Dhahran", + "Code": "DHA", + "CountryCode": "SA" + }, + { + "Name": "Dhuba", + "Code": "DHU", + "CountryCode": "SA" + }, + { + "Name": "Fiji", + "Code": "FJJ", + "CountryCode": "SA" + }, + { + "Name": "Gassim", + "Code": "ELQ", + "CountryCode": "SA" + }, + { + "Name": "Gurayat", + "Code": "URY", + "CountryCode": "SA" + }, + { + "Name": "Hafar al Batin", + "Code": "HBT", + "CountryCode": "SA" + }, + { + "Name": "Hail", + "Code": "HAS", + "CountryCode": "SA" + }, + { + "Name": "Harad", + "Code": "RAD", + "CountryCode": "SA" + }, + { + "Name": "Hazm Al Jalamid", + "Code": "HZM", + "CountryCode": "SA" + }, + { + "Name": "Hofuf", + "Code": "HOF", + "CountryCode": "SA" + }, + { + "Name": "Jazan Economic City", + "Code": "JEC", + "CountryCode": "SA" + }, + { + "Name": "Jeddah", + "Code": "JED", + "CountryCode": "SA" + }, + { + "Name": "Jeddah Industrial City 2 & 3", + "Code": "JIC", + "CountryCode": "SA" + }, + { + "Name": "Jeddah Yachts Club Port", + "Code": "JYC", + "CountryCode": "SA" + }, + { + "Name": "Jizan", + "Code": "GIZ", + "CountryCode": "SA" + }, + { + "Name": "Jouf", + "Code": "AJF", + "CountryCode": "SA" + }, + { + "Name": "Juaymah Terminal", + "Code": "JUT", + "CountryCode": "SA" + }, + { + "Name": "Jubail", + "Code": "JUB", + "CountryCode": "SA" + }, + { + "Name": "Khamis Mushayt", + "Code": "KMX", + "CountryCode": "SA" + }, + { + "Name": "King Abdullah City", + "Code": "KAC", + "CountryCode": "SA" + }, + { + "Name": "King Fhad", + "Code": "KFH", + "CountryCode": "SA" + }, + { + "Name": "King Khalid", + "Code": "KKH", + "CountryCode": "SA" + }, + { + "Name": "Lith", + "Code": "LIT", + "CountryCode": "SA" + }, + { + "Name": "Madinah", + "Code": "MED", + "CountryCode": "SA" + }, + { + "Name": "Majma", + "Code": "MJH", + "CountryCode": "SA" + }, + { + "Name": "Makkah", + "Code": "MAK", + "CountryCode": "SA" + }, + { + "Name": "Manailih", + "Code": "MAN", + "CountryCode": "SA" + }, + { + "Name": "Manfouha", + "Code": "MUF", + "CountryCode": "SA" + }, + { + "Name": "Muhayil", + "Code": "MHY", + "CountryCode": "SA" + }, + { + "Name": "Najran", + "Code": "NJN", + "CountryCode": "SA" + }, + { + "Name": "Nejran", + "Code": "EAM", + "CountryCode": "SA" + }, + { + "Name": "Qaisumah", + "Code": "AQI", + "CountryCode": "SA" + }, + { + "Name": "Qalsn", + "Code": "QAL", + "CountryCode": "SA" + }, + { + "Name": "Qatif", + "Code": "QTF", + "CountryCode": "SA" + }, + { + "Name": "Qurayyah", + "Code": "QUR", + "CountryCode": "SA" + }, + { + "Name": "Rabigh", + "Code": "RAB", + "CountryCode": "SA" + }, + { + "Name": "Rafha", + "Code": "RAH", + "CountryCode": "SA" + }, + { + "Name": "Ras al Khafji", + "Code": "RAR", + "CountryCode": "SA" + }, + { + "Name": "Ras al Mishab", + "Code": "RAM", + "CountryCode": "SA" + }, + { + "Name": "Ras Al-Khair", + "Code": "RAZ", + "CountryCode": "SA" + }, + { + "Name": "Ras Tanura", + "Code": "RTA", + "CountryCode": "SA" + }, + { + "Name": "Riyadh", + "Code": "RUH", + "CountryCode": "SA" + }, + { + "Name": "Riyadh Dry Port", + "Code": "RYP", + "CountryCode": "SA" + }, + { + "Name": "Safaniya", + "Code": "SAF", + "CountryCode": "SA" + }, + { + "Name": "Salboukh", + "Code": "SUH", + "CountryCode": "SA" + }, + { + "Name": "Salwá", + "Code": "SAL", + "CountryCode": "SA" + }, + { + "Name": "Sayhat", + "Code": "SAY", + "CountryCode": "SA" + }, + { + "Name": "Shadqam", + "Code": "SHD", + "CountryCode": "SA" + }, + { + "Name": "Sharurah", + "Code": "SHW", + "CountryCode": "SA" + }, + { + "Name": "Shuaibah", + "Code": "SHU", + "CountryCode": "SA" + }, + { + "Name": "Sulayel", + "Code": "SLF", + "CountryCode": "SA" + }, + { + "Name": "Tabuk", + "Code": "TUU", + "CountryCode": "SA" + }, + { + "Name": "Taif", + "Code": "TIF", + "CountryCode": "SA" + }, + { + "Name": "Turaif", + "Code": "TUI", + "CountryCode": "SA" + }, + { + "Name": "Tusdeer Free Zone", + "Code": "TFZ", + "CountryCode": "SA" + }, + { + "Name": "Udhailiyah", + "Code": "UDH", + "CountryCode": "SA" + }, + { + "Name": "Umm Lajj", + "Code": "VLA", + "CountryCode": "SA" + }, + { + "Name": "Unayzah", + "Code": "UZH", + "CountryCode": "SA" + }, + { + "Name": "Wadi ad Dawasir", + "Code": "WAE", + "CountryCode": "SA" + }, + { + "Name": "Waisumah", + "Code": "AWI", + "CountryCode": "SA" + }, + { + "Name": "Wedjh", + "Code": "EJH", + "CountryCode": "SA" + }, + { + "Name": "Yanbu commercial city", + "Code": "YNB", + "CountryCode": "SA" + }, + { + "Name": "Yanbu Industrial City", + "Code": "YBI", + "CountryCode": "SA" + }, + { + "Name": "Zilfi", + "Code": "ZUL", + "CountryCode": "SA" + }, + { + "Name": "Zulayfayn", + "Code": "ZUY", + "CountryCode": "SA" + }, + { + "Name": "Artigas", + "Code": "AR", + "CountryCode": "UY" + }, + { + "Name": "Canelones", + "Code": "CA", + "CountryCode": "UY" + }, + { + "Name": "Cerro Largo", + "Code": "CL", + "CountryCode": "UY" + }, + { + "Name": "Colonia", + "Code": "CO", + "CountryCode": "UY" + }, + { + "Name": "Durazno", + "Code": "DU", + "CountryCode": "UY" + }, + { + "Name": "Flores", + "Code": "FS", + "CountryCode": "UY" + }, + { + "Name": "Florida", + "Code": "FD", + "CountryCode": "UY" + }, + { + "Name": "Lavalleja", + "Code": "LA", + "CountryCode": "UY" + }, + { + "Name": "Maldonado", + "Code": "MA", + "CountryCode": "UY" + }, + { + "Name": "Montevideo", + "Code": "MO", + "CountryCode": "UY" + }, + { + "Name": "Paysandú", + "Code": "PA", + "CountryCode": "UY" + }, + { + "Name": "Río Negro", + "Code": "RN", + "CountryCode": "UY" + }, + { + "Name": "Rivera", + "Code": "RV", + "CountryCode": "UY" + }, + { + "Name": "Rocha", + "Code": "RO", + "CountryCode": "UY" + }, + { + "Name": "Salto", + "Code": "SA", + "CountryCode": "UY" + }, + { + "Name": "San José", + "Code": "SJ", + "CountryCode": "UY" + }, + { + "Name": "Soriano", + "Code": "SO", + "CountryCode": "UY" + }, + { + "Name": "Tacuarembó", + "Code": "TA", + "CountryCode": "UY" + }, + { + "Name": "Treinta y Tres", + "Code": "TT", + "CountryCode": "UY" + }, + { + "Name": "Hong Kong Island", + "Code": "HK", + "CountryCode": "HK" + }, + { + "Name": "Kowloon", + "Code": "KLN", + "CountryCode": "HK" + }, + { + "Name": "New Territories", + "Code": "NT", + "CountryCode": "HK" + }, + { + "Name": "Baringo", + "Code": "KE-01", + "CountryCode": "KE" + }, + { + "Name": "Bomet", + "Code": "KE-02", + "CountryCode": "KE" + }, + { + "Name": "Bungoma", + "Code": "KE-03", + "CountryCode": "KE" + }, + { + "Name": "Busia", + "Code": "KE-04", + "CountryCode": "KE" + }, + { + "Name": "Elgeyo/Marakwet", + "Code": "KE-05", + "CountryCode": "KE" + }, + { + "Name": "Embu", + "Code": "KE-06", + "CountryCode": "KE" + }, + { + "Name": "Garissa", + "Code": "KE-07", + "CountryCode": "KE" + }, + { + "Name": "Homa Bay", + "Code": "KE-08", + "CountryCode": "KE" + }, + { + "Name": "Isiolo", + "Code": "KE-09", + "CountryCode": "KE" + }, + { + "Name": "Kajiado", + "Code": "KE-10", + "CountryCode": "KE" + }, + { + "Name": "Kakamega", + "Code": "KE-11", + "CountryCode": "KE" + }, + { + "Name": "Kericho", + "Code": "KE-12", + "CountryCode": "KE" + }, + { + "Name": "Kiambu", + "Code": "KE-13", + "CountryCode": "KE" + }, + { + "Name": "Kilifi", + "Code": "KE-14", + "CountryCode": "KE" + }, + { + "Name": "Kirinyaga", + "Code": "KE-15", + "CountryCode": "KE" + }, + { + "Name": "Kisii", + "Code": "KE-16", + "CountryCode": "KE" + }, + { + "Name": "Kisumu", + "Code": "KE-17", + "CountryCode": "KE" + }, + { + "Name": "Kitui", + "Code": "KE-18", + "CountryCode": "KE" + }, + { + "Name": "Kwale", + "Code": "KE-19", + "CountryCode": "KE" + }, + { + "Name": "Laikipia", + "Code": "KE-20", + "CountryCode": "KE" + }, + { + "Name": "Lamu", + "Code": "KE-21", + "CountryCode": "KE" + }, + { + "Name": "Machakos", + "Code": "KE-22", + "CountryCode": "KE" + }, + { + "Name": "Makueni", + "Code": "KE-23", + "CountryCode": "KE" + }, + { + "Name": "Mandera", + "Code": "KE-24", + "CountryCode": "KE" + }, + { + "Name": "Marsabit", + "Code": "KE-25", + "CountryCode": "KE" + }, + { + "Name": "Meru", + "Code": "KE-26", + "CountryCode": "KE" + }, + { + "Name": "Migori", + "Code": "KE-27", + "CountryCode": "KE" + }, + { + "Name": "Mombasa", + "Code": "KE-28", + "CountryCode": "KE" + }, + { + "Name": "Murang'a", + "Code": "KE-29", + "CountryCode": "KE" + }, + { + "Name": "Nairobi City", + "Code": "KE-30", + "CountryCode": "KE" + }, + { + "Name": "Nakuru", + "Code": "KE-31", + "CountryCode": "KE" + }, + { + "Name": "Nandi", + "Code": "KE-32", + "CountryCode": "KE" + }, + { + "Name": "Narok", + "Code": "KE-33", + "CountryCode": "KE" + }, + { + "Name": "Nyamira", + "Code": "KE-34", + "CountryCode": "KE" + }, + { + "Name": "Nyandarua", + "Code": "KE-35", + "CountryCode": "KE" + }, + { + "Name": "Nyeri", + "Code": "KE-36", + "CountryCode": "KE" + }, + { + "Name": "Samburu", + "Code": "KE-37", + "CountryCode": "KE" + }, + { + "Name": "Siaya", + "Code": "KE-38", + "CountryCode": "KE" + }, + { + "Name": "Taita/Taveta", + "Code": "KE-39", + "CountryCode": "KE" + }, + { + "Name": "Tana River", + "Code": "KE-40", + "CountryCode": "KE" + }, + { + "Name": "Tharaka-Nithi", + "Code": "KE-41", + "CountryCode": "KE" + }, + { + "Name": "Trans Nzoia", + "Code": "KE-42", + "CountryCode": "KE" + }, + { + "Name": "Turkana", + "Code": "KE-43", + "CountryCode": "KE" + }, + { + "Name": "Uasin Gishu", + "Code": "KE-44", + "CountryCode": "KE" + }, + { + "Name": "Vihiga", + "Code": "KE-45", + "CountryCode": "KE" + }, + { + "Name": "Wajir", + "Code": "KE-46", + "CountryCode": "KE" + }, + { + "Name": "West Pokot", + "Code": "KE-47", + "CountryCode": "KE" + }, + { + "Name": "Ajloun", + "Code": "JO-AJ", + "CountryCode": "JO" + }, + { + "Name": "Amman", + "Code": "JO-AM", + "CountryCode": "JO" + }, + { + "Name": "Aqaba", + "Code": "JO-AQ", + "CountryCode": "JO" + }, + { + "Name": "Tafileh", + "Code": "JO-AT", + "CountryCode": "JO" + }, + { + "Name": "Zarqa", + "Code": "JO-AZ", + "CountryCode": "JO" + }, + { + "Name": "Balqa", + "Code": "JO-BA", + "CountryCode": "JO" + }, + { + "Name": "Irbid", + "Code": "JO-IR", + "CountryCode": "JO" + }, + { + "Name": "Jerash", + "Code": "JO-JA", + "CountryCode": "JO" + }, + { + "Name": "Karak", + "Code": "JO-KA", + "CountryCode": "JO" + }, + { + "Name": "Mafraq", + "Code": "JO-MA", + "CountryCode": "JO" + }, + { + "Name": "Madaba", + "Code": "JO-MD", + "CountryCode": "JO" + }, + { + "Name": "Maan", + "Code": "JO-MN", + "CountryCode": "JO" + }, + { + "Name": "서울특별시", + "Code": "KR-11", + "CountryCode": "KR" + }, + { + "Name": "부산광역시", + "Code": "KR-26", + "CountryCode": "KR" + }, + { + "Name": "대구광역시", + "Code": "KR-27", + "CountryCode": "KR" + }, + { + "Name": "인천광역시", + "Code": "KR-28", + "CountryCode": "KR" + }, + { + "Name": "광주광역시", + "Code": "KR-29", + "CountryCode": "KR" + }, + { + "Name": "대전광역시", + "Code": "KR-30", + "CountryCode": "KR" + }, + { + "Name": "울산광역시", + "Code": "KR-31", + "CountryCode": "KR" + }, + { + "Name": "경기도", + "Code": "KR-41", + "CountryCode": "KR" + }, + { + "Name": "강원도", + "Code": "KR-42", + "CountryCode": "KR" + }, + { + "Name": "충청북도", + "Code": "KR-43", + "CountryCode": "KR" + }, + { + "Name": "충청남도", + "Code": "KR-44", + "CountryCode": "KR" + }, + { + "Name": "전라북도", + "Code": "KR-45", + "CountryCode": "KR" + }, + { + "Name": "전라남도", + "Code": "KR-46", + "CountryCode": "KR" + }, + { + "Name": "경상북도", + "Code": "KR-47", + "CountryCode": "KR" + }, + { + "Name": "경상남도", + "Code": "KR-48", + "CountryCode": "KR" + }, + { + "Name": "제주특별자치도", + "Code": "KR-49", + "CountryCode": "KR" + }, + { + "Name": "세종특별자치시", + "Code": "KR-50", + "CountryCode": "KR" + }, + { + "Name": "Antwerp", + "Code": "VAN", + "CountryCode": "BE" + }, + { + "Name": "Limburg", + "Code": "VLI", + "CountryCode": "BE" + }, + { + "Name": "East Flanders", + "Code": "VOV", + "CountryCode": "BE" + }, + { + "Name": "Flemish Brabant", + "Code": "VBR", + "CountryCode": "BE" + }, + { + "Name": "West Flanders", + "Code": "VWV", + "CountryCode": "BE" + }, + { + "Name": "Walloon Brabant", + "Code": "WBR", + "CountryCode": "BE" + }, + { + "Name": "Hainaut", + "Code": "WHT", + "CountryCode": "BE" + }, + { + "Name": "Liège", + "Code": "WLG", + "CountryCode": "BE" + }, + { + "Name": "Luxembourg", + "Code": "WLX", + "CountryCode": "BE" + }, + { + "Name": "Namur", + "Code": "WNA", + "CountryCode": "BE" + } + ], + "SkillTypes": [{ "Name": "Diller" }, { "Name": "Soft Skills" }], + "Skills": [ + { "TypeName": "Diller", "Name": "Spanish" }, + { "TypeName": "Diller", "Name": "Fransızca" }, + { "TypeName": "Diller", "Name": "English" }, + { "TypeName": "Diller", "Name": "German" }, + { "TypeName": "Diller", "Name": "Filipino" }, + { "TypeName": "Diller", "Name": "Arabic" }, + { "TypeName": "Diller", "Name": "Bengali" }, + { "TypeName": "Diller", "Name": "Mandarin Chinese" }, + { "TypeName": "Diller", "Name": "Wu Chinese" }, + { "TypeName": "Diller", "Name": "Hindi" }, + { "TypeName": "Diller", "Name": "Russian" }, + { "TypeName": "Diller", "Name": "Portuguese" }, + { "TypeName": "Diller", "Name": "Indonesian" }, + { "TypeName": "Diller", "Name": "Urdu" }, + { "TypeName": "Diller", "Name": "Japonca" }, + { "TypeName": "Diller", "Name": "Punjabi" }, + { "TypeName": "Diller", "Name": "Javanese" }, + { "TypeName": "Diller", "Name": "Telugu" }, + { "TypeName": "Diller", "Name": "Turkish" }, + { "TypeName": "Diller", "Name": "Korean" }, + { "TypeName": "Diller", "Name": "Marathi" }, + { "TypeName": "Soft Skills", "Name": "Adaptability" }, + { "TypeName": "Soft Skills", "Name": "Critical Thinking" }, + { "TypeName": "Soft Skills", "Name": "İletişim" } + ], + "SkillLevels": [ + { + "TypeName": "Diller", + "Name": "C2", + "Progress": 100, + "IsDefault": false + }, + { + "TypeName": "Diller", + "Name": "C1", + "Progress": 85, + "IsDefault": false + }, + { + "TypeName": "Diller", + "Name": "B2", + "Progress": 75, + "IsDefault": false + }, + { + "TypeName": "Diller", + "Name": "B1", + "Progress": 60, + "IsDefault": false + }, + { + "TypeName": "Diller", + "Name": "A2", + "Progress": 40, + "IsDefault": false + }, + { + "TypeName": "Diller", + "Name": "A1", + "Progress": 10, + "IsDefault": true + }, + { + "TypeName": "Diller", + "Name": "Expert", + "Progress": 100, + "IsDefault": false + }, + { + "TypeName": "Soft Skills", + "Name": "Advanced", + "Progress": 80, + "IsDefault": false + }, + { + "TypeName": "Soft Skills", + "Name": "Intermediate", + "Progress": 50, + "IsDefault": false + }, + { + "TypeName": "Soft Skills", + "Name": "Elementary", + "Progress": 25, + "IsDefault": false + }, + { + "TypeName": "Soft Skills", + "Name": "Beginner", + "Progress": 15, + "IsDefault": true + } + ], + "ContactTags": [ + { "Name": "Yurtdışı", "Category": "" }, + { "Name": "Yurtiçi", "Category": "" } + ], + "ContactTitles": [ + { "Title": "Bay", "Abbreviation": "Bay." }, + { "Title": "Bayan", "Abbreviation": "Bayan" }, + { "Title": "Doktora", "Abbreviation": "Dr." }, + { "Title": "Profesör", "Abbreviation": "Prof." } ] -} \ No newline at end of file +} diff --git a/api/src/Kurs.Platform.DbMigrator/Seeds/SeederDto.cs b/api/src/Kurs.Platform.DbMigrator/Seeds/SeederDto.cs index 96bc1dc4..6413f1cb 100644 --- a/api/src/Kurs.Platform.DbMigrator/Seeds/SeederDto.cs +++ b/api/src/Kurs.Platform.DbMigrator/Seeds/SeederDto.cs @@ -4,7 +4,6 @@ using Kurs.Platform.Charts.Dto; using Kurs.Platform.Entities; using Kurs.Platform.ListForms; using Kurs.Settings.Entities; -using Volo.Abp.PermissionManagement; namespace Kurs.Platform.Seeds; @@ -15,13 +14,24 @@ public class SeederDto public List DataSources { get; set; } public List Settings { get; set; } public List Charts { get; set; } - public List GlobalSearch { get; set; } - public List BackgroundWorkers { get; set; } - public List NotificationRules { get; set; } - public List Menus { get; set; } - public List PermissionGroupDefinitionRecords { get; set; } - public List PermissionDefinitionRecords { get; set; } - + public List GlobalSearch { get; set; } + public List BackgroundWorkers { get; set; } + public List NotificationRules { get; set; } + public List Menus { get; set; } + public List PermissionGroupDefinitionRecords { get; set; } + public List PermissionDefinitionRecords { get; set; } + public List Sectors { get; set; } + public List UomCategories { get; set; } + public List Uoms { get; set; } + public List Currencies { get; set; } + public List CountryGroups { get; set; } + public List Countries { get; set; } + public List States { get; set; } + public List SkillTypes { get; set; } + public List Skills { get; set; } + public List SkillLevels { get; set; } + public List ContactTags { get; set; } + public List ContactTitles { get; set; } } public class ChartsSeedDto @@ -48,7 +58,7 @@ public class LanguageTextsSeedDto public string Tr { get; set; } } -public class GlobalSearchDto +public class GlobalSearchSeedDto { public string System { get; set; } public string Group { get; set; } @@ -57,7 +67,7 @@ public class GlobalSearchDto public string Url { get; set; } } -public class BackgroundWorkerDto +public class BackgroundWorkerSeedDto { public string Name { get; set; } public string Cron { get; set; } @@ -66,7 +76,7 @@ public class BackgroundWorkerDto public string DataSourceCode { get; set; } } -public class NotificationRuleDto +public class NotificationRuleSeedDto { public string NotificationType { get; set; } public string RecipientType { get; set; } @@ -77,7 +87,7 @@ public class NotificationRuleDto public bool IsCustomized { get; set; } } -public class MenuDto +public class MenuSeedDto { public string ParentCode { get; set; } public string Code { get; set; } @@ -89,13 +99,13 @@ public class MenuDto public bool IsDisabled { get; set; } } -public class PermissionGroupDefinitionRecordDto +public class PermissionGroupDefinitionRecordSeedDto { public string Name { get; set; } public string DisplayName { get; set; } } -public class PermissionDefinitionRecordDto +public class PermissionDefinitionRecordSeedDto { public string GroupName { get; set; } public string Name { get; set; } @@ -103,4 +113,86 @@ public class PermissionDefinitionRecordDto public string DisplayName { get; set; } public bool IsEnabled { get; set; } public int MultiTenancySide { get; set; } +} + +public class SectorSeedDto +{ + public string Name { get; set; } + public string FullName { get; set; } +} + +public class UomCategorySeedDto +{ + public string Name { get; set; } +} + +public class UomSeedDto +{ + public string Name { get; set; } + public string Type { get; set; } + public decimal Ratio { get; set; } + public bool IsActive { get; set; } + public decimal Rounding { get; set; } + public string CategoryName { get; set; } +} + +public class CurrencySeedDto +{ + public string Code { get; set; } + public string Symbol { get; set; } + public string Name { get; set; } + public bool IsActive { get; set; } +} + +public class CountryGroupSeedDto +{ + public string Name { get; set; } +} + +public class CountrySeedDto +{ + public string Name { get; set; } + public string Code { get; set; } + public string CurrencyCode { get; set; } + public string PhoneCode { get; set; } + public string TaxLabel { get; set; } + public string GroupName { get; set; } +} + +public class StateSeedDto +{ + public string Name { get; set; } + public string Code { get; set; } + public string CountryCode { get; set; } +} + +public class SkillTypeSeedDto +{ + public string Name { get; set; } +} + +public class SkillSeedDto +{ + public string Name { get; set; } + public string TypeName { get; set; } +} + +public class SkillLevelSeedDto +{ + public string Name { get; set; } + public int Progress { get; set; } + public bool IsDefault { get; set; } + public string TypeName { get; set; } +} + +public class ContactTagSeedDto +{ + public string Name { get; set; } + public string Category { get; set; } +} + +public class ContactTitleSeedDto +{ + public string Title { get; set; } + public string Abbreviation { get; set; } } \ No newline at end of file diff --git a/api/src/Kurs.Platform.Domain.Shared/Enums/UomType.cs b/api/src/Kurs.Platform.Domain.Shared/Enums/UomType.cs new file mode 100644 index 00000000..d514640c --- /dev/null +++ b/api/src/Kurs.Platform.Domain.Shared/Enums/UomType.cs @@ -0,0 +1,8 @@ +namespace Kurs.Platform.Enums; + +public class UomType +{ + public const string Reference = "Reference"; + public const string SmallerThanReference = "SmallerThanReference"; + public const string BiggerThanReference = "BiggerThanReference"; +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Domain/Entities/Bank.cs b/api/src/Kurs.Platform.Domain/Entities/Bank.cs new file mode 100644 index 00000000..4075666f --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/Bank.cs @@ -0,0 +1,40 @@ +using System; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Domain.Entities.Auditing; + +namespace Kurs.Platform.Entities; + +public class Bank : FullAuditedEntity +{ + [Required] + [MaxLength(256)] + public string Name { get; set; } + + [MaxLength(64)] + public string IdentifierCode { get; set; } + + // Adres alanları + [MaxLength(256)] + public string AddressLine1 { get; set; } + + [MaxLength(256)] + public string AddressLine2 { get; set; } + + [MaxLength(128)] + public string District { get; set; } + + [MaxLength(128)] + public string City { get; set; } + + [MaxLength(16)] + public string PostalCode { get; set; } + + [MaxLength(128)] + public string Country { get; set; } + + [MaxLength(64)] + public string Phone { get; set; } + + [MaxLength(128)] + public string Email { get; set; } +} diff --git a/api/src/Kurs.Platform.Domain/Entities/BankAccount.cs b/api/src/Kurs.Platform.Domain/Entities/BankAccount.cs new file mode 100644 index 00000000..2fd107dc --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/BankAccount.cs @@ -0,0 +1,26 @@ +using System; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Domain.Entities.Auditing; + +namespace Kurs.Platform.Entities; + +public class BankAccount : FullAuditedEntity +{ + [Required] + [MaxLength(64)] + public string AccountNumber { get; set; } + + public Guid BankId { get; set; } + public Bank Bank { get; set; } + + [MaxLength(256)] + public string AccountOwner { get; set; } + + public Guid? CurrencyId { get; set; } // Currency entity'sine referans + public Currency Currency { get; set; } + + public bool CanTransferMoney { get; set; } + + [MaxLength(256)] + public string Company { get; set; } +} diff --git a/api/src/Kurs.Platform.Domain/Entities/ContactTag.cs b/api/src/Kurs.Platform.Domain/Entities/ContactTag.cs new file mode 100644 index 00000000..ba1f2efe --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/ContactTag.cs @@ -0,0 +1,12 @@ +using System; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Domain.Entities.Auditing; + +public class ContactTag : FullAuditedEntity +{ + [Required, MaxLength(128)] + public string Name { get; set; } + + [MaxLength(128)] + public string Category { get; set; } +} diff --git a/api/src/Kurs.Platform.Domain/Entities/ContactTitle.cs b/api/src/Kurs.Platform.Domain/Entities/ContactTitle.cs new file mode 100644 index 00000000..834bd521 --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/ContactTitle.cs @@ -0,0 +1,12 @@ +using System; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Domain.Entities.Auditing; + +public class ContactTitle : FullAuditedEntity +{ + [Required, MaxLength(128)] + public string Title { get; set; } + + [MaxLength(64)] + public string Abbreviation { get; set; } +} diff --git a/api/src/Kurs.Platform.Domain/Entities/Country.cs b/api/src/Kurs.Platform.Domain/Entities/Country.cs new file mode 100644 index 00000000..e082ef4e --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/Country.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Domain.Entities.Auditing; + +namespace Kurs.Platform.Entities; + +public class Country : FullAuditedEntity +{ + [Required] + [MaxLength(8)] + public string Code { get; set; } // TR, US + + [Required] + [MaxLength(128)] + public string Name { get; set; } + + [MaxLength(128)] + public string GroupName { get; set; } + + [MaxLength(8)] + public string CurrencyCode { get; set; } + + [MaxLength(16)] + public string PhoneCode { get; set; } + + [MaxLength(64)] + public string TaxLabel { get; set; } + + public bool ZipRequired { get; set; } + + public bool StateRequired { get; set; } + + public ICollection States { get; set; } +} + +public class CountryGroup : FullAuditedEntity +{ + [Required, MaxLength(128)] + public string Name { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Domain/Entities/Currency.cs b/api/src/Kurs.Platform.Domain/Entities/Currency.cs new file mode 100644 index 00000000..f5dd7788 --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/Currency.cs @@ -0,0 +1,25 @@ +using System; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Domain.Entities.Auditing; + +namespace Kurs.Platform.Entities; + +public class Currency : FullAuditedEntity +{ + [Required] + [MaxLength(8)] + public string Code { get; set; } // TRY, USD, EUR + + [MaxLength(8)] + public string Symbol { get; set; } // ₺, $, etc. + + [Required] + [MaxLength(128)] + public string Name { get; set; } // Turkish lira, US dollar, ... + + public decimal Rate { get; set; } // TRY başına değer + + public bool IsActive { get; set; } + + public DateTime? LastUpdated { get; set; } +} diff --git a/api/src/Kurs.Platform.Domain/Entities/Sector.cs b/api/src/Kurs.Platform.Domain/Entities/Sector.cs new file mode 100644 index 00000000..c15b0c16 --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/Sector.cs @@ -0,0 +1,15 @@ +using System; +using Volo.Abp.Domain.Entities.Auditing; +using System.ComponentModel.DataAnnotations; + +namespace Kurs.Platform.Entities; + +public class Sector : FullAuditedEntity +{ + [Required] + [MaxLength(128)] + public string Name { get; set; } + + [MaxLength(256)] + public string FullName { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Domain/Entities/Skill.cs b/api/src/Kurs.Platform.Domain/Entities/Skill.cs new file mode 100644 index 00000000..7106f066 --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/Skill.cs @@ -0,0 +1,11 @@ +using System; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Domain.Entities.Auditing; + +public class Skill : FullAuditedEntity +{ + [Required, MaxLength(128)] + public string Name { get; set; } + + public string TypeName { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Domain/Entities/SkillLevel.cs b/api/src/Kurs.Platform.Domain/Entities/SkillLevel.cs new file mode 100644 index 00000000..2c9b0ae8 --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/SkillLevel.cs @@ -0,0 +1,14 @@ +using System; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Domain.Entities.Auditing; + +public class SkillLevel : FullAuditedEntity +{ + [Required, MaxLength(128)] + public string Name { get; set; } + + public int Progress { get; set; } + public bool IsDefault { get; set; } + + public string TypeName { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Domain/Entities/SkillType.cs b/api/src/Kurs.Platform.Domain/Entities/SkillType.cs new file mode 100644 index 00000000..578452f4 --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/SkillType.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Domain.Entities.Auditing; + +public class SkillType : FullAuditedEntity +{ + [Required, MaxLength(128)] + public string Name { get; set; } + + public ICollection Skills { get; set; } + public ICollection Levels { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.Domain/Entities/State.cs b/api/src/Kurs.Platform.Domain/Entities/State.cs new file mode 100644 index 00000000..8d8bfd3c --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/State.cs @@ -0,0 +1,19 @@ +using System; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Domain.Entities.Auditing; + +namespace Kurs.Platform.Entities; + +public class State : FullAuditedEntity +{ + [Required] + [MaxLength(128)] + public string Name { get; set; } + + [MaxLength(16)] + public string Code { get; set; } + + [MaxLength(8)] + public string CountryCode { get; set; } + public Country Country { get; set; } +} diff --git a/api/src/Kurs.Platform.Domain/Entities/Uom.cs b/api/src/Kurs.Platform.Domain/Entities/Uom.cs new file mode 100644 index 00000000..51ad70b4 --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/Uom.cs @@ -0,0 +1,26 @@ +using System; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Volo.Abp.Domain.Entities.Auditing; + +namespace Kurs.Platform.Entities; + +public class Uom : FullAuditedEntity +{ + [Required] + [MaxLength(64)] + public string Name { get; set; } + + [Required] + public string Type { get; set; } // Referans birime göre durumu + + public decimal Ratio { get; set; } + + public bool IsActive { get; set; } + + public decimal Rounding { get; set; } + + public string CategoryName { get; set; } + public UomCategory UomCategory { get; set; } +} + diff --git a/api/src/Kurs.Platform.Domain/Entities/UomCategory.cs b/api/src/Kurs.Platform.Domain/Entities/UomCategory.cs new file mode 100644 index 00000000..a894c9bf --- /dev/null +++ b/api/src/Kurs.Platform.Domain/Entities/UomCategory.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using Volo.Abp.Domain.Entities.Auditing; + +namespace Kurs.Platform.Entities; + +public class UomCategory : FullAuditedEntity +{ + [Required] + [MaxLength(128)] + public string Name { get; set; } + + public ICollection Units { get; set; } +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs b/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs index 39340837..6f9ec10f 100644 --- a/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs +++ b/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs @@ -24,11 +24,11 @@ namespace Kurs.Platform.EntityFrameworkCore; [ReplaceDbContext(typeof(IIdentityDbContext))] [ReplaceDbContext(typeof(ITenantManagementDbContext))] [ConnectionStringName(DefaultDatabaseProvider)] - public class PlatformDbContext : +public class PlatformDbContext : AbpDbContext, IIdentityDbContext, ITenantManagementDbContext - { +{ public DbSet Branches { get; set; } public DbSet BranchUsers { get; set; } public DbSet ListForms { get; set; } @@ -42,6 +42,20 @@ namespace Kurs.Platform.EntityFrameworkCore; public DbSet PublicApis { get; set; } public DbSet GlobalSearchs { get; set; } public DbSet AiBots { get; set; } + public DbSet Sectors { get; set; } + public DbSet UomCategories { get; set; } + public DbSet Uoms { get; set; } + public DbSet Currencies { get; set; } + public DbSet Banks { get; set; } + public DbSet BankAccounts { get; set; } + public DbSet CountryGroups { get; set; } + public DbSet Countries { get; set; } + public DbSet States { get; set; } + public DbSet SkillTypes { get; set; } + public DbSet Skills { get; set; } + public DbSet SkillLevels { get; set; } + public DbSet ContactTags { get; set; } + public DbSet ContactTitles { get; set; } #region Entities from the modules @@ -225,5 +239,158 @@ namespace Kurs.Platform.EntityFrameworkCore; b.HasKey(x => new { x.UserId, x.BranchId }); b.ConfigureByConvention(); }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(Sector), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + + b.Property(x => x.Name).IsRequired().HasMaxLength(128); + b.Property(x => x.FullName).HasMaxLength(256); + }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(UomCategory), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + + b.Property(x => x.Name) + .IsRequired() + .HasMaxLength(128); + + b.HasIndex(x => x.Name) + .IsUnique(); + }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(Uom), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + + b.Property(x => x.Name).IsRequired().HasMaxLength(64); + + b.Property(x => x.Type) + .HasConversion() + .HasMaxLength(32) + .IsRequired(); + + b.Property(x => x.Ratio).HasPrecision(18, 6); + b.Property(x => x.Rounding).HasPrecision(18, 6); + + b.Property(x => x.CategoryName) + .IsRequired() + .HasMaxLength(128); + + b.HasOne(x => x.UomCategory) + .WithMany(x => x.Units) + .HasPrincipalKey(x => x.Name) + .HasForeignKey(x => x.CategoryName) + .OnDelete(DeleteBehavior.Restrict); + }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(Currency), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + + b.Property(x => x.Code).IsRequired().HasMaxLength(8); + b.Property(x => x.Symbol).HasMaxLength(8); + b.Property(x => x.Name).IsRequired().HasMaxLength(128); + b.Property(x => x.Rate).HasColumnType("decimal(18,6)"); + b.Property(x => x.IsActive); + b.Property(x => x.LastUpdated); + }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(CountryGroup), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + b.Property(x => x.Name).IsRequired().HasMaxLength(128); + b.HasIndex(x => x.Name).IsUnique(); + }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(Country), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + + b.Property(x => x.Code).IsRequired().HasMaxLength(8); + b.Property(x => x.Name).IsRequired().HasMaxLength(128); + b.Property(x => x.GroupName).HasMaxLength(128); + b.Property(x => x.CurrencyCode).HasMaxLength(8); + b.Property(x => x.PhoneCode).HasMaxLength(16); + b.Property(x => x.TaxLabel).HasMaxLength(64); + + b.HasIndex(x => x.Code).IsUnique(); + b.HasIndex(x => x.GroupName); + + b.HasMany(x => x.States) + .WithOne(x => x.Country) + .HasForeignKey(x => x.CountryCode) + .HasPrincipalKey(x => x.Code) + .OnDelete(DeleteBehavior.Cascade); + + b.HasOne() + .WithMany() + .HasPrincipalKey(x => x.Name) + .HasForeignKey(x => x.GroupName) + .OnDelete(DeleteBehavior.Restrict); + }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(State), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + + b.Property(x => x.Name).IsRequired().HasMaxLength(128); + b.Property(x => x.Code).HasMaxLength(16); + + b.HasIndex(x => new { x.CountryCode, x.Code }).IsUnique(); + }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(SkillType), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + b.Property(x => x.Name).IsRequired().HasMaxLength(128); + + b.HasIndex(x => x.Name).IsUnique(); + }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(Skill), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + b.Property(x => x.Name).IsRequired().HasMaxLength(128); + b.Property(x => x.TypeName).IsRequired().HasMaxLength(128); + }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(SkillLevel), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + b.Property(x => x.Name).IsRequired().HasMaxLength(128); + b.Property(x => x.TypeName).IsRequired().HasMaxLength(128); + b.Property(x => x.Progress); + b.Property(x => x.IsDefault); + }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(ContactTag), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + b.Property(x => x.Name).IsRequired().HasMaxLength(128); + b.Property(x => x.Category).HasMaxLength(128); + }); + + builder.Entity(b => + { + b.ToTable(PlatformConsts.DbTablePrefix + nameof(ContactTitle), PlatformConsts.DbSchema); + b.ConfigureByConvention(); + b.Property(x => x.Title).IsRequired().HasMaxLength(128); + b.Property(x => x.Abbreviation).HasMaxLength(64); + }); + + } } diff --git a/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20250618100205_NewDefitinationTables.Designer.cs b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20250618100205_NewDefitinationTables.Designer.cs new file mode 100644 index 00000000..2859c11e --- /dev/null +++ b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20250618100205_NewDefitinationTables.Designer.cs @@ -0,0 +1,4617 @@ +// +using System; +using Kurs.Platform.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Volo.Abp.EntityFrameworkCore; + +#nullable disable + +namespace Kurs.Platform.Migrations +{ + [DbContext(typeof(PlatformDbContext))] + [Migration("20250618100205_NewDefitinationTables")] + partial class NewDefitinationTables + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) + .HasAnnotation("ProductVersion", "9.0.0") + .HasAnnotation("Relational:MaxIdentifierLength", 128); + + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + + modelBuilder.Entity("ContactTag", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Category") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.ToTable("PContactTag", (string)null); + }); + + modelBuilder.Entity("ContactTitle", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Abbreviation") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Title") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.ToTable("PContactTitle", (string)null); + }); + + modelBuilder.Entity("Kurs.Languages.Entities.Language", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CultureName") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsEnabled") + .HasColumnType("bit"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("MultipleCultures") + .HasColumnType("nvarchar(max)"); + + b.Property("TwoLetterISOLanguageName") + .HasColumnType("nvarchar(max)"); + + b.Property("UiCultureName") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.HasKey("Id"); + + b.ToTable("PLanguage", (string)null); + }); + + modelBuilder.Entity("Kurs.Languages.Entities.LanguageKey", b => + { + b.Property("ResourceName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Key") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.HasKey("ResourceName", "Key"); + + b.ToTable("PLanguageKey", (string)null); + }); + + modelBuilder.Entity("Kurs.Languages.Entities.LanguageText", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CultureName") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("Key") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("ResourceName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.HasKey("Id"); + + b.HasIndex("ResourceName", "Key"); + + b.ToTable("PLanguageText", (string)null); + }); + + modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueue", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("Attachment") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("AttachmentParameter") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("AwsMessageId") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("From") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("MailParameter") + .HasMaxLength(8000) + .HasColumnType("nvarchar(max)"); + + b.Property("RelatedRecordId") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SendStatus") + .HasColumnType("bit"); + + b.Property("SendTime") + .HasColumnType("datetime2"); + + b.Property("Table") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TableParameter") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TemplateId") + .HasColumnType("uniqueidentifier"); + + b.Property("To") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("Id"); + + b.ToTable("PBackgroundWorker_MailQueue", (string)null); + }); + + modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueueEvents", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AwsMessageId") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("Event") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("EventDate") + .HasColumnType("datetime2"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("MailAddress") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ResponseDescription") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("PBackgroundWorker_MailQueueEvents", (string)null); + }); + + modelBuilder.Entity("Kurs.MailQueue.Domain.Entities.BackgroundWorker_MailQueueTableFormat", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Caption") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ColumnName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Css") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("DataFormat") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("DataType") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("FooterCss") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("HeaderCss") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("IsHidden") + .HasColumnType("bit"); + + b.Property("IsProtected") + .HasColumnType("bit"); + + b.Property("Order") + .HasColumnType("smallint"); + + b.Property("SubTotal") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TableName") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("Width") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.HasIndex(new[] { "TableName", "Order" }, "IX_MailQueueTableFormat") + .IsUnique(); + + b.ToTable("PBackgroundWorker_MailQueueTableFormat", (string)null); + }); + + modelBuilder.Entity("Kurs.Notifications.Entities.Notification", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("Identifier") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsRead") + .HasColumnType("bit"); + + b.Property("IsSent") + .HasColumnType("bit"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Message") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("NotificationChannel") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("NotificationRuleId") + .HasColumnType("uniqueidentifier"); + + b.Property("NotificationType") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ReadTime") + .HasColumnType("datetime2"); + + b.Property("UserId") + .HasColumnType("uniqueidentifier"); + + b.HasKey("Id"); + + b.ToTable("PNotification", (string)null); + }); + + modelBuilder.Entity("Kurs.Notifications.Entities.NotificationRule", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("Channel") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsActive") + .HasColumnType("bit"); + + b.Property("IsCustomized") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsFixed") + .HasColumnType("bit"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("NotificationType") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("RecipientId") + .HasColumnType("nvarchar(max)"); + + b.Property("RecipientType") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("PNotificationRule", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.AiBot", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("BotName") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("PAiBot", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.BackgroundWorker", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AfterSp") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("BeforeSp") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("Cron") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("DataSourceCode") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsActive") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("Options") + .HasColumnType("nvarchar(max)"); + + b.Property("WorkerType") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.ToTable("PBackgroundWorker", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Bank", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AddressLine1") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("AddressLine2") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("City") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Country") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("District") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Email") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("IdentifierCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("Phone") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PostalCode") + .HasMaxLength(16) + .HasColumnType("nvarchar(16)"); + + b.HasKey("Id"); + + b.ToTable("Banks"); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.BankAccount", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AccountNumber") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("AccountOwner") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("BankId") + .HasColumnType("uniqueidentifier"); + + b.Property("CanTransferMoney") + .HasColumnType("bit"); + + b.Property("Company") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CurrencyId") + .HasColumnType("uniqueidentifier"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.HasKey("Id"); + + b.HasIndex("BankId"); + + b.HasIndex("CurrencyId"); + + b.ToTable("BankAccounts"); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Branch", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Address") + .HasColumnType("nvarchar(max)"); + + b.Property("Address2") + .HasColumnType("nvarchar(max)"); + + b.Property("City") + .HasColumnType("nvarchar(max)"); + + b.Property("Code") + .HasColumnType("nvarchar(max)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("District") + .HasColumnType("nvarchar(max)"); + + b.Property("Email") + .HasColumnType("nvarchar(max)"); + + b.Property("Fax") + .HasColumnType("bigint"); + + b.Property("IsActive") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Mobile") + .HasColumnType("bigint"); + + b.Property("Name") + .HasColumnType("nvarchar(max)"); + + b.Property("Phone") + .HasColumnType("bigint"); + + b.Property("PostalCode") + .HasColumnType("nvarchar(max)"); + + b.Property("TaxOffice") + .HasColumnType("nvarchar(max)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier"); + + b.Property("VknTckn") + .HasColumnType("bigint"); + + b.Property("Website") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("PBranch", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.BranchUsers", b => + { + b.Property("UserId") + .HasColumnType("uniqueidentifier"); + + b.Property("BranchId") + .HasColumnType("uniqueidentifier"); + + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("UserId", "BranchId"); + + b.ToTable("PBranchUsers", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Chart", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AdaptiveLayoutJson") + .HasColumnType("nvarchar(max)"); + + b.Property("AnimationJson") + .HasColumnType("nvarchar(max)"); + + b.Property("AnnotationsJson") + .HasColumnType("nvarchar(max)"); + + b.Property("ArgumentAxisJson") + .HasColumnType("nvarchar(max)"); + + b.Property("ChartCode") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CommonAnnotationsSettingsJson") + .HasColumnType("nvarchar(max)"); + + b.Property("CommonAxisSettingsJson") + .HasColumnType("nvarchar(max)"); + + b.Property("CommonJson") + .HasColumnType("nvarchar(max)"); + + b.Property("CommonPaneSettingsJson") + .HasColumnType("nvarchar(max)"); + + b.Property("CommonSeriesSettingsJson") + .HasColumnType("nvarchar(max)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CrosshairJson") + .HasColumnType("nvarchar(max)"); + + b.Property("CultureName") + .IsRequired() + .ValueGeneratedOnAdd() + .HasColumnType("nvarchar(max)") + .HasDefaultValue("en"); + + b.Property("DataSourceCode") + .HasColumnType("nvarchar(max)"); + + b.Property("DataSourceJson") + .HasColumnType("nvarchar(max)"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("ExportJson") + .HasColumnType("nvarchar(max)"); + + b.Property("IsBranch") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsOrganizationUnit") + .HasColumnType("bit"); + + b.Property("IsTenant") + .HasColumnType("bit"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LegendJson") + .HasColumnType("nvarchar(max)"); + + b.Property("MarginJson") + .HasColumnType("nvarchar(max)"); + + b.Property("PanesJson") + .HasColumnType("nvarchar(max)"); + + b.Property("PermissionJson") + .HasColumnType("nvarchar(max)"); + + b.Property("RoleId") + .HasColumnType("nvarchar(max)"); + + b.Property("ScrollBarJson") + .HasColumnType("nvarchar(max)"); + + b.Property("SeriesJson") + .HasColumnType("nvarchar(max)"); + + b.Property("SizeJson") + .HasColumnType("nvarchar(max)"); + + b.Property("TitleJson") + .HasColumnType("nvarchar(max)"); + + b.Property("TooltipJson") + .HasColumnType("nvarchar(max)"); + + b.Property("UserId") + .HasColumnType("nvarchar(max)"); + + b.Property("ValueAxisJson") + .HasColumnType("nvarchar(max)"); + + b.Property("ZoomAndPanJson") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("PChart", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Country", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(8) + .HasColumnType("nvarchar(8)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CurrencyCode") + .HasMaxLength(8) + .HasColumnType("nvarchar(8)"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("GroupName") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("PhoneCode") + .HasMaxLength(16) + .HasColumnType("nvarchar(16)"); + + b.Property("StateRequired") + .HasColumnType("bit"); + + b.Property("TaxLabel") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ZipRequired") + .HasColumnType("bit"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.HasIndex("GroupName"); + + b.ToTable("PCountry", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.CountryGroup", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("PCountryGroup", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Currency", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(8) + .HasColumnType("nvarchar(8)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsActive") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LastUpdated") + .HasColumnType("datetime2"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Rate") + .HasColumnType("decimal(18,6)"); + + b.Property("Symbol") + .HasMaxLength(8) + .HasColumnType("nvarchar(8)"); + + b.HasKey("Id"); + + b.ToTable("PCurrency", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.DataSource", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ConnectionString") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DataSourceType") + .HasColumnType("int"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.HasKey("Id"); + + b.ToTable("PDataSource", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.GlobalSearch", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Group") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("System") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Term") + .HasColumnType("nvarchar(max)"); + + b.Property("Url") + .HasColumnType("nvarchar(max)"); + + b.Property("Weight") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("PGlobalSearch", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.IpRestriction", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IP") + .IsRequired() + .HasMaxLength(32) + .HasColumnType("nvarchar(32)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("ResourceId") + .HasMaxLength(32) + .HasColumnType("nvarchar(32)"); + + b.Property("ResourceType") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.ToTable("PIpRestriction", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.ListForm", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ColumnOptionJson") + .HasColumnType("nvarchar(max)"); + + b.Property("CommandColumnJson") + .HasColumnType("nvarchar(max)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CultureName") + .HasColumnType("nvarchar(max)"); + + b.Property("CustomJsSourcesJson") + .HasColumnType("nvarchar(max)"); + + b.Property("CustomStyleSourcesJson") + .HasColumnType("nvarchar(max)"); + + b.Property("DataSourceCode") + .HasColumnType("nvarchar(max)"); + + b.Property("DefaultFilter") + .HasColumnType("nvarchar(max)"); + + b.Property("DeleteCommand") + .HasColumnType("nvarchar(max)"); + + b.Property("DeleteFieldsDefaultValueJson") + .HasColumnType("nvarchar(max)"); + + b.Property("DeleteServiceAddress") + .HasColumnType("nvarchar(max)"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("Description") + .HasColumnType("nvarchar(max)"); + + b.Property("EditingFormJson") + .HasColumnType("nvarchar(max)"); + + b.Property("EditingOptionJson") + .HasColumnType("nvarchar(max)"); + + b.Property("FilterPanelJson") + .HasColumnType("nvarchar(max)"); + + b.Property("FilterRowJson") + .HasColumnType("nvarchar(max)"); + + b.Property("FormFieldsDefaultValueJson") + .HasColumnType("nvarchar(max)"); + + b.Property("GroupPanelJson") + .HasColumnType("nvarchar(max)"); + + b.Property("HeaderFilterJson") + .HasColumnType("nvarchar(max)"); + + b.Property("Height") + .HasColumnType("int"); + + b.Property("InsertCommand") + .HasColumnType("nvarchar(max)"); + + b.Property("InsertFieldsDefaultValueJson") + .HasColumnType("nvarchar(max)"); + + b.Property("InsertServiceAddress") + .HasColumnType("nvarchar(max)"); + + b.Property("IsBranch") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsOrganizationUnit") + .HasColumnType("bit"); + + b.Property("IsSubForm") + .HasColumnType("bit"); + + b.Property("IsTenant") + .HasColumnType("bit"); + + b.Property("KeyFieldDbSourceType") + .HasColumnType("int"); + + b.Property("KeyFieldName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("ListFormCode") + .IsRequired() + .HasColumnType("nvarchar(450)"); + + b.Property("ListFormType") + .HasColumnType("nvarchar(max)"); + + b.Property("Name") + .HasColumnType("nvarchar(max)"); + + b.Property("PageSize") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasDefaultValue(10); + + b.Property("PagerOptionJson") + .HasColumnType("nvarchar(max)"); + + b.Property("PermissionJson") + .HasColumnType("nvarchar(max)"); + + b.Property("SearchPanelJson") + .HasColumnType("nvarchar(max)"); + + b.Property("SelectCommand") + .HasColumnType("nvarchar(max)"); + + b.Property("SelectCommandType") + .HasColumnType("int"); + + b.Property("SelectFieldsDefaultValueJson") + .HasColumnType("nvarchar(max)"); + + b.Property("SelectionJson") + .HasColumnType("nvarchar(max)"); + + b.Property("SortMode") + .HasColumnType("nvarchar(max)"); + + b.Property("StateStoringJson") + .HasColumnType("nvarchar(max)"); + + b.Property("SubFormsJson") + .HasColumnType("nvarchar(max)"); + + b.Property("TableName") + .HasColumnType("nvarchar(max)"); + + b.Property("Title") + .HasColumnType("nvarchar(max)"); + + b.Property("UpdateCommand") + .HasColumnType("nvarchar(max)"); + + b.Property("UpdateFieldsDefaultValueJson") + .HasColumnType("nvarchar(max)"); + + b.Property("UpdateServiceAddress") + .HasColumnType("nvarchar(max)"); + + b.Property("Width") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.ToTable("PListForm", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.ListFormCustomization", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CustomizationData") + .HasColumnType("nvarchar(max)"); + + b.Property("CustomizationType") + .HasColumnType("int"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("FilterName") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("ListFormCode") + .IsRequired() + .HasColumnType("nvarchar(450)"); + + b.Property("RoleId") + .HasColumnType("nvarchar(max)"); + + b.Property("UserId") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("ListFormCode"); + + b.ToTable("PListFormCustomization", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.ListFormField", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Alignment") + .HasColumnType("nvarchar(max)"); + + b.Property("AllowSearch") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false); + + b.Property("BandName") + .HasColumnType("nvarchar(max)"); + + b.Property("CaptionName") + .HasColumnType("nvarchar(max)"); + + b.Property("ColumnCssClass") + .HasColumnType("nvarchar(max)"); + + b.Property("ColumnCssValue") + .HasColumnType("nvarchar(max)"); + + b.Property("ColumnCustomizationJson") + .HasColumnType("nvarchar(max)"); + + b.Property("ColumnFilterJson") + .HasColumnType("nvarchar(max)"); + + b.Property("ColumnHeaderJson") + .HasColumnType("nvarchar(max)"); + + b.Property("ColumnStylingJson") + .HasColumnType("nvarchar(max)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CultureName") + .HasColumnType("nvarchar(max)"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("EditingJson") + .HasColumnType("nvarchar(max)"); + + b.Property("EditorOptions") + .HasColumnType("nvarchar(max)"); + + b.Property("FieldName") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("Format") + .HasColumnType("nvarchar(max)"); + + b.Property("GroupSummaryJson") + .HasColumnType("nvarchar(max)"); + + b.Property("GroupingJson") + .HasColumnType("nvarchar(max)"); + + b.Property("IsActive") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("JoinTableJson") + .HasColumnType("nvarchar(max)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("ListFormCode") + .IsRequired() + .HasColumnType("nvarchar(450)"); + + b.Property("ListOrderNo") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasDefaultValue(30); + + b.Property("LookupJson") + .HasColumnType("nvarchar(max)"); + + b.Property("PermissionJson") + .HasColumnType("nvarchar(max)"); + + b.Property("PivotSettingsJson") + .HasColumnType("nvarchar(max)"); + + b.Property("RoleId") + .HasColumnType("nvarchar(max)"); + + b.Property("SortDirection") + .HasColumnType("nvarchar(max)"); + + b.Property("SortIndex") + .HasColumnType("int"); + + b.Property("SourceDbType") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasDefaultValue(16); + + b.Property("TotalSummaryJson") + .HasColumnType("nvarchar(max)"); + + b.Property("UserId") + .HasColumnType("nvarchar(max)"); + + b.Property("ValidationRuleJson") + .HasColumnType("nvarchar(max)"); + + b.Property("Visible") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("Width") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasDefaultValue(100); + + b.HasKey("Id"); + + b.HasIndex("ListFormCode"); + + b.ToTable("PListFormField", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Menu", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CssClass") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CultureName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ElementId") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Icon") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsDisabled") + .HasColumnType("bit"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Order") + .HasColumnType("int"); + + b.Property("ParentCode") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("RequiredPermissionName") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("RoleId") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("Target") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Url") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("UserId") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.HasKey("Id"); + + b.ToTable("PMenu", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.PublicApi", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DataSourceCode") + .HasColumnType("nvarchar(max)"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("Description") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Method") + .HasColumnType("nvarchar(max)"); + + b.Property("Name") + .HasColumnType("nvarchar(max)"); + + b.Property("ParametersJson") + .HasColumnType("nvarchar(max)"); + + b.Property("PermissionsJson") + .HasColumnType("nvarchar(max)"); + + b.Property("Sql") + .HasColumnType("nvarchar(max)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Url") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("PPublicApi", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Sector", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("FullName") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.ToTable("PSector", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.State", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .HasMaxLength(16) + .HasColumnType("nvarchar(16)"); + + b.Property("CountryCode") + .HasMaxLength(8) + .HasColumnType("nvarchar(8)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("CountryCode", "Code") + .IsUnique() + .HasFilter("[CountryCode] IS NOT NULL AND [Code] IS NOT NULL"); + + b.ToTable("PState", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Uom", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CategoryName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsActive") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Ratio") + .HasPrecision(18, 6) + .HasColumnType("decimal(18,6)"); + + b.Property("Rounding") + .HasPrecision(18, 6) + .HasColumnType("decimal(18,6)"); + + b.Property("Type") + .IsRequired() + .HasMaxLength(32) + .HasColumnType("nvarchar(32)"); + + b.HasKey("Id"); + + b.HasIndex("CategoryName"); + + b.ToTable("PUom", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.UomCategory", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("PUomCategory", (string)null); + }); + + modelBuilder.Entity("Kurs.Settings.Entities.SettingDefinition", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DataType") + .IsRequired() + .HasMaxLength(16) + .HasColumnType("nvarchar(16)"); + + b.Property("DefaultValue") + .HasMaxLength(2048) + .HasColumnType("nvarchar(2048)"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("DescriptionKey") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsEncrypted") + .HasColumnType("bit"); + + b.Property("IsInherited") + .HasColumnType("bit"); + + b.Property("IsVisibleToClients") + .HasColumnType("bit"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("MainGroupKey") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("NameKey") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Order") + .HasColumnType("int"); + + b.Property("Providers") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("RequiredPermissionName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("SelectOptions") + .HasColumnType("nvarchar(max)"); + + b.Property("SubGroupKey") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.ToTable("PSettingDefinition", (string)null); + }); + + modelBuilder.Entity("Skill", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("SkillTypeId") + .HasColumnType("uniqueidentifier"); + + b.Property("TypeName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("SkillTypeId"); + + b.ToTable("PSkill", (string)null); + }); + + modelBuilder.Entity("SkillLevel", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDefault") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Progress") + .HasColumnType("int"); + + b.Property("SkillTypeId") + .HasColumnType("uniqueidentifier"); + + b.Property("TypeName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("SkillTypeId"); + + b.ToTable("PSkillLevel", (string)null); + }); + + modelBuilder.Entity("SkillType", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("PSkillType", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ApplicationName") + .HasMaxLength(96) + .HasColumnType("nvarchar(96)") + .HasColumnName("ApplicationName"); + + b.Property("BrowserInfo") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") + .HasColumnName("BrowserInfo"); + + b.Property("ClientId") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)") + .HasColumnName("ClientId"); + + b.Property("ClientIpAddress") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)") + .HasColumnName("ClientIpAddress"); + + b.Property("ClientName") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)") + .HasColumnName("ClientName"); + + b.Property("Comments") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)") + .HasColumnName("Comments"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CorrelationId") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)") + .HasColumnName("CorrelationId"); + + b.Property("Exceptions") + .HasColumnType("nvarchar(max)"); + + b.Property("ExecutionDuration") + .HasColumnType("int") + .HasColumnName("ExecutionDuration"); + + b.Property("ExecutionTime") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("HttpMethod") + .HasMaxLength(16) + .HasColumnType("nvarchar(16)") + .HasColumnName("HttpMethod"); + + b.Property("HttpStatusCode") + .HasColumnType("int") + .HasColumnName("HttpStatusCode"); + + b.Property("ImpersonatorTenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("ImpersonatorTenantId"); + + b.Property("ImpersonatorTenantName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)") + .HasColumnName("ImpersonatorTenantName"); + + b.Property("ImpersonatorUserId") + .HasColumnType("uniqueidentifier") + .HasColumnName("ImpersonatorUserId"); + + b.Property("ImpersonatorUserName") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)") + .HasColumnName("ImpersonatorUserName"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("TenantName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)") + .HasColumnName("TenantName"); + + b.Property("Url") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)") + .HasColumnName("Url"); + + b.Property("UserId") + .HasColumnType("uniqueidentifier") + .HasColumnName("UserId"); + + b.Property("UserName") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)") + .HasColumnName("UserName"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "ExecutionTime"); + + b.HasIndex("TenantId", "UserId", "ExecutionTime"); + + b.ToTable("AbpAuditLogs", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AuditLogId") + .HasColumnType("uniqueidentifier") + .HasColumnName("AuditLogId"); + + b.Property("ExecutionDuration") + .HasColumnType("int") + .HasColumnName("ExecutionDuration"); + + b.Property("ExecutionTime") + .HasColumnType("datetime2") + .HasColumnName("ExecutionTime"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("MethodName") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)") + .HasColumnName("MethodName"); + + b.Property("Parameters") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)") + .HasColumnName("Parameters"); + + b.Property("ServiceName") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)") + .HasColumnName("ServiceName"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("AuditLogId"); + + b.HasIndex("TenantId", "ServiceName", "MethodName", "ExecutionTime"); + + b.ToTable("AbpAuditLogActions", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AuditLogId") + .HasColumnType("uniqueidentifier") + .HasColumnName("AuditLogId"); + + b.Property("ChangeTime") + .HasColumnType("datetime2") + .HasColumnName("ChangeTime"); + + b.Property("ChangeType") + .HasColumnType("tinyint") + .HasColumnName("ChangeType"); + + b.Property("EntityId") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)") + .HasColumnName("EntityId"); + + b.Property("EntityTenantId") + .HasColumnType("uniqueidentifier"); + + b.Property("EntityTypeFullName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)") + .HasColumnName("EntityTypeFullName"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("AuditLogId"); + + b.HasIndex("TenantId", "EntityTypeFullName", "EntityId"); + + b.ToTable("AbpEntityChanges", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.EntityPropertyChange", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("EntityChangeId") + .HasColumnType("uniqueidentifier"); + + b.Property("NewValue") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") + .HasColumnName("NewValue"); + + b.Property("OriginalValue") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)") + .HasColumnName("OriginalValue"); + + b.Property("PropertyName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)") + .HasColumnName("PropertyName"); + + b.Property("PropertyTypeFullName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)") + .HasColumnName("PropertyTypeFullName"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("EntityChangeId"); + + b.ToTable("AbpEntityPropertyChanges", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.BackgroundJobs.BackgroundJobRecord", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IsAbandoned") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false); + + b.Property("JobArgs") + .IsRequired() + .HasMaxLength(1048576) + .HasColumnType("nvarchar(max)"); + + b.Property("JobName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("LastTryTime") + .HasColumnType("datetime2"); + + b.Property("NextTryTime") + .HasColumnType("datetime2"); + + b.Property("Priority") + .ValueGeneratedOnAdd() + .HasColumnType("tinyint") + .HasDefaultValue((byte)15); + + b.Property("TryCount") + .ValueGeneratedOnAdd() + .HasColumnType("smallint") + .HasDefaultValue((short)0); + + b.HasKey("Id"); + + b.HasIndex("IsAbandoned", "NextTryTime"); + + b.ToTable("AbpBackgroundJobs", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureDefinitionRecord", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AllowedProviders") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("DefaultValue") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("Description") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("GroupName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("IsAvailableToHost") + .HasColumnType("bit"); + + b.Property("IsVisibleToClients") + .HasColumnType("bit"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("ParentName") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("ValueType") + .HasMaxLength(2048) + .HasColumnType("nvarchar(2048)"); + + b.HasKey("Id"); + + b.HasIndex("GroupName"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("AbpFeatures", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureGroupDefinitionRecord", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("AbpFeatureGroups", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureValue", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("ProviderKey") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ProviderName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name", "ProviderName", "ProviderKey") + .IsUnique() + .HasFilter("[ProviderName] IS NOT NULL AND [ProviderKey] IS NOT NULL"); + + b.ToTable("AbpFeatureValues", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("Description") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IsStatic") + .HasColumnType("bit"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("Regex") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)"); + + b.Property("RegexDescription") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Required") + .HasColumnType("bit"); + + b.Property("ValueType") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.ToTable("AbpClaimTypes", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityLinkUser", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("SourceTenantId") + .HasColumnType("uniqueidentifier"); + + b.Property("SourceUserId") + .HasColumnType("uniqueidentifier"); + + b.Property("TargetTenantId") + .HasColumnType("uniqueidentifier"); + + b.Property("TargetUserId") + .HasColumnType("uniqueidentifier"); + + b.HasKey("Id"); + + b.HasIndex("SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId") + .IsUnique() + .HasFilter("[SourceTenantId] IS NOT NULL AND [TargetTenantId] IS NOT NULL"); + + b.ToTable("AbpLinkUsers", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("EntityVersion") + .HasColumnType("int"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IsDefault") + .HasColumnType("bit") + .HasColumnName("IsDefault"); + + b.Property("IsPublic") + .HasColumnType("bit") + .HasColumnName("IsPublic"); + + b.Property("IsStatic") + .HasColumnType("bit") + .HasColumnName("IsStatic"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("NormalizedName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("NormalizedName"); + + b.ToTable("AbpRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ClaimType") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("ClaimValue") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("RoleId") + .HasColumnType("uniqueidentifier"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("RoleId"); + + b.ToTable("AbpRoleClaims", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentitySecurityLog", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Action") + .HasMaxLength(96) + .HasColumnType("nvarchar(96)"); + + b.Property("ApplicationName") + .HasMaxLength(96) + .HasColumnType("nvarchar(96)"); + + b.Property("BrowserInfo") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)"); + + b.Property("ClientId") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ClientIpAddress") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CorrelationId") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CreationTime") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("Identity") + .HasMaxLength(96) + .HasColumnType("nvarchar(96)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("TenantName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("UserId") + .HasColumnType("uniqueidentifier"); + + b.Property("UserName") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "Action"); + + b.HasIndex("TenantId", "ApplicationName"); + + b.HasIndex("TenantId", "Identity"); + + b.HasIndex("TenantId", "UserId"); + + b.ToTable("AbpSecurityLogs", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentitySession", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ClientId") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Device") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("DeviceInfo") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IpAddresses") + .HasMaxLength(2048) + .HasColumnType("nvarchar(2048)"); + + b.Property("LastAccessed") + .HasColumnType("datetime2"); + + b.Property("SessionId") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("SignedIn") + .HasColumnType("datetime2"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("UserId") + .HasColumnType("uniqueidentifier"); + + b.HasKey("Id"); + + b.HasIndex("Device"); + + b.HasIndex("SessionId"); + + b.HasIndex("TenantId", "UserId"); + + b.ToTable("AbpSessions", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AccessFailedCount") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasDefaultValue(0) + .HasColumnName("AccessFailedCount"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("Email") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)") + .HasColumnName("Email"); + + b.Property("EmailConfirmed") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("EmailConfirmed"); + + b.Property("EntityVersion") + .HasColumnType("int"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IsActive") + .HasColumnType("bit") + .HasColumnName("IsActive"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsExternal") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsExternal"); + + b.Property("IsVerified") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LastPasswordChangeTime") + .HasColumnType("datetimeoffset"); + + b.Property("LockoutEnabled") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("LockoutEnabled"); + + b.Property("LockoutEnd") + .HasColumnType("datetimeoffset"); + + b.Property("LoginEndDate") + .HasColumnType("datetime2"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)") + .HasColumnName("Name"); + + b.Property("NormalizedEmail") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)") + .HasColumnName("NormalizedEmail"); + + b.Property("NormalizedUserName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)") + .HasColumnName("NormalizedUserName"); + + b.Property("PasswordHash") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)") + .HasColumnName("PasswordHash"); + + b.Property("PhoneNumber") + .HasMaxLength(16) + .HasColumnType("nvarchar(16)") + .HasColumnName("PhoneNumber"); + + b.Property("PhoneNumberConfirmed") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("PhoneNumberConfirmed"); + + b.Property("RocketUsername") + .HasColumnType("nvarchar(max)"); + + b.Property("SecurityStamp") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)") + .HasColumnName("SecurityStamp"); + + b.Property("ShouldChangePasswordOnNextLogin") + .HasColumnType("bit"); + + b.Property("Surname") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)") + .HasColumnName("Surname"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("TwoFactorEnabled") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("TwoFactorEnabled"); + + b.Property("UserName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)") + .HasColumnName("UserName"); + + b.HasKey("Id"); + + b.HasIndex("Email"); + + b.HasIndex("NormalizedEmail"); + + b.HasIndex("NormalizedUserName"); + + b.HasIndex("UserName"); + + b.ToTable("AbpUsers", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("ClaimType") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("ClaimValue") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("UserId") + .HasColumnType("uniqueidentifier"); + + b.HasKey("Id"); + + b.HasIndex("UserId"); + + b.ToTable("AbpUserClaims", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserDelegation", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("EndTime") + .HasColumnType("datetime2"); + + b.Property("SourceUserId") + .HasColumnType("uniqueidentifier"); + + b.Property("StartTime") + .HasColumnType("datetime2"); + + b.Property("TargetUserId") + .HasColumnType("uniqueidentifier"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.ToTable("AbpUserDelegations", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b => + { + b.Property("UserId") + .HasColumnType("uniqueidentifier"); + + b.Property("LoginProvider") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ProviderDisplayName") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("ProviderKey") + .IsRequired() + .HasMaxLength(196) + .HasColumnType("nvarchar(196)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("UserId", "LoginProvider"); + + b.HasIndex("LoginProvider", "ProviderKey"); + + b.ToTable("AbpUserLogins", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b => + { + b.Property("OrganizationUnitId") + .HasColumnType("uniqueidentifier"); + + b.Property("UserId") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("OrganizationUnitId", "UserId"); + + b.HasIndex("UserId", "OrganizationUnitId"); + + b.ToTable("AbpUserOrganizationUnits", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => + { + b.Property("UserId") + .HasColumnType("uniqueidentifier"); + + b.Property("RoleId") + .HasColumnType("uniqueidentifier"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("UserId", "RoleId"); + + b.HasIndex("RoleId", "UserId"); + + b.ToTable("AbpUserRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b => + { + b.Property("UserId") + .HasColumnType("uniqueidentifier"); + + b.Property("LoginProvider") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Name") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.Property("Value") + .HasColumnType("nvarchar(max)"); + + b.HasKey("UserId", "LoginProvider", "Name"); + + b.ToTable("AbpUserTokens", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(95) + .HasColumnType("nvarchar(95)") + .HasColumnName("Code"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)") + .HasColumnName("DisplayName"); + + b.Property("EntityVersion") + .HasColumnType("int"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("ParentId") + .HasColumnType("uniqueidentifier"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code"); + + b.HasIndex("ParentId"); + + b.ToTable("AbpOrganizationUnits", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b => + { + b.Property("OrganizationUnitId") + .HasColumnType("uniqueidentifier"); + + b.Property("RoleId") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("OrganizationUnitId", "RoleId"); + + b.HasIndex("RoleId", "OrganizationUnitId"); + + b.ToTable("AbpOrganizationUnitRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.OpenIddict.Applications.OpenIddictApplication", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ApplicationType") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ClientId") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ClientSecret") + .HasColumnType("nvarchar(max)"); + + b.Property("ClientType") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ClientUri") + .HasColumnType("nvarchar(max)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("ConsentType") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("DisplayName") + .HasColumnType("nvarchar(max)"); + + b.Property("DisplayNames") + .HasColumnType("nvarchar(max)"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("JsonWebKeySet") + .HasColumnType("nvarchar(max)"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LogoUri") + .HasColumnType("nvarchar(max)"); + + b.Property("Permissions") + .HasColumnType("nvarchar(max)"); + + b.Property("PostLogoutRedirectUris") + .HasColumnType("nvarchar(max)"); + + b.Property("Properties") + .HasColumnType("nvarchar(max)"); + + b.Property("RedirectUris") + .HasColumnType("nvarchar(max)"); + + b.Property("Requirements") + .HasColumnType("nvarchar(max)"); + + b.Property("Settings") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("ClientId"); + + b.ToTable("OpenIddictApplications", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.OpenIddict.Authorizations.OpenIddictAuthorization", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ApplicationId") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationDate") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("Properties") + .HasColumnType("nvarchar(max)"); + + b.Property("Scopes") + .HasColumnType("nvarchar(max)"); + + b.Property("Status") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Subject") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("Type") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("Id"); + + b.HasIndex("ApplicationId", "Status", "Subject", "Type"); + + b.ToTable("OpenIddictAuthorizations", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.OpenIddict.Scopes.OpenIddictScope", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("Description") + .HasColumnType("nvarchar(max)"); + + b.Property("Descriptions") + .HasColumnType("nvarchar(max)"); + + b.Property("DisplayName") + .HasColumnType("nvarchar(max)"); + + b.Property("DisplayNames") + .HasColumnType("nvarchar(max)"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("Properties") + .HasColumnType("nvarchar(max)"); + + b.Property("Resources") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("Name"); + + b.ToTable("OpenIddictScopes", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.OpenIddict.Tokens.OpenIddictToken", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ApplicationId") + .HasColumnType("uniqueidentifier"); + + b.Property("AuthorizationId") + .HasColumnType("uniqueidentifier"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationDate") + .HasColumnType("datetime2"); + + b.Property("ExpirationDate") + .HasColumnType("datetime2"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("Payload") + .HasColumnType("nvarchar(max)"); + + b.Property("Properties") + .HasColumnType("nvarchar(max)"); + + b.Property("RedemptionDate") + .HasColumnType("datetime2"); + + b.Property("ReferenceId") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("Status") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Subject") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("Type") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("Id"); + + b.HasIndex("AuthorizationId"); + + b.HasIndex("ReferenceId"); + + b.HasIndex("ApplicationId", "Status", "Subject", "Type"); + + b.ToTable("OpenIddictTokens", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionDefinitionRecord", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("GroupName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("IsEnabled") + .HasColumnType("bit"); + + b.Property("MultiTenancySide") + .HasColumnType("tinyint"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("ParentName") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Providers") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("StateCheckers") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.HasKey("Id"); + + b.HasIndex("GroupName"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("AbpPermissions", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionGrant", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("ProviderKey") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ProviderName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "Name", "ProviderName", "ProviderKey") + .IsUnique() + .HasFilter("[TenantId] IS NOT NULL"); + + b.ToTable("AbpPermissionGrants", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionGroupDefinitionRecord", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("AbpPermissionGroups", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.SettingManagement.Setting", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("ProviderKey") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ProviderName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(2048) + .HasColumnType("nvarchar(2048)"); + + b.HasKey("Id"); + + b.HasIndex("Name", "ProviderName", "ProviderKey") + .IsUnique() + .HasFilter("[ProviderName] IS NOT NULL AND [ProviderKey] IS NOT NULL"); + + b.ToTable("AbpSettings", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.SettingManagement.SettingDefinitionRecord", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("DefaultValue") + .HasMaxLength(2048) + .HasColumnType("nvarchar(2048)"); + + b.Property("Description") + .HasMaxLength(512) + .HasColumnType("nvarchar(512)"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("ExtraProperties") + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("IsEncrypted") + .HasColumnType("bit"); + + b.Property("IsInherited") + .HasColumnType("bit"); + + b.Property("IsVisibleToClients") + .HasColumnType("bit"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Providers") + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("AbpSettingDefinitions", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Address") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("Address2") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("City") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("nvarchar(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("District") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Email") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("EntityVersion") + .HasColumnType("int"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("nvarchar(max)") + .HasColumnName("ExtraProperties"); + + b.Property("Fax") + .HasColumnType("bigint"); + + b.Property("InstitutionName") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("IsActive") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(true); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Mobile") + .HasColumnType("bigint"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("NormalizedName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Phone") + .HasColumnType("bigint"); + + b.Property("PostalCode") + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("TaxOffice") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("VknTckn") + .HasColumnType("bigint"); + + b.Property("Website") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.HasKey("Id"); + + b.HasIndex("Name"); + + b.HasIndex("NormalizedName"); + + b.ToTable("AbpTenants", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.TenantManagement.TenantConnectionString", b => + { + b.Property("TenantId") + .HasColumnType("uniqueidentifier"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(1024) + .HasColumnType("nvarchar(1024)"); + + b.HasKey("TenantId", "Name"); + + b.ToTable("AbpTenantConnectionStrings", (string)null); + }); + + modelBuilder.Entity("Kurs.Languages.Entities.LanguageText", b => + { + b.HasOne("Kurs.Languages.Entities.LanguageKey", null) + .WithMany("Texts") + .HasForeignKey("ResourceName", "Key") + .OnDelete(DeleteBehavior.SetNull); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.BankAccount", b => + { + b.HasOne("Kurs.Platform.Entities.Bank", "Bank") + .WithMany() + .HasForeignKey("BankId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Kurs.Platform.Entities.Currency", "Currency") + .WithMany() + .HasForeignKey("CurrencyId"); + + b.Navigation("Bank"); + + b.Navigation("Currency"); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Country", b => + { + b.HasOne("Kurs.Platform.Entities.CountryGroup", null) + .WithMany() + .HasForeignKey("GroupName") + .HasPrincipalKey("Name") + .OnDelete(DeleteBehavior.Restrict); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.ListFormCustomization", b => + { + b.HasOne("Kurs.Platform.Entities.ListForm", null) + .WithMany() + .HasForeignKey("ListFormCode") + .HasPrincipalKey("ListFormCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.ListFormField", b => + { + b.HasOne("Kurs.Platform.Entities.ListForm", null) + .WithMany() + .HasForeignKey("ListFormCode") + .HasPrincipalKey("ListFormCode") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.State", b => + { + b.HasOne("Kurs.Platform.Entities.Country", "Country") + .WithMany("States") + .HasForeignKey("CountryCode") + .HasPrincipalKey("Code") + .OnDelete(DeleteBehavior.Cascade); + + b.Navigation("Country"); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Uom", b => + { + b.HasOne("Kurs.Platform.Entities.UomCategory", "UomCategory") + .WithMany("Units") + .HasForeignKey("CategoryName") + .HasPrincipalKey("Name") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("UomCategory"); + }); + + modelBuilder.Entity("Skill", b => + { + b.HasOne("SkillType", null) + .WithMany("Skills") + .HasForeignKey("SkillTypeId"); + }); + + modelBuilder.Entity("SkillLevel", b => + { + b.HasOne("SkillType", null) + .WithMany("Levels") + .HasForeignKey("SkillTypeId"); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b => + { + b.HasOne("Volo.Abp.AuditLogging.AuditLog", null) + .WithMany("Actions") + .HasForeignKey("AuditLogId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b => + { + b.HasOne("Volo.Abp.AuditLogging.AuditLog", null) + .WithMany("EntityChanges") + .HasForeignKey("AuditLogId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.EntityPropertyChange", b => + { + b.HasOne("Volo.Abp.AuditLogging.EntityChange", null) + .WithMany("PropertyChanges") + .HasForeignKey("EntityChangeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b => + { + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany("Claims") + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Claims") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Logins") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany() + .HasForeignKey("OrganizationUnitId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("OrganizationUnits") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => + { + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany() + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Roles") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Tokens") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany() + .HasForeignKey("ParentId"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany("Roles") + .HasForeignKey("OrganizationUnitId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany() + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.OpenIddict.Authorizations.OpenIddictAuthorization", b => + { + b.HasOne("Volo.Abp.OpenIddict.Applications.OpenIddictApplication", null) + .WithMany() + .HasForeignKey("ApplicationId"); + }); + + modelBuilder.Entity("Volo.Abp.OpenIddict.Tokens.OpenIddictToken", b => + { + b.HasOne("Volo.Abp.OpenIddict.Applications.OpenIddictApplication", null) + .WithMany() + .HasForeignKey("ApplicationId"); + + b.HasOne("Volo.Abp.OpenIddict.Authorizations.OpenIddictAuthorization", null) + .WithMany() + .HasForeignKey("AuthorizationId"); + }); + + modelBuilder.Entity("Volo.Abp.TenantManagement.TenantConnectionString", b => + { + b.HasOne("Volo.Abp.TenantManagement.Tenant", null) + .WithMany("ConnectionStrings") + .HasForeignKey("TenantId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Kurs.Languages.Entities.LanguageKey", b => + { + b.Navigation("Texts"); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Country", b => + { + b.Navigation("States"); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.UomCategory", b => + { + b.Navigation("Units"); + }); + + modelBuilder.Entity("SkillType", b => + { + b.Navigation("Levels"); + + b.Navigation("Skills"); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b => + { + b.Navigation("Actions"); + + b.Navigation("EntityChanges"); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b => + { + b.Navigation("PropertyChanges"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => + { + b.Navigation("Claims"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => + { + b.Navigation("Claims"); + + b.Navigation("Logins"); + + b.Navigation("OrganizationUnits"); + + b.Navigation("Roles"); + + b.Navigation("Tokens"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.Navigation("Roles"); + }); + + modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b => + { + b.Navigation("ConnectionStrings"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20250618100205_NewDefitinationTables.cs b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20250618100205_NewDefitinationTables.cs new file mode 100644 index 00000000..815a7546 --- /dev/null +++ b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20250618100205_NewDefitinationTables.cs @@ -0,0 +1,472 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace Kurs.Platform.Migrations +{ + /// + public partial class NewDefitinationTables : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "Banks", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), + IdentifierCode = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + AddressLine1 = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + AddressLine2 = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + District = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + City = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + PostalCode = table.Column(type: "nvarchar(16)", maxLength: 16, nullable: true), + Country = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + Phone = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + Email = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Banks", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "PContactTag", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Category = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PContactTag", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "PContactTitle", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Title = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Abbreviation = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PContactTitle", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "PCountryGroup", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PCountryGroup", x => x.Id); + table.UniqueConstraint("AK_PCountryGroup_Name", x => x.Name); + }); + + migrationBuilder.CreateTable( + name: "PCurrency", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Code = table.Column(type: "nvarchar(8)", maxLength: 8, nullable: false), + Symbol = table.Column(type: "nvarchar(8)", maxLength: 8, nullable: true), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Rate = table.Column(type: "decimal(18,6)", nullable: false), + IsActive = table.Column(type: "bit", nullable: false), + LastUpdated = table.Column(type: "datetime2", nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PCurrency", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "PSector", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + FullName = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PSector", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "PSkillType", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PSkillType", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "PUomCategory", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PUomCategory", x => x.Id); + table.UniqueConstraint("AK_PUomCategory_Name", x => x.Name); + }); + + migrationBuilder.CreateTable( + name: "PCountry", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Code = table.Column(type: "nvarchar(8)", maxLength: 8, nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + GroupName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + CurrencyCode = table.Column(type: "nvarchar(8)", maxLength: 8, nullable: true), + PhoneCode = table.Column(type: "nvarchar(16)", maxLength: 16, nullable: true), + TaxLabel = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + ZipRequired = table.Column(type: "bit", nullable: false), + StateRequired = table.Column(type: "bit", nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PCountry", x => x.Id); + table.UniqueConstraint("AK_PCountry_Code", x => x.Code); + table.ForeignKey( + name: "FK_PCountry_PCountryGroup_GroupName", + column: x => x.GroupName, + principalTable: "PCountryGroup", + principalColumn: "Name", + onDelete: ReferentialAction.Restrict); + }); + + migrationBuilder.CreateTable( + name: "BankAccounts", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + AccountNumber = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + BankId = table.Column(type: "uniqueidentifier", nullable: false), + AccountOwner = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + CurrencyId = table.Column(type: "uniqueidentifier", nullable: true), + CanTransferMoney = table.Column(type: "bit", nullable: false), + Company = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_BankAccounts", x => x.Id); + table.ForeignKey( + name: "FK_BankAccounts_Banks_BankId", + column: x => x.BankId, + principalTable: "Banks", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_BankAccounts_PCurrency_CurrencyId", + column: x => x.CurrencyId, + principalTable: "PCurrency", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "PSkill", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + TypeName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + SkillTypeId = table.Column(type: "uniqueidentifier", nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PSkill", x => x.Id); + table.ForeignKey( + name: "FK_PSkill_PSkillType_SkillTypeId", + column: x => x.SkillTypeId, + principalTable: "PSkillType", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "PSkillLevel", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Progress = table.Column(type: "int", nullable: false), + IsDefault = table.Column(type: "bit", nullable: false), + TypeName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + SkillTypeId = table.Column(type: "uniqueidentifier", nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PSkillLevel", x => x.Id); + table.ForeignKey( + name: "FK_PSkillLevel_PSkillType_SkillTypeId", + column: x => x.SkillTypeId, + principalTable: "PSkillType", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "PUom", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + Type = table.Column(type: "nvarchar(32)", maxLength: 32, nullable: false), + Ratio = table.Column(type: "decimal(18,6)", precision: 18, scale: 6, nullable: false), + IsActive = table.Column(type: "bit", nullable: false), + Rounding = table.Column(type: "decimal(18,6)", precision: 18, scale: 6, nullable: false), + CategoryName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PUom", x => x.Id); + table.ForeignKey( + name: "FK_PUom_PUomCategory_CategoryName", + column: x => x.CategoryName, + principalTable: "PUomCategory", + principalColumn: "Name", + onDelete: ReferentialAction.Restrict); + }); + + migrationBuilder.CreateTable( + name: "PState", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Code = table.Column(type: "nvarchar(16)", maxLength: 16, nullable: true), + CountryCode = table.Column(type: "nvarchar(8)", maxLength: 8, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_PState", x => x.Id); + table.ForeignKey( + name: "FK_PState_PCountry_CountryCode", + column: x => x.CountryCode, + principalTable: "PCountry", + principalColumn: "Code", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateIndex( + name: "IX_BankAccounts_BankId", + table: "BankAccounts", + column: "BankId"); + + migrationBuilder.CreateIndex( + name: "IX_BankAccounts_CurrencyId", + table: "BankAccounts", + column: "CurrencyId"); + + migrationBuilder.CreateIndex( + name: "IX_PCountry_Code", + table: "PCountry", + column: "Code", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_PCountry_GroupName", + table: "PCountry", + column: "GroupName"); + + migrationBuilder.CreateIndex( + name: "IX_PCountryGroup_Name", + table: "PCountryGroup", + column: "Name", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_PSkill_SkillTypeId", + table: "PSkill", + column: "SkillTypeId"); + + migrationBuilder.CreateIndex( + name: "IX_PSkillLevel_SkillTypeId", + table: "PSkillLevel", + column: "SkillTypeId"); + + migrationBuilder.CreateIndex( + name: "IX_PSkillType_Name", + table: "PSkillType", + column: "Name", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_PState_CountryCode_Code", + table: "PState", + columns: new[] { "CountryCode", "Code" }, + unique: true, + filter: "[CountryCode] IS NOT NULL AND [Code] IS NOT NULL"); + + migrationBuilder.CreateIndex( + name: "IX_PUom_CategoryName", + table: "PUom", + column: "CategoryName"); + + migrationBuilder.CreateIndex( + name: "IX_PUomCategory_Name", + table: "PUomCategory", + column: "Name", + unique: true); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "BankAccounts"); + + migrationBuilder.DropTable( + name: "PContactTag"); + + migrationBuilder.DropTable( + name: "PContactTitle"); + + migrationBuilder.DropTable( + name: "PSector"); + + migrationBuilder.DropTable( + name: "PSkill"); + + migrationBuilder.DropTable( + name: "PSkillLevel"); + + migrationBuilder.DropTable( + name: "PState"); + + migrationBuilder.DropTable( + name: "PUom"); + + migrationBuilder.DropTable( + name: "Banks"); + + migrationBuilder.DropTable( + name: "PCurrency"); + + migrationBuilder.DropTable( + name: "PSkillType"); + + migrationBuilder.DropTable( + name: "PCountry"); + + migrationBuilder.DropTable( + name: "PUomCategory"); + + migrationBuilder.DropTable( + name: "PCountryGroup"); + } + } +} diff --git a/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs index 72e846d8..793df2dc 100644 --- a/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs +++ b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs @@ -24,6 +24,104 @@ namespace Kurs.Platform.Migrations SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + modelBuilder.Entity("ContactTag", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Category") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.ToTable("PContactTag", (string)null); + }); + + modelBuilder.Entity("ContactTitle", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Abbreviation") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Title") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.ToTable("PContactTitle", (string)null); + }); + modelBuilder.Entity("Kurs.Languages.Entities.Language", b => { b.Property("Id") @@ -636,6 +734,153 @@ namespace Kurs.Platform.Migrations b.ToTable("PBackgroundWorker", (string)null); }); + modelBuilder.Entity("Kurs.Platform.Entities.Bank", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AddressLine1") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("AddressLine2") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("City") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Country") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("District") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Email") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("IdentifierCode") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("Phone") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("PostalCode") + .HasMaxLength(16) + .HasColumnType("nvarchar(16)"); + + b.HasKey("Id"); + + b.ToTable("Banks"); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.BankAccount", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("AccountNumber") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("AccountOwner") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("BankId") + .HasColumnType("uniqueidentifier"); + + b.Property("CanTransferMoney") + .HasColumnType("bit"); + + b.Property("Company") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CurrencyId") + .HasColumnType("uniqueidentifier"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.HasKey("Id"); + + b.HasIndex("BankId"); + + b.HasIndex("CurrencyId"); + + b.ToTable("BankAccounts"); + }); + modelBuilder.Entity("Kurs.Platform.Entities.Branch", b => { b.Property("Id") @@ -882,6 +1127,194 @@ namespace Kurs.Platform.Migrations b.ToTable("PChart", (string)null); }); + modelBuilder.Entity("Kurs.Platform.Entities.Country", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(8) + .HasColumnType("nvarchar(8)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("CurrencyCode") + .HasMaxLength(8) + .HasColumnType("nvarchar(8)"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("GroupName") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("PhoneCode") + .HasMaxLength(16) + .HasColumnType("nvarchar(16)"); + + b.Property("StateRequired") + .HasColumnType("bit"); + + b.Property("TaxLabel") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ZipRequired") + .HasColumnType("bit"); + + b.HasKey("Id"); + + b.HasIndex("Code") + .IsUnique(); + + b.HasIndex("GroupName"); + + b.ToTable("PCountry", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.CountryGroup", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("PCountryGroup", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Currency", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(8) + .HasColumnType("nvarchar(8)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsActive") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("LastUpdated") + .HasColumnType("datetime2"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Rate") + .HasColumnType("decimal(18,6)"); + + b.Property("Symbol") + .HasMaxLength(8) + .HasColumnType("nvarchar(8)"); + + b.HasKey("Id"); + + b.ToTable("PCurrency", (string)null); + }); + modelBuilder.Entity("Kurs.Platform.Entities.DataSource", b => { b.Property("Id") @@ -1594,6 +2027,228 @@ namespace Kurs.Platform.Migrations b.ToTable("PPublicApi", (string)null); }); + modelBuilder.Entity("Kurs.Platform.Entities.Sector", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("FullName") + .HasMaxLength(256) + .HasColumnType("nvarchar(256)"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.ToTable("PSector", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.State", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("Code") + .HasMaxLength(16) + .HasColumnType("nvarchar(16)"); + + b.Property("CountryCode") + .HasMaxLength(8) + .HasColumnType("nvarchar(8)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("CountryCode", "Code") + .IsUnique() + .HasFilter("[CountryCode] IS NOT NULL AND [Code] IS NOT NULL"); + + b.ToTable("PState", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Uom", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CategoryName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsActive") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("Ratio") + .HasPrecision(18, 6) + .HasColumnType("decimal(18,6)"); + + b.Property("Rounding") + .HasPrecision(18, 6) + .HasColumnType("decimal(18,6)"); + + b.Property("Type") + .IsRequired() + .HasMaxLength(32) + .HasColumnType("nvarchar(32)"); + + b.HasKey("Id"); + + b.HasIndex("CategoryName"); + + b.ToTable("PUom", (string)null); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.UomCategory", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("PUomCategory", (string)null); + }); + modelBuilder.Entity("Kurs.Settings.Entities.SettingDefinition", b => { b.Property("Id") @@ -1691,6 +2346,170 @@ namespace Kurs.Platform.Migrations b.ToTable("PSettingDefinition", (string)null); }); + modelBuilder.Entity("Skill", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("SkillTypeId") + .HasColumnType("uniqueidentifier"); + + b.Property("TypeName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("SkillTypeId"); + + b.ToTable("PSkill", (string)null); + }); + + modelBuilder.Entity("SkillLevel", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDefault") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("Progress") + .HasColumnType("int"); + + b.Property("SkillTypeId") + .HasColumnType("uniqueidentifier"); + + b.Property("TypeName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("SkillTypeId"); + + b.ToTable("PSkillLevel", (string)null); + }); + + modelBuilder.Entity("SkillType", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CreationTime") + .HasColumnType("datetime2") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uniqueidentifier") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uniqueidentifier") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("datetime2") + .HasColumnName("DeletionTime"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("bit") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("datetime2") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uniqueidentifier") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("PSkillType", (string)null); + }); + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b => { b.Property("Id") @@ -3503,6 +4322,32 @@ namespace Kurs.Platform.Migrations .OnDelete(DeleteBehavior.SetNull); }); + modelBuilder.Entity("Kurs.Platform.Entities.BankAccount", b => + { + b.HasOne("Kurs.Platform.Entities.Bank", "Bank") + .WithMany() + .HasForeignKey("BankId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Kurs.Platform.Entities.Currency", "Currency") + .WithMany() + .HasForeignKey("CurrencyId"); + + b.Navigation("Bank"); + + b.Navigation("Currency"); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Country", b => + { + b.HasOne("Kurs.Platform.Entities.CountryGroup", null) + .WithMany() + .HasForeignKey("GroupName") + .HasPrincipalKey("Name") + .OnDelete(DeleteBehavior.Restrict); + }); + modelBuilder.Entity("Kurs.Platform.Entities.ListFormCustomization", b => { b.HasOne("Kurs.Platform.Entities.ListForm", null) @@ -3523,6 +4368,43 @@ namespace Kurs.Platform.Migrations .IsRequired(); }); + modelBuilder.Entity("Kurs.Platform.Entities.State", b => + { + b.HasOne("Kurs.Platform.Entities.Country", "Country") + .WithMany("States") + .HasForeignKey("CountryCode") + .HasPrincipalKey("Code") + .OnDelete(DeleteBehavior.Cascade); + + b.Navigation("Country"); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.Uom", b => + { + b.HasOne("Kurs.Platform.Entities.UomCategory", "UomCategory") + .WithMany("Units") + .HasForeignKey("CategoryName") + .HasPrincipalKey("Name") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("UomCategory"); + }); + + modelBuilder.Entity("Skill", b => + { + b.HasOne("SkillType", null) + .WithMany("Skills") + .HasForeignKey("SkillTypeId"); + }); + + modelBuilder.Entity("SkillLevel", b => + { + b.HasOne("SkillType", null) + .WithMany("Levels") + .HasForeignKey("SkillTypeId"); + }); + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b => { b.HasOne("Volo.Abp.AuditLogging.AuditLog", null) @@ -3670,6 +4552,23 @@ namespace Kurs.Platform.Migrations b.Navigation("Texts"); }); + modelBuilder.Entity("Kurs.Platform.Entities.Country", b => + { + b.Navigation("States"); + }); + + modelBuilder.Entity("Kurs.Platform.Entities.UomCategory", b => + { + b.Navigation("Units"); + }); + + modelBuilder.Entity("SkillType", b => + { + b.Navigation("Levels"); + + b.Navigation("Skills"); + }); + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b => { b.Navigation("Actions");