erp-platform/api/modules/Kurs.Notifications/Kurs.Notifications.Domain/NotificationDbProperties.cs

18 lines
494 B
C#
Raw Normal View History

2025-05-06 06:45:49 +00:00
namespace Kurs.Notifications.Domain;
2025-10-20 11:32:41 +00:00
public static class Prefix
2025-05-06 06:45:49 +00:00
{
2025-11-01 10:27:15 +00:00
public static string DbTablePlatform { get; set; } = "Plat";
2025-10-20 11:32:41 +00:00
public static string MenuPlatform { get; set; } = "P";
2025-05-06 06:45:49 +00:00
public static string? DbSchema { get; set; } = null;
public const string ConnectionStringName = "Notifications";
}
2025-10-20 11:32:41 +00:00
public static class TablePrefix
{
public static string ByName(string tableName)
{
return $"{Prefix.DbTablePlatform}_{Prefix.MenuPlatform}_{tableName}";
}
}