diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/LanguagesDbProperties.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/LanguagesDbProperties.cs index 989cce6..9997cc5 100644 --- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/LanguagesDbProperties.cs +++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/LanguagesDbProperties.cs @@ -2,7 +2,7 @@ public static class Prefix { - public static string MenuPrefix { get; set; } = "Plat"; + public static string MenuPrefix { get; set; } = "Sas"; public static string HostPrefix { get; set; } = "H"; public static string? DbSchema { get; set; } = null; diff --git a/api/modules/Sozsoft.MailQueue/Domain/MailQueueDbProperties.cs b/api/modules/Sozsoft.MailQueue/Domain/MailQueueDbProperties.cs index b6476ed..f230654 100644 --- a/api/modules/Sozsoft.MailQueue/Domain/MailQueueDbProperties.cs +++ b/api/modules/Sozsoft.MailQueue/Domain/MailQueueDbProperties.cs @@ -2,7 +2,7 @@ public static class Prefix { - public static string MenuPrefix { get; set; } = "Plat"; + public static string MenuPrefix { get; set; } = "Sas"; public static string HostPrefix { get; set; } = "H"; public static string? DbSchema { get; set; } = null; diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/NotificationDbProperties.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/NotificationDbProperties.cs index 16b86d6..e1e218e 100644 --- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/NotificationDbProperties.cs +++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/NotificationDbProperties.cs @@ -2,7 +2,7 @@ public static class Prefix { - public static string MenuPrefix { get; set; } = "Plat"; + public static string MenuPrefix { get; set; } = "Sas"; public static string HostPrefix { get; set; } = "H"; public static string? DbSchema { get; set; } = null; diff --git a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingsDbProperties.cs b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingsDbProperties.cs index 2ecba83..3815555 100644 --- a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingsDbProperties.cs +++ b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingsDbProperties.cs @@ -2,7 +2,7 @@ public static class Prefix { - public static string MenuPrefix { get; set; } = "Plat"; + public static string MenuPrefix { get; set; } = "Sas"; public static string HostPrefix { get; set; } = "H"; public static string? DbSchema { get; set; } = null; diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json index 7cd6819..64773bb 100644 --- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json +++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json @@ -606,6 +606,12 @@ "en": "Forum Management", "tr": "Forum Yönetimi" }, + { + "resourceName": "Platform", + "key": "App.ForumManagement.Publish", + "en": "Forum", + "tr": "Forum" + }, { "resourceName": "Platform", "key": "App.SqlQueryManager", diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/MenusData.json b/api/src/Sozsoft.Platform.DbMigrator/Seeds/MenusData.json index 20bfb54..96016ae 100644 --- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/MenusData.json +++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/MenusData.json @@ -1,9 +1,9 @@ { "Routes": [ { - "key": "dynamic.ProductListComponent", - "path": "/admin/ProductListComponent", - "componentPath": "dynamic:ProductListComponent", + "key": "dynamic.RoleListComponent", + "path": "/admin/RoleListComponent", + "componentPath": "dynamic:RoleListComponent", "routeType": "protected", "authority": [] }, diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/PermissionsData.json b/api/src/Sozsoft.Platform.DbMigrator/Seeds/PermissionsData.json index 243fe4b..464eb93 100644 --- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/PermissionsData.json +++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/PermissionsData.json @@ -10,6 +10,141 @@ } ], "PermissionDefinitionRecords": [ + { + "GroupName": "App.Saas", + "Name": "App.AiBot", + "ParentName": null, + "DisplayName": "App.AiBot", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.AiBot.Create", + "ParentName": "App.AiBot", + "DisplayName": "Create", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.AiBot.Delete", + "ParentName": "App.AiBot", + "DisplayName": "Delete", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.AiBot.Export", + "ParentName": "App.AiBot", + "DisplayName": "Export", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.AiBot.Import", + "ParentName": "App.AiBot", + "DisplayName": "Import", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.AiBot.Update", + "ParentName": "App.AiBot", + "DisplayName": "Update", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.AiBot.Note", + "ParentName": "App.AiBot", + "DisplayName": "Note", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.AiBot.Asistant", + "ParentName": "App.AiBot", + "DisplayName": "App.AiBot.Asistant", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Settings.GlobalSearch", + "ParentName": null, + "DisplayName": "App.Settings.GlobalSearch", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Settings.GlobalSearch.Create", + "ParentName": "App.Settings.GlobalSearch", + "DisplayName": "Create", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Settings.GlobalSearch.Delete", + "ParentName": "App.Settings.GlobalSearch", + "DisplayName": "Delete", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Settings.GlobalSearch.Export", + "ParentName": "App.Settings.GlobalSearch", + "DisplayName": "Export", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Settings.GlobalSearch.Import", + "ParentName": "App.Settings.GlobalSearch", + "DisplayName": "Import", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Settings.GlobalSearch.Note", + "ParentName": "App.Settings.GlobalSearch", + "DisplayName": "Note", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Settings.GlobalSearch.Update", + "ParentName": "App.Settings.GlobalSearch", + "DisplayName": "Update", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, { "GroupName": "App.Saas", "Name": "AbpTenantManagement.Tenants", @@ -154,78 +289,6 @@ "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, - { - "GroupName": "App.Saas", - "Name": "App.AiBot", - "ParentName": null, - "DisplayName": "App.AiBot", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.AiBot.Create", - "ParentName": "App.AiBot", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.AiBot.Delete", - "ParentName": "App.AiBot", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.AiBot.Export", - "ParentName": "App.AiBot", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.AiBot.Import", - "ParentName": "App.AiBot", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.AiBot.Note", - "ParentName": "App.AiBot", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.AiBot.Asistant", - "ParentName": "App.AiBot", - "DisplayName": "App.AiBot.Asistant", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.AiBot.Update", - "ParentName": "App.AiBot", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, { "GroupName": "App.Saas", "Name": "App.Settings.SettingDefinitions", @@ -289,69 +352,6 @@ "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, - { - "GroupName": "App.Saas", - "Name": "App.Settings.GlobalSearch", - "ParentName": null, - "DisplayName": "App.Settings.GlobalSearch", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Settings.GlobalSearch.Create", - "ParentName": "App.Settings.GlobalSearch", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Settings.GlobalSearch.Delete", - "ParentName": "App.Settings.GlobalSearch", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Settings.GlobalSearch.Export", - "ParentName": "App.Settings.GlobalSearch", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Settings.GlobalSearch.Import", - "ParentName": "App.Settings.GlobalSearch", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Settings.GlobalSearch.Note", - "ParentName": "App.Settings.GlobalSearch", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Settings.GlobalSearch.Update", - "ParentName": "App.Settings.GlobalSearch", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, { "GroupName": "App.Saas", "Name": "App.Languages.Language", @@ -478,141 +478,6 @@ "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, - { - "GroupName": "App.Saas", - "Name": "App.Routes", - "ParentName": null, - "DisplayName": "App.Routes", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Routes.Create", - "ParentName": "App.Routes", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Routes.Delete", - "ParentName": "App.Routes", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Routes.Export", - "ParentName": "App.Routes", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Routes.Import", - "ParentName": "App.Routes", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Routes.Note", - "ParentName": "App.Routes", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Routes.Update", - "ParentName": "App.Routes", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Menus.Manager", - "ParentName": null, - "DisplayName": "App.Menus.Manager", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Menus.Menu", - "ParentName": null, - "DisplayName": "App.Menus.Menu", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Menus.Menu.Create", - "ParentName": "App.Menus.Menu", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Menus.Menu.Delete", - "ParentName": "App.Menus.Menu", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Menus.Menu.Export", - "ParentName": "App.Menus.Menu", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Menus.Menu.Import", - "ParentName": "App.Menus.Menu", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Menus.Menu.Note", - "ParentName": "App.Menus.Menu", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Saas", - "Name": "App.Menus.Menu.Update", - "ParentName": "App.Menus.Menu", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, { "GroupName": "App.Saas", "Name": "App.Listforms.DataSource", @@ -676,15 +541,6 @@ "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, - { - "GroupName": "App.Saas", - "Name": "App.Listforms.Wizard", - "ParentName": null, - "DisplayName": "App.Listforms.Wizard", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, { "GroupName": "App.Saas", "Name": "App.Listforms.Listform", @@ -1064,64 +920,217 @@ "MenuGroup": "Erp|Kurs" }, { - "GroupName": "App.Saas", - "Name": "App.Definitions.ContactTag", + "GroupName": "App.Administration", + "Name": "App.Setting", "ParentName": null, - "DisplayName": "App.Definitions.ContactTag", + "DisplayName": "App.Setting", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.SiteManagement", + "ParentName": "App.Setting", + "DisplayName": "App.SiteManagement", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "Abp.Localization", + "ParentName": "App.SiteManagement", + "DisplayName": "Abp.Localization", "IsEnabled": true, "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, { - "GroupName": "App.Saas", - "Name": "App.Definitions.ContactTag.Create", - "ParentName": "App.Definitions.ContactTag", - "DisplayName": "Create", + "GroupName": "App.Administration", + "Name": "App.SiteManagement.Theme", + "ParentName": "App.SiteManagement", + "DisplayName": "App.SiteManagement.Theme", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.SiteManagement.General", + "ParentName": "App.SiteManagement", + "DisplayName": "App.SiteManagement.General", "IsEnabled": true, "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, { - "GroupName": "App.Saas", - "Name": "App.Definitions.ContactTag.Update", - "ParentName": "App.Definitions.ContactTag", - "DisplayName": "Update", + "GroupName": "App.Administration", + "Name": "App.Sender", + "ParentName": "App.Setting", + "DisplayName": "App.Sender", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Sender.Sms", + "ParentName": "App.Sender", + "DisplayName": "App.Sender.Sms", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Sender.Sms.PostaGuvercini", + "ParentName": "App.Sender.Sms", + "DisplayName": "App.Sender.Sms.PostaGuvercini", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Sender.WhatsApp", + "ParentName": "App.Sender", + "DisplayName": "App.Sender.WhatsApp", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Sender.Rocket", + "ParentName": "App.Sender", + "DisplayName": "App.Sender.Rocket", "IsEnabled": true, "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, { - "GroupName": "App.Saas", - "Name": "App.Definitions.ContactTag.Delete", - "ParentName": "App.Definitions.ContactTag", - "DisplayName": "Delete", + "GroupName": "App.Administration", + "Name": "Abp.Mailing", + "ParentName": "App.Setting", + "DisplayName": "Abp.Mailing", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "Abp.Mailing.Default", + "ParentName": "Abp.Mailing", + "DisplayName": "Abp.Mailing.Default", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "Abp.Mailing.Smtp", + "ParentName": "Abp.Mailing", + "DisplayName": "Abp.Mailing.Smtp", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "Abp.Mailing.AWS", + "ParentName": "Abp.Mailing", + "DisplayName": "Abp.Mailing.AWS", "IsEnabled": true, "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, { - "GroupName": "App.Saas", - "Name": "App.Definitions.ContactTag.Export", - "ParentName": "App.Definitions.ContactTag", - "DisplayName": "Export", + "GroupName": "App.Administration", + "Name": "Abp.Account", + "ParentName": "App.Setting", + "DisplayName": "Abp.Account", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "Abp.Account.General", + "ParentName": "Abp.Account", + "DisplayName": "Abp.Account.General", "IsEnabled": true, "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, { - "GroupName": "App.Saas", - "Name": "App.Definitions.ContactTag.Import", - "ParentName": "App.Definitions.ContactTag", - "DisplayName": "Import", + "GroupName": "App.Administration", + "Name": "Abp.Account.TwoFactor", + "ParentName": "Abp.Account", + "DisplayName": "Abp.Account.TwoFactor", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "Abp.Account.Captcha", + "ParentName": "Abp.Account", + "DisplayName": "Abp.Account.Captcha", "IsEnabled": true, "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, { - "GroupName": "App.Saas", - "Name": "App.Definitions.ContactTag.Note", - "ParentName": "App.Definitions.ContactTag", - "DisplayName": "Note", + "GroupName": "App.Administration", + "Name": "Abp.Identity", + "ParentName": "App.Setting", + "DisplayName": "Abp.Identity", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "Abp.Identity.Profile", + "ParentName": "Abp.Identity", + "DisplayName": "Abp.Identity.Profile", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "Abp.Identity.Password", + "ParentName": "Abp.Identity", + "DisplayName": "Abp.Identity.Password", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "Abp.Identity.SignIn", + "ParentName": "Abp.Identity", + "DisplayName": "Abp.Identity.SignIn", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "Abp.Identity.Lockout", + "ParentName": "Abp.Identity", + "DisplayName": "Abp.Identity.Lockout", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "Abp.Identity.User", + "ParentName": "Abp.Identity", + "DisplayName": "Abp.Identity.User", "IsEnabled": true, "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" @@ -1189,6 +1198,69 @@ "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Sector", + "ParentName": null, + "DisplayName": "App.Definitions.Sector", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Sector.Create", + "ParentName": "App.Definitions.Sector", + "DisplayName": "Create", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Sector.Update", + "ParentName": "App.Definitions.Sector", + "DisplayName": "Update", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Sector.Delete", + "ParentName": "App.Definitions.Sector", + "DisplayName": "Delete", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Sector.Export", + "ParentName": "App.Definitions.Sector", + "DisplayName": "Export", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Sector.Import", + "ParentName": "App.Definitions.Sector", + "DisplayName": "Import", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Sector.Note", + "ParentName": "App.Definitions.Sector", + "DisplayName": "Note", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, { "GroupName": "App.Saas", "Name": "App.Definitions.Currency", @@ -1506,218 +1578,380 @@ }, { "GroupName": "App.Administration", - "Name": "App.Setting", + "Name": "App.Definitions.WorkHour", "ParentName": null, - "DisplayName": "App.Setting", + "DisplayName": "App.Definitions.WorkHour", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.WorkHour.Create", + "ParentName": "App.Definitions.WorkHour", + "DisplayName": "Create", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.WorkHour.Update", + "ParentName": "App.Definitions.WorkHour", + "DisplayName": "Update", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.WorkHour.Delete", + "ParentName": "App.Definitions.WorkHour", + "DisplayName": "Delete", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.WorkHour.Export", + "ParentName": "App.Definitions.WorkHour", + "DisplayName": "Export", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.WorkHour.Import", + "ParentName": "App.Definitions.WorkHour", + "DisplayName": "Import", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.WorkHour.Note", + "ParentName": "App.Definitions.WorkHour", + "DisplayName": "Note", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.SkillType", + "ParentName": null, + "DisplayName": "App.Definitions.SkillType", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.SiteManagement", - "ParentName": "App.Setting", - "DisplayName": "App.SiteManagement", + "Name": "App.Definitions.SkillType.Create", + "ParentName": "App.Definitions.SkillType", + "DisplayName": "Create", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "Abp.Localization", - "ParentName": "App.SiteManagement", - "DisplayName": "Abp.Localization", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.SiteManagement.Theme", - "ParentName": "App.SiteManagement", - "DisplayName": "App.SiteManagement.Theme", + "Name": "App.Definitions.SkillType.Update", + "ParentName": "App.Definitions.SkillType", + "DisplayName": "Update", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.SiteManagement.General", - "ParentName": "App.SiteManagement", - "DisplayName": "App.SiteManagement.General", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Sender", - "ParentName": "App.Setting", - "DisplayName": "App.Sender", + "Name": "App.Definitions.SkillType.Delete", + "ParentName": "App.Definitions.SkillType", + "DisplayName": "Delete", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Sender.Sms", - "ParentName": "App.Sender", - "DisplayName": "App.Sender.Sms", + "Name": "App.Definitions.SkillType.Export", + "ParentName": "App.Definitions.SkillType", + "DisplayName": "Export", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Sender.Sms.PostaGuvercini", - "ParentName": "App.Sender.Sms", - "DisplayName": "App.Sender.Sms.PostaGuvercini", + "Name": "App.Definitions.SkillType.Import", + "ParentName": "App.Definitions.SkillType", + "DisplayName": "Import", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Sender.WhatsApp", - "ParentName": "App.Sender", - "DisplayName": "App.Sender.WhatsApp", + "Name": "App.Definitions.SkillType.Note", + "ParentName": "App.Definitions.SkillType", + "DisplayName": "Note", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Sender.Rocket", - "ParentName": "App.Sender", - "DisplayName": "App.Sender.Rocket", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "Abp.Mailing", - "ParentName": "App.Setting", - "DisplayName": "Abp.Mailing", + "Name": "App.Definitions.SkillLevel", + "ParentName": null, + "DisplayName": "App.Definitions.SkillLevel", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "Abp.Mailing.Default", - "ParentName": "Abp.Mailing", - "DisplayName": "Abp.Mailing.Default", + "Name": "App.Definitions.SkillLevel.Create", + "ParentName": "App.Definitions.SkillLevel", + "DisplayName": "Create", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "Abp.Mailing.Smtp", - "ParentName": "Abp.Mailing", - "DisplayName": "Abp.Mailing.Smtp", + "Name": "App.Definitions.SkillLevel.Update", + "ParentName": "App.Definitions.SkillLevel", + "DisplayName": "Update", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "Abp.Mailing.AWS", - "ParentName": "Abp.Mailing", - "DisplayName": "Abp.Mailing.AWS", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "Abp.Account", - "ParentName": "App.Setting", - "DisplayName": "Abp.Account", + "Name": "App.Definitions.SkillLevel.Delete", + "ParentName": "App.Definitions.SkillLevel", + "DisplayName": "Delete", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "Abp.Account.General", - "ParentName": "Abp.Account", - "DisplayName": "Abp.Account.General", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "Abp.Account.TwoFactor", - "ParentName": "Abp.Account", - "DisplayName": "Abp.Account.TwoFactor", + "Name": "App.Definitions.SkillLevel.Export", + "ParentName": "App.Definitions.SkillLevel", + "DisplayName": "Export", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "Abp.Account.Captcha", - "ParentName": "Abp.Account", - "DisplayName": "Abp.Account.Captcha", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "Abp.Identity", - "ParentName": "App.Setting", - "DisplayName": "Abp.Identity", + "Name": "App.Definitions.SkillLevel.Import", + "ParentName": "App.Definitions.SkillLevel", + "DisplayName": "Import", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "Abp.Identity.Profile", - "ParentName": "Abp.Identity", - "DisplayName": "Abp.Identity.Profile", + "Name": "App.Definitions.SkillLevel.Note", + "ParentName": "App.Definitions.SkillLevel", + "DisplayName": "Note", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "Abp.Identity.Password", - "ParentName": "Abp.Identity", - "DisplayName": "Abp.Identity.Password", + "Name": "App.Definitions.Skill", + "ParentName": null, + "DisplayName": "App.Definitions.Skill", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "Abp.Identity.SignIn", - "ParentName": "Abp.Identity", - "DisplayName": "Abp.Identity.SignIn", - "IsEnabled": true, - "MultiTenancySide": 2, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "Abp.Identity.Lockout", - "ParentName": "Abp.Identity", - "DisplayName": "Abp.Identity.Lockout", + "Name": "App.Definitions.Skill.Create", + "ParentName": "App.Definitions.Skill", + "DisplayName": "Create", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "Abp.Identity.User", - "ParentName": "Abp.Identity", - "DisplayName": "Abp.Identity.User", + "Name": "App.Definitions.Skill.Update", + "ParentName": "App.Definitions.Skill", + "DisplayName": "Update", "IsEnabled": true, - "MultiTenancySide": 2, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Skill.Delete", + "ParentName": "App.Definitions.Skill", + "DisplayName": "Delete", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Skill.Export", + "ParentName": "App.Definitions.Skill", + "DisplayName": "Export", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Skill.Import", + "ParentName": "App.Definitions.Skill", + "DisplayName": "Import", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Skill.Note", + "ParentName": "App.Definitions.Skill", + "DisplayName": "Note", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.UomCategory", + "ParentName": null, + "DisplayName": "App.Definitions.UomCategory", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.UomCategory.Create", + "ParentName": "App.Definitions.UomCategory", + "DisplayName": "Create", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.UomCategory.Update", + "ParentName": "App.Definitions.UomCategory", + "DisplayName": "Update", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.UomCategory.Delete", + "ParentName": "App.Definitions.UomCategory", + "DisplayName": "Delete", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.UomCategory.Export", + "ParentName": "App.Definitions.UomCategory", + "DisplayName": "Export", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.UomCategory.Import", + "ParentName": "App.Definitions.UomCategory", + "DisplayName": "Import", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.UomCategory.Note", + "ParentName": "App.Definitions.UomCategory", + "DisplayName": "Note", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Uom", + "ParentName": null, + "DisplayName": "App.Definitions.Uom", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Uom.Create", + "ParentName": "App.Definitions.Uom", + "DisplayName": "Create", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Uom.Update", + "ParentName": "App.Definitions.Uom", + "DisplayName": "Update", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Uom.Delete", + "ParentName": "App.Definitions.Uom", + "DisplayName": "Delete", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Uom.Export", + "ParentName": "App.Definitions.Uom", + "DisplayName": "Export", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Uom.Import", + "ParentName": "App.Definitions.Uom", + "DisplayName": "Import", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Definitions.Uom.Note", + "ParentName": "App.Definitions.Uom", + "DisplayName": "Note", + "IsEnabled": true, + "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { @@ -2206,330 +2440,6 @@ "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, - { - "GroupName": "App.Administration", - "Name": "App.ForumManagement.Publish", - "ParentName": null, - "DisplayName": "Publish", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.SqlQueryManager", - "ParentName": null, - "DisplayName": "App.SqlQueryManager", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit", - "ParentName": null, - "DisplayName": "App.DeveloperKit", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.CrudEndpoints", - "ParentName": "App.DeveloperKit", - "DisplayName": "App.DeveloperKit.CrudEndpoints", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.CustomEndpoints", - "ParentName": "App.DeveloperKit", - "DisplayName": "App.DeveloperKit.CustomEndpoints", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.CustomEndpoints.Create", - "ParentName": "App.DeveloperKit.CustomEndpoints", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.CustomEndpoints.Delete", - "ParentName": "App.DeveloperKit.CustomEndpoints", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.CustomEndpoints.Export", - "ParentName": "App.DeveloperKit.CustomEndpoints", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.CustomEndpoints.Import", - "ParentName": "App.DeveloperKit.CustomEndpoints", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.CustomEndpoints.Note", - "ParentName": "App.DeveloperKit.CustomEndpoints", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.CustomEndpoints.Get", - "ParentName": "App.DeveloperKit.CustomEndpoints", - "DisplayName": "Get", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.CustomEndpoints.Post", - "ParentName": "App.DeveloperKit.CustomEndpoints", - "DisplayName": "Post", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.CustomEndpoints.Update", - "ParentName": "App.DeveloperKit.CustomEndpoints", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.Components", - "ParentName": "App.DeveloperKit", - "DisplayName": "App.DeveloperKit.Components", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.DynamicServices", - "ParentName": "App.DeveloperKit", - "DisplayName": "App.DeveloperKit.DynamicServices", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.DynamicServices.Create", - "ParentName": "App.DeveloperKit.DynamicServices", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.DynamicServices.Update", - "ParentName": "App.DeveloperKit.DynamicServices", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.DynamicServices.Delete", - "ParentName": "App.DeveloperKit.DynamicServices", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.DynamicServices.Manage", - "ParentName": "App.DeveloperKit.DynamicServices", - "DisplayName": "Manage", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.DynamicServices.TestCompile", - "ParentName": "App.DeveloperKit.DynamicServices", - "DisplayName": "TestCompile", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.DynamicServices.Publish", - "ParentName": "App.DeveloperKit.DynamicServices", - "DisplayName": "Publish", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.DeveloperKit.DynamicServices.ViewCode", - "ParentName": "App.DeveloperKit.DynamicServices", - "DisplayName": "ViewCode", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.Categories", - "ParentName": null, - "DisplayName": "App.Reports.Categories", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.Categories.Create", - "ParentName": "App.Reports.Categories", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.Categories.Delete", - "ParentName": "App.Reports.Categories", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.Categories.Export", - "ParentName": "App.Reports.Categories", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.Categories.Import", - "ParentName": "App.Reports.Categories", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.Categories.Note", - "ParentName": "App.Reports.Categories", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.Categories.Update", - "ParentName": "App.Reports.Categories", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.ReportTemplates", - "ParentName": null, - "DisplayName": "App.Reports.ReportTemplates", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.ReportTemplates.Create", - "ParentName": "App.Reports.ReportTemplates", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.ReportTemplates.Delete", - "ParentName": "App.Reports.ReportTemplates", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.ReportTemplates.Export", - "ParentName": "App.Reports.ReportTemplates", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.ReportTemplates.Import", - "ParentName": "App.Reports.ReportTemplates", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.ReportTemplates.Note", - "ParentName": "App.Reports.ReportTemplates", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Reports.ReportTemplates.Update", - "ParentName": "App.Reports.ReportTemplates", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, { "GroupName": "App.Administration", "Name": "App.About", @@ -3169,6 +3079,141 @@ "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, + { + "GroupName": "App.Saas", + "Name": "App.Routes", + "ParentName": null, + "DisplayName": "App.Routes", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Routes.Create", + "ParentName": "App.Routes", + "DisplayName": "Create", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Routes.Delete", + "ParentName": "App.Routes", + "DisplayName": "Delete", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Routes.Export", + "ParentName": "App.Routes", + "DisplayName": "Export", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Routes.Import", + "ParentName": "App.Routes", + "DisplayName": "Import", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Routes.Note", + "ParentName": "App.Routes", + "DisplayName": "Note", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Routes.Update", + "ParentName": "App.Routes", + "DisplayName": "Update", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Menus.Manager", + "ParentName": null, + "DisplayName": "App.Menus.Manager", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Menus.Menu", + "ParentName": null, + "DisplayName": "App.Menus.Menu", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Menus.Menu.Create", + "ParentName": "App.Menus.Menu", + "DisplayName": "Create", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Menus.Menu.Delete", + "ParentName": "App.Menus.Menu", + "DisplayName": "Delete", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Menus.Menu.Export", + "ParentName": "App.Menus.Menu", + "DisplayName": "Export", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Menus.Menu.Import", + "ParentName": "App.Menus.Menu", + "DisplayName": "Import", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Menus.Menu.Note", + "ParentName": "App.Menus.Menu", + "DisplayName": "Note", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Menus.Menu.Update", + "ParentName": "App.Menus.Menu", + "DisplayName": "Update", + "IsEnabled": true, + "MultiTenancySide": 2, + "MenuGroup": "Erp|Kurs" + }, { "GroupName": "App.Administration", "Name": "App.Files", @@ -3216,17 +3261,17 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Sector", + "Name": "App.Reports.Categories", "ParentName": null, - "DisplayName": "App.Definitions.Sector", + "DisplayName": "App.Reports.Categories", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Sector.Create", - "ParentName": "App.Definitions.Sector", + "Name": "App.Reports.Categories.Create", + "ParentName": "App.Reports.Categories", "DisplayName": "Create", "IsEnabled": true, "MultiTenancySide": 3, @@ -3234,17 +3279,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Sector.Update", - "ParentName": "App.Definitions.Sector", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Sector.Delete", - "ParentName": "App.Definitions.Sector", + "Name": "App.Reports.Categories.Delete", + "ParentName": "App.Reports.Categories", "DisplayName": "Delete", "IsEnabled": true, "MultiTenancySide": 3, @@ -3252,8 +3288,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Sector.Export", - "ParentName": "App.Definitions.Sector", + "Name": "App.Reports.Categories.Export", + "ParentName": "App.Reports.Categories", "DisplayName": "Export", "IsEnabled": true, "MultiTenancySide": 3, @@ -3261,8 +3297,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Sector.Import", - "ParentName": "App.Definitions.Sector", + "Name": "App.Reports.Categories.Import", + "ParentName": "App.Reports.Categories", "DisplayName": "Import", "IsEnabled": true, "MultiTenancySide": 3, @@ -3270,8 +3306,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Sector.Note", - "ParentName": "App.Definitions.Sector", + "Name": "App.Reports.Categories.Note", + "ParentName": "App.Reports.Categories", "DisplayName": "Note", "IsEnabled": true, "MultiTenancySide": 3, @@ -3279,17 +3315,26 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillType", - "ParentName": null, - "DisplayName": "App.Definitions.SkillType", + "Name": "App.Reports.Categories.Update", + "ParentName": "App.Reports.Categories", + "DisplayName": "Update", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillType.Create", - "ParentName": "App.Definitions.SkillType", + "Name": "App.Reports.ReportTemplates", + "ParentName": null, + "DisplayName": "App.Reports.ReportTemplates", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.Reports.ReportTemplates.Create", + "ParentName": "App.Reports.ReportTemplates", "DisplayName": "Create", "IsEnabled": true, "MultiTenancySide": 3, @@ -3297,17 +3342,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillType.Update", - "ParentName": "App.Definitions.SkillType", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.SkillType.Delete", - "ParentName": "App.Definitions.SkillType", + "Name": "App.Reports.ReportTemplates.Delete", + "ParentName": "App.Reports.ReportTemplates", "DisplayName": "Delete", "IsEnabled": true, "MultiTenancySide": 3, @@ -3315,8 +3351,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillType.Export", - "ParentName": "App.Definitions.SkillType", + "Name": "App.Reports.ReportTemplates.Export", + "ParentName": "App.Reports.ReportTemplates", "DisplayName": "Export", "IsEnabled": true, "MultiTenancySide": 3, @@ -3324,8 +3360,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillType.Import", - "ParentName": "App.Definitions.SkillType", + "Name": "App.Reports.ReportTemplates.Import", + "ParentName": "App.Reports.ReportTemplates", "DisplayName": "Import", "IsEnabled": true, "MultiTenancySide": 3, @@ -3333,8 +3369,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillType.Note", - "ParentName": "App.Definitions.SkillType", + "Name": "App.Reports.ReportTemplates.Note", + "ParentName": "App.Reports.ReportTemplates", "DisplayName": "Note", "IsEnabled": true, "MultiTenancySide": 3, @@ -3342,17 +3378,53 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillLevel", - "ParentName": null, - "DisplayName": "App.Definitions.SkillLevel", + "Name": "App.Reports.ReportTemplates.Update", + "ParentName": "App.Reports.ReportTemplates", + "DisplayName": "Update", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillLevel.Create", - "ParentName": "App.Definitions.SkillLevel", + "Name": "App.DeveloperKit", + "ParentName": null, + "DisplayName": "App.DeveloperKit", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.SqlQueryManager", + "ParentName": "App.DeveloperKit", + "DisplayName": "App.SqlQueryManager", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.DeveloperKit.CrudEndpoints", + "ParentName": "App.DeveloperKit", + "DisplayName": "App.DeveloperKit.CrudEndpoints", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.DeveloperKit.CustomEndpoints", + "ParentName": "App.DeveloperKit", + "DisplayName": "App.DeveloperKit.CustomEndpoints", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.DeveloperKit.CustomEndpoints.Create", + "ParentName": "App.DeveloperKit.CustomEndpoints", "DisplayName": "Create", "IsEnabled": true, "MultiTenancySide": 3, @@ -3360,17 +3432,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillLevel.Update", - "ParentName": "App.Definitions.SkillLevel", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.SkillLevel.Delete", - "ParentName": "App.Definitions.SkillLevel", + "Name": "App.DeveloperKit.CustomEndpoints.Delete", + "ParentName": "App.DeveloperKit.CustomEndpoints", "DisplayName": "Delete", "IsEnabled": true, "MultiTenancySide": 3, @@ -3378,8 +3441,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillLevel.Export", - "ParentName": "App.Definitions.SkillLevel", + "Name": "App.DeveloperKit.CustomEndpoints.Export", + "ParentName": "App.DeveloperKit.CustomEndpoints", "DisplayName": "Export", "IsEnabled": true, "MultiTenancySide": 3, @@ -3387,8 +3450,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillLevel.Import", - "ParentName": "App.Definitions.SkillLevel", + "Name": "App.DeveloperKit.CustomEndpoints.Import", + "ParentName": "App.DeveloperKit.CustomEndpoints", "DisplayName": "Import", "IsEnabled": true, "MultiTenancySide": 3, @@ -3396,8 +3459,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.SkillLevel.Note", - "ParentName": "App.Definitions.SkillLevel", + "Name": "App.DeveloperKit.CustomEndpoints.Note", + "ParentName": "App.DeveloperKit.CustomEndpoints", "DisplayName": "Note", "IsEnabled": true, "MultiTenancySide": 3, @@ -3405,17 +3468,53 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Skill", - "ParentName": null, - "DisplayName": "App.Definitions.Skill", + "Name": "App.DeveloperKit.CustomEndpoints.Get", + "ParentName": "App.DeveloperKit.CustomEndpoints", + "DisplayName": "Get", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Skill.Create", - "ParentName": "App.Definitions.Skill", + "Name": "App.DeveloperKit.CustomEndpoints.Post", + "ParentName": "App.DeveloperKit.CustomEndpoints", + "DisplayName": "Post", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.DeveloperKit.CustomEndpoints.Update", + "ParentName": "App.DeveloperKit.CustomEndpoints", + "DisplayName": "Update", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.DeveloperKit.Components", + "ParentName": "App.DeveloperKit", + "DisplayName": "App.DeveloperKit.Components", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.DeveloperKit.DynamicServices", + "ParentName": "App.DeveloperKit", + "DisplayName": "App.DeveloperKit.DynamicServices", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Administration", + "Name": "App.DeveloperKit.DynamicServices.Create", + "ParentName": "App.DeveloperKit.DynamicServices", "DisplayName": "Create", "IsEnabled": true, "MultiTenancySide": 3, @@ -3423,8 +3522,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Skill.Update", - "ParentName": "App.Definitions.Skill", + "Name": "App.DeveloperKit.DynamicServices.Update", + "ParentName": "App.DeveloperKit.DynamicServices", "DisplayName": "Update", "IsEnabled": true, "MultiTenancySide": 3, @@ -3432,8 +3531,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Skill.Delete", - "ParentName": "App.Definitions.Skill", + "Name": "App.DeveloperKit.DynamicServices.Delete", + "ParentName": "App.DeveloperKit.DynamicServices", "DisplayName": "Delete", "IsEnabled": true, "MultiTenancySide": 3, @@ -3441,723 +3540,57 @@ }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Skill.Export", - "ParentName": "App.Definitions.Skill", - "DisplayName": "Export", + "Name": "App.DeveloperKit.DynamicServices.Manage", + "ParentName": "App.DeveloperKit.DynamicServices", + "DisplayName": "Manage", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Skill.Import", - "ParentName": "App.Definitions.Skill", - "DisplayName": "Import", + "Name": "App.DeveloperKit.DynamicServices.TestCompile", + "ParentName": "App.DeveloperKit.DynamicServices", + "DisplayName": "TestCompile", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Definitions.Skill.Note", - "ParentName": "App.Definitions.Skill", - "DisplayName": "Note", + "Name": "App.DeveloperKit.DynamicServices.Publish", + "ParentName": "App.DeveloperKit.DynamicServices", + "DisplayName": "Publish", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Definitions.UomCategory", + "Name": "App.DeveloperKit.DynamicServices.ViewCode", + "ParentName": "App.DeveloperKit.DynamicServices", + "DisplayName": "ViewCode", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp|Kurs" + }, + { + "GroupName": "App.Saas", + "Name": "App.Listforms.Wizard", "ParentName": null, - "DisplayName": "App.Definitions.UomCategory", + "DisplayName": "App.Listforms.Wizard", "IsEnabled": true, - "MultiTenancySide": 3, + "MultiTenancySide": 2, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.Definitions.UomCategory.Create", - "ParentName": "App.Definitions.UomCategory", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.UomCategory.Update", - "ParentName": "App.Definitions.UomCategory", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.UomCategory.Delete", - "ParentName": "App.Definitions.UomCategory", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.UomCategory.Export", - "ParentName": "App.Definitions.UomCategory", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.UomCategory.Import", - "ParentName": "App.Definitions.UomCategory", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.UomCategory.Note", - "ParentName": "App.Definitions.UomCategory", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Uom", + "Name": "App.ForumManagement.Publish", "ParentName": null, - "DisplayName": "App.Definitions.Uom", + "DisplayName": "App.ForumManagement.Publish", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Uom.Create", - "ParentName": "App.Definitions.Uom", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Uom.Update", - "ParentName": "App.Definitions.Uom", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Uom.Delete", - "ParentName": "App.Definitions.Uom", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Uom.Export", - "ParentName": "App.Definitions.Uom", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Uom.Import", - "ParentName": "App.Definitions.Uom", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Uom.Note", - "ParentName": "App.Definitions.Uom", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Behavior", - "ParentName": null, - "DisplayName": "App.Definitions.Behavior", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Behavior.Create", - "ParentName": "App.Definitions.Behavior", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Behavior.Update", - "ParentName": "App.Definitions.Behavior", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Behavior.Delete", - "ParentName": "App.Definitions.Behavior", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Behavior.Export", - "ParentName": "App.Definitions.Behavior", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Behavior.Import", - "ParentName": "App.Definitions.Behavior", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Behavior.Note", - "ParentName": "App.Definitions.Behavior", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Erp|Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Disease", - "ParentName": null, - "DisplayName": "App.Definitions.Disease", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Disease.Create", - "ParentName": "App.Definitions.Disease", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Disease.Update", - "ParentName": "App.Definitions.Disease", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Disease.Delete", - "ParentName": "App.Definitions.Disease", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Disease.Export", - "ParentName": "App.Definitions.Disease", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Disease.Import", - "ParentName": "App.Definitions.Disease", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Disease.Note", - "ParentName": "App.Definitions.Disease", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Document", - "ParentName": null, - "DisplayName": "App.Definitions.Document", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Document.Create", - "ParentName": "App.Definitions.Document", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Document.Update", - "ParentName": "App.Definitions.Document", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Document.Delete", - "ParentName": "App.Definitions.Document", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Document.Export", - "ParentName": "App.Definitions.Document", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Document.Import", - "ParentName": "App.Definitions.Document", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Document.Note", - "ParentName": "App.Definitions.Document", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.EducationStatus", - "ParentName": null, - "DisplayName": "App.Definitions.EducationStatus", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.EducationStatus.Create", - "ParentName": "App.Definitions.EducationStatus", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.EducationStatus.Update", - "ParentName": "App.Definitions.EducationStatus", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.EducationStatus.Delete", - "ParentName": "App.Definitions.EducationStatus", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.EducationStatus.Export", - "ParentName": "App.Definitions.EducationStatus", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.EducationStatus.Import", - "ParentName": "App.Definitions.EducationStatus", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.EducationStatus.Note", - "ParentName": "App.Definitions.EducationStatus", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vaccine", - "ParentName": null, - "DisplayName": "App.Definitions.Vaccine", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vaccine.Create", - "ParentName": "App.Definitions.Vaccine", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vaccine.Update", - "ParentName": "App.Definitions.Vaccine", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vaccine.Delete", - "ParentName": "App.Definitions.Vaccine", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vaccine.Export", - "ParentName": "App.Definitions.Vaccine", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vaccine.Import", - "ParentName": "App.Definitions.Vaccine", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vaccine.Note", - "ParentName": "App.Definitions.Vaccine", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vehicle", - "ParentName": null, - "DisplayName": "App.Definitions.Vehicle", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vehicle.Create", - "ParentName": "App.Definitions.Vehicle", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vehicle.Update", - "ParentName": "App.Definitions.Vehicle", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vehicle.Delete", - "ParentName": "App.Definitions.Vehicle", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vehicle.Export", - "ParentName": "App.Definitions.Vehicle", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vehicle.Import", - "ParentName": "App.Definitions.Vehicle", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Vehicle.Note", - "ParentName": "App.Definitions.Vehicle", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Psychologist", - "ParentName": null, - "DisplayName": "App.Definitions.Psychologist", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Psychologist.Create", - "ParentName": "App.Definitions.Psychologist", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Psychologist.Update", - "ParentName": "App.Definitions.Psychologist", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Psychologist.Delete", - "ParentName": "App.Definitions.Psychologist", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Psychologist.Export", - "ParentName": "App.Definitions.Psychologist", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Psychologist.Import", - "ParentName": "App.Definitions.Psychologist", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Psychologist.Note", - "ParentName": "App.Definitions.Psychologist", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.WorkHour", - "ParentName": null, - "DisplayName": "App.Definitions.WorkHour", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.WorkHour.Create", - "ParentName": "App.Definitions.WorkHour", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.WorkHour.Update", - "ParentName": "App.Definitions.WorkHour", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.WorkHour.Delete", - "ParentName": "App.Definitions.WorkHour", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.WorkHour.Export", - "ParentName": "App.Definitions.WorkHour", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.WorkHour.Import", - "ParentName": "App.Definitions.WorkHour", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.WorkHour.Note", - "ParentName": "App.Definitions.WorkHour", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Lawyer", - "ParentName": null, - "DisplayName": "App.Definitions.Lawyer", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Lawyer.Create", - "ParentName": "App.Definitions.Lawyer", - "DisplayName": "Create", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Lawyer.Update", - "ParentName": "App.Definitions.Lawyer", - "DisplayName": "Update", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Lawyer.Delete", - "ParentName": "App.Definitions.Lawyer", - "DisplayName": "Delete", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Lawyer.Export", - "ParentName": "App.Definitions.Lawyer", - "DisplayName": "Export", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Lawyer.Import", - "ParentName": "App.Definitions.Lawyer", - "DisplayName": "Import", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" - }, - { - "GroupName": "App.Administration", - "Name": "App.Definitions.Lawyer.Note", - "ParentName": "App.Definitions.Lawyer", - "DisplayName": "Note", - "IsEnabled": true, - "MultiTenancySide": 3, - "MenuGroup": "Kurs" } ] } \ No newline at end of file diff --git a/api/src/Sozsoft.Platform.Domain.Shared/Enums/MenuPrefixEnum.cs b/api/src/Sozsoft.Platform.Domain.Shared/Enums/MenuPrefixEnum.cs index 12a8327..7668905 100644 --- a/api/src/Sozsoft.Platform.Domain.Shared/Enums/MenuPrefixEnum.cs +++ b/api/src/Sozsoft.Platform.Domain.Shared/Enums/MenuPrefixEnum.cs @@ -4,7 +4,6 @@ namespace Sozsoft.Platform.Enums; public enum MenuPrefix { - Platform, Saas, Administration, Crm, @@ -24,7 +23,6 @@ public static class MenuPrefixExtensions { return menu switch { - MenuPrefix.Platform => "Plat", MenuPrefix.Saas => "Sas", MenuPrefix.Administration => "Adm", MenuPrefix.Crm => "Crm", diff --git a/api/src/Sozsoft.Platform.Domain.Shared/TableNameResolver.cs b/api/src/Sozsoft.Platform.Domain.Shared/TableNameResolver.cs index 17c2e16..c47981a 100644 --- a/api/src/Sozsoft.Platform.Domain.Shared/TableNameResolver.cs +++ b/api/src/Sozsoft.Platform.Domain.Shared/TableNameResolver.cs @@ -11,62 +11,47 @@ public static class TableNameResolver private static readonly Dictionary Method, MenuPrefix PrefixGroup)> _map = new(StringComparer.OrdinalIgnoreCase) { - // 🔹 MODULE TABLOLARI - { nameof(TableNameEnum.AiBot), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - { nameof(TableNameEnum.LogEntry), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - { nameof(TableNameEnum.Language), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - { nameof(TableNameEnum.LanguageKey), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - { nameof(TableNameEnum.LanguageText), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - { nameof(TableNameEnum.SettingDefinition), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - { nameof(TableNameEnum.Notification), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - { nameof(TableNameEnum.NotificationRule), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - { nameof(TableNameEnum.BackgroundWorker), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - { nameof(TableNameEnum.BackgroundWorker_MailQueue), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - { nameof(TableNameEnum.BackgroundWorker_MailQueueEvents), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - { nameof(TableNameEnum.BackgroundWorker_MailQueueTableFormat), (TablePrefix.PlatformByName, MenuPrefix.Platform) }, - - // 🔹 PLATFORM TABLOLARI + // 🔹 SAAS TABLOLARI + { nameof(TableNameEnum.LogEntry), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.AiBot), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.GlobalSearch), (TablePrefix.TenantByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.Branch), (TablePrefix.TenantByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.BranchUsers), (TablePrefix.TenantByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.SettingDefinition), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.Language), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.LanguageKey), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.LanguageText), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, { nameof(TableNameEnum.DataSource), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, { nameof(TableNameEnum.ListForm), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, { nameof(TableNameEnum.ListFormField), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, { nameof(TableNameEnum.ListFormCustomization), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, { nameof(TableNameEnum.ListFormImport), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, { nameof(TableNameEnum.ListFormImportExecute), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.Sector), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.ContactTitle), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.Currency), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.CountryGroup), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.Country), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.City), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.District), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.Notification), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.NotificationRule), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.BackgroundWorker), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.BackgroundWorker_MailQueue), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.BackgroundWorker_MailQueueEvents), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, + { nameof(TableNameEnum.BackgroundWorker_MailQueueTableFormat), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, { nameof(TableNameEnum.ForumCategory), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, { nameof(TableNameEnum.ForumTopic), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, { nameof(TableNameEnum.ForumPost), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, - // 🔹 TENANT TABLOLARI (GENEL) - { nameof(TableNameEnum.Route), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.Menu), (TablePrefix.PlatformByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.Note), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.Branch), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.BranchUsers), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.GlobalSearch), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.SqlTable), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.SqlTableField), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.CrudEndpoint), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.CustomEndpoint), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.CustomComponent), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.DynamicService), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.ReportCategory), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.ReportTemplate), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - { nameof(TableNameEnum.IpRestriction), (TablePrefix.TenantByName, MenuPrefix.Saas) }, - - // 🔹 ADMINISTRATION + // 🔹 ADMINISTRATION TABLOLARI + { nameof(TableNameEnum.ContactTitle), (TablePrefix.PlatformByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.Sector), (TablePrefix.TenantByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.Currency), (TablePrefix.PlatformByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.CountryGroup), (TablePrefix.PlatformByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.Country), (TablePrefix.PlatformByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.City), (TablePrefix.PlatformByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.District), (TablePrefix.PlatformByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.WorkHour), (TablePrefix.TenantByName, MenuPrefix.Administration) }, { nameof(TableNameEnum.SkillType), (TablePrefix.TenantByName, MenuPrefix.Administration) }, { nameof(TableNameEnum.Skill), (TablePrefix.TenantByName, MenuPrefix.Administration) }, { nameof(TableNameEnum.SkillLevel), (TablePrefix.TenantByName, MenuPrefix.Administration) }, { nameof(TableNameEnum.UomCategory), (TablePrefix.TenantByName, MenuPrefix.Administration) }, { nameof(TableNameEnum.Uom), (TablePrefix.TenantByName, MenuPrefix.Administration) }, - { nameof(TableNameEnum.WorkHour), (TablePrefix.TenantByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.IpRestriction), (TablePrefix.TenantByName, MenuPrefix.Saas) }, { nameof(TableNameEnum.About), (TablePrefix.TenantByName, MenuPrefix.Administration) }, { nameof(TableNameEnum.Service), (TablePrefix.TenantByName, MenuPrefix.Administration) }, { nameof(TableNameEnum.Product), (TablePrefix.TenantByName, MenuPrefix.Administration) }, @@ -78,6 +63,17 @@ public static class TableNameResolver { nameof(TableNameEnum.BlogPost), (TablePrefix.TenantByName, MenuPrefix.Administration) }, { nameof(TableNameEnum.Demo), (TablePrefix.TenantByName, MenuPrefix.Administration) }, { nameof(TableNameEnum.Contact), (TablePrefix.TenantByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.Route), (TablePrefix.PlatformByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.Menu), (TablePrefix.PlatformByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.Note), (TablePrefix.TenantByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.ReportCategory), (TablePrefix.TenantByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.ReportTemplate), (TablePrefix.TenantByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.SqlTable), (TablePrefix.TenantByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.SqlTableField), (TablePrefix.TenantByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.CrudEndpoint), (TablePrefix.TenantByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.CustomEndpoint), (TablePrefix.TenantByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.CustomComponent), (TablePrefix.TenantByName, MenuPrefix.Administration) }, + { nameof(TableNameEnum.DynamicService), (TablePrefix.TenantByName, MenuPrefix.Administration) }, }; public static string GetFullTableName(string tableName) diff --git a/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301203437_Initial.Designer.cs b/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301215123_Initial.Designer.cs similarity index 99% rename from api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301203437_Initial.Designer.cs rename to api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301215123_Initial.Designer.cs index 46df41d..1840057 100644 --- a/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301203437_Initial.Designer.cs +++ b/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301215123_Initial.Designer.cs @@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; namespace Sozsoft.Platform.Migrations { [DbContext(typeof(PlatformDbContext))] - [Migration("20260301203437_Initial")] + [Migration("20260301215123_Initial")] partial class Initial { /// @@ -88,7 +88,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_Language", (string)null); + b.ToTable("Sas_H_Language", (string)null); }); modelBuilder.Entity("Sozsoft.Languages.Entities.LanguageKey", b => @@ -142,7 +142,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("ResourceName", "Key") .IsUnique(); - b.ToTable("Plat_H_LanguageKey", (string)null); + b.ToTable("Sas_H_LanguageKey", (string)null); }); modelBuilder.Entity("Sozsoft.Languages.Entities.LanguageText", b => @@ -205,7 +205,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("ResourceName", "Key"); - b.ToTable("Plat_H_LanguageText", (string)null); + b.ToTable("Sas_H_LanguageText", (string)null); }); modelBuilder.Entity("Sozsoft.MailQueue.Domain.Entities.BackgroundWorker_MailQueue", b => @@ -296,7 +296,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("TableName"); - b.ToTable("Plat_H_BackgroundWorker_MailQueue", (string)null); + b.ToTable("Sas_H_BackgroundWorker_MailQueue", (string)null); }); modelBuilder.Entity("Sozsoft.MailQueue.Domain.Entities.BackgroundWorker_MailQueueEvents", b => @@ -358,7 +358,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("AwsMessageId"); - b.ToTable("Plat_H_BackgroundWorker_MailQueueEvents", (string)null); + b.ToTable("Sas_H_BackgroundWorker_MailQueueEvents", (string)null); }); modelBuilder.Entity("Sozsoft.MailQueue.Domain.Entities.BackgroundWorker_MailQueueTableFormat", b => @@ -424,7 +424,7 @@ namespace Sozsoft.Platform.Migrations .IsUnique() .HasDatabaseName("IX_MailQueueTableFormat"); - b.ToTable("Plat_H_BackgroundWorker_MailQueueTableFormat", (string)null); + b.ToTable("Sas_H_BackgroundWorker_MailQueueTableFormat", (string)null); }); modelBuilder.Entity("Sozsoft.Notifications.Entities.Notification", b => @@ -502,7 +502,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("NotificationRuleId"); - b.ToTable("Plat_H_Notification", (string)null); + b.ToTable("Sas_H_Notification", (string)null); }); modelBuilder.Entity("Sozsoft.Notifications.Entities.NotificationRule", b => @@ -571,7 +571,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_NotificationRule", (string)null); + b.ToTable("Sas_H_NotificationRule", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.About", b => @@ -650,7 +650,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_AiBot", (string)null); + b.ToTable("Sas_H_AiBot", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.BackgroundWorker", b => @@ -723,7 +723,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_BackgroundWorker", (string)null); + b.ToTable("Sas_H_BackgroundWorker", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.BlogCategory", b => @@ -1098,7 +1098,7 @@ namespace Sozsoft.Platform.Migrations .IsUnique() .HasFilter("[Country] IS NOT NULL"); - b.ToTable("Sas_H_City", (string)null); + b.ToTable("Adm_H_City", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Contact", b => @@ -1219,7 +1219,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_H_ContactTitle", (string)null); + b.ToTable("Adm_H_ContactTitle", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Country", b => @@ -1292,7 +1292,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("Name") .IsUnique(); - b.ToTable("Sas_H_Country", (string)null); + b.ToTable("Adm_H_Country", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.CountryGroup", b => @@ -1340,7 +1340,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("Name") .IsUnique(); - b.ToTable("Sas_H_CountryGroup", (string)null); + b.ToTable("Adm_H_CountryGroup", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.CrudEndpoint", b => @@ -1416,7 +1416,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("EntityId"); - b.ToTable("Sas_T_CrudEndpoint", (string)null); + b.ToTable("Adm_T_CrudEndpoint", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Currency", b => @@ -1478,7 +1478,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_H_Currency", (string)null); + b.ToTable("Adm_H_Currency", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.CustomComponent", b => @@ -1546,7 +1546,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_CustomComponent", (string)null); + b.ToTable("Adm_T_CustomComponent", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.CustomEndpoint", b => @@ -1624,7 +1624,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_CustomEndpoint", (string)null); + b.ToTable("Adm_T_CustomEndpoint", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.DataSource", b => @@ -1823,7 +1823,7 @@ namespace Sozsoft.Platform.Migrations .IsUnique() .HasFilter("[Country] IS NOT NULL AND [Township] IS NOT NULL"); - b.ToTable("Sas_H_District", (string)null); + b.ToTable("Adm_H_District", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.DynamicService", b => @@ -1917,7 +1917,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_DynamicService", (string)null); + b.ToTable("Adm_T_DynamicService", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.GlobalSearch", b => @@ -2787,7 +2787,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_LogEntry", (string)null); + b.ToTable("Sas_H_LogEntry", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Menu", b => @@ -2890,7 +2890,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_H_Menu", (string)null); + b.ToTable("Adm_H_Menu", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Note", b => @@ -2962,7 +2962,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_Note", (string)null); + b.ToTable("Adm_T_Note", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Order", b => @@ -3353,7 +3353,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_ReportCategory", (string)null); + b.ToTable("Adm_T_ReportCategory", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.ReportTemplate", b => @@ -3419,7 +3419,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("CategoryId"); - b.ToTable("Sas_T_ReportTemplate", (string)null); + b.ToTable("Adm_T_ReportTemplate", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Route", b => @@ -3488,7 +3488,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("Key") .IsUnique(); - b.ToTable("Sas_H_Route", (string)null); + b.ToTable("Adm_H_Route", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Sector", b => @@ -3537,7 +3537,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_Sector", (string)null); + b.ToTable("Adm_T_Sector", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Service", b => @@ -3854,7 +3854,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_SqlTable", (string)null); + b.ToTable("Adm_T_SqlTable", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.SqlTableField", b => @@ -3929,7 +3929,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("EntityId"); - b.ToTable("Sas_T_SqlTableField", (string)null); + b.ToTable("Adm_T_SqlTableField", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Uom", b => @@ -4486,7 +4486,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_SettingDefinition", (string)null); + b.ToTable("Sas_H_SettingDefinition", (string)null); }); modelBuilder.Entity("Sozsoft.SqlQueryManager.Domain.Entities.SqlFunction", b => diff --git a/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301203437_Initial.cs b/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301215123_Initial.cs similarity index 95% rename from api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301203437_Initial.cs rename to api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301215123_Initial.cs index 94bea2c..69d26b1 100644 --- a/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301203437_Initial.cs +++ b/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/20260301215123_Initial.cs @@ -434,6 +434,127 @@ namespace Sozsoft.Platform.Migrations table.PrimaryKey("PK_AbpUsers", x => x.Id); }); + migrationBuilder.CreateTable( + name: "Adm_H_ContactTitle", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Title = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Abbreviation = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_H_ContactTitle", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Adm_H_CountryGroup", + columns: table => new + { + Id = table.Column(type: "nvarchar(450)", nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_H_CountryGroup", x => x.Id); + table.UniqueConstraint("AK_Adm_H_CountryGroup_Name", x => x.Name); + }); + + migrationBuilder.CreateTable( + name: "Adm_H_Currency", + columns: table => new + { + Id = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + Symbol = table.Column(type: "nvarchar(8)", maxLength: 8, nullable: true), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Rate = table.Column(type: "decimal(18,6)", precision: 18, scale: 6, nullable: false), + IsActive = table.Column(type: "bit", nullable: false, defaultValue: true), + LastUpdated = table.Column(type: "datetime2", nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_H_Currency", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Adm_H_Menu", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + Code = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + DisplayName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Order = table.Column(type: "int", nullable: false), + Url = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + Icon = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + ParentCode = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + CssClass = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + RequiredPermissionName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + ShortName = table.Column(type: "nvarchar(max)", nullable: true), + Target = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + IsDisabled = table.Column(type: "bit", nullable: false), + ElementId = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + UserId = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + RoleId = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + CultureName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_H_Menu", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Adm_H_Route", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + Key = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Path = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), + ComponentPath = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), + RouteType = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + Authority = table.Column(type: "nvarchar(max)", nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_H_Route", x => x.Id); + }); + migrationBuilder.CreateTable( name: "Adm_T_About", columns: table => new @@ -509,6 +630,58 @@ namespace Sozsoft.Platform.Migrations table.PrimaryKey("PK_Adm_T_Contact", x => x.Id); }); + migrationBuilder.CreateTable( + name: "Adm_T_CustomComponent", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Code = table.Column(type: "nvarchar(max)", nullable: false), + Props = table.Column(type: "nvarchar(1024)", maxLength: 1024, nullable: true), + Description = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), + IsActive = table.Column(type: "bit", nullable: false), + Dependencies = table.Column(type: "nvarchar(2048)", maxLength: 2048, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_T_CustomComponent", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Adm_T_CustomEndpoint", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Description = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), + Url = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), + Method = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), + DataSourceCode = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Sql = table.Column(type: "nvarchar(max)", nullable: false), + ParametersJson = table.Column(type: "text", nullable: true), + PermissionsJson = table.Column(type: "text", nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_T_CustomEndpoint", x => x.Id); + }); + migrationBuilder.CreateTable( name: "Adm_T_Demo", columns: table => new @@ -536,6 +709,37 @@ namespace Sozsoft.Platform.Migrations table.PrimaryKey("PK_Adm_T_Demo", x => x.Id); }); + migrationBuilder.CreateTable( + name: "Adm_T_DynamicService", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + Name = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), + DisplayName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), + Description = table.Column(type: "nvarchar(2048)", maxLength: 2048, nullable: true), + Code = table.Column(type: "text", nullable: false), + IsActive = table.Column(type: "bit", nullable: false, defaultValue: true), + CompilationStatus = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: false), + LastCompilationError = table.Column(type: "text", nullable: true), + LastSuccessfulCompilation = table.Column(type: "datetime2", nullable: true), + Version = table.Column(type: "int", nullable: false, defaultValue: 1), + CodeHash = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + PrimaryEntityType = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + ControllerName = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_T_DynamicService", x => x.Id); + }); + migrationBuilder.CreateTable( name: "Adm_T_InstallmentOption", columns: table => new @@ -558,6 +762,31 @@ namespace Sozsoft.Platform.Migrations table.PrimaryKey("PK_Adm_T_InstallmentOption", x => x.Id); }); + migrationBuilder.CreateTable( + name: "Adm_T_Note", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + EntityName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + EntityId = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + Type = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + Subject = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), + Content = table.Column(type: "nvarchar(2048)", maxLength: 2048, nullable: false), + FilesJson = table.Column(type: "nvarchar(max)", nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_T_Note", x => x.Id); + }); + migrationBuilder.CreateTable( name: "Adm_T_Order", columns: table => new @@ -650,6 +879,48 @@ namespace Sozsoft.Platform.Migrations table.PrimaryKey("PK_Adm_T_Product", x => x.Id); }); + migrationBuilder.CreateTable( + name: "Adm_T_ReportCategory", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + Name = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), + Description = table.Column(type: "nvarchar(max)", maxLength: 4096, nullable: true), + Icon = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_T_ReportCategory", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Adm_T_Sector", + columns: table => new + { + Id = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_T_Sector", x => x.Id); + }); + migrationBuilder.CreateTable( name: "Adm_T_Service", columns: table => new @@ -694,6 +965,34 @@ namespace Sozsoft.Platform.Migrations table.PrimaryKey("PK_Adm_T_SkillType", x => x.Id); }); + migrationBuilder.CreateTable( + name: "Adm_T_SqlTable", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + Menu = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + DisplayName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + TableName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Description = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), + IsActive = table.Column(type: "bit", nullable: false), + IsFullAuditedEntity = table.Column(type: "bit", nullable: false), + IsMultiTenant = table.Column(type: "bit", nullable: false), + EndpointStatus = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_T_SqlTable", x => x.Id); + }); + migrationBuilder.CreateTable( name: "Adm_T_UomCategory", columns: table => new @@ -807,7 +1106,7 @@ namespace Sozsoft.Platform.Migrations }); migrationBuilder.CreateTable( - name: "Plat_H_AiBot", + name: "Sas_H_AiBot", columns: table => new { Id = table.Column(type: "uniqueidentifier", nullable: false), @@ -818,11 +1117,11 @@ namespace Sozsoft.Platform.Migrations }, constraints: table => { - table.PrimaryKey("PK_Plat_H_AiBot", x => x.Id); + table.PrimaryKey("PK_Sas_H_AiBot", x => x.Id); }); migrationBuilder.CreateTable( - name: "Plat_H_BackgroundWorker", + name: "Sas_H_BackgroundWorker", columns: table => new { Id = table.Column(type: "uniqueidentifier", nullable: false), @@ -844,11 +1143,11 @@ namespace Sozsoft.Platform.Migrations }, constraints: table => { - table.PrimaryKey("PK_Plat_H_BackgroundWorker", x => x.Id); + table.PrimaryKey("PK_Sas_H_BackgroundWorker", x => x.Id); }); migrationBuilder.CreateTable( - name: "Plat_H_BackgroundWorker_MailQueueTableFormat", + name: "Sas_H_BackgroundWorker_MailQueueTableFormat", columns: table => new { Id = table.Column(type: "int", nullable: false) @@ -869,190 +1168,8 @@ namespace Sozsoft.Platform.Migrations }, constraints: table => { - table.PrimaryKey("PK_Plat_H_BackgroundWorker_MailQueueTableFormat", x => x.Id); - table.UniqueConstraint("AK_Plat_H_BackgroundWorker_MailQueueTableFormat_TableName", x => x.TableName); - }); - - migrationBuilder.CreateTable( - name: "Plat_H_Language", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - CultureName = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), - UiCultureName = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), - DisplayName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), - IsEnabled = table.Column(type: "bit", nullable: false), - TwoLetterISOLanguageName = table.Column(type: "nvarchar(2)", maxLength: 2, nullable: false), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Plat_H_Language", x => x.Id); - table.UniqueConstraint("AK_Plat_H_Language_CultureName", x => x.CultureName); - }); - - migrationBuilder.CreateTable( - name: "Plat_H_LanguageKey", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - Key = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - ResourceName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Plat_H_LanguageKey", x => x.Id); - table.UniqueConstraint("AK_Plat_H_LanguageKey_ResourceName_Key", x => new { x.ResourceName, x.Key }); - }); - - migrationBuilder.CreateTable( - name: "Plat_H_LogEntry", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - Message = table.Column(type: "nvarchar(max)", nullable: true), - MessageTemplate = table.Column(type: "nvarchar(max)", nullable: true), - Level = table.Column(type: "nvarchar(max)", nullable: true), - TimeStamp = table.Column(type: "datetime2", nullable: true), - Exception = table.Column(type: "nvarchar(max)", nullable: true), - Properties = table.Column(type: "nvarchar(max)", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Plat_H_LogEntry", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Plat_H_NotificationRule", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - NotificationType = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - RecipientType = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), - RecipientId = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), - Channel = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), - IsActive = table.Column(type: "bit", nullable: false), - IsFixed = table.Column(type: "bit", nullable: false), - IsCustomized = table.Column(type: "bit", nullable: false), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Plat_H_NotificationRule", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Plat_H_SettingDefinition", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - Code = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - NameKey = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - DescriptionKey = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), - DefaultValue = table.Column(type: "nvarchar(1024)", maxLength: 1024, nullable: true), - IsVisibleToClients = table.Column(type: "bit", nullable: false), - Providers = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - IsInherited = table.Column(type: "bit", nullable: false), - IsEncrypted = table.Column(type: "bit", nullable: false), - MainGroupKey = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - SubGroupKey = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - RequiredPermissionName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - DataType = table.Column(type: "nvarchar(16)", maxLength: 16, nullable: false), - SelectOptions = table.Column(type: "nvarchar(max)", nullable: true), - Order = table.Column(type: "int", nullable: false), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Plat_H_SettingDefinition", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Sas_H_ContactTitle", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - Title = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Abbreviation = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_H_ContactTitle", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Sas_H_CountryGroup", - columns: table => new - { - Id = table.Column(type: "nvarchar(450)", nullable: false), - Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_H_CountryGroup", x => x.Id); - table.UniqueConstraint("AK_Sas_H_CountryGroup_Name", x => x.Name); - }); - - migrationBuilder.CreateTable( - name: "Sas_H_Currency", - columns: table => new - { - Id = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), - Symbol = table.Column(type: "nvarchar(8)", maxLength: 8, nullable: true), - Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Rate = table.Column(type: "decimal(18,6)", precision: 18, scale: 6, nullable: false), - IsActive = table.Column(type: "bit", nullable: false, defaultValue: true), - LastUpdated = table.Column(type: "datetime2", nullable: true), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_H_Currency", x => x.Id); + table.PrimaryKey("PK_Sas_H_BackgroundWorker_MailQueueTableFormat", x => x.Id); + table.UniqueConstraint("AK_Sas_H_BackgroundWorker_MailQueueTableFormat_TableName", x => x.TableName); }); migrationBuilder.CreateTable( @@ -1108,6 +1225,51 @@ namespace Sozsoft.Platform.Migrations table.PrimaryKey("PK_Sas_H_ForumCategory", x => x.Id); }); + migrationBuilder.CreateTable( + name: "Sas_H_Language", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + CultureName = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), + UiCultureName = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), + DisplayName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + IsEnabled = table.Column(type: "bit", nullable: false), + TwoLetterISOLanguageName = table.Column(type: "nvarchar(2)", maxLength: 2, nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Sas_H_Language", x => x.Id); + table.UniqueConstraint("AK_Sas_H_Language_CultureName", x => x.CultureName); + }); + + migrationBuilder.CreateTable( + name: "Sas_H_LanguageKey", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Key = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + ResourceName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Sas_H_LanguageKey", x => x.Id); + table.UniqueConstraint("AK_Sas_H_LanguageKey_ResourceName_Key", x => new { x.ResourceName, x.Key }); + }); + migrationBuilder.CreateTable( name: "Sas_H_ListForm", columns: table => new @@ -1217,50 +1379,34 @@ namespace Sozsoft.Platform.Migrations }); migrationBuilder.CreateTable( - name: "Sas_H_Menu", + name: "Sas_H_LogEntry", columns: table => new { Id = table.Column(type: "uniqueidentifier", nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Code = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - DisplayName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Order = table.Column(type: "int", nullable: false), - Url = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), - Icon = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - ParentCode = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - CssClass = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - RequiredPermissionName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - ShortName = table.Column(type: "nvarchar(max)", nullable: true), - Target = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - IsDisabled = table.Column(type: "bit", nullable: false), - ElementId = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - UserId = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), - RoleId = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), - CultureName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) + Message = table.Column(type: "nvarchar(max)", nullable: true), + MessageTemplate = table.Column(type: "nvarchar(max)", nullable: true), + Level = table.Column(type: "nvarchar(max)", nullable: true), + TimeStamp = table.Column(type: "datetime2", nullable: true), + Exception = table.Column(type: "nvarchar(max)", nullable: true), + Properties = table.Column(type: "nvarchar(max)", nullable: true) }, constraints: table => { - table.PrimaryKey("PK_Sas_H_Menu", x => x.Id); + table.PrimaryKey("PK_Sas_H_LogEntry", x => x.Id); }); migrationBuilder.CreateTable( - name: "Sas_H_Route", + name: "Sas_H_NotificationRule", columns: table => new { Id = table.Column(type: "uniqueidentifier", nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Key = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Path = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), - ComponentPath = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), - RouteType = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - Authority = table.Column(type: "nvarchar(max)", nullable: true), + NotificationType = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + RecipientType = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + RecipientId = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + Channel = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + IsActive = table.Column(type: "bit", nullable: false), + IsFixed = table.Column(type: "bit", nullable: false), + IsCustomized = table.Column(type: "bit", nullable: false), CreationTime = table.Column(type: "datetime2", nullable: false), CreatorId = table.Column(type: "uniqueidentifier", nullable: true), LastModificationTime = table.Column(type: "datetime2", nullable: true), @@ -1271,7 +1417,39 @@ namespace Sozsoft.Platform.Migrations }, constraints: table => { - table.PrimaryKey("PK_Sas_H_Route", x => x.Id); + table.PrimaryKey("PK_Sas_H_NotificationRule", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Sas_H_SettingDefinition", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Code = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + NameKey = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + DescriptionKey = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), + DefaultValue = table.Column(type: "nvarchar(1024)", maxLength: 1024, nullable: true), + IsVisibleToClients = table.Column(type: "bit", nullable: false), + Providers = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + IsInherited = table.Column(type: "bit", nullable: false), + IsEncrypted = table.Column(type: "bit", nullable: false), + MainGroupKey = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + SubGroupKey = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + RequiredPermissionName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + DataType = table.Column(type: "nvarchar(16)", maxLength: 16, nullable: false), + SelectOptions = table.Column(type: "nvarchar(max)", nullable: true), + Order = table.Column(type: "int", nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Sas_H_SettingDefinition", x => x.Id); }); migrationBuilder.CreateTable( @@ -1310,89 +1488,6 @@ namespace Sozsoft.Platform.Migrations table.PrimaryKey("PK_Sas_T_Branch", x => x.Id); }); - migrationBuilder.CreateTable( - name: "Sas_T_CustomComponent", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Code = table.Column(type: "nvarchar(max)", nullable: false), - Props = table.Column(type: "nvarchar(1024)", maxLength: 1024, nullable: true), - Description = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), - IsActive = table.Column(type: "bit", nullable: false), - Dependencies = table.Column(type: "nvarchar(2048)", maxLength: 2048, nullable: true), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_T_CustomComponent", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Sas_T_CustomEndpoint", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Description = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), - Url = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), - Method = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), - DataSourceCode = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Sql = table.Column(type: "nvarchar(max)", nullable: false), - ParametersJson = table.Column(type: "text", nullable: true), - PermissionsJson = table.Column(type: "text", nullable: true), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_T_CustomEndpoint", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Sas_T_DynamicService", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Name = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), - DisplayName = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), - Description = table.Column(type: "nvarchar(2048)", maxLength: 2048, nullable: true), - Code = table.Column(type: "text", nullable: false), - IsActive = table.Column(type: "bit", nullable: false, defaultValue: true), - CompilationStatus = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: false), - LastCompilationError = table.Column(type: "text", nullable: true), - LastSuccessfulCompilation = table.Column(type: "datetime2", nullable: true), - Version = table.Column(type: "int", nullable: false, defaultValue: 1), - CodeHash = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - PrimaryEntityType = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), - ControllerName = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_T_DynamicService", x => x.Id); - }); - migrationBuilder.CreateTable( name: "Sas_T_GlobalSearch", columns: table => new @@ -1433,73 +1528,6 @@ namespace Sozsoft.Platform.Migrations table.PrimaryKey("PK_Sas_T_IpRestriction", x => x.Id); }); - migrationBuilder.CreateTable( - name: "Sas_T_Note", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - EntityName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - EntityId = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), - Type = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), - Subject = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), - Content = table.Column(type: "nvarchar(2048)", maxLength: 2048, nullable: false), - FilesJson = table.Column(type: "nvarchar(max)", nullable: true), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_T_Note", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Sas_T_ReportCategory", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Name = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), - Description = table.Column(type: "nvarchar(max)", maxLength: 4096, nullable: true), - Icon = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_T_ReportCategory", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "Sas_T_Sector", - columns: table => new - { - Id = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_T_Sector", x => x.Id); - }); - migrationBuilder.CreateTable( name: "Sas_T_SqlFunction", columns: table => new @@ -1593,34 +1621,6 @@ namespace Sozsoft.Platform.Migrations table.PrimaryKey("PK_Sas_T_SqlStoredProcedure", x => x.Id); }); - migrationBuilder.CreateTable( - name: "Sas_T_SqlTable", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Menu = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - DisplayName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - TableName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Description = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), - IsActive = table.Column(type: "bit", nullable: false), - IsFullAuditedEntity = table.Column(type: "bit", nullable: false), - IsMultiTenant = table.Column(type: "bit", nullable: false), - EndpointStatus = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_T_SqlTable", x => x.Id); - }); - migrationBuilder.CreateTable( name: "Sas_T_SqlView", columns: table => new @@ -1883,6 +1883,37 @@ namespace Sozsoft.Platform.Migrations onDelete: ReferentialAction.Cascade); }); + migrationBuilder.CreateTable( + name: "Adm_H_Country", + columns: table => new + { + Id = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + GroupName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + Currency = table.Column(type: "nvarchar(8)", maxLength: 8, nullable: false), + PhoneCode = table.Column(type: "int", nullable: false), + TaxLabel = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + ZipRequired = table.Column(type: "bit", nullable: false), + StateRequired = table.Column(type: "bit", nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_H_Country", x => x.Id); + table.ForeignKey( + name: "FK_Adm_H_Country_Adm_H_CountryGroup_GroupName", + column: x => x.GroupName, + principalTable: "Adm_H_CountryGroup", + principalColumn: "Name", + onDelete: ReferentialAction.Restrict); + }); + migrationBuilder.CreateTable( name: "Adm_T_BlogPost", columns: table => new @@ -1952,6 +1983,36 @@ namespace Sozsoft.Platform.Migrations onDelete: ReferentialAction.Cascade); }); + migrationBuilder.CreateTable( + name: "Adm_T_ReportTemplate", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + Name = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), + Description = table.Column(type: "nvarchar(1024)", maxLength: 1024, nullable: true), + HtmlContent = table.Column(type: "nvarchar(max)", nullable: false), + CategoryId = table.Column(type: "uniqueidentifier", nullable: false), + Status = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_T_ReportTemplate", x => x.Id); + table.ForeignKey( + name: "FK_Adm_T_ReportTemplate_Adm_T_ReportCategory_CategoryId", + column: x => x.CategoryId, + principalTable: "Adm_T_ReportCategory", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + migrationBuilder.CreateTable( name: "Adm_T_Skill", columns: table => new @@ -2008,6 +2069,71 @@ namespace Sozsoft.Platform.Migrations onDelete: ReferentialAction.Cascade); }); + migrationBuilder.CreateTable( + name: "Adm_T_CrudEndpoint", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + EntityName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Method = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), + Path = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), + OperationType = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + CsharpCode = table.Column(type: "nvarchar(max)", nullable: false), + IsActive = table.Column(type: "bit", nullable: false), + EntityId = table.Column(type: "uniqueidentifier", nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_T_CrudEndpoint", x => x.Id); + table.ForeignKey( + name: "FK_Adm_T_CrudEndpoint_Adm_T_SqlTable_EntityId", + column: x => x.EntityId, + principalTable: "Adm_T_SqlTable", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "Adm_T_SqlTableField", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + EntityId = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Type = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + IsRequired = table.Column(type: "bit", nullable: false), + MaxLength = table.Column(type: "int", nullable: true), + IsUnique = table.Column(type: "bit", nullable: false), + DefaultValue = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), + Description = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), + DisplayOrder = table.Column(type: "int", nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_T_SqlTableField", x => x.Id); + table.ForeignKey( + name: "FK_Adm_T_SqlTableField_Adm_T_SqlTable_EntityId", + column: x => x.EntityId, + principalTable: "Adm_T_SqlTable", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + migrationBuilder.CreateTable( name: "Adm_T_Uom", columns: table => new @@ -2065,7 +2191,7 @@ namespace Sozsoft.Platform.Migrations }); migrationBuilder.CreateTable( - name: "Plat_H_BackgroundWorker_MailQueue", + name: "Sas_H_BackgroundWorker_MailQueue", columns: table => new { Id = table.Column(type: "uniqueidentifier", nullable: false), @@ -2091,114 +2217,16 @@ namespace Sozsoft.Platform.Migrations }, constraints: table => { - table.PrimaryKey("PK_Plat_H_BackgroundWorker_MailQueue", x => x.Id); - table.UniqueConstraint("AK_Plat_H_BackgroundWorker_MailQueue_AwsMessageId", x => x.AwsMessageId); + table.PrimaryKey("PK_Sas_H_BackgroundWorker_MailQueue", x => x.Id); + table.UniqueConstraint("AK_Sas_H_BackgroundWorker_MailQueue_AwsMessageId", x => x.AwsMessageId); table.ForeignKey( - name: "FK_Plat_H_BackgroundWorker_MailQueue_Plat_H_BackgroundWorker_MailQueueTableFormat_TableName", + name: "FK_Sas_H_BackgroundWorker_MailQueue_Sas_H_BackgroundWorker_MailQueueTableFormat_TableName", column: x => x.TableName, - principalTable: "Plat_H_BackgroundWorker_MailQueueTableFormat", + principalTable: "Sas_H_BackgroundWorker_MailQueueTableFormat", principalColumn: "TableName", onDelete: ReferentialAction.Cascade); }); - migrationBuilder.CreateTable( - name: "Plat_H_LanguageText", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - CultureName = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), - Key = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - ResourceName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - Value = table.Column(type: "nvarchar(max)", maxLength: 4096, nullable: false), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Plat_H_LanguageText", x => x.Id); - table.ForeignKey( - name: "FK_Plat_H_LanguageText_Plat_H_LanguageKey_ResourceName_Key", - columns: x => new { x.ResourceName, x.Key }, - principalTable: "Plat_H_LanguageKey", - principalColumns: new[] { "ResourceName", "Key" }, - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_Plat_H_LanguageText_Plat_H_Language_CultureName", - column: x => x.CultureName, - principalTable: "Plat_H_Language", - principalColumn: "CultureName", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Plat_H_Notification", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - NotificationRuleId = table.Column(type: "uniqueidentifier", nullable: false), - NotificationChannel = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), - NotificationType = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Identifier = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), - UserId = table.Column(type: "uniqueidentifier", nullable: true), - Message = table.Column(type: "nvarchar(2048)", maxLength: 2048, nullable: false), - IsSent = table.Column(type: "bit", nullable: false), - IsRead = table.Column(type: "bit", nullable: false), - ReadTime = table.Column(type: "datetime2", nullable: true), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Plat_H_Notification", x => x.Id); - table.ForeignKey( - name: "FK_Plat_H_Notification_Plat_H_NotificationRule_NotificationRuleId", - column: x => x.NotificationRuleId, - principalTable: "Plat_H_NotificationRule", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Sas_H_Country", - columns: table => new - { - Id = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - GroupName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - Currency = table.Column(type: "nvarchar(8)", maxLength: 8, nullable: false), - PhoneCode = table.Column(type: "int", nullable: false), - TaxLabel = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), - ZipRequired = table.Column(type: "bit", nullable: false), - StateRequired = table.Column(type: "bit", nullable: false), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_H_Country", x => x.Id); - table.ForeignKey( - name: "FK_Sas_H_Country_Sas_H_CountryGroup_GroupName", - column: x => x.GroupName, - principalTable: "Sas_H_CountryGroup", - principalColumn: "Name", - onDelete: ReferentialAction.Restrict); - }); - migrationBuilder.CreateTable( name: "Sas_H_ForumTopic", columns: table => new @@ -2239,6 +2267,40 @@ namespace Sozsoft.Platform.Migrations onDelete: ReferentialAction.Restrict); }); + migrationBuilder.CreateTable( + name: "Sas_H_LanguageText", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + CultureName = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), + Key = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + ResourceName = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), + Value = table.Column(type: "nvarchar(max)", maxLength: 4096, nullable: false), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Sas_H_LanguageText", x => x.Id); + table.ForeignKey( + name: "FK_Sas_H_LanguageText_Sas_H_LanguageKey_ResourceName_Key", + columns: x => new { x.ResourceName, x.Key }, + principalTable: "Sas_H_LanguageKey", + principalColumns: new[] { "ResourceName", "Key" }, + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_Sas_H_LanguageText_Sas_H_Language_CultureName", + column: x => x.CultureName, + principalTable: "Sas_H_Language", + principalColumn: "CultureName", + onDelete: ReferentialAction.Cascade); + }); + migrationBuilder.CreateTable( name: "Sas_H_ListFormCustomization", columns: table => new @@ -2354,6 +2416,39 @@ namespace Sozsoft.Platform.Migrations onDelete: ReferentialAction.Cascade); }); + migrationBuilder.CreateTable( + name: "Sas_H_Notification", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + NotificationRuleId = table.Column(type: "uniqueidentifier", nullable: false), + NotificationChannel = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + NotificationType = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + Identifier = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), + UserId = table.Column(type: "uniqueidentifier", nullable: true), + Message = table.Column(type: "nvarchar(2048)", maxLength: 2048, nullable: false), + IsSent = table.Column(type: "bit", nullable: false), + IsRead = table.Column(type: "bit", nullable: false), + ReadTime = table.Column(type: "datetime2", nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Sas_H_Notification", x => x.Id); + table.ForeignKey( + name: "FK_Sas_H_Notification_Sas_H_NotificationRule_NotificationRuleId", + column: x => x.NotificationRuleId, + principalTable: "Sas_H_NotificationRule", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + migrationBuilder.CreateTable( name: "Sas_T_BranchUsers", columns: table => new @@ -2374,101 +2469,6 @@ namespace Sozsoft.Platform.Migrations onDelete: ReferentialAction.Restrict); }); - migrationBuilder.CreateTable( - name: "Sas_T_ReportTemplate", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Name = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), - Description = table.Column(type: "nvarchar(1024)", maxLength: 1024, nullable: true), - HtmlContent = table.Column(type: "nvarchar(max)", nullable: false), - CategoryId = table.Column(type: "uniqueidentifier", nullable: false), - Status = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_T_ReportTemplate", x => x.Id); - table.ForeignKey( - name: "FK_Sas_T_ReportTemplate_Sas_T_ReportCategory_CategoryId", - column: x => x.CategoryId, - principalTable: "Sas_T_ReportCategory", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Sas_T_CrudEndpoint", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - EntityName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Method = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), - Path = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), - OperationType = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), - CsharpCode = table.Column(type: "nvarchar(max)", nullable: false), - IsActive = table.Column(type: "bit", nullable: false), - EntityId = table.Column(type: "uniqueidentifier", nullable: false), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_T_CrudEndpoint", x => x.Id); - table.ForeignKey( - name: "FK_Sas_T_CrudEndpoint_Sas_T_SqlTable_EntityId", - column: x => x.EntityId, - principalTable: "Sas_T_SqlTable", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "Sas_T_SqlTableField", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - EntityId = table.Column(type: "uniqueidentifier", nullable: false), - Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - Type = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), - IsRequired = table.Column(type: "bit", nullable: false), - MaxLength = table.Column(type: "int", nullable: true), - IsUnique = table.Column(type: "bit", nullable: false), - DefaultValue = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), - Description = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true), - DisplayOrder = table.Column(type: "int", nullable: false), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_T_SqlTableField", x => x.Id); - table.ForeignKey( - name: "FK_Sas_T_SqlTableField_Sas_T_SqlTable_EntityId", - column: x => x.EntityId, - principalTable: "Sas_T_SqlTable", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - migrationBuilder.CreateTable( name: "AbpEntityPropertyChanges", columns: table => new @@ -2492,6 +2492,33 @@ namespace Sozsoft.Platform.Migrations onDelete: ReferentialAction.Cascade); }); + migrationBuilder.CreateTable( + name: "Adm_H_City", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Country = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), + Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), + PlateCode = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), + CountryId = table.Column(type: "nvarchar(128)", nullable: true), + CreationTime = table.Column(type: "datetime2", nullable: false), + CreatorId = table.Column(type: "uniqueidentifier", nullable: true), + LastModificationTime = table.Column(type: "datetime2", nullable: true), + LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uniqueidentifier", nullable: true), + DeletionTime = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Adm_H_City", x => x.Id); + table.ForeignKey( + name: "FK_Adm_H_City_Adm_H_Country_CountryId", + column: x => x.CountryId, + principalTable: "Adm_H_Country", + principalColumn: "Id"); + }); + migrationBuilder.CreateTable( name: "OpenIddictTokens", columns: table => new @@ -2527,7 +2554,7 @@ namespace Sozsoft.Platform.Migrations }); migrationBuilder.CreateTable( - name: "Plat_H_BackgroundWorker_MailQueueEvents", + name: "Sas_H_BackgroundWorker_MailQueueEvents", columns: table => new { Id = table.Column(type: "uniqueidentifier", nullable: false), @@ -2546,42 +2573,15 @@ namespace Sozsoft.Platform.Migrations }, constraints: table => { - table.PrimaryKey("PK_Plat_H_BackgroundWorker_MailQueueEvents", x => x.Id); + table.PrimaryKey("PK_Sas_H_BackgroundWorker_MailQueueEvents", x => x.Id); table.ForeignKey( - name: "FK_Plat_H_BackgroundWorker_MailQueueEvents_Plat_H_BackgroundWorker_MailQueue_AwsMessageId", + name: "FK_Sas_H_BackgroundWorker_MailQueueEvents_Sas_H_BackgroundWorker_MailQueue_AwsMessageId", column: x => x.AwsMessageId, - principalTable: "Plat_H_BackgroundWorker_MailQueue", + principalTable: "Sas_H_BackgroundWorker_MailQueue", principalColumn: "AwsMessageId", onDelete: ReferentialAction.Cascade); }); - migrationBuilder.CreateTable( - name: "Sas_H_City", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - Country = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true), - Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), - PlateCode = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), - CountryId = table.Column(type: "nvarchar(128)", nullable: true), - CreationTime = table.Column(type: "datetime2", nullable: false), - CreatorId = table.Column(type: "uniqueidentifier", nullable: true), - LastModificationTime = table.Column(type: "datetime2", nullable: true), - LastModifierId = table.Column(type: "uniqueidentifier", nullable: true), - IsDeleted = table.Column(type: "bit", nullable: false, defaultValue: false), - DeleterId = table.Column(type: "uniqueidentifier", nullable: true), - DeletionTime = table.Column(type: "datetime2", nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_Sas_H_City", x => x.Id); - table.ForeignKey( - name: "FK_Sas_H_City_Sas_H_Country_CountryId", - column: x => x.CountryId, - principalTable: "Sas_H_Country", - principalColumn: "Id"); - }); - migrationBuilder.CreateTable( name: "Sas_H_ForumPost", columns: table => new @@ -2653,7 +2653,7 @@ namespace Sozsoft.Platform.Migrations }); migrationBuilder.CreateTable( - name: "Sas_H_District", + name: "Adm_H_District", columns: table => new { Id = table.Column(type: "uniqueidentifier", nullable: false), @@ -2672,11 +2672,11 @@ namespace Sozsoft.Platform.Migrations }, constraints: table => { - table.PrimaryKey("PK_Sas_H_District", x => x.Id); + table.PrimaryKey("PK_Adm_H_District", x => x.Id); table.ForeignKey( - name: "FK_Sas_H_District_Sas_H_City_CityId", + name: "FK_Adm_H_District_Adm_H_City_CityId", column: x => x.CityId, - principalTable: "Sas_H_City", + principalTable: "Adm_H_City", principalColumn: "Id"); }); @@ -2898,6 +2898,53 @@ namespace Sozsoft.Platform.Migrations table: "AbpUsers", column: "UserName"); + migrationBuilder.CreateIndex( + name: "IX_Adm_H_City_Country_Name", + table: "Adm_H_City", + columns: new[] { "Country", "Name" }, + unique: true, + filter: "[Country] IS NOT NULL"); + + migrationBuilder.CreateIndex( + name: "IX_Adm_H_City_CountryId", + table: "Adm_H_City", + column: "CountryId"); + + migrationBuilder.CreateIndex( + name: "IX_Adm_H_Country_GroupName", + table: "Adm_H_Country", + column: "GroupName"); + + migrationBuilder.CreateIndex( + name: "IX_Adm_H_Country_Name", + table: "Adm_H_Country", + column: "Name", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_Adm_H_CountryGroup_Name", + table: "Adm_H_CountryGroup", + column: "Name", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_Adm_H_District_CityId", + table: "Adm_H_District", + column: "CityId"); + + migrationBuilder.CreateIndex( + name: "IX_Adm_H_District_Country_City_Name_Township", + table: "Adm_H_District", + columns: new[] { "Country", "City", "Name", "Township" }, + unique: true, + filter: "[Country] IS NOT NULL AND [Township] IS NOT NULL"); + + migrationBuilder.CreateIndex( + name: "IX_Adm_H_Route_Key", + table: "Adm_H_Route", + column: "Key", + unique: true); + migrationBuilder.CreateIndex( name: "IX_Adm_T_BlogCategory_Slug", table: "Adm_T_BlogCategory", @@ -2923,11 +2970,21 @@ namespace Sozsoft.Platform.Migrations table: "Adm_T_BlogPost", column: "Slug"); + migrationBuilder.CreateIndex( + name: "IX_Adm_T_CrudEndpoint_EntityId", + table: "Adm_T_CrudEndpoint", + column: "EntityId"); + migrationBuilder.CreateIndex( name: "IX_Adm_T_OrderItem_OrderId", table: "Adm_T_OrderItem", column: "OrderId"); + migrationBuilder.CreateIndex( + name: "IX_Adm_T_ReportTemplate_CategoryId", + table: "Adm_T_ReportTemplate", + column: "CategoryId"); + migrationBuilder.CreateIndex( name: "IX_Adm_T_Skill_SkillTypeId", table: "Adm_T_Skill", @@ -2938,6 +2995,11 @@ namespace Sozsoft.Platform.Migrations table: "Adm_T_SkillLevel", column: "SkillTypeId"); + migrationBuilder.CreateIndex( + name: "IX_Adm_T_SqlTableField_EntityId", + table: "Adm_T_SqlTableField", + column: "EntityId"); + migrationBuilder.CreateIndex( name: "IX_Adm_T_Uom_UomCategoryId", table: "Adm_T_Uom", @@ -2974,83 +3036,21 @@ namespace Sozsoft.Platform.Migrations column: "ReferenceId"); migrationBuilder.CreateIndex( - name: "IX_Plat_H_BackgroundWorker_MailQueue_TableName", - table: "Plat_H_BackgroundWorker_MailQueue", + name: "IX_Sas_H_BackgroundWorker_MailQueue_TableName", + table: "Sas_H_BackgroundWorker_MailQueue", column: "TableName"); migrationBuilder.CreateIndex( - name: "IX_Plat_H_BackgroundWorker_MailQueueEvents_AwsMessageId", - table: "Plat_H_BackgroundWorker_MailQueueEvents", + name: "IX_Sas_H_BackgroundWorker_MailQueueEvents_AwsMessageId", + table: "Sas_H_BackgroundWorker_MailQueueEvents", column: "AwsMessageId"); migrationBuilder.CreateIndex( name: "IX_MailQueueTableFormat", - table: "Plat_H_BackgroundWorker_MailQueueTableFormat", + table: "Sas_H_BackgroundWorker_MailQueueTableFormat", columns: new[] { "TableName", "Order" }, unique: true); - migrationBuilder.CreateIndex( - name: "IX_Plat_H_LanguageKey_ResourceName_Key", - table: "Plat_H_LanguageKey", - columns: new[] { "ResourceName", "Key" }, - unique: true); - - migrationBuilder.CreateIndex( - name: "IX_Plat_H_LanguageText_CultureName", - table: "Plat_H_LanguageText", - column: "CultureName"); - - migrationBuilder.CreateIndex( - name: "IX_Plat_H_LanguageText_ResourceName_Key", - table: "Plat_H_LanguageText", - columns: new[] { "ResourceName", "Key" }); - - migrationBuilder.CreateIndex( - name: "IX_Plat_H_Notification_NotificationRuleId", - table: "Plat_H_Notification", - column: "NotificationRuleId"); - - migrationBuilder.CreateIndex( - name: "IX_Sas_H_City_Country_Name", - table: "Sas_H_City", - columns: new[] { "Country", "Name" }, - unique: true, - filter: "[Country] IS NOT NULL"); - - migrationBuilder.CreateIndex( - name: "IX_Sas_H_City_CountryId", - table: "Sas_H_City", - column: "CountryId"); - - migrationBuilder.CreateIndex( - name: "IX_Sas_H_Country_GroupName", - table: "Sas_H_Country", - column: "GroupName"); - - migrationBuilder.CreateIndex( - name: "IX_Sas_H_Country_Name", - table: "Sas_H_Country", - column: "Name", - unique: true); - - migrationBuilder.CreateIndex( - name: "IX_Sas_H_CountryGroup_Name", - table: "Sas_H_CountryGroup", - column: "Name", - unique: true); - - migrationBuilder.CreateIndex( - name: "IX_Sas_H_District_CityId", - table: "Sas_H_District", - column: "CityId"); - - migrationBuilder.CreateIndex( - name: "IX_Sas_H_District_Country_City_Name_Township", - table: "Sas_H_District", - columns: new[] { "Country", "City", "Name", "Township" }, - unique: true, - filter: "[Country] IS NOT NULL AND [Township] IS NOT NULL"); - migrationBuilder.CreateIndex( name: "IX_Sas_H_ForumCategory_DisplayOrder", table: "Sas_H_ForumCategory", @@ -3081,6 +3081,22 @@ namespace Sozsoft.Platform.Migrations table: "Sas_H_ForumTopic", column: "LastPostDate"); + migrationBuilder.CreateIndex( + name: "IX_Sas_H_LanguageKey_ResourceName_Key", + table: "Sas_H_LanguageKey", + columns: new[] { "ResourceName", "Key" }, + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_Sas_H_LanguageText_CultureName", + table: "Sas_H_LanguageText", + column: "CultureName"); + + migrationBuilder.CreateIndex( + name: "IX_Sas_H_LanguageText_ResourceName_Key", + table: "Sas_H_LanguageText", + columns: new[] { "ResourceName", "Key" }); + migrationBuilder.CreateIndex( name: "IX_Sas_H_ListFormCustomization_ListFormCode", table: "Sas_H_ListFormCustomization", @@ -3102,26 +3118,15 @@ namespace Sozsoft.Platform.Migrations column: "ImportId"); migrationBuilder.CreateIndex( - name: "IX_Sas_H_Route_Key", - table: "Sas_H_Route", - column: "Key", - unique: true); + name: "IX_Sas_H_Notification_NotificationRuleId", + table: "Sas_H_Notification", + column: "NotificationRuleId"); migrationBuilder.CreateIndex( name: "IX_Sas_T_BranchUsers_BranchId", table: "Sas_T_BranchUsers", column: "BranchId"); - migrationBuilder.CreateIndex( - name: "IX_Sas_T_CrudEndpoint_EntityId", - table: "Sas_T_CrudEndpoint", - column: "EntityId"); - - migrationBuilder.CreateIndex( - name: "IX_Sas_T_ReportTemplate_CategoryId", - table: "Sas_T_ReportTemplate", - column: "CategoryId"); - migrationBuilder.CreateIndex( name: "IX_Sas_T_SqlFunction_DataSourceCode", table: "Sas_T_SqlFunction", @@ -3187,11 +3192,6 @@ namespace Sozsoft.Platform.Migrations table: "Sas_T_SqlStoredProcedure", column: "Status"); - migrationBuilder.CreateIndex( - name: "IX_Sas_T_SqlTableField_EntityId", - table: "Sas_T_SqlTableField", - column: "EntityId"); - migrationBuilder.CreateIndex( name: "IX_Sas_T_SqlView_DataSourceCode", table: "Sas_T_SqlView", @@ -3288,6 +3288,21 @@ namespace Sozsoft.Platform.Migrations migrationBuilder.DropTable( name: "AbpUserTokens"); + migrationBuilder.DropTable( + name: "Adm_H_ContactTitle"); + + migrationBuilder.DropTable( + name: "Adm_H_Currency"); + + migrationBuilder.DropTable( + name: "Adm_H_District"); + + migrationBuilder.DropTable( + name: "Adm_H_Menu"); + + migrationBuilder.DropTable( + name: "Adm_H_Route"); + migrationBuilder.DropTable( name: "Adm_T_About"); @@ -3297,12 +3312,27 @@ namespace Sozsoft.Platform.Migrations migrationBuilder.DropTable( name: "Adm_T_Contact"); + migrationBuilder.DropTable( + name: "Adm_T_CrudEndpoint"); + + migrationBuilder.DropTable( + name: "Adm_T_CustomComponent"); + + migrationBuilder.DropTable( + name: "Adm_T_CustomEndpoint"); + migrationBuilder.DropTable( name: "Adm_T_Demo"); + migrationBuilder.DropTable( + name: "Adm_T_DynamicService"); + migrationBuilder.DropTable( name: "Adm_T_InstallmentOption"); + migrationBuilder.DropTable( + name: "Adm_T_Note"); + migrationBuilder.DropTable( name: "Adm_T_OrderItem"); @@ -3312,6 +3342,12 @@ namespace Sozsoft.Platform.Migrations migrationBuilder.DropTable( name: "Adm_T_Product"); + migrationBuilder.DropTable( + name: "Adm_T_ReportTemplate"); + + migrationBuilder.DropTable( + name: "Adm_T_Sector"); + migrationBuilder.DropTable( name: "Adm_T_Service"); @@ -3321,6 +3357,9 @@ namespace Sozsoft.Platform.Migrations migrationBuilder.DropTable( name: "Adm_T_SkillLevel"); + migrationBuilder.DropTable( + name: "Adm_T_SqlTableField"); + migrationBuilder.DropTable( name: "Adm_T_Uom"); @@ -3334,40 +3373,22 @@ namespace Sozsoft.Platform.Migrations name: "OpenIddictTokens"); migrationBuilder.DropTable( - name: "Plat_H_AiBot"); + name: "Sas_H_AiBot"); migrationBuilder.DropTable( - name: "Plat_H_BackgroundWorker"); + name: "Sas_H_BackgroundWorker"); migrationBuilder.DropTable( - name: "Plat_H_BackgroundWorker_MailQueueEvents"); - - migrationBuilder.DropTable( - name: "Plat_H_LanguageText"); - - migrationBuilder.DropTable( - name: "Plat_H_LogEntry"); - - migrationBuilder.DropTable( - name: "Plat_H_Notification"); - - migrationBuilder.DropTable( - name: "Plat_H_SettingDefinition"); - - migrationBuilder.DropTable( - name: "Sas_H_ContactTitle"); - - migrationBuilder.DropTable( - name: "Sas_H_Currency"); + name: "Sas_H_BackgroundWorker_MailQueueEvents"); migrationBuilder.DropTable( name: "Sas_H_DataSource"); migrationBuilder.DropTable( - name: "Sas_H_District"); + name: "Sas_H_ForumPost"); migrationBuilder.DropTable( - name: "Sas_H_ForumPost"); + name: "Sas_H_LanguageText"); migrationBuilder.DropTable( name: "Sas_H_ListFormCustomization"); @@ -3379,41 +3400,23 @@ namespace Sozsoft.Platform.Migrations name: "Sas_H_ListFormImportExecute"); migrationBuilder.DropTable( - name: "Sas_H_Menu"); + name: "Sas_H_LogEntry"); migrationBuilder.DropTable( - name: "Sas_H_Route"); + name: "Sas_H_Notification"); + + migrationBuilder.DropTable( + name: "Sas_H_SettingDefinition"); migrationBuilder.DropTable( name: "Sas_T_BranchUsers"); - migrationBuilder.DropTable( - name: "Sas_T_CrudEndpoint"); - - migrationBuilder.DropTable( - name: "Sas_T_CustomComponent"); - - migrationBuilder.DropTable( - name: "Sas_T_CustomEndpoint"); - - migrationBuilder.DropTable( - name: "Sas_T_DynamicService"); - migrationBuilder.DropTable( name: "Sas_T_GlobalSearch"); migrationBuilder.DropTable( name: "Sas_T_IpRestriction"); - migrationBuilder.DropTable( - name: "Sas_T_Note"); - - migrationBuilder.DropTable( - name: "Sas_T_ReportTemplate"); - - migrationBuilder.DropTable( - name: "Sas_T_Sector"); - migrationBuilder.DropTable( name: "Sas_T_SqlFunction"); @@ -3423,9 +3426,6 @@ namespace Sozsoft.Platform.Migrations migrationBuilder.DropTable( name: "Sas_T_SqlStoredProcedure"); - migrationBuilder.DropTable( - name: "Sas_T_SqlTableField"); - migrationBuilder.DropTable( name: "Sas_T_SqlView"); @@ -3444,15 +3444,24 @@ namespace Sozsoft.Platform.Migrations migrationBuilder.DropTable( name: "AbpUsers"); + migrationBuilder.DropTable( + name: "Adm_H_City"); + migrationBuilder.DropTable( name: "Adm_T_BlogCategory"); migrationBuilder.DropTable( name: "Adm_T_Order"); + migrationBuilder.DropTable( + name: "Adm_T_ReportCategory"); + migrationBuilder.DropTable( name: "Adm_T_SkillType"); + migrationBuilder.DropTable( + name: "Adm_T_SqlTable"); + migrationBuilder.DropTable( name: "Adm_T_UomCategory"); @@ -3460,46 +3469,37 @@ namespace Sozsoft.Platform.Migrations name: "OpenIddictAuthorizations"); migrationBuilder.DropTable( - name: "Plat_H_BackgroundWorker_MailQueue"); - - migrationBuilder.DropTable( - name: "Plat_H_LanguageKey"); - - migrationBuilder.DropTable( - name: "Plat_H_Language"); - - migrationBuilder.DropTable( - name: "Plat_H_NotificationRule"); - - migrationBuilder.DropTable( - name: "Sas_H_City"); + name: "Sas_H_BackgroundWorker_MailQueue"); migrationBuilder.DropTable( name: "Sas_H_ForumTopic"); + migrationBuilder.DropTable( + name: "Sas_H_LanguageKey"); + + migrationBuilder.DropTable( + name: "Sas_H_Language"); + migrationBuilder.DropTable( name: "Sas_H_ListFormImport"); + migrationBuilder.DropTable( + name: "Sas_H_NotificationRule"); + migrationBuilder.DropTable( name: "Sas_T_Branch"); - migrationBuilder.DropTable( - name: "Sas_T_ReportCategory"); - - migrationBuilder.DropTable( - name: "Sas_T_SqlTable"); - migrationBuilder.DropTable( name: "AbpAuditLogs"); + migrationBuilder.DropTable( + name: "Adm_H_Country"); + migrationBuilder.DropTable( name: "OpenIddictApplications"); migrationBuilder.DropTable( - name: "Plat_H_BackgroundWorker_MailQueueTableFormat"); - - migrationBuilder.DropTable( - name: "Sas_H_Country"); + name: "Sas_H_BackgroundWorker_MailQueueTableFormat"); migrationBuilder.DropTable( name: "Sas_H_ForumCategory"); @@ -3508,7 +3508,7 @@ namespace Sozsoft.Platform.Migrations name: "Sas_H_ListForm"); migrationBuilder.DropTable( - name: "Sas_H_CountryGroup"); + name: "Adm_H_CountryGroup"); } } } diff --git a/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs b/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs index bf88778..6375549 100644 --- a/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs +++ b/api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs @@ -85,7 +85,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_Language", (string)null); + b.ToTable("Sas_H_Language", (string)null); }); modelBuilder.Entity("Sozsoft.Languages.Entities.LanguageKey", b => @@ -139,7 +139,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("ResourceName", "Key") .IsUnique(); - b.ToTable("Plat_H_LanguageKey", (string)null); + b.ToTable("Sas_H_LanguageKey", (string)null); }); modelBuilder.Entity("Sozsoft.Languages.Entities.LanguageText", b => @@ -202,7 +202,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("ResourceName", "Key"); - b.ToTable("Plat_H_LanguageText", (string)null); + b.ToTable("Sas_H_LanguageText", (string)null); }); modelBuilder.Entity("Sozsoft.MailQueue.Domain.Entities.BackgroundWorker_MailQueue", b => @@ -293,7 +293,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("TableName"); - b.ToTable("Plat_H_BackgroundWorker_MailQueue", (string)null); + b.ToTable("Sas_H_BackgroundWorker_MailQueue", (string)null); }); modelBuilder.Entity("Sozsoft.MailQueue.Domain.Entities.BackgroundWorker_MailQueueEvents", b => @@ -355,7 +355,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("AwsMessageId"); - b.ToTable("Plat_H_BackgroundWorker_MailQueueEvents", (string)null); + b.ToTable("Sas_H_BackgroundWorker_MailQueueEvents", (string)null); }); modelBuilder.Entity("Sozsoft.MailQueue.Domain.Entities.BackgroundWorker_MailQueueTableFormat", b => @@ -421,7 +421,7 @@ namespace Sozsoft.Platform.Migrations .IsUnique() .HasDatabaseName("IX_MailQueueTableFormat"); - b.ToTable("Plat_H_BackgroundWorker_MailQueueTableFormat", (string)null); + b.ToTable("Sas_H_BackgroundWorker_MailQueueTableFormat", (string)null); }); modelBuilder.Entity("Sozsoft.Notifications.Entities.Notification", b => @@ -499,7 +499,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("NotificationRuleId"); - b.ToTable("Plat_H_Notification", (string)null); + b.ToTable("Sas_H_Notification", (string)null); }); modelBuilder.Entity("Sozsoft.Notifications.Entities.NotificationRule", b => @@ -568,7 +568,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_NotificationRule", (string)null); + b.ToTable("Sas_H_NotificationRule", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.About", b => @@ -647,7 +647,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_AiBot", (string)null); + b.ToTable("Sas_H_AiBot", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.BackgroundWorker", b => @@ -720,7 +720,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_BackgroundWorker", (string)null); + b.ToTable("Sas_H_BackgroundWorker", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.BlogCategory", b => @@ -1095,7 +1095,7 @@ namespace Sozsoft.Platform.Migrations .IsUnique() .HasFilter("[Country] IS NOT NULL"); - b.ToTable("Sas_H_City", (string)null); + b.ToTable("Adm_H_City", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Contact", b => @@ -1216,7 +1216,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_H_ContactTitle", (string)null); + b.ToTable("Adm_H_ContactTitle", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Country", b => @@ -1289,7 +1289,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("Name") .IsUnique(); - b.ToTable("Sas_H_Country", (string)null); + b.ToTable("Adm_H_Country", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.CountryGroup", b => @@ -1337,7 +1337,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("Name") .IsUnique(); - b.ToTable("Sas_H_CountryGroup", (string)null); + b.ToTable("Adm_H_CountryGroup", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.CrudEndpoint", b => @@ -1413,7 +1413,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("EntityId"); - b.ToTable("Sas_T_CrudEndpoint", (string)null); + b.ToTable("Adm_T_CrudEndpoint", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Currency", b => @@ -1475,7 +1475,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_H_Currency", (string)null); + b.ToTable("Adm_H_Currency", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.CustomComponent", b => @@ -1543,7 +1543,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_CustomComponent", (string)null); + b.ToTable("Adm_T_CustomComponent", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.CustomEndpoint", b => @@ -1621,7 +1621,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_CustomEndpoint", (string)null); + b.ToTable("Adm_T_CustomEndpoint", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.DataSource", b => @@ -1820,7 +1820,7 @@ namespace Sozsoft.Platform.Migrations .IsUnique() .HasFilter("[Country] IS NOT NULL AND [Township] IS NOT NULL"); - b.ToTable("Sas_H_District", (string)null); + b.ToTable("Adm_H_District", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.DynamicService", b => @@ -1914,7 +1914,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_DynamicService", (string)null); + b.ToTable("Adm_T_DynamicService", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.GlobalSearch", b => @@ -2784,7 +2784,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_LogEntry", (string)null); + b.ToTable("Sas_H_LogEntry", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Menu", b => @@ -2887,7 +2887,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_H_Menu", (string)null); + b.ToTable("Adm_H_Menu", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Note", b => @@ -2959,7 +2959,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_Note", (string)null); + b.ToTable("Adm_T_Note", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Order", b => @@ -3350,7 +3350,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_ReportCategory", (string)null); + b.ToTable("Adm_T_ReportCategory", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.ReportTemplate", b => @@ -3416,7 +3416,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("CategoryId"); - b.ToTable("Sas_T_ReportTemplate", (string)null); + b.ToTable("Adm_T_ReportTemplate", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Route", b => @@ -3485,7 +3485,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("Key") .IsUnique(); - b.ToTable("Sas_H_Route", (string)null); + b.ToTable("Adm_H_Route", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Sector", b => @@ -3534,7 +3534,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_Sector", (string)null); + b.ToTable("Adm_T_Sector", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Service", b => @@ -3851,7 +3851,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Sas_T_SqlTable", (string)null); + b.ToTable("Adm_T_SqlTable", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.SqlTableField", b => @@ -3926,7 +3926,7 @@ namespace Sozsoft.Platform.Migrations b.HasIndex("EntityId"); - b.ToTable("Sas_T_SqlTableField", (string)null); + b.ToTable("Adm_T_SqlTableField", (string)null); }); modelBuilder.Entity("Sozsoft.Platform.Entities.Uom", b => @@ -4483,7 +4483,7 @@ namespace Sozsoft.Platform.Migrations b.HasKey("Id"); - b.ToTable("Plat_H_SettingDefinition", (string)null); + b.ToTable("Sas_H_SettingDefinition", (string)null); }); modelBuilder.Entity("Sozsoft.SqlQueryManager.Domain.Entities.SqlFunction", b => diff --git a/ui/src/views/developerKit/SqlTableDesignerDialog.tsx b/ui/src/views/developerKit/SqlTableDesignerDialog.tsx index 9281c64..e0c9b65 100644 --- a/ui/src/views/developerKit/SqlTableDesignerDialog.tsx +++ b/ui/src/views/developerKit/SqlTableDesignerDialog.tsx @@ -602,6 +602,20 @@ const SqlTableDesignerDialog = ({ isFullAudited: match.isFullAuditedEntity, isMultiTenant: match.isMultiTenant, })) + } else { + // Table not registered in developerKit — derive defaults from the table name. + // e.g. "Sas_T_SqlStoredProcedure" → menu: "Sas", entityName/displayName: "SqlStoredProcedure" + const parts = initialTableData.tableName.split('_') + const derivedMenu = parts[0] ?? '' + console.log('Derived menu from table name:', derivedMenu) + const derivedEntity = parts[parts.length - 1] ?? initialTableData.tableName + setSettings((s) => ({ + ...s, + menuValue: derivedMenu, + menuPrefix: derivedMenu, + entityName: derivedEntity, + displayName: derivedEntity, + })) } }) .catch(() => {})