519 lines
24 KiB
C#
519 lines
24 KiB
C#
using System.Collections.Generic;
|
|
using static Erp.Platform.PlatformConsts;
|
|
|
|
namespace Erp.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 const string Import = Default + ".Import";
|
|
public const string Activity = Default + ".Activity";
|
|
}
|
|
|
|
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 const string Import = Default + ".Import";
|
|
public const string Activity = Default + ".Activity";
|
|
}
|
|
|
|
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";
|
|
|
|
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
|
|
{
|
|
public const string GroupName = $"{Prefix.Abp}.Localization";
|
|
|
|
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";
|
|
|
|
//Saas
|
|
public const string Saas = Prefix.App + ".Saas";
|
|
public const string Branches = Prefix.App + ".Branches";
|
|
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 Routes = Prefix.App + ".Routes";
|
|
public static class Menus
|
|
{
|
|
public const string Default = Prefix.App + ".Menus";
|
|
|
|
public const string Menu = Default + ".Menu";
|
|
public const string Manager = Default + ".Manager";
|
|
}
|
|
public static class Listforms
|
|
{
|
|
public const string Default = Prefix.App + ".Listforms";
|
|
|
|
public const string DataSource = Default + ".DataSource";
|
|
public const string Wizard = Default + ".Wizard";
|
|
public const string Listform = Default + ".Listform";
|
|
public const string ListformField = Default + ".ListformField";
|
|
public const string Chart = Default + ".Chart";
|
|
}
|
|
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 BackgroundWorkers = Prefix.App + ".BackgroundWorkers";
|
|
public const string Forum = Prefix.App + ".Forum";
|
|
|
|
public static class DeveloperKits
|
|
{
|
|
public const string Default = Prefix.App + ".DeveloperKit";
|
|
public const string CustomEndpoints = Default + ".CustomEndpoints";
|
|
}
|
|
|
|
public static class Reports
|
|
{
|
|
public const string Default = Prefix.App + ".Reports";
|
|
public const string Categories = Default + ".Categories";
|
|
}
|
|
//Web Site
|
|
public const string About = Prefix.App + ".About";
|
|
public const string Services = Prefix.App + ".Services";
|
|
public static class Orders
|
|
{
|
|
public const string Default = Prefix.App + ".Orders";
|
|
public const string Products = Default + ".Products";
|
|
public const string PaymentMethods = Default + ".PaymentMethods";
|
|
public const string InstallmentOptions = Default + ".InstallmentOptions";
|
|
public const string PurchaseOrders = Default + ".PurchaseOrders";
|
|
}
|
|
public static class BlogManagement
|
|
{
|
|
public const string Default = Prefix.App + ".BlogManagement";
|
|
|
|
public const string BlogPosts = Default + ".Posts";
|
|
public const string BlogCategory = Default + ".Category";
|
|
}
|
|
public const string Demos = Prefix.App + ".Demos";
|
|
public const string Contact = Prefix.App + ".Contact";
|
|
|
|
//Administration
|
|
public const string Administration = Prefix.App + ".Administration";
|
|
public const string Setting = Prefix.App + ".Setting";
|
|
public static class IdentityManagement
|
|
{
|
|
public const string ClaimTypes = Prefix.App + ".ClaimType";
|
|
public const string IpRestrictions = Prefix.App + ".IpRestrictions";
|
|
}
|
|
public const string AuditLogs = Prefix.App + ".AuditLogs";
|
|
public static class Definitions
|
|
{
|
|
public const string Default = Prefix.App + ".Definitions";
|
|
|
|
public const string ContactTag = Default + ".ContactTag";
|
|
public const string ContactTitle = Default + ".ContactTitle";
|
|
public const string Currency = Default + ".Currency";
|
|
public const string CountryGroup = Default + ".CountryGroup";
|
|
public const string Country = Default + ".Country";
|
|
public const string City = Default + ".City";
|
|
public const string District = Default + ".District";
|
|
|
|
public const string Sector = Default + ".Sector";
|
|
public const string SkillType = Default + ".SkillType";
|
|
public const string SkillLevel = Default + ".SkillLevel";
|
|
public const string Skill = Default + ".Skill";
|
|
public const string UomCategory = Default + ".UomCategory";
|
|
public const string Uom = Default + ".Uom";
|
|
public const string Behavior = Default + ".Behavior";
|
|
public const string Disease = Default + ".Disease";
|
|
public const string Document = Default + ".Document";
|
|
public const string EducationStatus = Default + ".EducationStatus";
|
|
public const string MeetingMethod = Default + ".MeetingMethod";
|
|
public const string MeetingResult = Default + ".MeetingResult";
|
|
public const string Program = Default + ".Program";
|
|
public const string Interesting = Default + ".Interesting";
|
|
public const string SalesRejectionReason = Default + ".SalesRejectionReason";
|
|
public const string ClassCancellationReason = Default + ".ClassCancellationReason";
|
|
public const string Source = Default + ".Source";
|
|
public const string Vaccine = Default + ".Vaccine";
|
|
public const string NoteType = Default + ".NoteType";
|
|
public const string WorkHour = Default + ".WorkHour";
|
|
public const string Vehicle = Default + ".Vehicle";
|
|
public const string Schedule = Default + ".Schedule";
|
|
public const string ScheduleLesson = Default + ".ScheduleLesson";
|
|
public const string Psychologist = Default + ".Psychologist";
|
|
public const string Meal = Default + ".Meal";
|
|
public const string Lawyer = Default + ".Lawyer";
|
|
public const string LessonPeriod = Default + ".LessonPeriod";
|
|
public const string RegistrationType = Default + ".RegistrationType";
|
|
public const string RegistrationMethod = Default + ".RegistrationMethod";
|
|
public const string ClassType = Default + ".ClassType";
|
|
public const string Class = Default + ".Class";
|
|
public const string Level = Default + ".Level";
|
|
public const string QuestionTag = Default + ".QuestionTag";
|
|
public const string QuestionPool = Default + ".QuestionPool";
|
|
public const string Question = Default + ".Question";
|
|
}
|
|
|
|
public static class Coordinator
|
|
{
|
|
public const string Default = Prefix.App + ".Classroom";
|
|
}
|
|
|
|
public static class Intranet
|
|
{
|
|
public const string Default = Prefix.App + ".Intranet";
|
|
|
|
public const string Events = Default + ".Events";
|
|
public const string EventType = Events + ".EventType";
|
|
public const string EventCategory = Events + ".EventCategory";
|
|
public const string Event = Events + ".Event";
|
|
public const string Meal = Default + ".Meal";
|
|
public const string Reservation = Default + ".Reservation";
|
|
public const string ShuttleRoute = Default + ".ShuttleRoute";
|
|
public const string Announcement = Default + ".Announcement";
|
|
public const string Visitor = Default + ".Visitor";
|
|
public const string SocialPost = Default + ".SocialPost";
|
|
}
|
|
|
|
public static class Hr
|
|
{
|
|
public const string Default = Prefix.App + ".Hr";
|
|
public const string Training = Default + ".Training";
|
|
public const string Department = Default + ".Department";
|
|
public const string Employee = Default + ".Employee";
|
|
public const string JobPosition = Default + ".JobPosition";
|
|
public const string EmploymentType = Default + ".EmploymentType";
|
|
public const string Badge = Default + ".Badge";
|
|
public const string CostCenter = Default + ".CostCenter";
|
|
public const string Leave = Default + ".Leave";
|
|
public const string Overtime = Default + ".Overtime";
|
|
public const string Expense = Default + ".Expense";
|
|
public const string Payroll = Default + ".Payroll";
|
|
public const string Template360 = Default + ".Template360";
|
|
public const string Performance360 = Default + ".Performance360";
|
|
public const string Survey = Default + ".Survey";
|
|
public const string SurveyQuestion = Default + ".SurveyQuestion";
|
|
public const string SurveyQuestionOption = Default + ".SurveyQuestionOption";
|
|
public const string SurveyResponse = Default + ".SurveyResponse";
|
|
}
|
|
|
|
public static class SupplyChain
|
|
{
|
|
public const string Default = Prefix.App + ".SupplyChain";
|
|
public const string MaterialType = Default + ".MaterialType";
|
|
public const string MaterialGroup = Default + ".MaterialGroup";
|
|
public const string Material = Default + ".Material";
|
|
public const string Supply = Default + ".Supply";
|
|
public const string PaymentTerm = Default + ".PaymentTerm";
|
|
public const string SupplyType = Default + ".SupplyType";
|
|
public const string SupplyCardType = Default + ".SupplyCardType";
|
|
public const string PartnerBank = Default + ".PartnerBank";
|
|
public const string PartnerCertificate = Default + ".PartnerCertificate";
|
|
public const string PartnerContact = Default + ".PartnerContact";
|
|
}
|
|
|
|
public static class Accounting
|
|
{
|
|
public const string Default = Prefix.App + ".Accounting";
|
|
public const string Bank = Default + ".Bank";
|
|
public const string BankAccount = Default + ".BankAccount";
|
|
}
|
|
}
|
|
|
|
public static class DataSources
|
|
{
|
|
public const string DefaultCode = "Default";
|
|
}
|
|
}
|
|
|
|
|