|
@@ -1363,6 +1363,26 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
b.ToTable("Qualifications");
|
|
|
+
|
|
|
+ b.HasData(
|
|
|
+ new
|
|
|
+ {
|
|
|
+ Id = 1L,
|
|
|
+ NameAr = "بكالوريوس",
|
|
|
+ NameEn = "BSC"
|
|
|
+ },
|
|
|
+ new
|
|
|
+ {
|
|
|
+ Id = 2L,
|
|
|
+ NameAr = "درجة الماجيستير",
|
|
|
+ NameEn = "Master"
|
|
|
+ },
|
|
|
+ new
|
|
|
+ {
|
|
|
+ Id = 3L,
|
|
|
+ NameAr = "درحة الدكتوراه",
|
|
|
+ NameEn = "Doctor"
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.RoleLog", b =>
|
|
@@ -1656,6 +1676,26 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
b.ToTable("Universities");
|
|
|
+
|
|
|
+ b.HasData(
|
|
|
+ new
|
|
|
+ {
|
|
|
+ Id = 1L,
|
|
|
+ NameAr = "جامعة الملك فهد",
|
|
|
+ NameEn = "Fahd Univ"
|
|
|
+ },
|
|
|
+ new
|
|
|
+ {
|
|
|
+ Id = 2L,
|
|
|
+ NameAr = "جامعة الرياض",
|
|
|
+ NameEn = "Riydh Univ"
|
|
|
+ },
|
|
|
+ new
|
|
|
+ {
|
|
|
+ Id = 3L,
|
|
|
+ NameAr = "جامعة جدة",
|
|
|
+ NameEn = "Geda Univ"
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
modelBuilder.Entity("MTWorkHR.Core.Entities.User.OrderRequest", b =>
|
|
@@ -2162,6 +2202,9 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
b.Property<string>("CreateUser")
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
+ b.Property<DateTime>("DateOfBirth")
|
|
|
+ .HasColumnType("datetime2");
|
|
|
+
|
|
|
b.Property<string>("DeleteUserId")
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
@@ -2179,6 +2222,10 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
.IsRequired()
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
+ b.Property<string>("IdNumber")
|
|
|
+ .IsRequired()
|
|
|
+ .HasColumnType("nvarchar(max)");
|
|
|
+
|
|
|
b.Property<decimal?>("IncomeTaxValue")
|
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
|
@@ -2286,9 +2333,11 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
Id = "ADMB3B92-2311-48F8-9DEC-F9FAEF1F21UA",
|
|
|
AccessFailedCount = 0,
|
|
|
ConcurrencyStamp = "7cc87689-9eab-4280-b8e3-1834080783a5",
|
|
|
+ DateOfBirth = new DateTime(2000, 2, 10, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
|
|
Email = "a@b.com",
|
|
|
EmailConfirmed = true,
|
|
|
FirstName = "Zinab",
|
|
|
+ IdNumber = "123",
|
|
|
IncomeTaxValue = 1m,
|
|
|
IsDeleted = false,
|
|
|
IsStopped = false,
|
|
@@ -2311,9 +2360,11 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
Id = "AL5B3B92-2311-48F8-9DEC-F9FAEF1F21UB",
|
|
|
AccessFailedCount = 0,
|
|
|
ConcurrencyStamp = "4af7b4cf-802a-455b-b598-997e167745b3",
|
|
|
+ DateOfBirth = new DateTime(2001, 5, 13, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
|
|
Email = "ali@b.com",
|
|
|
EmailConfirmed = true,
|
|
|
FirstName = "Ali",
|
|
|
+ IdNumber = "343434",
|
|
|
IncomeTaxValue = 100m,
|
|
|
IsDeleted = false,
|
|
|
IsStopped = false,
|
|
@@ -2323,7 +2374,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
|
NormalizedUserName = "ALI",
|
|
|
PassportNumber = "7654321001010",
|
|
|
PasswordHash = "AQAAAAIAAYagAAAAEI3QJkcZjCH4Y8Db4rEgL8Mmll5oCvYcWiXZjQSN9bGW4SMcjHe3ZPMnkN/l9DmJeQ==",
|
|
|
- PhoneNumber = "1234567890",
|
|
|
+ PhoneNumber = "1234567888",
|
|
|
PhoneNumberConfirmed = true,
|
|
|
SecurityStamp = "62549056-1b9d-46d4-84f8-adea3e4d8b68",
|
|
|
TaxNumber = 222m,
|