From 30654fbb72ea2492d0240058f21c5a82c3ef59d2 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Tue, 21 Nov 2023 17:38:17 +0330 Subject: [PATCH] Support for NationalityType --- .../DataTypes/CountingUnitType.cs | 41 - .../DataTypes/NationalityType.cs | 1530 +++++++++++++++++ .../EasyMicroservices.Domain.csproj | 4 +- 3 files changed, 1532 insertions(+), 43 deletions(-) delete mode 100644 src/CSharp/EasyMicroservices.Domain/DataTypes/CountingUnitType.cs create mode 100644 src/CSharp/EasyMicroservices.Domain/DataTypes/NationalityType.cs diff --git a/src/CSharp/EasyMicroservices.Domain/DataTypes/CountingUnitType.cs b/src/CSharp/EasyMicroservices.Domain/DataTypes/CountingUnitType.cs deleted file mode 100644 index c7e0358..0000000 --- a/src/CSharp/EasyMicroservices.Domain/DataTypes/CountingUnitType.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace EasyMicroservices.Domain.DataTypes -{ - /// - /// - /// - public enum CountingUnitType : byte - { - /// - /// value is none, Never use the None to return values - /// - None = 0, - /// - /// error value is default - /// - Default = 1, - /// - /// for the filter values from web admin panel you can sent all for types - /// - All = 2, - /// - /// there is other error that is not in the types - /// - Other = 3, - /// - /// the error type is uknown to us - /// - Unknown = 4, - /// - /// there is nothing to show or validate error - /// - Nothing = 5, - /// - /// - /// - Number = 6 - } -} \ No newline at end of file diff --git a/src/CSharp/EasyMicroservices.Domain/DataTypes/NationalityType.cs b/src/CSharp/EasyMicroservices.Domain/DataTypes/NationalityType.cs new file mode 100644 index 0000000..a7262e7 --- /dev/null +++ b/src/CSharp/EasyMicroservices.Domain/DataTypes/NationalityType.cs @@ -0,0 +1,1530 @@ +namespace EasyMicroservices.Domain.DataTypes +{ + /// + /// Country Name (ISO) + /// Short Name / Code (2 Chr. ISO) + /// Numeric Reporting Code ISO + /// + public enum NationalityType + { + /// + /// value is none, Never use the None to return values + /// + None = 0, + /// + /// error value is default + /// + Default = 1, + /// + /// for the filter values from web admin panel you can sent all for types + /// + All = 2, + /// + /// there is other error that is not in the types + /// + Other = 3, + /// + /// the error type is uknown to us + /// + Unknown = 4, + /// + /// there is nothing to show or validate error + /// + Nothing = 5, + /// + /// Afghanistan + /// AF + /// 4 + /// + AFG = 6, + /// + /// Albania + /// AL + /// 8 + /// + ALB = 7, + /// + /// Algeria + /// DZ + /// 12 + /// + DZA = 8, + /// + /// American Samoa + /// AS + /// 16 + /// + ASM = 9, + /// + /// Andorra + /// AD + /// 20 + /// + AND = 10, + /// + /// Angola + /// AO + /// 24 + /// + AGO = 11, + /// + /// Anguilla + /// AI + /// 660 + /// + AIA = 12, + /// + /// Antarctica + /// AQ + /// 10 + /// + ATA = 13, + /// + /// Antigua and Barbuda + /// AG + /// 28 + /// + ATG = 14, + /// + /// Argentina + /// AR + /// 32 + /// + ARG = 15, + /// + /// Armenia + /// AM + /// 51 + /// + ARM = 16, + /// + /// Aruba + /// AW + /// 533 + /// + ABW = 17, + /// + /// Australia + /// AU + /// 36 + /// + AUS = 18, + /// + /// Austria + /// AT + /// 40 + /// + AUT = 19, + /// + /// Azerbaijan + /// AZ + /// 31 + /// + AZE = 20, + /// + /// Bahamas (the) + /// BS + /// 44 + /// + BHS = 21, + /// + /// Bahrain + /// BH + /// 48 + /// + BHR = 22, + /// + /// Bangladesh + /// BD + /// 50 + /// + BGD = 23, + /// + /// Barbados + /// BB + /// 52 + /// + BRB = 24, + /// + /// Belarus + /// BY + /// 112 + /// + BLR = 25, + /// + /// Belgium + /// BE + /// 56 + /// + BEL = 26, + /// + /// Belize + /// BZ + /// 84 + /// + BLZ = 27, + /// + /// Benin + /// BJ + /// 204 + /// + BEN = 28, + /// + /// Bermuda + /// BM + /// 60 + /// + BMU = 29, + /// + /// Bhutan + /// BT + /// 64 + /// + BTN = 30, + /// + /// Bolivia (Plurinational State of) + /// BO + /// 68 + /// + BOL = 31, + /// + /// Bonaire Sint Eustatius and Saba + /// BQ + /// 535 + /// + BES = 32, + /// + /// Bosnia and Herzegovina + /// BA + /// 70 + /// + BIH = 33, + /// + /// Botswana + /// BW + /// 72 + /// + BWA = 34, + /// + /// Bouvet Island + /// BV + /// 74 + /// + BVT = 35, + /// + /// Brazil + /// BR + /// 76 + /// + BRA = 36, + /// + /// British Indian Ocean Territory (the) + /// IO + /// 86 + /// + IOT = 37, + /// + /// Brunei Darussalam + /// BN + /// 96 + /// + BRN = 38, + /// + /// Bulgaria + /// BG + /// 100 + /// + BGR = 39, + /// + /// Burkina Faso + /// BF + /// 854 + /// + BFA = 40, + /// + /// Burundi + /// BI + /// 108 + /// + BDI = 41, + /// + /// Cabo Verde + /// CV + /// 132 + /// + CPV = 42, + /// + /// Cambodia + /// KH + /// 116 + /// + KHM = 43, + /// + /// Cameroon + /// CM + /// 120 + /// + CMR = 44, + /// + /// Canada + /// CA + /// 124 + /// + CAN = 45, + /// + /// Cayman Islands (the) + /// KY + /// 136 + /// + CYM = 46, + /// + /// Central African Republic (the) + /// CF + /// 140 + /// + CAF = 47, + /// + /// Chad + /// TD + /// 148 + /// + TCD = 48, + /// + /// Chile + /// CL + /// 152 + /// + CHL = 49, + /// + /// China + /// CN + /// 156 + /// + CHN = 50, + /// + /// Christmas Island + /// CX + /// 162 + /// + CXR = 51, + /// + /// Cocos (Keeling) Islands (the) + /// CC + /// 166 + /// + CCK = 52, + /// + /// Colombia + /// CO + /// 170 + /// + COL = 53, + /// + /// Comoros (the) + /// KM + /// 174 + /// + COM = 54, + /// + /// Congo (the Democratic Republic of the) + /// CD + /// 180 + /// + COD = 55, + /// + /// Congo (the) + /// CG + /// 178 + /// + COG = 56, + /// + /// Cook Islands (the) + /// CK + /// 184 + /// + COK = 57, + /// + /// Costa Rica + /// CR + /// 188 + /// + CRI = 58, + /// + /// Croatia + /// HR + /// 191 + /// + HRV = 59, + /// + /// Cuba + /// CU + /// 192 + /// + CUB = 60, + /// + /// Cura�ao + /// CW + /// 531 + /// + CUW = 61, + /// + /// Cyprus + /// CY + /// 196 + /// + CYP = 62, + /// + /// Czechia (Czech Republic) + /// CZ + /// 203 + /// + CZE = 63, + /// + /// C�te d'Ivoire + /// CI + /// 384 + /// + CIV = 64, + /// + /// Denmark + /// DK + /// 208 + /// + DNK = 65, + /// + /// Djibouti + /// DJ + /// 262 + /// + DJI = 66, + /// + /// Dominica + /// DM + /// 212 + /// + DMA = 67, + /// + /// Dominican Republic (the) + /// DO + /// 214 + /// + DOM = 68, + /// + /// Ecuador + /// EC + /// 218 + /// + ECU = 69, + /// + /// Egypt + /// EG + /// 818 + /// + EGY = 70, + /// + /// El Salvador + /// SV + /// 222 + /// + SLV = 71, + /// + /// Equatorial Guinea + /// GQ + /// 226 + /// + GNQ = 72, + /// + /// Eritrea + /// ER + /// 232 + /// + ERI = 73, + /// + /// Estonia + /// EE + /// 233 + /// + EST = 74, + /// + /// Eswatini + /// SZ + /// 748 + /// + SWZ = 75, + /// + /// Ethiopia + /// ET + /// 231 + /// + ETH = 76, + /// + /// Falkland Islands (the) [Malvinas] + /// FK + /// 238 + /// + FLK = 77, + /// + /// Faroe Islands (the) + /// FO + /// 234 + /// + FRO = 78, + /// + /// Fiji + /// FJ + /// 242 + /// + FJI = 79, + /// + /// Finland + /// FI + /// 246 + /// + FIN = 80, + /// + /// France + /// FR + /// 250 + /// + FRA = 81, + /// + /// French Guiana + /// GF + /// 254 + /// + GUF = 82, + /// + /// French Polynesia + /// PF + /// 258 + /// + PYF = 83, + /// + /// French Southern Territories (the) + /// TF + /// 260 + /// + ATF = 84, + /// + /// Gabon + /// GA + /// 266 + /// + GAB = 85, + /// + /// Gambia (the) + /// GM + /// 270 + /// + GMB = 86, + /// + /// Georgia + /// GE + /// 268 + /// + GEO = 87, + /// + /// Germany + /// DE + /// 276 + /// + DEU = 88, + /// + /// Ghana + /// GH + /// 288 + /// + GHA = 89, + /// + /// Gibraltar + /// GI + /// 292 + /// + GIB = 90, + /// + /// Greece + /// GR + /// 300 + /// + GRC = 91, + /// + /// Greenland + /// GL + /// 304 + /// + GRL = 92, + /// + /// Grenada + /// GD + /// 308 + /// + GRD = 93, + /// + /// Guadeloupe + /// GP + /// 312 + /// + GLP = 94, + /// + /// Guam + /// GU + /// 316 + /// + GUM = 95, + /// + /// Guatemala + /// GT + /// 320 + /// + GTM = 96, + /// + /// Guernsey + /// GG + /// 831 + /// + GGY = 97, + /// + /// Guinea + /// GN + /// 324 + /// + GIN = 98, + /// + /// Guinea-Bissau + /// GW + /// 624 + /// + GNB = 99, + /// + /// Guyana + /// GY + /// 328 + /// + GUY = 100, + /// + /// Haiti + /// HT + /// 332 + /// + HTI = 101, + /// + /// Heard Island and McDonald Islands + /// HM + /// 334 + /// + HMD = 102, + /// + /// Holy See (the) + /// VA + /// 336 + /// + VAT = 103, + /// + /// Honduras + /// HN + /// 340 + /// + HND = 104, + /// + /// Hong Kong + /// HK + /// 344 + /// + HKG = 105, + /// + /// Hungary + /// HU + /// 348 + /// + HUN = 106, + /// + /// Iceland + /// IS + /// 352 + /// + ISL = 107, + /// + /// India + /// IN + /// 356 + /// + IND = 108, + /// + /// Indonesia + /// ID + /// 360 + /// + IDN = 109, + /// + /// Iran (Islamic Republic of) + /// IR + /// 364 + /// + IRN = 110, + /// + /// Iraq + /// IQ + /// 368 + /// + IRQ = 111, + /// + /// Ireland + /// IE + /// 372 + /// + IRL = 112, + /// + /// Isle of Man + /// IM + /// 833 + /// + IMN = 113, + /// + /// Israel + /// IL + /// 376 + /// + ISR = 114, + /// + /// Italy + /// IT + /// 380 + /// + ITA = 115, + /// + /// Jamaica + /// JM + /// 388 + /// + JAM = 116, + /// + /// Japan + /// JP + /// 392 + /// + JPN = 117, + /// + /// Jersey + /// JE + /// 832 + /// + JEY = 118, + /// + /// Jordan + /// JO + /// 400 + /// + JOR = 119, + /// + /// Kazakhstan + /// KZ + /// 398 + /// + KAZ = 120, + /// + /// Kenya + /// KE + /// 404 + /// + KEN = 121, + /// + /// Kiribati + /// KI + /// 296 + /// + KIR = 122, + /// + /// Korea (the Democratic People's Republic of) + /// KP + /// 408 + /// + PRK = 123, + /// + /// Korea (the Republic of) + /// KR + /// 410 + /// + KOR = 124, + /// + /// Kuwait + /// KW + /// 414 + /// + KWT = 125, + /// + /// Kyrgyzstan + /// KG + /// 417 + /// + KGZ = 126, + /// + /// Lao People's Democratic Republic (the) + /// LA + /// 418 + /// + LAO = 127, + /// + /// Latvia + /// LV + /// 428 + /// + LVA = 128, + /// + /// Lebanon + /// LB + /// 422 + /// + LBN = 129, + /// + /// Lesotho + /// LS + /// 426 + /// + LSO = 130, + /// + /// Liberia + /// LR + /// 430 + /// + LBR = 131, + /// + /// Libya + /// LY + /// 434 + /// + LBY = 132, + /// + /// Liechtenstein + /// LI + /// 438 + /// + LIE = 133, + /// + /// Lithuania + /// LT + /// 440 + /// + LTU = 134, + /// + /// Luxembourg + /// LU + /// 442 + /// + LUX = 135, + /// + /// Macao + /// MO + /// 446 + /// + MAC = 136, + /// + /// Madagascar + /// MG + /// 450 + /// + MDG = 137, + /// + /// Malawi + /// MW + /// 454 + /// + MWI = 138, + /// + /// Malaysia + /// MY + /// 458 + /// + MYS = 139, + /// + /// Maldives + /// MV + /// 462 + /// + MDV = 140, + /// + /// Mali + /// ML + /// 466 + /// + MLI = 141, + /// + /// Malta + /// MT + /// 470 + /// + MLT = 142, + /// + /// Marshall Islands (the) + /// MH + /// 584 + /// + MHL = 143, + /// + /// Martinique + /// MQ + /// 474 + /// + MTQ = 144, + /// + /// Mauritania + /// MR + /// 478 + /// + MRT = 145, + /// + /// Mauritius + /// MU + /// 480 + /// + MUS = 146, + /// + /// Mayotte + /// YT + /// 175 + /// + MYT = 147, + /// + /// Mexico + /// MX + /// 484 + /// + MEX = 148, + /// + /// Micronesia (Federated States of) + /// FM + /// 583 + /// + FSM = 149, + /// + /// Moldova (the Republic of) + /// MD + /// 498 + /// + MDA = 150, + /// + /// Monaco + /// MC + /// 492 + /// + MCO = 151, + /// + /// Mongolia + /// MN + /// 496 + /// + MNG = 152, + /// + /// Montenegro + /// ME + /// 499 + /// + MNE = 153, + /// + /// Montserrat + /// MS + /// 500 + /// + MSR = 154, + /// + /// Morocco + /// MA + /// 504 + /// + MAR = 155, + /// + /// Mozambique + /// MZ + /// 508 + /// + MOZ = 156, + /// + /// Myanmar + /// MM + /// 104 + /// + MMR = 157, + /// + /// Namibia + /// NA + /// 516 + /// + NAM = 158, + /// + /// Nauru + /// NR + /// 520 + /// + NRU = 159, + /// + /// Nepal + /// NP + /// 524 + /// + NPL = 160, + /// + /// Netherlands (the) + /// NL + /// 528 + /// + NLD = 161, + /// + /// New Caledonia + /// NC + /// 540 + /// + NCL = 162, + /// + /// New Zealand + /// NZ + /// 554 + /// + NZL = 163, + /// + /// Nicaragua + /// NI + /// 558 + /// + NIC = 164, + /// + /// Niger (the) + /// NE + /// 562 + /// + NER = 165, + /// + /// Nigeria + /// NG + /// 566 + /// + NGA = 166, + /// + /// Niue + /// NU + /// 570 + /// + NIU = 167, + /// + /// Norfolk Island + /// NF + /// 574 + /// + NFK = 168, + /// + /// North Macedonia + /// MK + /// 807 + /// + MKD = 169, + /// + /// Northern Mariana Islands (the) + /// MP + /// 580 + /// + MNP = 170, + /// + /// Norway + /// NO + /// 578 + /// + NOR = 171, + /// + /// Oman + /// OM + /// 512 + /// + OMN = 172, + /// + /// Pakistan + /// PK + /// 586 + /// + PAK = 173, + /// + /// Palau + /// PW + /// 585 + /// + PLW = 174, + /// + /// Palestine State of + /// PS + /// 275 + /// + PSE = 175, + /// + /// Panama + /// PA + /// 591 + /// + PAN = 176, + /// + /// Papua New Guinea + /// PG + /// 598 + /// + PNG = 177, + /// + /// Paraguay + /// PY + /// 600 + /// + PRY = 178, + /// + /// Peru + /// PE + /// 604 + /// + PER = 179, + /// + /// Philippines (the) + /// PH + /// 608 + /// + PHL = 180, + /// + /// Pitcairn + /// PN + /// 612 + /// + PCN = 181, + /// + /// Poland + /// PL + /// 616 + /// + POL = 182, + /// + /// Portugal + /// PT + /// 620 + /// + PRT = 183, + /// + /// Puerto Rico + /// PR + /// 630 + /// + PRI = 184, + /// + /// Qatar + /// QA + /// 634 + /// + QAT = 185, + /// + /// Romania + /// RO + /// 642 + /// + ROU = 186, + /// + /// Russian Federation (the) + /// RU + /// 643 + /// + RUS = 187, + /// + /// Rwanda + /// RW + /// 646 + /// + RWA = 188, + /// + /// R�union + /// RE + /// 638 + /// + REU = 189, + /// + /// Saint Barth�lemy + /// BL + /// 652 + /// + BLM = 190, + /// + /// Saint Helena Ascension and Tristan da Cunha + /// SH + /// 654 + /// + SHN = 191, + /// + /// Saint Kitts and Nevis + /// KN + /// 659 + /// + KNA = 192, + /// + /// Saint Lucia + /// LC + /// 662 + /// + LCA = 193, + /// + /// Saint Martin (French part) + /// MF + /// 663 + /// + MAF = 194, + /// + /// Saint Pierre and Miquelon + /// PM + /// 666 + /// + SPM = 195, + /// + /// Saint Vincent and the Grenadines + /// VC + /// 670 + /// + VCT = 196, + /// + /// Samoa + /// WS + /// 882 + /// + WSM = 197, + /// + /// San Marino + /// SM + /// 674 + /// + SMR = 198, + /// + /// Sao Tome and Principe + /// ST + /// 678 + /// + STP = 199, + /// + /// Saudi Arabia + /// SA + /// 682 + /// + SAU = 200, + /// + /// Senegal + /// SN + /// 686 + /// + SEN = 201, + /// + /// Serbia + /// RS + /// 688 + /// + SRB = 202, + /// + /// Seychelles + /// SC + /// 690 + /// + SYC = 203, + /// + /// Sierra Leone + /// SL + /// 694 + /// + SLE = 204, + /// + /// Singapore + /// SG + /// 702 + /// + SGP = 205, + /// + /// Sint Maarten (Dutch part) + /// SX + /// 534 + /// + SXM = 206, + /// + /// Slovakia + /// SK + /// 703 + /// + SVK = 207, + /// + /// Slovenia + /// SI + /// 705 + /// + SVN = 208, + /// + /// Solomon Islands + /// SB + /// 90 + /// + SLB = 209, + /// + /// Somalia + /// SO + /// 706 + /// + SOM = 210, + /// + /// South Africa + /// ZA + /// 710 + /// + ZAF = 211, + /// + /// South Georgia and the South Sandwich Islands + /// GS + /// 239 + /// + SGS = 212, + /// + /// South Sudan + /// SS + /// 728 + /// + SSD = 213, + /// + /// Spain + /// ES + /// 724 + /// + ESP = 214, + /// + /// Sri Lanka + /// LK + /// 144 + /// + LKA = 215, + /// + /// Sudan (the) + /// SD + /// 729 + /// + SDN = 216, + /// + /// Suriname + /// SR + /// 740 + /// + SUR = 217, + /// + /// Svalbard and Jan Mayen + /// SJ + /// 744 + /// + SJM = 218, + /// + /// Sweden + /// SE + /// 752 + /// + SWE = 219, + /// + /// Switzerland + /// CH + /// 756 + /// + CHE = 220, + /// + /// Syrian Arab Republic (the) + /// SY + /// 760 + /// + SYR = 221, + /// + /// Taiwan (Province of China) + /// TW + /// 158 + /// + TWN = 222, + /// + /// Tajikistan + /// TJ + /// 762 + /// + TJK = 223, + /// + /// Tanzania the United Republic of + /// TZ + /// 834 + /// + TZA = 224, + /// + /// Thailand + /// TH + /// 764 + /// + THA = 225, + /// + /// Timor-Leste + /// TL + /// 626 + /// + TLS = 226, + /// + /// Togo + /// TG + /// 768 + /// + TGO = 227, + /// + /// Tokelau + /// TK + /// 772 + /// + TKL = 228, + /// + /// Tonga + /// TO + /// 776 + /// + TON = 229, + /// + /// Trinidad and Tobago + /// TT + /// 780 + /// + TTO = 230, + /// + /// Tunisia + /// TN + /// 788 + /// + TUN = 231, + /// + /// Turkey + /// TR + /// 792 + /// + TUR = 232, + /// + /// Turkmenistan + /// TM + /// 795 + /// + TKM = 233, + /// + /// Turks and Caicos Islands (the) + /// TC + /// 796 + /// + TCA = 234, + /// + /// Tuvalu + /// TV + /// 798 + /// + TUV = 235, + /// + /// Uganda + /// UG + /// 800 + /// + UGA = 236, + /// + /// Ukraine + /// UA + /// 804 + /// + UKR = 237, + /// + /// United Arab Emirates (the) + /// AE + /// 784 + /// + ARE = 238, + /// + /// United Kingdom of Great Britain and Northern Ireland (the) + /// GB + /// 826 + /// + GBR = 239, + /// + /// United States Minor Outlying Islands (the) + /// UM + /// 581 + /// + UMI = 240, + /// + /// United States of America (the) + /// US + /// 840 + /// + USA = 241, + /// + /// Uruguay + /// UY + /// 858 + /// + URY = 242, + /// + /// Uzbekistan + /// UZ + /// 860 + /// + UZB = 243, + /// + /// Vanuatu + /// VU + /// 548 + /// + VUT = 244, + /// + /// Venezuela (Bolivarian Republic of) + /// VE + /// 862 + /// + VEN = 245, + /// + /// Viet Nam + /// VN + /// 704 + /// + VNM = 246, + /// + /// Virgin Islands (British) + /// VG + /// 92 + /// + VGB = 247, + /// + /// Virgin Islands (U.S.) + /// VI + /// 850 + /// + VIR = 248, + /// + /// Wallis and Futuna + /// WF + /// 876 + /// + WLF = 249, + /// + /// Western Sahara* + /// EH + /// 732 + /// + ESH = 250, + /// + /// Yemen + /// YE + /// 887 + /// + YEM = 251, + /// + /// Zambia + /// ZM + /// 894 + /// + ZMB = 252, + /// + /// Zimbabwe + /// ZW + /// 716 + /// + ZWE = 253, + /// + /// �land Islands + /// AX + /// 248 + /// + ALA = 254, + } + +} diff --git a/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj b/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj index 0b637da..2d41a66 100644 --- a/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj +++ b/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj @@ -1,11 +1,11 @@  - netstandard2.0;netstandard2.1;net6.0;net45;net7.0 + netstandard2.0;netstandard2.1;net6.0;net45;net7.0;net8.0 AnyCPU;x64;x86 EasyMicroservices true - 0.0.0.5 + 0.0.0.6 Domain of programming. EasyMicroservices@gmail.com utility,utilities,domain,domains,models,schemas,contracts