2025-05-06 06:45:49 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using static Kurs.Platform.PlatformConsts;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Kurs.Platform.Data.Seeds;
|
|
|
|
|
|
|
|
|
|
|
|
public static class SeedConsts
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Platform = $"{Prefix.App}.{AppName}";
|
|
|
|
|
|
|
|
|
|
|
|
public static class CRUD
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Create = "Create";
|
|
|
|
|
|
public const string Read = "Read";
|
|
|
|
|
|
public const string Update = "Update";
|
|
|
|
|
|
public const string Delete = "Delete";
|
|
|
|
|
|
public const string Export = "Export";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class AbpIdentity
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = $"{Prefix.Abp}.Identity";
|
|
|
|
|
|
|
|
|
|
|
|
public static class PermissionGroups
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".PermissionGroups";
|
|
|
|
|
|
public const string Create = Default + ".Create";
|
|
|
|
|
|
public const string Update = Default + ".Update";
|
|
|
|
|
|
public const string Delete = Default + ".Delete";
|
|
|
|
|
|
public const string Export = Default + ".Export";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Permissions
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Permissions";
|
|
|
|
|
|
public const string Create = Default + ".Create";
|
|
|
|
|
|
public const string Update = Default + ".Update";
|
|
|
|
|
|
public const string Delete = Default + ".Delete";
|
|
|
|
|
|
public const string Export = Default + ".Export";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Preferences
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Preferences";
|
|
|
|
|
|
public static class Language
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Preferences.Default + ".Language";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Profile
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Profile";
|
|
|
|
|
|
public static class General
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Profile.Default + ".General";
|
|
|
|
|
|
public const string RequireVerifiedAccount = Default + ".RequireVerifiedAccount";
|
|
|
|
|
|
public const string BlacklistedEmailProviders = Default + ".BlacklistedEmailProviders";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Password
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Password";
|
|
|
|
|
|
public const string CurrentPassword = Default + ".CurrentPassword";
|
|
|
|
|
|
public const string NewPassword = Default + ".NewPassword";
|
|
|
|
|
|
public const string ConfirmPassword = Default + ".ConfirmPassword";
|
|
|
|
|
|
public const string RequiredLength = Default + ".RequiredLength";
|
|
|
|
|
|
public const string RequiredUniqueChars = Default + ".RequiredUniqueChars";
|
|
|
|
|
|
public const string RequireNonAlphanumeric = Default + ".RequireNonAlphanumeric";
|
|
|
|
|
|
public const string RequireLowercase = Default + ".RequireLowercase";
|
|
|
|
|
|
public const string RequireUppercase = Default + ".RequireUppercase";
|
|
|
|
|
|
public const string RequireDigit = Default + ".RequireDigit";
|
|
|
|
|
|
public const string PasswordChangePeriodDays = Default + ".PasswordChangePeriodDays";
|
|
|
|
|
|
public const string ForceUsersToPeriodicallyChangePassword = Default + ".ForceUsersToPeriodicallyChangePassword";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Lockout
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Lockout";
|
|
|
|
|
|
public const string AllowedForNewUsers = Default + ".AllowedForNewUsers";
|
|
|
|
|
|
public const string LockoutDuration = Default + ".LockoutDuration";
|
|
|
|
|
|
public const string MaxFailedAccessAttempts = Default + ".MaxFailedAccessAttempts";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class SignIn
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".SignIn";
|
|
|
|
|
|
public const string RequireConfirmedEmail = Default + ".RequireConfirmedEmail";
|
|
|
|
|
|
public const string RequireConfirmedPhoneNumber = Default + ".RequireConfirmedPhoneNumber";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class User
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".User";
|
|
|
|
|
|
public const string IsUserNameUpdateEnabled = Default + ".IsUserNameUpdateEnabled";
|
|
|
|
|
|
public const string IsEmailUpdateEnabled = Default + ".IsEmailUpdateEnabled";
|
|
|
|
|
|
|
|
|
|
|
|
public static class UserInformation
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = User.Default + ".UserInformation";
|
|
|
|
|
|
|
|
|
|
|
|
public const string RoleManagement = Default + ".RoleManagement";
|
|
|
|
|
|
public const string EmailAddress = Default + ".EmailAddress";
|
|
|
|
|
|
public const string Name = Default + ".Name";
|
|
|
|
|
|
public const string Surname = Default + ".Surname";
|
|
|
|
|
|
public const string PhoneNumber = Default + ".PhoneNumber";
|
|
|
|
|
|
public const string PasswordChangeTime = Default + ".PasswordChangeTime";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class LockoutManagement
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = User.Default + ".LockoutManagement";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Active = Default + ".Active";
|
|
|
|
|
|
public const string AdminVerification = Default + ".AdminVerification";
|
|
|
|
|
|
public const string TwoFactorEnabled = Default + ".TwoFactorEnabled";
|
|
|
|
|
|
public const string AccountEndDate = Default + ".AccountEndDate";
|
|
|
|
|
|
public const string AccountLockoutEnabled = Default + ".AccountLockoutEnabled";
|
|
|
|
|
|
public const string AccountLocked = Default + ".AccountLocked";
|
|
|
|
|
|
public const string AccountLockDate = Default + ".AccountLockDate";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public const string NotificationSettings = GroupName + ".NotificationSettings";
|
|
|
|
|
|
|
|
|
|
|
|
public static class ActivityLog
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".ActivityLogs";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Filters = Default + ".Filters";
|
|
|
|
|
|
public const string Channels = Default + ".Channels";
|
|
|
|
|
|
public const string LoadMore = Default + ".LoadMore";
|
|
|
|
|
|
public const string ReceivedAllNotifications = Default + ".ReceivedAllNotifications";
|
|
|
|
|
|
public const string ViewAllActivity = Default + ".ViewAllActivity";
|
|
|
|
|
|
public const string Notifications = Default + ".Notifications";
|
|
|
|
|
|
public const string MarkAllRead = Default + ".MarkAllRead";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class OrganizationUnits
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".OrganizationUnits";
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class AbpAccount
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = $"{Prefix.Abp}.Account";
|
2025-06-11 08:23:27 +00:00
|
|
|
|
|
2025-05-06 06:45:49 +00:00
|
|
|
|
public const string General = GroupName + ".General";
|
|
|
|
|
|
public const string IsSelfRegistrationEnabled = GroupName + ".IsSelfRegistrationEnabled";
|
|
|
|
|
|
public const string EnableLocalLogin = GroupName + ".EnableLocalLogin";
|
|
|
|
|
|
|
|
|
|
|
|
public const string TwoFactor = GroupName + ".TwoFactor";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Captcha
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Captcha";
|
|
|
|
|
|
public const string MaxFailedAccessAttempts = Default + ".MaxFailedAccessAttempts";
|
|
|
|
|
|
public const string EndPoint = Default + ".EndPoint";
|
|
|
|
|
|
public const string SiteKey = Default + ".SiteKey";
|
|
|
|
|
|
public const string SecretKey = Default + ".SecretKey";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class AbpSettings
|
|
|
|
|
|
{
|
|
|
|
|
|
public static class AbpLocalization
|
|
|
|
|
|
{
|
2025-05-26 13:49:39 +00:00
|
|
|
|
public const string GroupName = $"{Prefix.Abp}.Localization";
|
2025-05-06 06:45:49 +00:00
|
|
|
|
|
|
|
|
|
|
public const string DefaultLanguage = GroupName + ".DefaultLanguage";
|
|
|
|
|
|
public const string Timezone = GroupName + ".Timezone";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Mailing
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = $"{Prefix.Abp}.Mailing";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Default
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = Mailing.GroupName + ".Default";
|
|
|
|
|
|
public const string DefaultFromAddress = Mailing.GroupName + ".DefaultFromAddress";
|
|
|
|
|
|
public const string DefaultFromDisplayName = Mailing.GroupName + ".DefaultFromDisplayName";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Smtp
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = Mailing.GroupName + ".Smtp";
|
|
|
|
|
|
public const string Host = GroupName + ".Host";
|
|
|
|
|
|
public const string Port = GroupName + ".Port";
|
|
|
|
|
|
public const string UserName = GroupName + ".UserName";
|
|
|
|
|
|
public const string Password = GroupName + ".Password";
|
|
|
|
|
|
public const string Domain = GroupName + ".Domain";
|
|
|
|
|
|
public const string EnableSsl = GroupName + ".EnableSsl";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class AWS
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = Mailing.GroupName + ".AWS";
|
|
|
|
|
|
public const string Profile = GroupName + ".Profile";
|
|
|
|
|
|
public const string Region = GroupName + ".Region";
|
|
|
|
|
|
public const string AccessKey = GroupName + ".AccessKey";
|
|
|
|
|
|
public const string AccessKeyId = GroupName + ".AccessKeyId";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class SiteManagement
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = $"{Prefix.App}.SiteManagement";
|
|
|
|
|
|
|
|
|
|
|
|
public static class General
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".General";
|
|
|
|
|
|
|
|
|
|
|
|
public const string NewMemberNotificationEmails = Default + ".NewMemberNotificationEmails";
|
|
|
|
|
|
public const string TimedLoginEmails = Default + ".TimedLoginEmails";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Theme
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Theme";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Style
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Theme.Default + ".Style";
|
|
|
|
|
|
|
|
|
|
|
|
public static Dictionary<string, string> Items = new()
|
|
|
|
|
|
{
|
|
|
|
|
|
{ "dx.light",$"{Prefix.App}.Setting.light" },
|
|
|
|
|
|
{ "dx.light.compact", $"{Prefix.App}.Setting.light.compact" },
|
|
|
|
|
|
{ "dx.dark", $"{Prefix.App}.Setting.dark" },
|
|
|
|
|
|
{ "dx.dark.compact", $"{Prefix.App}.Setting.dark.compact" },
|
|
|
|
|
|
{ "dx.contrast", $"{Prefix.App}.Setting.contrast" },
|
|
|
|
|
|
{ "dx.contrast.compact", $"{Prefix.App}.Setting.contrast.compact" },
|
|
|
|
|
|
{ "dx.carmine", $"{Prefix.App}.Setting.carmine" },
|
|
|
|
|
|
{ "dx.darkmoon", $"{Prefix.App}.Setting.darkmoon" },
|
|
|
|
|
|
{ "dx.softblue", $"{Prefix.App}.Setting.softblue" },
|
|
|
|
|
|
{ "dx.darkviolet", $"{Prefix.App}.Setting.darkviolet" },
|
|
|
|
|
|
{ "dx.greenmist", $"{Prefix.App}.Setting.greenmist" },
|
|
|
|
|
|
{ "dx.material.blue.light", $"{Prefix.App}.Setting.material.blue.light" },
|
|
|
|
|
|
{ "dx.material.blue.dark", $"{Prefix.App}.Setting.material.blue.dark" },
|
|
|
|
|
|
{ "dx.material.lime.light",$"{Prefix.App}.Setting.material.lime.light" },
|
|
|
|
|
|
{ "dx.material.lime.dark", $"{Prefix.App}.Setting.material.lime.dark" },
|
|
|
|
|
|
{ "dx.material.orange.light", $"{Prefix.App}.Setting.material.orange.light" },
|
|
|
|
|
|
{ "dx.material.orange.dark", $"{Prefix.App}.Setting.material.orange.dark" },
|
|
|
|
|
|
{ "dx.material.purple.light", $"{Prefix.App}.Setting.material.purple.light" },
|
|
|
|
|
|
{ "dx.material.purple.dark", $"{Prefix.App}.Setting.material.purple.dark" },
|
|
|
|
|
|
{ "dx.material.teal.light", $"{Prefix.App}.Setting.material.teal.light" },
|
|
|
|
|
|
{ "dx.material.teal.dark", $"{Prefix.App}.Setting.material.teal.dark" },
|
|
|
|
|
|
{ "dx.material.blue.light.compact", $"{Prefix.App}.Setting.material.blue.light.compact" },
|
|
|
|
|
|
{ "dx.material.blue.dark.compact", $"{Prefix.App}.Setting.material.blue.dark.compact" },
|
|
|
|
|
|
{ "dx.material.lime.light.compact", $"{Prefix.App}.Setting.material.lime.light.compact" },
|
|
|
|
|
|
{ "dx.material.lime.dark.compact", $"{Prefix.App}.Setting.material.lime.dark.compact" },
|
|
|
|
|
|
{ "dx.material.orange.light.compact",$"{Prefix.App}.Setting.material.orange.light.compact" },
|
|
|
|
|
|
{ "dx.material.orange.dark.compact",$"{Prefix.App}.Setting.material.orange.dark.compact" },
|
|
|
|
|
|
{ "dx.material.purple.light.compact",$"{Prefix.App}.Setting.material.purple.light.compact" },
|
|
|
|
|
|
{ "dx.material.purple.dark.compact",$"{Prefix.App}.Setting.material.purple.dark.compact" },
|
|
|
|
|
|
{ "dx.material.teal.light.compact", $"{Prefix.App}.Setting.material.teal.light.compact" },
|
|
|
|
|
|
{ "dx.material.teal.dark.compact", $"{Prefix.App}.Setting.material.teal.dark.compact" },
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Sender
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = $"{Prefix.App}.Sender";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Sms
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Sms";
|
|
|
|
|
|
|
|
|
|
|
|
public static class PostaGuvercini
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Sms.Default + ".PostaGuvercini";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Url = Default + ".Url";
|
|
|
|
|
|
public const string Username = Default + ".Username";
|
|
|
|
|
|
public const string Password = Default + ".Password";
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Rocket
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Rocket";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Url = Default + ".Url";
|
|
|
|
|
|
public const string UserId = Default + ".UserId";
|
|
|
|
|
|
public const string Token = Default + ".Token";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class WhatsApp
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".WhatsApp";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Url = Default + ".Url";
|
|
|
|
|
|
public const string PhoneNumberId = Default + ".PhoneNumberId";
|
|
|
|
|
|
public const string TemplateName = Default + ".TemplateName";
|
|
|
|
|
|
public const string Token = Default + ".Token";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class AppCodes
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Home = Prefix.App + ".Home";
|
|
|
|
|
|
public const string Setting = Prefix.App + ".Setting";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Administration = Prefix.App + ".Administration";
|
|
|
|
|
|
public const string TenantManagement = Prefix.App + ".TenantManagement";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Settings
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Prefix.App + ".Settings";
|
|
|
|
|
|
public const string GlobalSearch = Default + ".GlobalSearch";
|
|
|
|
|
|
public const string SettingDefinitions = Default + ".SettingDefinitions";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Languages
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Prefix.App + ".Languages";
|
|
|
|
|
|
public const string Language = Default + ".Language";
|
|
|
|
|
|
public const string LanguageText = Default + ".LanguageText";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public const string Menus = Prefix.App + ".Menus";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Listforms
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Prefix.App + ".Listforms";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Wizard = Default + ".Wizard";
|
|
|
|
|
|
public const string DataSource = Default + ".DataSource";
|
|
|
|
|
|
public const string Listform = Default + ".Listform";
|
|
|
|
|
|
public const string ListformField = Default + ".ListformField";
|
|
|
|
|
|
public const string Chart = Default + ".Chart";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public const string BackgroundWorkers = Prefix.App + ".BackgroundWorkers";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Notifications
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Prefix.App + ".Notifications";
|
|
|
|
|
|
public const string NotificationRules = Default + ".NotificationRules";
|
|
|
|
|
|
public const string Notification = Default + ".Notification";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public const string IpRestrictions = Prefix.App + ".IpRestrictions";
|
|
|
|
|
|
public const string PublicApis = Prefix.App + ".PublicApis";
|
|
|
|
|
|
}
|
2025-06-11 08:23:27 +00:00
|
|
|
|
|
|
|
|
|
|
public static class DataSources
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string DefaultCode = "Default";
|
|
|
|
|
|
}
|
2025-05-06 06:45:49 +00:00
|
|
|
|
}
|
|
|
|
|
|
|