JobTitleConfiguration.cs 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. using Countries.NET.Database;
  13. using System.Runtime.ConstrainedExecution;
  14. namespace MTWorkHR.Infrastructure.Configurations
  15. {
  16. public class JobTitleConfiguration : IEntityTypeConfiguration<JobTitle>
  17. {
  18. public void Configure(EntityTypeBuilder<JobTitle> builder)
  19. {
  20. builder.HasData(
  21. new JobTitle { NameEn = "Administrative Assistant", NameAr = "مساعد ادارى", Id = 1 },
  22. new JobTitle { NameEn = "Receptionist", NameAr = "موظف استقبال", Id = 2 },
  23. new JobTitle { NameEn = "Office Manager", NameAr = "مدير مكتب", Id = 3 },
  24. new JobTitle { NameEn = "Auditing Clerk", NameAr = "مدقق محتوى", Id = 4 },
  25. new JobTitle { NameEn = "Bookkeeper", NameAr = "محاسب", Id = 5 },
  26. new JobTitle { NameEn = "Account Executive", NameAr = "مدير تنفيذى", Id = 6 },
  27. new JobTitle { NameEn = "Branch Manager", NameAr = "مدير فرع", Id = 7 },
  28. new JobTitle { NameEn = "Business Manager", NameAr = "مدير", Id = 8 },
  29. new JobTitle { NameEn = "Quality Control Coordinator", NameAr = "مسؤول الجودة", Id = 9 },
  30. new JobTitle { NameEn = "Administrative Manager", NameAr = "مدير ادارى", Id = 10 },
  31. new JobTitle { NameEn = "Chief Executive Officer", NameAr = "الرئيس التنفيذي", Id = 11 },
  32. new JobTitle { NameEn = "Business Analyst", NameAr = "محلل", Id = 12 },
  33. new JobTitle { NameEn = "Risk Manager", NameAr = "مدير المخاطر", Id = 13 },
  34. new JobTitle { NameEn = "Human Resources", NameAr = "موارد بشرية", Id = 14 },
  35. new JobTitle { NameEn = "Office Assistant", NameAr = "مساعد مكتب", Id = 15 },
  36. new JobTitle { NameEn = "Secretary", NameAr = "السكرتارية", Id = 16 },
  37. new JobTitle { NameEn = "Office Clerk", NameAr = "موظف مكتب", Id = 17 },
  38. new JobTitle { NameEn = "Account Collector", NameAr = "جامع الحسابات", Id = 18 },
  39. new JobTitle { NameEn = "Administrative Specialist", NameAr = "أخصائي إداري", Id = 19 },
  40. new JobTitle { NameEn = "Executive Assistant", NameAr = "مساعد تنفيذي", Id = 20 },
  41. new JobTitle { NameEn = "Program Administrator", NameAr = "مسؤل البرنامج", Id = 21 },
  42. new JobTitle { NameEn = "Program Manager", NameAr = "مدير البرنامج", Id = 22 },
  43. new JobTitle { NameEn = "Administrative Analyst", NameAr = "محلل إداري", Id = 23 },
  44. new JobTitle { NameEn = "Data Entry", NameAr = "مدخل بيانات", Id = 24 }
  45. );
  46. }
  47. }
  48. }