20240131192843_updateUser.Designer.cs 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  1. // <auto-generated />
  2. using System;
  3. using MTWorkHR.Identity.DBContext;
  4. using Microsoft.EntityFrameworkCore;
  5. using Microsoft.EntityFrameworkCore.Infrastructure;
  6. using Microsoft.EntityFrameworkCore.Metadata;
  7. using Microsoft.EntityFrameworkCore.Migrations;
  8. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  9. #nullable disable
  10. namespace MTWorkHR.Identity.Migrations
  11. {
  12. [DbContext(typeof(HRIdentityDBContext))]
  13. [Migration("20240131192843_updateUser")]
  14. partial class updateUser
  15. {
  16. /// <inheritdoc />
  17. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  18. {
  19. #pragma warning disable 612, 618
  20. modelBuilder
  21. .HasAnnotation("ProductVersion", "8.0.1")
  22. .HasAnnotation("Relational:MaxIdentifierLength", 128);
  23. SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
  24. modelBuilder.Entity("ApplicationRoleApplicationUser", b =>
  25. {
  26. b.Property<string>("UserRolesId")
  27. .HasColumnType("nvarchar(450)");
  28. b.Property<string>("UsersId")
  29. .HasColumnType("nvarchar(450)");
  30. b.HasKey("UserRolesId", "UsersId");
  31. b.HasIndex("UsersId");
  32. b.ToTable("ApplicationRoleApplicationUser");
  33. });
  34. modelBuilder.Entity("MTWorkHR.Core.Entities.Base.AttachmentType", b =>
  35. {
  36. b.Property<long>("Id")
  37. .ValueGeneratedOnAdd()
  38. .HasColumnType("bigint")
  39. .HasColumnOrder(0);
  40. SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
  41. b.Property<bool>("IsRequired")
  42. .HasColumnType("bit");
  43. b.Property<string>("NameAr")
  44. .IsRequired()
  45. .HasMaxLength(250)
  46. .HasColumnType("nvarchar(250)");
  47. b.Property<string>("NameEn")
  48. .IsRequired()
  49. .HasMaxLength(250)
  50. .HasColumnType("nvarchar(250)");
  51. b.HasKey("Id");
  52. b.ToTable("AttachmentType");
  53. });
  54. modelBuilder.Entity("MTWorkHR.Identity.Entities.ApplicationRole", b =>
  55. {
  56. b.Property<string>("Id")
  57. .HasColumnType("nvarchar(450)");
  58. b.Property<string>("ConcurrencyStamp")
  59. .IsConcurrencyToken()
  60. .HasColumnType("nvarchar(max)");
  61. b.Property<DateTime>("CreateDate")
  62. .HasColumnType("datetime2");
  63. b.Property<string>("CreateUser")
  64. .HasColumnType("nvarchar(max)");
  65. b.Property<string>("DeleteUserId")
  66. .HasColumnType("nvarchar(max)");
  67. b.Property<bool?>("IsAdmin")
  68. .HasColumnType("bit");
  69. b.Property<bool>("IsDeleted")
  70. .HasColumnType("bit");
  71. b.Property<string>("Name")
  72. .HasMaxLength(256)
  73. .HasColumnType("nvarchar(256)");
  74. b.Property<string>("NormalizedName")
  75. .HasMaxLength(256)
  76. .HasColumnType("nvarchar(256)");
  77. b.Property<DateTime?>("UpdateDate")
  78. .HasColumnType("datetime2");
  79. b.Property<string>("UpdateUser")
  80. .HasColumnType("nvarchar(max)");
  81. b.HasKey("Id");
  82. b.HasIndex("NormalizedName")
  83. .IsUnique()
  84. .HasDatabaseName("RoleNameIndex")
  85. .HasFilter("[NormalizedName] IS NOT NULL");
  86. b.ToTable("AspNetRoles", (string)null);
  87. b.HasData(
  88. new
  89. {
  90. Id = "AD5B3B92-2311-48F8-9DEC-F9FAEF1F211A",
  91. CreateDate = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
  92. IsAdmin = true,
  93. IsDeleted = false,
  94. Name = "Admin",
  95. NormalizedName = "ADMIN"
  96. },
  97. new
  98. {
  99. Id = "EM5B3B92-2311-48F8-9DEC-F9FAEF1F211E",
  100. CreateDate = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
  101. IsAdmin = false,
  102. IsDeleted = false,
  103. Name = "Employee",
  104. NormalizedName = "EMPLOYEE"
  105. });
  106. });
  107. modelBuilder.Entity("MTWorkHR.Identity.Entities.ApplicationUser", b =>
  108. {
  109. b.Property<string>("Id")
  110. .HasColumnType("nvarchar(450)");
  111. b.Property<int>("AccessFailedCount")
  112. .HasColumnType("int");
  113. b.Property<string>("ConcurrencyStamp")
  114. .IsConcurrencyToken()
  115. .HasColumnType("nvarchar(max)");
  116. b.Property<string>("CreateUser")
  117. .HasColumnType("nvarchar(max)");
  118. b.Property<string>("DeleteUserId")
  119. .HasColumnType("nvarchar(max)");
  120. b.Property<string>("Email")
  121. .HasMaxLength(256)
  122. .HasColumnType("nvarchar(256)");
  123. b.Property<bool>("EmailConfirmed")
  124. .HasColumnType("bit");
  125. b.Property<string>("FavoriteName")
  126. .HasColumnType("nvarchar(max)");
  127. b.Property<string>("FirstName")
  128. .IsRequired()
  129. .HasColumnType("nvarchar(max)");
  130. b.Property<decimal>("IncomeTaxValue")
  131. .HasColumnType("decimal(18,2)");
  132. b.Property<bool>("IsDeleted")
  133. .HasColumnType("bit");
  134. b.Property<bool>("IsStopped")
  135. .HasColumnType("bit");
  136. b.Property<string>("JobTitle")
  137. .HasColumnType("nvarchar(max)");
  138. b.Property<string>("LastName")
  139. .IsRequired()
  140. .HasColumnType("nvarchar(max)");
  141. b.Property<bool>("LockoutEnabled")
  142. .HasColumnType("bit");
  143. b.Property<DateTimeOffset?>("LockoutEnd")
  144. .HasColumnType("datetimeoffset");
  145. b.Property<string>("ManagerId")
  146. .HasColumnType("nvarchar(450)");
  147. b.Property<string>("NormalizedEmail")
  148. .HasMaxLength(256)
  149. .HasColumnType("nvarchar(256)");
  150. b.Property<string>("NormalizedUserName")
  151. .HasMaxLength(256)
  152. .HasColumnType("nvarchar(256)");
  153. b.Property<string>("PassportNumber")
  154. .IsRequired()
  155. .HasColumnType("nvarchar(max)");
  156. b.Property<string>("PasswordHash")
  157. .HasColumnType("nvarchar(max)");
  158. b.Property<string>("PhoneNumber")
  159. .HasColumnType("nvarchar(max)");
  160. b.Property<bool>("PhoneNumberConfirmed")
  161. .HasColumnType("bit");
  162. b.Property<int>("QualificationId")
  163. .HasColumnType("int");
  164. b.Property<string>("SecurityStamp")
  165. .HasColumnType("nvarchar(max)");
  166. b.Property<decimal>("TaxNumber")
  167. .HasColumnType("decimal(18,2)");
  168. b.Property<bool>("TwoFactorEnabled")
  169. .HasColumnType("bit");
  170. b.Property<string>("University")
  171. .HasColumnType("nvarchar(max)");
  172. b.Property<string>("UpdateUser")
  173. .HasColumnType("nvarchar(max)");
  174. b.Property<string>("UserName")
  175. .HasMaxLength(256)
  176. .HasColumnType("nvarchar(256)");
  177. b.Property<int>("UserType")
  178. .HasColumnType("int");
  179. b.HasKey("Id");
  180. b.HasIndex("ManagerId");
  181. b.HasIndex("NormalizedEmail")
  182. .HasDatabaseName("EmailIndex");
  183. b.HasIndex("NormalizedUserName")
  184. .IsUnique()
  185. .HasDatabaseName("UserNameIndex")
  186. .HasFilter("[NormalizedUserName] IS NOT NULL");
  187. b.ToTable("AspNetUsers", (string)null);
  188. b.HasData(
  189. new
  190. {
  191. Id = "ADMB3B92-2311-48F8-9DEC-F9FAEF1F21UA",
  192. AccessFailedCount = 0,
  193. ConcurrencyStamp = "7cc87689-9eab-4280-b8e3-1834080783a5",
  194. Email = "a@b.com",
  195. EmailConfirmed = true,
  196. FirstName = "Zinab",
  197. IncomeTaxValue = 0m,
  198. IsDeleted = false,
  199. IsStopped = false,
  200. LastName = "Elgendy",
  201. LockoutEnabled = false,
  202. NormalizedEmail = "A@B.COM",
  203. NormalizedUserName = "ADMIN",
  204. PassportNumber = "1234567",
  205. PasswordHash = "AQAAAAIAAYagAAAAEPg+ASbciPFxtyxQq8Wx5ilBUQ0RbAoITXXkOQm1PzC5BzySX0sn/wUmOjBKPDGV9w==",
  206. PhoneNumber = "1234567890",
  207. PhoneNumberConfirmed = true,
  208. QualificationId = 0,
  209. SecurityStamp = "49bb16c3-4704-4c60-908d-dc8506950acc",
  210. TaxNumber = 0m,
  211. TwoFactorEnabled = false,
  212. UserName = "Admin",
  213. UserType = 1
  214. },
  215. new
  216. {
  217. Id = "AL5B3B92-2311-48F8-9DEC-F9FAEF1F21UB",
  218. AccessFailedCount = 0,
  219. ConcurrencyStamp = "4af7b4cf-802a-455b-b598-997e167745b3",
  220. Email = "ali@b.com",
  221. EmailConfirmed = true,
  222. FirstName = "Ali",
  223. IncomeTaxValue = 0m,
  224. IsDeleted = false,
  225. IsStopped = false,
  226. LastName = "Farok",
  227. LockoutEnabled = false,
  228. NormalizedEmail = "ALI@B.COM",
  229. NormalizedUserName = "ALI",
  230. PassportNumber = "7654321001010",
  231. PasswordHash = "AQAAAAIAAYagAAAAEI3QJkcZjCH4Y8Db4rEgL8Mmll5oCvYcWiXZjQSN9bGW4SMcjHe3ZPMnkN/l9DmJeQ==",
  232. PhoneNumber = "1234567890",
  233. PhoneNumberConfirmed = true,
  234. QualificationId = 0,
  235. SecurityStamp = "62549056-1b9d-46d4-84f8-adea3e4d8b68",
  236. TaxNumber = 0m,
  237. TwoFactorEnabled = false,
  238. UserName = "ali",
  239. UserType = 1
  240. });
  241. });
  242. modelBuilder.Entity("MTWorkHR.Identity.Entities.Permission", b =>
  243. {
  244. b.Property<long>("Id")
  245. .ValueGeneratedOnAdd()
  246. .HasColumnType("bigint")
  247. .HasColumnOrder(0);
  248. SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
  249. b.Property<string>("CategoryName")
  250. .IsRequired()
  251. .HasMaxLength(150)
  252. .HasColumnType("nvarchar(150)");
  253. b.Property<string>("Desc")
  254. .IsRequired()
  255. .HasMaxLength(250)
  256. .HasColumnType("nvarchar(250)");
  257. b.Property<string>("Name")
  258. .IsRequired()
  259. .HasMaxLength(250)
  260. .HasColumnType("nvarchar(250)");
  261. b.Property<bool>("Show")
  262. .HasColumnType("bit");
  263. b.HasKey("Id");
  264. b.ToTable("Permissions");
  265. });
  266. modelBuilder.Entity("MTWorkHR.Identity.Entities.RolePermission", b =>
  267. {
  268. b.Property<long>("Id")
  269. .ValueGeneratedOnAdd()
  270. .HasColumnType("bigint")
  271. .HasColumnOrder(0);
  272. SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
  273. b.Property<long>("PermissionId")
  274. .HasColumnType("bigint");
  275. b.Property<string>("PermissionName")
  276. .IsRequired()
  277. .HasColumnType("nvarchar(max)");
  278. b.Property<string>("RoleId")
  279. .IsRequired()
  280. .HasColumnType("nvarchar(450)");
  281. b.HasKey("Id");
  282. b.HasIndex("PermissionId");
  283. b.HasIndex("RoleId");
  284. b.ToTable("RolePermissions");
  285. });
  286. modelBuilder.Entity("MTWorkHR.Identity.Entities.UserAttachment", b =>
  287. {
  288. b.Property<long>("Id")
  289. .ValueGeneratedOnAdd()
  290. .HasColumnType("bigint")
  291. .HasColumnOrder(0);
  292. SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
  293. b.Property<long>("AttachmentTypeId")
  294. .HasColumnType("bigint");
  295. b.Property<DateTime>("CreateDate")
  296. .HasColumnType("datetime2")
  297. .HasColumnOrder(3);
  298. b.Property<string>("CreateUser")
  299. .HasMaxLength(450)
  300. .HasColumnType("nvarchar(450)")
  301. .HasColumnOrder(1);
  302. b.Property<string>("FileName")
  303. .IsRequired()
  304. .HasMaxLength(250)
  305. .HasColumnType("nvarchar(250)");
  306. b.Property<string>("OriginalName")
  307. .IsRequired()
  308. .HasMaxLength(250)
  309. .HasColumnType("nvarchar(250)");
  310. b.Property<DateTime?>("UpdateDate")
  311. .HasColumnType("datetime2")
  312. .HasColumnOrder(4);
  313. b.Property<string>("UpdateUser")
  314. .HasMaxLength(450)
  315. .HasColumnType("nvarchar(450)")
  316. .HasColumnOrder(2);
  317. b.Property<string>("UserId")
  318. .IsRequired()
  319. .HasColumnType("nvarchar(450)");
  320. b.HasKey("Id");
  321. b.HasIndex("AttachmentTypeId");
  322. b.HasIndex("UserId");
  323. b.ToTable("UserAttachment");
  324. });
  325. modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<string>", b =>
  326. {
  327. b.Property<int>("Id")
  328. .ValueGeneratedOnAdd()
  329. .HasColumnType("int");
  330. SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  331. b.Property<string>("ClaimType")
  332. .HasColumnType("nvarchar(max)");
  333. b.Property<string>("ClaimValue")
  334. .HasColumnType("nvarchar(max)");
  335. b.Property<string>("RoleId")
  336. .IsRequired()
  337. .HasColumnType("nvarchar(450)");
  338. b.HasKey("Id");
  339. b.HasIndex("RoleId");
  340. b.ToTable("AspNetRoleClaims", (string)null);
  341. });
  342. modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b =>
  343. {
  344. b.Property<int>("Id")
  345. .ValueGeneratedOnAdd()
  346. .HasColumnType("int");
  347. SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  348. b.Property<string>("ClaimType")
  349. .HasColumnType("nvarchar(max)");
  350. b.Property<string>("ClaimValue")
  351. .HasColumnType("nvarchar(max)");
  352. b.Property<string>("UserId")
  353. .IsRequired()
  354. .HasColumnType("nvarchar(450)");
  355. b.HasKey("Id");
  356. b.HasIndex("UserId");
  357. b.ToTable("AspNetUserClaims", (string)null);
  358. });
  359. modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b =>
  360. {
  361. b.Property<string>("LoginProvider")
  362. .HasColumnType("nvarchar(450)");
  363. b.Property<string>("ProviderKey")
  364. .HasColumnType("nvarchar(450)");
  365. b.Property<string>("ProviderDisplayName")
  366. .HasColumnType("nvarchar(max)");
  367. b.Property<string>("UserId")
  368. .IsRequired()
  369. .HasColumnType("nvarchar(450)");
  370. b.HasKey("LoginProvider", "ProviderKey");
  371. b.HasIndex("UserId");
  372. b.ToTable("AspNetUserLogins", (string)null);
  373. });
  374. modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole<string>", b =>
  375. {
  376. b.Property<string>("UserId")
  377. .HasColumnType("nvarchar(450)");
  378. b.Property<string>("RoleId")
  379. .HasColumnType("nvarchar(450)");
  380. b.HasKey("UserId", "RoleId");
  381. b.HasIndex("RoleId");
  382. b.ToTable("AspNetUserRoles", (string)null);
  383. b.HasData(
  384. new
  385. {
  386. UserId = "ADMB3B92-2311-48F8-9DEC-F9FAEF1F21UA",
  387. RoleId = "AD5B3B92-2311-48F8-9DEC-F9FAEF1F211A"
  388. },
  389. new
  390. {
  391. UserId = "AL5B3B92-2311-48F8-9DEC-F9FAEF1F21UB",
  392. RoleId = "EM5B3B92-2311-48F8-9DEC-F9FAEF1F211E"
  393. });
  394. });
  395. modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<string>", b =>
  396. {
  397. b.Property<string>("UserId")
  398. .HasColumnType("nvarchar(450)");
  399. b.Property<string>("LoginProvider")
  400. .HasColumnType("nvarchar(450)");
  401. b.Property<string>("Name")
  402. .HasColumnType("nvarchar(450)");
  403. b.Property<string>("Value")
  404. .HasColumnType("nvarchar(max)");
  405. b.HasKey("UserId", "LoginProvider", "Name");
  406. b.ToTable("AspNetUserTokens", (string)null);
  407. });
  408. modelBuilder.Entity("ApplicationRoleApplicationUser", b =>
  409. {
  410. b.HasOne("MTWorkHR.Identity.Entities.ApplicationRole", null)
  411. .WithMany()
  412. .HasForeignKey("UserRolesId")
  413. .OnDelete(DeleteBehavior.Cascade)
  414. .IsRequired();
  415. b.HasOne("MTWorkHR.Identity.Entities.ApplicationUser", null)
  416. .WithMany()
  417. .HasForeignKey("UsersId")
  418. .OnDelete(DeleteBehavior.Cascade)
  419. .IsRequired();
  420. });
  421. modelBuilder.Entity("MTWorkHR.Identity.Entities.ApplicationUser", b =>
  422. {
  423. b.HasOne("MTWorkHR.Identity.Entities.ApplicationUser", "Manager")
  424. .WithMany()
  425. .HasForeignKey("ManagerId");
  426. b.Navigation("Manager");
  427. });
  428. modelBuilder.Entity("MTWorkHR.Identity.Entities.RolePermission", b =>
  429. {
  430. b.HasOne("MTWorkHR.Identity.Entities.Permission", "Permission")
  431. .WithMany()
  432. .HasForeignKey("PermissionId")
  433. .OnDelete(DeleteBehavior.Cascade)
  434. .IsRequired();
  435. b.HasOne("MTWorkHR.Identity.Entities.ApplicationRole", "Role")
  436. .WithMany("RolePermissions")
  437. .HasForeignKey("RoleId")
  438. .OnDelete(DeleteBehavior.Cascade)
  439. .IsRequired();
  440. b.Navigation("Permission");
  441. b.Navigation("Role");
  442. });
  443. modelBuilder.Entity("MTWorkHR.Identity.Entities.UserAttachment", b =>
  444. {
  445. b.HasOne("MTWorkHR.Core.Entities.Base.AttachmentType", "AttachmentType")
  446. .WithMany()
  447. .HasForeignKey("AttachmentTypeId")
  448. .OnDelete(DeleteBehavior.Cascade)
  449. .IsRequired();
  450. b.HasOne("MTWorkHR.Identity.Entities.ApplicationUser", "User")
  451. .WithMany("UserAttachments")
  452. .HasForeignKey("UserId")
  453. .OnDelete(DeleteBehavior.Cascade)
  454. .IsRequired();
  455. b.Navigation("AttachmentType");
  456. b.Navigation("User");
  457. });
  458. modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<string>", b =>
  459. {
  460. b.HasOne("MTWorkHR.Identity.Entities.ApplicationRole", null)
  461. .WithMany()
  462. .HasForeignKey("RoleId")
  463. .OnDelete(DeleteBehavior.Cascade)
  464. .IsRequired();
  465. });
  466. modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b =>
  467. {
  468. b.HasOne("MTWorkHR.Identity.Entities.ApplicationUser", null)
  469. .WithMany()
  470. .HasForeignKey("UserId")
  471. .OnDelete(DeleteBehavior.Cascade)
  472. .IsRequired();
  473. });
  474. modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b =>
  475. {
  476. b.HasOne("MTWorkHR.Identity.Entities.ApplicationUser", null)
  477. .WithMany()
  478. .HasForeignKey("UserId")
  479. .OnDelete(DeleteBehavior.Cascade)
  480. .IsRequired();
  481. });
  482. modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole<string>", b =>
  483. {
  484. b.HasOne("MTWorkHR.Identity.Entities.ApplicationRole", null)
  485. .WithMany()
  486. .HasForeignKey("RoleId")
  487. .OnDelete(DeleteBehavior.Cascade)
  488. .IsRequired();
  489. b.HasOne("MTWorkHR.Identity.Entities.ApplicationUser", null)
  490. .WithMany()
  491. .HasForeignKey("UserId")
  492. .OnDelete(DeleteBehavior.Cascade)
  493. .IsRequired();
  494. });
  495. modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<string>", b =>
  496. {
  497. b.HasOne("MTWorkHR.Identity.Entities.ApplicationUser", null)
  498. .WithMany()
  499. .HasForeignKey("UserId")
  500. .OnDelete(DeleteBehavior.Cascade)
  501. .IsRequired();
  502. });
  503. modelBuilder.Entity("MTWorkHR.Identity.Entities.ApplicationRole", b =>
  504. {
  505. b.Navigation("RolePermissions");
  506. });
  507. modelBuilder.Entity("MTWorkHR.Identity.Entities.ApplicationUser", b =>
  508. {
  509. b.Navigation("UserAttachments");
  510. });
  511. #pragma warning restore 612, 618
  512. }
  513. }
  514. }