20240407125448_JobTitles.cs 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. #pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
  4. namespace MTWorkHR.Infrastructure.Migrations
  5. {
  6. /// <inheritdoc />
  7. public partial class JobTitles : Migration
  8. {
  9. /// <inheritdoc />
  10. protected override void Up(MigrationBuilder migrationBuilder)
  11. {
  12. migrationBuilder.InsertData(
  13. table: "Industries",
  14. columns: new[] { "Id", "NameAr", "NameEn" },
  15. values: new object[,]
  16. {
  17. { 1L, "صناعة الطيران والفضاء", "Aerospace industry" },
  18. { 2L, "صناعة الزراعة", "Agricultural industry" },
  19. { 3L, "صناعة السيارات", "Automotive industry" },
  20. { 4L, "صناعة المعادن الأساسية", "Basic metal" },
  21. { 5L, "صناعة الكيماويات", "Chemical industry" },
  22. { 6L, "صناعة الحواسيب", "Computer industry" },
  23. { 7L, "صناعة البناء", "Construction industry" },
  24. { 8L, "صناعة الإبداعية", "Creative industry" },
  25. { 9L, "صناعة الثقافة", "Cultural industry" },
  26. { 10L, "صناعة الدفاع", "Defense industry" },
  27. { 11L, "صناعة التعليم", "Education industry" },
  28. { 12L, "صناعة الطاقة الكهربائية", "Electric power" },
  29. { 13L, "صناعة الإلكترونيات", "Electronics industry" },
  30. { 14L, "صناعة الطاقة", "Energy industry" },
  31. { 15L, "صناعة الهندسة", "Engineering industry" },
  32. { 16L, "صناعة الترفيه", "Entertainment industry" },
  33. { 17L, "صناعة الزراعة", "Farming industry" },
  34. { 18L, "صناعة الموضة", "Fashion industry" },
  35. { 19L, "صناعة السينما", "Film industry" },
  36. { 20L, "صناعة الخدمات المالية", "Financial services" },
  37. { 21L, "صناعة الصيد", "Fishing industry" },
  38. { 22L, "صناعة الأغذية", "Food industry" },
  39. { 23L, "صناعة الغابات", "Forestry industry" },
  40. { 24L, "صناعة القمار", "Gambling industry" },
  41. { 25L, "صناعة الغاز", "Gas industry" },
  42. { 26L, "صناعة البيئة", "Green industry" },
  43. { 27L, "صناعة الخدمات الصحية", "Health services industry" },
  44. { 28L, "صناعة الضيافة", "Hospitality industry" },
  45. { 29L, "صناعة الفنادق", "Hotels industry" },
  46. { 30L, "صناعة الروبوتات الصناعية", "Industrial robot" },
  47. { 31L, "صناعة المعلومات", "Information industry" },
  48. { 32L, "صناعة تكنولوجيا المعلومات", "Information technology" },
  49. { 33L, "صناعة البنية التحتية", "Infrastructure industry" },
  50. { 34L, "صناعة التأمين", "Insurance industry" },
  51. { 35L, "صناعة الترفيه", "Leisure industry" },
  52. { 36L, "صناعة التكنولوجيا المنخفضة", "Low technology" },
  53. { 37L, "صناعة التصنيع", "Manufacturing industry" },
  54. { 38L, "صناعة اللحوم", "Meat industry" },
  55. { 39L, "صناعة الإعلام", "Media industry" },
  56. { 40L, "صناعة التجارة", "Merchandising industry" },
  57. { 41L, "صناعة التعدين", "Mining industry" },
  58. { 42L, "صناعة الموسيقى", "Music industry" },
  59. { 43L, "صناعة وسائل الإعلام", "News media" },
  60. { 44L, "صناعة النفط والغاز", "Oil and gas industry" },
  61. { 45L, "صناعة الأدوية", "Pharmaceutical industry" },
  62. { 46L, "صناعة المهنية", "Professional industry" },
  63. { 47L, "صناعة النشر", "Publishing industry" },
  64. { 48L, "صناعة الورق واللب", "Pulp and paper industry" },
  65. { 49L, "صناعة السكك الحديدية", "Railway industry" },
  66. { 50L, "الانشاءات", "Real estate" }
  67. });
  68. migrationBuilder.InsertData(
  69. table: "JobTitles",
  70. columns: new[] { "Id", "NameAr", "NameEn" },
  71. values: new object[,]
  72. {
  73. { 1L, "مساعد ادارى", "Administrative Assistant" },
  74. { 2L, "موظف استقبال", "Receptionist" },
  75. { 3L, "مدير مكتب", "Office Manager" },
  76. { 4L, "مدقق محتوى", "Auditing Clerk" },
  77. { 5L, "محاسب", "Bookkeeper" },
  78. { 6L, "مدير تنفيذى", "Account Executive" },
  79. { 7L, "مدير فرع", "Branch Manager" },
  80. { 8L, "مدير", "Business Manager" },
  81. { 9L, "مسؤول الجودة", "Quality Control Coordinator" },
  82. { 10L, "مدير ادارى", "Administrative Manager" },
  83. { 11L, "الرئيس التنفيذي", "Chief Executive Officer" },
  84. { 12L, "محلل", "Business Analyst" },
  85. { 13L, "مدير المخاطر", "Risk Manager" },
  86. { 14L, "موارد بشرية", "Human Resources" },
  87. { 15L, "مساعد مكتب", "Office Assistant" },
  88. { 16L, "السكرتارية", "Secretary" },
  89. { 17L, "موظف مكتب", "Office Clerk" },
  90. { 18L, "جامع الحسابات", "Account Collector" },
  91. { 19L, "أخصائي إداري", "Administrative Specialist" },
  92. { 20L, "مساعد تنفيذي", "Executive Assistant" },
  93. { 21L, "مسؤل البرنامج", "Program Administrator" },
  94. { 22L, "مدير البرنامج", "Program Manager" },
  95. { 23L, "محلل إداري", "Administrative Analyst" },
  96. { 24L, "مدخل بيانات", "Data Entry" }
  97. });
  98. }
  99. /// <inheritdoc />
  100. protected override void Down(MigrationBuilder migrationBuilder)
  101. {
  102. migrationBuilder.DeleteData(
  103. table: "Industries",
  104. keyColumn: "Id",
  105. keyValue: 1L);
  106. migrationBuilder.DeleteData(
  107. table: "Industries",
  108. keyColumn: "Id",
  109. keyValue: 2L);
  110. migrationBuilder.DeleteData(
  111. table: "Industries",
  112. keyColumn: "Id",
  113. keyValue: 3L);
  114. migrationBuilder.DeleteData(
  115. table: "Industries",
  116. keyColumn: "Id",
  117. keyValue: 4L);
  118. migrationBuilder.DeleteData(
  119. table: "Industries",
  120. keyColumn: "Id",
  121. keyValue: 5L);
  122. migrationBuilder.DeleteData(
  123. table: "Industries",
  124. keyColumn: "Id",
  125. keyValue: 6L);
  126. migrationBuilder.DeleteData(
  127. table: "Industries",
  128. keyColumn: "Id",
  129. keyValue: 7L);
  130. migrationBuilder.DeleteData(
  131. table: "Industries",
  132. keyColumn: "Id",
  133. keyValue: 8L);
  134. migrationBuilder.DeleteData(
  135. table: "Industries",
  136. keyColumn: "Id",
  137. keyValue: 9L);
  138. migrationBuilder.DeleteData(
  139. table: "Industries",
  140. keyColumn: "Id",
  141. keyValue: 10L);
  142. migrationBuilder.DeleteData(
  143. table: "Industries",
  144. keyColumn: "Id",
  145. keyValue: 11L);
  146. migrationBuilder.DeleteData(
  147. table: "Industries",
  148. keyColumn: "Id",
  149. keyValue: 12L);
  150. migrationBuilder.DeleteData(
  151. table: "Industries",
  152. keyColumn: "Id",
  153. keyValue: 13L);
  154. migrationBuilder.DeleteData(
  155. table: "Industries",
  156. keyColumn: "Id",
  157. keyValue: 14L);
  158. migrationBuilder.DeleteData(
  159. table: "Industries",
  160. keyColumn: "Id",
  161. keyValue: 15L);
  162. migrationBuilder.DeleteData(
  163. table: "Industries",
  164. keyColumn: "Id",
  165. keyValue: 16L);
  166. migrationBuilder.DeleteData(
  167. table: "Industries",
  168. keyColumn: "Id",
  169. keyValue: 17L);
  170. migrationBuilder.DeleteData(
  171. table: "Industries",
  172. keyColumn: "Id",
  173. keyValue: 18L);
  174. migrationBuilder.DeleteData(
  175. table: "Industries",
  176. keyColumn: "Id",
  177. keyValue: 19L);
  178. migrationBuilder.DeleteData(
  179. table: "Industries",
  180. keyColumn: "Id",
  181. keyValue: 20L);
  182. migrationBuilder.DeleteData(
  183. table: "Industries",
  184. keyColumn: "Id",
  185. keyValue: 21L);
  186. migrationBuilder.DeleteData(
  187. table: "Industries",
  188. keyColumn: "Id",
  189. keyValue: 22L);
  190. migrationBuilder.DeleteData(
  191. table: "Industries",
  192. keyColumn: "Id",
  193. keyValue: 23L);
  194. migrationBuilder.DeleteData(
  195. table: "Industries",
  196. keyColumn: "Id",
  197. keyValue: 24L);
  198. migrationBuilder.DeleteData(
  199. table: "Industries",
  200. keyColumn: "Id",
  201. keyValue: 25L);
  202. migrationBuilder.DeleteData(
  203. table: "Industries",
  204. keyColumn: "Id",
  205. keyValue: 26L);
  206. migrationBuilder.DeleteData(
  207. table: "Industries",
  208. keyColumn: "Id",
  209. keyValue: 27L);
  210. migrationBuilder.DeleteData(
  211. table: "Industries",
  212. keyColumn: "Id",
  213. keyValue: 28L);
  214. migrationBuilder.DeleteData(
  215. table: "Industries",
  216. keyColumn: "Id",
  217. keyValue: 29L);
  218. migrationBuilder.DeleteData(
  219. table: "Industries",
  220. keyColumn: "Id",
  221. keyValue: 30L);
  222. migrationBuilder.DeleteData(
  223. table: "Industries",
  224. keyColumn: "Id",
  225. keyValue: 31L);
  226. migrationBuilder.DeleteData(
  227. table: "Industries",
  228. keyColumn: "Id",
  229. keyValue: 32L);
  230. migrationBuilder.DeleteData(
  231. table: "Industries",
  232. keyColumn: "Id",
  233. keyValue: 33L);
  234. migrationBuilder.DeleteData(
  235. table: "Industries",
  236. keyColumn: "Id",
  237. keyValue: 34L);
  238. migrationBuilder.DeleteData(
  239. table: "Industries",
  240. keyColumn: "Id",
  241. keyValue: 35L);
  242. migrationBuilder.DeleteData(
  243. table: "Industries",
  244. keyColumn: "Id",
  245. keyValue: 36L);
  246. migrationBuilder.DeleteData(
  247. table: "Industries",
  248. keyColumn: "Id",
  249. keyValue: 37L);
  250. migrationBuilder.DeleteData(
  251. table: "Industries",
  252. keyColumn: "Id",
  253. keyValue: 38L);
  254. migrationBuilder.DeleteData(
  255. table: "Industries",
  256. keyColumn: "Id",
  257. keyValue: 39L);
  258. migrationBuilder.DeleteData(
  259. table: "Industries",
  260. keyColumn: "Id",
  261. keyValue: 40L);
  262. migrationBuilder.DeleteData(
  263. table: "Industries",
  264. keyColumn: "Id",
  265. keyValue: 41L);
  266. migrationBuilder.DeleteData(
  267. table: "Industries",
  268. keyColumn: "Id",
  269. keyValue: 42L);
  270. migrationBuilder.DeleteData(
  271. table: "Industries",
  272. keyColumn: "Id",
  273. keyValue: 43L);
  274. migrationBuilder.DeleteData(
  275. table: "Industries",
  276. keyColumn: "Id",
  277. keyValue: 44L);
  278. migrationBuilder.DeleteData(
  279. table: "Industries",
  280. keyColumn: "Id",
  281. keyValue: 45L);
  282. migrationBuilder.DeleteData(
  283. table: "Industries",
  284. keyColumn: "Id",
  285. keyValue: 46L);
  286. migrationBuilder.DeleteData(
  287. table: "Industries",
  288. keyColumn: "Id",
  289. keyValue: 47L);
  290. migrationBuilder.DeleteData(
  291. table: "Industries",
  292. keyColumn: "Id",
  293. keyValue: 48L);
  294. migrationBuilder.DeleteData(
  295. table: "Industries",
  296. keyColumn: "Id",
  297. keyValue: 49L);
  298. migrationBuilder.DeleteData(
  299. table: "Industries",
  300. keyColumn: "Id",
  301. keyValue: 50L);
  302. migrationBuilder.DeleteData(
  303. table: "JobTitles",
  304. keyColumn: "Id",
  305. keyValue: 1L);
  306. migrationBuilder.DeleteData(
  307. table: "JobTitles",
  308. keyColumn: "Id",
  309. keyValue: 2L);
  310. migrationBuilder.DeleteData(
  311. table: "JobTitles",
  312. keyColumn: "Id",
  313. keyValue: 3L);
  314. migrationBuilder.DeleteData(
  315. table: "JobTitles",
  316. keyColumn: "Id",
  317. keyValue: 4L);
  318. migrationBuilder.DeleteData(
  319. table: "JobTitles",
  320. keyColumn: "Id",
  321. keyValue: 5L);
  322. migrationBuilder.DeleteData(
  323. table: "JobTitles",
  324. keyColumn: "Id",
  325. keyValue: 6L);
  326. migrationBuilder.DeleteData(
  327. table: "JobTitles",
  328. keyColumn: "Id",
  329. keyValue: 7L);
  330. migrationBuilder.DeleteData(
  331. table: "JobTitles",
  332. keyColumn: "Id",
  333. keyValue: 8L);
  334. migrationBuilder.DeleteData(
  335. table: "JobTitles",
  336. keyColumn: "Id",
  337. keyValue: 9L);
  338. migrationBuilder.DeleteData(
  339. table: "JobTitles",
  340. keyColumn: "Id",
  341. keyValue: 10L);
  342. migrationBuilder.DeleteData(
  343. table: "JobTitles",
  344. keyColumn: "Id",
  345. keyValue: 11L);
  346. migrationBuilder.DeleteData(
  347. table: "JobTitles",
  348. keyColumn: "Id",
  349. keyValue: 12L);
  350. migrationBuilder.DeleteData(
  351. table: "JobTitles",
  352. keyColumn: "Id",
  353. keyValue: 13L);
  354. migrationBuilder.DeleteData(
  355. table: "JobTitles",
  356. keyColumn: "Id",
  357. keyValue: 14L);
  358. migrationBuilder.DeleteData(
  359. table: "JobTitles",
  360. keyColumn: "Id",
  361. keyValue: 15L);
  362. migrationBuilder.DeleteData(
  363. table: "JobTitles",
  364. keyColumn: "Id",
  365. keyValue: 16L);
  366. migrationBuilder.DeleteData(
  367. table: "JobTitles",
  368. keyColumn: "Id",
  369. keyValue: 17L);
  370. migrationBuilder.DeleteData(
  371. table: "JobTitles",
  372. keyColumn: "Id",
  373. keyValue: 18L);
  374. migrationBuilder.DeleteData(
  375. table: "JobTitles",
  376. keyColumn: "Id",
  377. keyValue: 19L);
  378. migrationBuilder.DeleteData(
  379. table: "JobTitles",
  380. keyColumn: "Id",
  381. keyValue: 20L);
  382. migrationBuilder.DeleteData(
  383. table: "JobTitles",
  384. keyColumn: "Id",
  385. keyValue: 21L);
  386. migrationBuilder.DeleteData(
  387. table: "JobTitles",
  388. keyColumn: "Id",
  389. keyValue: 22L);
  390. migrationBuilder.DeleteData(
  391. table: "JobTitles",
  392. keyColumn: "Id",
  393. keyValue: 23L);
  394. migrationBuilder.DeleteData(
  395. table: "JobTitles",
  396. keyColumn: "Id",
  397. keyValue: 24L);
  398. }
  399. }
  400. }