|
@@ -304,6 +304,13 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
IsRequired = false,
|
|
IsRequired = false,
|
|
NameAr = "الهوية",
|
|
NameAr = "الهوية",
|
|
NameEn = "Identification"
|
|
NameEn = "Identification"
|
|
|
|
+ },
|
|
|
|
+ new
|
|
|
|
+ {
|
|
|
|
+ Id = 9L,
|
|
|
|
+ IsRequired = false,
|
|
|
|
+ NameAr = "الصورة",
|
|
|
|
+ NameEn = "Image"
|
|
});
|
|
});
|
|
});
|
|
});
|
|
|
|
|
|
@@ -2699,6 +2706,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
{
|
|
{
|
|
Id = "ADMB3B92-2311-48F8-9DEC-F9FAEF1F21UA",
|
|
Id = "ADMB3B92-2311-48F8-9DEC-F9FAEF1F21UA",
|
|
AccessFailedCount = 0,
|
|
AccessFailedCount = 0,
|
|
|
|
+ CompanyId = 1L,
|
|
ConcurrencyStamp = "7cc87689-9eab-4280-b8e3-1834080783a5",
|
|
ConcurrencyStamp = "7cc87689-9eab-4280-b8e3-1834080783a5",
|
|
DateOfBirth = new DateTime(2000, 2, 10, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
|
DateOfBirth = new DateTime(2000, 2, 10, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
|
Email = "a@b.com",
|
|
Email = "a@b.com",
|
|
@@ -2711,7 +2719,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
LastName = "Elgendy",
|
|
LastName = "Elgendy",
|
|
LockoutEnabled = false,
|
|
LockoutEnabled = false,
|
|
NormalizedEmail = "A@B.COM",
|
|
NormalizedEmail = "A@B.COM",
|
|
- NormalizedUserName = "ADMIN",
|
|
|
|
|
|
+ NormalizedUserName = "A@B.COM",
|
|
PassportNumber = "1234567",
|
|
PassportNumber = "1234567",
|
|
PasswordHash = "AQAAAAIAAYagAAAAEPg+ASbciPFxtyxQq8Wx5ilBUQ0RbAoITXXkOQm1PzC5BzySX0sn/wUmOjBKPDGV9w==",
|
|
PasswordHash = "AQAAAAIAAYagAAAAEPg+ASbciPFxtyxQq8Wx5ilBUQ0RbAoITXXkOQm1PzC5BzySX0sn/wUmOjBKPDGV9w==",
|
|
PhoneNumber = "1234567890",
|
|
PhoneNumber = "1234567890",
|
|
@@ -2719,13 +2727,14 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
SecurityStamp = "49bb16c3-4704-4c60-908d-dc8506950acc",
|
|
SecurityStamp = "49bb16c3-4704-4c60-908d-dc8506950acc",
|
|
TaxNumber = 111m,
|
|
TaxNumber = 111m,
|
|
TwoFactorEnabled = false,
|
|
TwoFactorEnabled = false,
|
|
- UserName = "Admin",
|
|
|
|
|
|
+ UserName = "A@b.com",
|
|
UserType = 1
|
|
UserType = 1
|
|
},
|
|
},
|
|
new
|
|
new
|
|
{
|
|
{
|
|
Id = "AL5B3B92-2311-48F8-9DEC-F9FAEF1F21UB",
|
|
Id = "AL5B3B92-2311-48F8-9DEC-F9FAEF1F21UB",
|
|
AccessFailedCount = 0,
|
|
AccessFailedCount = 0,
|
|
|
|
+ CompanyId = 1L,
|
|
ConcurrencyStamp = "4af7b4cf-802a-455b-b598-997e167745b3",
|
|
ConcurrencyStamp = "4af7b4cf-802a-455b-b598-997e167745b3",
|
|
DateOfBirth = new DateTime(2001, 5, 13, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
|
DateOfBirth = new DateTime(2001, 5, 13, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
|
Email = "ali@b.com",
|
|
Email = "ali@b.com",
|
|
@@ -2738,7 +2747,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
LastName = "Farok",
|
|
LastName = "Farok",
|
|
LockoutEnabled = false,
|
|
LockoutEnabled = false,
|
|
NormalizedEmail = "ALI@B.COM",
|
|
NormalizedEmail = "ALI@B.COM",
|
|
- NormalizedUserName = "ALI",
|
|
|
|
|
|
+ NormalizedUserName = "ALI@B.COM",
|
|
PassportNumber = "7654321001010",
|
|
PassportNumber = "7654321001010",
|
|
PasswordHash = "AQAAAAIAAYagAAAAEI3QJkcZjCH4Y8Db4rEgL8Mmll5oCvYcWiXZjQSN9bGW4SMcjHe3ZPMnkN/l9DmJeQ==",
|
|
PasswordHash = "AQAAAAIAAYagAAAAEI3QJkcZjCH4Y8Db4rEgL8Mmll5oCvYcWiXZjQSN9bGW4SMcjHe3ZPMnkN/l9DmJeQ==",
|
|
PhoneNumber = "1234567888",
|
|
PhoneNumber = "1234567888",
|
|
@@ -2746,7 +2755,7 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
SecurityStamp = "62549056-1b9d-46d4-84f8-adea3e4d8b68",
|
|
SecurityStamp = "62549056-1b9d-46d4-84f8-adea3e4d8b68",
|
|
TaxNumber = 222m,
|
|
TaxNumber = 222m,
|
|
TwoFactorEnabled = false,
|
|
TwoFactorEnabled = false,
|
|
- UserName = "ali",
|
|
|
|
|
|
+ UserName = "Ali@b.com",
|
|
UserType = 1
|
|
UserType = 1
|
|
});
|
|
});
|
|
});
|
|
});
|
|
@@ -2861,6 +2870,9 @@ namespace MTWorkHR.Infrastructure.Migrations
|
|
.HasMaxLength(250)
|
|
.HasMaxLength(250)
|
|
.HasColumnType("nvarchar(250)");
|
|
.HasColumnType("nvarchar(250)");
|
|
|
|
|
|
|
|
+ b.Property<string>("FilePath")
|
|
|
|
+ .HasColumnType("nvarchar(max)");
|
|
|
|
+
|
|
b.Property<string>("OriginalName")
|
|
b.Property<string>("OriginalName")
|
|
.IsRequired()
|
|
.IsRequired()
|
|
.HasMaxLength(250)
|
|
.HasMaxLength(250)
|