Intranet menüsü eklendi.
This commit is contained in:
parent
f02136d358
commit
cb67d58d7e
9 changed files with 1268 additions and 1248 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -7,6 +7,7 @@ public enum MenuPrefix
|
|||
Platform,
|
||||
Saas,
|
||||
Administration,
|
||||
Intranet,
|
||||
Participant,
|
||||
Coordinator,
|
||||
Crm,
|
||||
|
|
@ -28,6 +29,7 @@ public static class MenuPrefixExtensions
|
|||
MenuPrefix.Platform => "P",
|
||||
MenuPrefix.Saas => "Sas",
|
||||
MenuPrefix.Administration => "Adm",
|
||||
MenuPrefix.Intranet => "Net",
|
||||
MenuPrefix.Participant => "Prt",
|
||||
MenuPrefix.Coordinator => "Crd",
|
||||
MenuPrefix.Crm => "Crm",
|
||||
|
|
|
|||
|
|
@ -130,16 +130,18 @@ public static class TableNameResolver
|
|||
{ nameof(TableNameEnum.PayrollItem), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.Template360), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.Performance360), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.EventCategory), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.EventType), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.Event), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.Training), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.Certificate), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.Meal), (PlatformConsts.TablePrefix.BranchByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.Reservation), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.ShuttleRoute), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.Announcement), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
{ nameof(TableNameEnum.Visitor), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Hr) },
|
||||
|
||||
// Intranet
|
||||
{ nameof(TableNameEnum.EventCategory), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Intranet) },
|
||||
{ nameof(TableNameEnum.EventType), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Intranet) },
|
||||
{ nameof(TableNameEnum.Event), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Intranet) },
|
||||
{ nameof(TableNameEnum.Training), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Intranet) },
|
||||
{ nameof(TableNameEnum.Certificate), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Intranet) },
|
||||
{ nameof(TableNameEnum.Meal), (PlatformConsts.TablePrefix.BranchByName, MenuPrefix.Intranet) },
|
||||
{ nameof(TableNameEnum.Reservation), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Intranet) },
|
||||
{ nameof(TableNameEnum.ShuttleRoute), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Intranet) },
|
||||
{ nameof(TableNameEnum.Announcement), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Intranet) },
|
||||
{ nameof(TableNameEnum.Visitor), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Intranet) },
|
||||
|
||||
// 🔹 ACCOUNTING
|
||||
{ nameof(TableNameEnum.Bank), (PlatformConsts.TablePrefix.TenantByName, MenuPrefix.Accounting) },
|
||||
|
|
|
|||
|
|
@ -445,6 +445,22 @@ public static class SeedConsts
|
|||
public const string Default = Prefix.App + ".Classroom";
|
||||
}
|
||||
|
||||
public static class Intranet
|
||||
{
|
||||
public const string Default = Prefix.App + ".Intranet";
|
||||
|
||||
public const string Events = Default + ".Events";
|
||||
public const string EventType = Events + ".EventType";
|
||||
public const string EventCategory = Events + ".EventCategory";
|
||||
public const string Event = Events + ".Event";
|
||||
public const string Training = Default + ".Training";
|
||||
public const string Meal = Default + ".Meal";
|
||||
public const string Reservation = Default + ".Reservation";
|
||||
public const string ShuttleRoute = Default + ".ShuttleRoute";
|
||||
public const string Announcement = Default + ".Announcement";
|
||||
public const string Visitor = Default + ".Visitor";
|
||||
}
|
||||
|
||||
public static class Hr
|
||||
{
|
||||
public const string Default = Prefix.App + ".Hr";
|
||||
|
|
@ -459,18 +475,6 @@ public static class SeedConsts
|
|||
public const string Payroll = Default + ".Payroll";
|
||||
public const string Template360 = Default + ".Template360";
|
||||
public const string Performance360 = Default + ".Performance360";
|
||||
|
||||
public const string Events = Default + ".Events";
|
||||
public const string EventType = Events + ".EventType";
|
||||
public const string EventCategory = Events + ".EventCategory";
|
||||
public const string Event = Events + ".Event";
|
||||
|
||||
public const string Training = Default + ".Training";
|
||||
public const string Meal = Default + ".Meal";
|
||||
public const string Reservation = Default + ".Reservation";
|
||||
public const string ShuttleRoute = Default + ".ShuttleRoute";
|
||||
public const string Announcement = Default + ".Announcement";
|
||||
public const string Visitor = Default + ".Visitor";
|
||||
}
|
||||
|
||||
public static class Accounting
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
|
|||
namespace Kurs.Platform.Migrations
|
||||
{
|
||||
[DbContext(typeof(PlatformDbContext))]
|
||||
[Migration("20251025190722_Initial")]
|
||||
[Migration("20251025202511_Initial")]
|
||||
partial class Initial
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
|
@ -799,7 +799,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasIndex("EmployeeId");
|
||||
|
||||
b.ToTable("T_Hr_Announcement", (string)null);
|
||||
b.ToTable("T_Net_Announcement", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.ApiEndpoint", b =>
|
||||
|
|
@ -1688,7 +1688,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasIndex("TrainingId");
|
||||
|
||||
b.ToTable("T_Hr_Certificate", (string)null);
|
||||
b.ToTable("T_Net_Certificate", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.City", b =>
|
||||
|
|
@ -3794,7 +3794,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasIndex("TypeId");
|
||||
|
||||
b.ToTable("T_Hr_Event", (string)null);
|
||||
b.ToTable("T_Net_Event", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.EventCategory", b =>
|
||||
|
|
@ -3843,7 +3843,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("T_Hr_EventCategory", (string)null);
|
||||
b.ToTable("T_Net_EventCategory", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.EventComment", b =>
|
||||
|
|
@ -4006,7 +4006,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("T_Hr_EventType", (string)null);
|
||||
b.ToTable("T_Net_EventType", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.GlobalSearch", b =>
|
||||
|
|
@ -5360,7 +5360,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("B_Hr_Meal", (string)null);
|
||||
b.ToTable("B_Net_Meal", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.MeetingMethod", b =>
|
||||
|
|
@ -7126,7 +7126,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasIndex("EmployeeId");
|
||||
|
||||
b.ToTable("T_Hr_Reservation", (string)null);
|
||||
b.ToTable("T_Net_Reservation", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.Route", b =>
|
||||
|
|
@ -7612,7 +7612,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("T_Hr_ShuttleRoute", (string)null);
|
||||
b.ToTable("T_Net_ShuttleRoute", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.Skill", b =>
|
||||
|
|
@ -8000,7 +8000,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("T_Hr_Training", (string)null);
|
||||
b.ToTable("T_Net_Training", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.Uom", b =>
|
||||
|
|
@ -8345,7 +8345,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasIndex("EmployeeId");
|
||||
|
||||
b.ToTable("T_Hr_Visitor", (string)null);
|
||||
b.ToTable("T_Net_Visitor", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.WorkHour", b =>
|
||||
|
|
@ -520,7 +520,7 @@ namespace Kurs.Platform.Migrations
|
|||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "B_Hr_Meal",
|
||||
name: "B_Net_Meal",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
|
|
@ -540,7 +540,7 @@ namespace Kurs.Platform.Migrations
|
|||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_B_Hr_Meal", x => x.Id);
|
||||
table.PrimaryKey("PK_B_Net_Meal", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
|
|
@ -1758,46 +1758,6 @@ namespace Kurs.Platform.Migrations
|
|||
table.PrimaryKey("PK_T_Hr_EmploymentType", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_EventCategory",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
Name = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Hr_EventCategory", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_EventType",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
Name = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Hr_EventType", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_Payroll",
|
||||
columns: table => new
|
||||
|
|
@ -1829,32 +1789,6 @@ namespace Kurs.Platform.Migrations
|
|||
table.PrimaryKey("PK_T_Hr_Payroll", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_ShuttleRoute",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
Type = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Name = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: false),
|
||||
DepartureTime = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
|
||||
ArrivalTime = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
|
||||
Capacity = table.Column<int>(type: "int", nullable: false, defaultValue: 0),
|
||||
Available = table.Column<int>(type: "int", nullable: false, defaultValue: 0),
|
||||
Route = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Hr_ShuttleRoute", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_Template360",
|
||||
columns: table => new
|
||||
|
|
@ -1880,7 +1814,73 @@ namespace Kurs.Platform.Migrations
|
|||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_Training",
|
||||
name: "T_Net_EventCategory",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
Name = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Net_EventCategory", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Net_EventType",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
Name = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Net_EventType", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Net_ShuttleRoute",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
Type = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Name = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: false),
|
||||
DepartureTime = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
|
||||
ArrivalTime = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
|
||||
Capacity = table.Column<int>(type: "int", nullable: false, defaultValue: 0),
|
||||
Available = table.Column<int>(type: "int", nullable: false, defaultValue: 0),
|
||||
Route = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Net_ShuttleRoute", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Net_Training",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
|
|
@ -1908,7 +1908,7 @@ namespace Kurs.Platform.Migrations
|
|||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Hr_Training", x => x.Id);
|
||||
table.PrimaryKey("PK_T_Net_Training", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
|
|
@ -3252,47 +3252,6 @@ namespace Kurs.Platform.Migrations
|
|||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_Event",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CategoryId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TypeId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
Name = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: false),
|
||||
Place = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true),
|
||||
Description = table.Column<string>(type: "nvarchar(1000)", maxLength: 1000, nullable: true),
|
||||
Status = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
OrganizerId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ParticipantsCount = table.Column<int>(type: "int", nullable: false),
|
||||
Likes = table.Column<int>(type: "int", nullable: false),
|
||||
isPublished = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Hr_Event", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Hr_Event_T_Hr_EventCategory_CategoryId",
|
||||
column: x => x.CategoryId,
|
||||
principalTable: "T_Hr_EventCategory",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Hr_Event_T_Hr_EventType_TypeId",
|
||||
column: x => x.TypeId,
|
||||
principalTable: "T_Hr_EventType",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_PayrollItem",
|
||||
columns: table => new
|
||||
|
|
@ -3324,6 +3283,47 @@ namespace Kurs.Platform.Migrations
|
|||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Net_Event",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CategoryId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TypeId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
Name = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: false),
|
||||
Place = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true),
|
||||
Description = table.Column<string>(type: "nvarchar(1000)", maxLength: 1000, nullable: true),
|
||||
Status = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
OrganizerId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ParticipantsCount = table.Column<int>(type: "int", nullable: false),
|
||||
Likes = table.Column<int>(type: "int", nullable: false),
|
||||
isPublished = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Net_Event", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Net_Event_T_Net_EventCategory_CategoryId",
|
||||
column: x => x.CategoryId,
|
||||
principalTable: "T_Net_EventCategory",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Net_Event_T_Net_EventType_TypeId",
|
||||
column: x => x.TypeId,
|
||||
principalTable: "T_Net_EventType",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Sas_ApiEndpoint",
|
||||
columns: table => new
|
||||
|
|
@ -3745,9 +3745,9 @@ namespace Kurs.Platform.Migrations
|
|||
{
|
||||
table.PrimaryKey("PK_T_Adm_EventComment", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Adm_EventComment_T_Hr_Event_EventId",
|
||||
name: "FK_T_Adm_EventComment_T_Net_Event_EventId",
|
||||
column: x => x.EventId,
|
||||
principalTable: "T_Hr_Event",
|
||||
principalTable: "T_Net_Event",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
|
@ -3772,9 +3772,9 @@ namespace Kurs.Platform.Migrations
|
|||
{
|
||||
table.PrimaryKey("PK_T_Adm_EventPhoto", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Adm_EventPhoto_T_Hr_Event_EventId",
|
||||
name: "FK_T_Adm_EventPhoto_T_Net_Event_EventId",
|
||||
column: x => x.EventId,
|
||||
principalTable: "T_Hr_Event",
|
||||
principalTable: "T_Net_Event",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
|
@ -3870,68 +3870,6 @@ namespace Kurs.Platform.Migrations
|
|||
principalColumn: "Id");
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_Announcement",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
Title = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: false),
|
||||
Excerpt = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: false),
|
||||
Content = table.Column<string>(type: "nvarchar(4000)", maxLength: 4000, nullable: false),
|
||||
ImageUrl = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
|
||||
Category = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
|
||||
EmployeeId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
PublishDate = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
ExpiryDate = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
IsPinned = table.Column<bool>(type: "bit", nullable: false),
|
||||
ViewCount = table.Column<int>(type: "int", nullable: false, defaultValue: 0),
|
||||
Departments = table.Column<string>(type: "nvarchar(1000)", maxLength: 1000, nullable: true),
|
||||
Attachments = table.Column<string>(type: "nvarchar(2000)", maxLength: 2000, nullable: true),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Hr_Announcement", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_Certificate",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
TrainingId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
EmployeeId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
Score = table.Column<int>(type: "int", nullable: true),
|
||||
IssueDate = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
ExpiryDate = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CertificateUrl = table.Column<string>(type: "nvarchar(300)", maxLength: 300, nullable: true),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Hr_Certificate", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Hr_Certificate_T_Hr_Training_TrainingId",
|
||||
column: x => x.TrainingId,
|
||||
principalTable: "T_Hr_Training",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_CostCenter",
|
||||
columns: table => new
|
||||
|
|
@ -4257,7 +4195,81 @@ namespace Kurs.Platform.Migrations
|
|||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_Reservation",
|
||||
name: "T_Net_Announcement",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
Title = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: false),
|
||||
Excerpt = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: false),
|
||||
Content = table.Column<string>(type: "nvarchar(4000)", maxLength: 4000, nullable: false),
|
||||
ImageUrl = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
|
||||
Category = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
|
||||
EmployeeId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
PublishDate = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
ExpiryDate = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
IsPinned = table.Column<bool>(type: "bit", nullable: false),
|
||||
ViewCount = table.Column<int>(type: "int", nullable: false, defaultValue: 0),
|
||||
Departments = table.Column<string>(type: "nvarchar(1000)", maxLength: 1000, nullable: true),
|
||||
Attachments = table.Column<string>(type: "nvarchar(2000)", maxLength: 2000, nullable: true),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Net_Announcement", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Net_Announcement_T_Hr_Employee_EmployeeId",
|
||||
column: x => x.EmployeeId,
|
||||
principalTable: "T_Hr_Employee",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Net_Certificate",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
TrainingId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
EmployeeId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
Score = table.Column<int>(type: "int", nullable: true),
|
||||
IssueDate = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
ExpiryDate = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CertificateUrl = table.Column<string>(type: "nvarchar(300)", maxLength: 300, nullable: true),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Net_Certificate", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Net_Certificate_T_Hr_Employee_EmployeeId",
|
||||
column: x => x.EmployeeId,
|
||||
principalTable: "T_Hr_Employee",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Net_Certificate_T_Net_Training_TrainingId",
|
||||
column: x => x.TrainingId,
|
||||
principalTable: "T_Net_Training",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Net_Reservation",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
|
|
@ -4281,9 +4293,9 @@ namespace Kurs.Platform.Migrations
|
|||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Hr_Reservation", x => x.Id);
|
||||
table.PrimaryKey("PK_T_Net_Reservation", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Hr_Reservation_T_Hr_Employee_EmployeeId",
|
||||
name: "FK_T_Net_Reservation_T_Hr_Employee_EmployeeId",
|
||||
column: x => x.EmployeeId,
|
||||
principalTable: "T_Hr_Employee",
|
||||
principalColumn: "Id",
|
||||
|
|
@ -4291,7 +4303,7 @@ namespace Kurs.Platform.Migrations
|
|||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_Hr_Visitor",
|
||||
name: "T_Net_Visitor",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
|
|
@ -4316,9 +4328,9 @@ namespace Kurs.Platform.Migrations
|
|||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_Hr_Visitor", x => x.Id);
|
||||
table.PrimaryKey("PK_T_Net_Visitor", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_Hr_Visitor_T_Hr_Employee_EmployeeId",
|
||||
name: "FK_T_Net_Visitor_T_Hr_Employee_EmployeeId",
|
||||
column: x => x.EmployeeId,
|
||||
principalTable: "T_Hr_Employee",
|
||||
principalColumn: "Id",
|
||||
|
|
@ -4864,21 +4876,6 @@ namespace Kurs.Platform.Migrations
|
|||
table: "T_Crd_QuestionOption",
|
||||
column: "QuestionId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Hr_Announcement_EmployeeId",
|
||||
table: "T_Hr_Announcement",
|
||||
column: "EmployeeId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Hr_Certificate_EmployeeId",
|
||||
table: "T_Hr_Certificate",
|
||||
column: "EmployeeId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Hr_Certificate_TrainingId",
|
||||
table: "T_Hr_Certificate",
|
||||
column: "TrainingId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Hr_CostCenter_CurrencyId",
|
||||
table: "T_Hr_CostCenter",
|
||||
|
|
@ -4949,16 +4946,6 @@ namespace Kurs.Platform.Migrations
|
|||
table: "T_Hr_Employee",
|
||||
column: "ManagerId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Hr_Event_CategoryId",
|
||||
table: "T_Hr_Event",
|
||||
column: "CategoryId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Hr_Event_TypeId",
|
||||
table: "T_Hr_Event",
|
||||
column: "TypeId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Hr_JobPosition_CurrencyId",
|
||||
table: "T_Hr_JobPosition",
|
||||
|
|
@ -4995,13 +4982,38 @@ namespace Kurs.Platform.Migrations
|
|||
column: "TemplateId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Hr_Reservation_EmployeeId",
|
||||
table: "T_Hr_Reservation",
|
||||
name: "IX_T_Net_Announcement_EmployeeId",
|
||||
table: "T_Net_Announcement",
|
||||
column: "EmployeeId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Hr_Visitor_EmployeeId",
|
||||
table: "T_Hr_Visitor",
|
||||
name: "IX_T_Net_Certificate_EmployeeId",
|
||||
table: "T_Net_Certificate",
|
||||
column: "EmployeeId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Net_Certificate_TrainingId",
|
||||
table: "T_Net_Certificate",
|
||||
column: "TrainingId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Net_Event_CategoryId",
|
||||
table: "T_Net_Event",
|
||||
column: "CategoryId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Net_Event_TypeId",
|
||||
table: "T_Net_Event",
|
||||
column: "TypeId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Net_Reservation_EmployeeId",
|
||||
table: "T_Net_Reservation",
|
||||
column: "EmployeeId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_Net_Visitor_EmployeeId",
|
||||
table: "T_Net_Visitor",
|
||||
column: "EmployeeId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
|
|
@ -5034,22 +5046,6 @@ namespace Kurs.Platform.Migrations
|
|||
table: "T_Sas_ReportTemplate",
|
||||
column: "CategoryId");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_Hr_Announcement_T_Hr_Employee_EmployeeId",
|
||||
table: "T_Hr_Announcement",
|
||||
column: "EmployeeId",
|
||||
principalTable: "T_Hr_Employee",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_Hr_Certificate_T_Hr_Employee_EmployeeId",
|
||||
table: "T_Hr_Certificate",
|
||||
column: "EmployeeId",
|
||||
principalTable: "T_Hr_Employee",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_Hr_CostCenter_T_Hr_Department_DepartmentId",
|
||||
table: "T_Hr_CostCenter",
|
||||
|
|
@ -5096,18 +5092,18 @@ namespace Kurs.Platform.Migrations
|
|||
name: "FK_T_Acc_BankAccount_T_Acc_Bank_BankId",
|
||||
table: "T_Acc_BankAccount");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_Hr_CostCenter_T_Hr_Employee_ResponsibleEmployeeId",
|
||||
table: "T_Hr_CostCenter");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_Hr_Department_T_Hr_Employee_ManagerId",
|
||||
table: "T_Hr_Department");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_Hr_CostCenter_T_Hr_Department_DepartmentId",
|
||||
table: "T_Hr_CostCenter");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_Hr_Employee_T_Hr_Department_DepartmentId",
|
||||
table: "T_Hr_Employee");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_Hr_JobPosition_T_Hr_Department_DepartmentId",
|
||||
table: "T_Hr_JobPosition");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpAuditLogActions");
|
||||
|
||||
|
|
@ -5196,7 +5192,7 @@ namespace Kurs.Platform.Migrations
|
|||
name: "B_Crd_ScheduleLesson");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "B_Hr_Meal");
|
||||
name: "B_Net_Meal");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "OpenIddictScopes");
|
||||
|
|
@ -5342,12 +5338,6 @@ namespace Kurs.Platform.Migrations
|
|||
migrationBuilder.DropTable(
|
||||
name: "T_Crd_QuestionTag");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Announcement");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Certificate");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Leave");
|
||||
|
||||
|
|
@ -5361,13 +5351,19 @@ namespace Kurs.Platform.Migrations
|
|||
name: "T_Hr_Performance360");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Reservation");
|
||||
name: "T_Net_Announcement");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_ShuttleRoute");
|
||||
name: "T_Net_Certificate");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Visitor");
|
||||
name: "T_Net_Reservation");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Net_ShuttleRoute");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Net_Visitor");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Prt_Interesting");
|
||||
|
|
@ -5475,7 +5471,7 @@ namespace Kurs.Platform.Migrations
|
|||
name: "T_Adm_BlogCategory");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Event");
|
||||
name: "T_Net_Event");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Adm_Order");
|
||||
|
|
@ -5492,15 +5488,15 @@ namespace Kurs.Platform.Migrations
|
|||
migrationBuilder.DropTable(
|
||||
name: "T_Crd_Question");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Training");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Payroll");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Template360");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Net_Training");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Sas_CustomEntity");
|
||||
|
||||
|
|
@ -5529,10 +5525,10 @@ namespace Kurs.Platform.Migrations
|
|||
name: "P_Sas_ListForm");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_EventCategory");
|
||||
name: "T_Net_EventCategory");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_EventType");
|
||||
name: "T_Net_EventType");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Crd_QuestionPool");
|
||||
|
|
@ -5549,6 +5545,12 @@ namespace Kurs.Platform.Migrations
|
|||
migrationBuilder.DropTable(
|
||||
name: "T_Acc_Bank");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Department");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_CostCenter");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Employee");
|
||||
|
||||
|
|
@ -5563,12 +5565,6 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_JobPosition");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_Department");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_Hr_CostCenter");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -796,7 +796,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasIndex("EmployeeId");
|
||||
|
||||
b.ToTable("T_Hr_Announcement", (string)null);
|
||||
b.ToTable("T_Net_Announcement", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.ApiEndpoint", b =>
|
||||
|
|
@ -1685,7 +1685,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasIndex("TrainingId");
|
||||
|
||||
b.ToTable("T_Hr_Certificate", (string)null);
|
||||
b.ToTable("T_Net_Certificate", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.City", b =>
|
||||
|
|
@ -3791,7 +3791,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasIndex("TypeId");
|
||||
|
||||
b.ToTable("T_Hr_Event", (string)null);
|
||||
b.ToTable("T_Net_Event", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.EventCategory", b =>
|
||||
|
|
@ -3840,7 +3840,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("T_Hr_EventCategory", (string)null);
|
||||
b.ToTable("T_Net_EventCategory", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.EventComment", b =>
|
||||
|
|
@ -4003,7 +4003,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("T_Hr_EventType", (string)null);
|
||||
b.ToTable("T_Net_EventType", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.GlobalSearch", b =>
|
||||
|
|
@ -5357,7 +5357,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("B_Hr_Meal", (string)null);
|
||||
b.ToTable("B_Net_Meal", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.MeetingMethod", b =>
|
||||
|
|
@ -7123,7 +7123,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasIndex("EmployeeId");
|
||||
|
||||
b.ToTable("T_Hr_Reservation", (string)null);
|
||||
b.ToTable("T_Net_Reservation", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.Route", b =>
|
||||
|
|
@ -7609,7 +7609,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("T_Hr_ShuttleRoute", (string)null);
|
||||
b.ToTable("T_Net_ShuttleRoute", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.Skill", b =>
|
||||
|
|
@ -7997,7 +7997,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("T_Hr_Training", (string)null);
|
||||
b.ToTable("T_Net_Training", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.Uom", b =>
|
||||
|
|
@ -8342,7 +8342,7 @@ namespace Kurs.Platform.Migrations
|
|||
|
||||
b.HasIndex("EmployeeId");
|
||||
|
||||
b.ToTable("T_Hr_Visitor", (string)null);
|
||||
b.ToTable("T_Net_Visitor", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Kurs.Platform.Entities.WorkHour", b =>
|
||||
|
|
|
|||
|
|
@ -11,10 +11,6 @@ import {
|
|||
MealMenu,
|
||||
ShuttleRoute,
|
||||
Survey,
|
||||
SurveyQuestion,
|
||||
SurveyQuestionOption,
|
||||
SurveyResponse,
|
||||
SurveyAnswer,
|
||||
SocialPost,
|
||||
} from '@/types/intranet'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue