IndustryConfiguration.cs 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. using Microsoft.AspNetCore.Identity;
  2. using Microsoft.EntityFrameworkCore.Metadata.Builders;
  3. using Microsoft.EntityFrameworkCore;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using MTWorkHR.Infrastructure.Entities;
  10. using MTWorkHR.Core.Entities.Base;
  11. using MTWorkHR.Core.Entities;
  12. namespace MTWorkHR.Infrastructure.Configurations
  13. {
  14. public class IndustryConfiguration : IEntityTypeConfiguration<Industry>
  15. {
  16. public void Configure(EntityTypeBuilder<Industry> builder)
  17. {
  18. builder.HasData(
  19. new Industry { NameEn = "Aerospace industry", NameAr = "صناعة الطيران والفضاء", Id = 1 },
  20. new Industry { NameEn = "Agricultural industry", NameAr = "صناعة الزراعة", Id = 2 },
  21. new Industry { NameEn = "Automotive industry", NameAr = "صناعة السيارات", Id = 3 },
  22. new Industry { NameEn = "Basic metal", NameAr = "صناعة المعادن الأساسية", Id = 4 },
  23. new Industry { NameEn = "Chemical industry", NameAr = "صناعة الكيماويات", Id = 5 },
  24. new Industry { NameEn = "Computer industry", NameAr = "صناعة الحواسيب", Id = 6 },
  25. new Industry { NameEn = "Construction industry", NameAr = "صناعة البناء", Id = 7 },
  26. new Industry { NameEn = "Creative industry", NameAr = "صناعة الإبداعية", Id = 8 },
  27. new Industry { NameEn = "Cultural industry", NameAr = "صناعة الثقافة", Id = 9 },
  28. new Industry { NameEn = "Defense industry", NameAr = "صناعة الدفاع", Id = 10 },
  29. new Industry { NameEn = "Education industry", NameAr = "صناعة التعليم", Id = 11 },
  30. new Industry { NameEn = "Electric power", NameAr = "صناعة الطاقة الكهربائية", Id = 12 },
  31. new Industry { NameEn = "Electronics industry", NameAr = "صناعة الإلكترونيات", Id = 13 },
  32. new Industry { NameEn = "Energy industry", NameAr = "صناعة الطاقة", Id = 14 },
  33. new Industry { NameEn = "Engineering industry", NameAr = "صناعة الهندسة", Id = 15 },
  34. new Industry { NameEn = "Entertainment industry", NameAr = "صناعة الترفيه", Id = 16 },
  35. new Industry { NameEn = "Farming industry", NameAr = "صناعة الزراعة", Id = 17 },
  36. new Industry { NameEn = "Fashion industry", NameAr = "صناعة الموضة", Id = 18 },
  37. new Industry { NameEn = "Film industry", NameAr = "صناعة السينما", Id = 19 },
  38. new Industry { NameEn = "Financial services", NameAr = "صناعة الخدمات المالية", Id = 20 },
  39. new Industry { NameEn = "Fishing industry", NameAr = "صناعة الصيد", Id = 21 },
  40. new Industry { NameEn = "Food industry", NameAr = "صناعة الأغذية", Id = 22 },
  41. new Industry { NameEn = "Forestry industry", NameAr = "صناعة الغابات", Id = 23 },
  42. new Industry { NameEn = "Gambling industry", NameAr = "صناعة القمار", Id = 24 },
  43. new Industry { NameEn = "Gas industry", NameAr = "صناعة الغاز", Id = 25 },
  44. new Industry { NameEn = "Green industry", NameAr = "صناعة البيئة", Id = 26 },
  45. new Industry { NameEn = "Health services industry", NameAr = "صناعة الخدمات الصحية", Id = 27 },
  46. new Industry { NameEn = "Hospitality industry", NameAr = "صناعة الضيافة", Id = 28 },
  47. new Industry { NameEn = "Hotels industry", NameAr = "صناعة الفنادق", Id = 29 },
  48. new Industry { NameEn = "Industrial robot", NameAr = "صناعة الروبوتات الصناعية", Id = 30 },
  49. new Industry { NameEn = "Information industry", NameAr = "صناعة المعلومات", Id = 31 },
  50. new Industry { NameEn = "Information technology", NameAr = "صناعة تكنولوجيا المعلومات", Id = 32 },
  51. new Industry { NameEn = "Infrastructure industry", NameAr = "صناعة البنية التحتية", Id = 33 },
  52. new Industry { NameEn = "Insurance industry", NameAr = "صناعة التأمين", Id = 34 },
  53. new Industry { NameEn = "Leisure industry", NameAr = "صناعة الترفيه", Id = 35 },
  54. new Industry { NameEn = "Low technology", NameAr = "صناعة التكنولوجيا المنخفضة", Id = 36 },
  55. new Industry { NameEn = "Manufacturing industry", NameAr = "صناعة التصنيع", Id = 37 },
  56. new Industry { NameEn = "Meat industry", NameAr = "صناعة اللحوم", Id = 38},
  57. new Industry { NameEn = "Media industry", NameAr = "صناعة الإعلام", Id = 39 },
  58. new Industry { NameEn = "Merchandising industry", NameAr = "صناعة التجارة", Id = 40 },
  59. new Industry { NameEn = "Mining industry", NameAr = "صناعة التعدين", Id = 41 },
  60. new Industry { NameEn = "Music industry", NameAr = "صناعة الموسيقى", Id = 42 },
  61. new Industry { NameEn = "News media", NameAr = "صناعة وسائل الإعلام", Id = 43 },
  62. new Industry { NameEn = "Oil and gas industry", NameAr = "صناعة النفط والغاز", Id = 44 },
  63. new Industry { NameEn = "Pharmaceutical industry", NameAr = "صناعة الأدوية", Id = 45 },
  64. new Industry { NameEn = "Professional industry", NameAr = "صناعة المهنية", Id = 46 },
  65. new Industry { NameEn = "Publishing industry", NameAr = "صناعة النشر", Id = 47 },
  66. new Industry { NameEn = "Pulp and paper industry", NameAr = "صناعة الورق واللب", Id = 48 },
  67. new Industry { NameEn = "Railway industry", NameAr = "صناعة السكك الحديدية", Id = 49 },
  68. new Industry { NameEn = "Real estate", NameAr = "الانشاءات", Id = 50 }
  69. );
  70. }
  71. }
  72. }