namespace EntitlementBLL.Options;
///
/// Connection-routing config for the Entitlement platform database. Bound from appsettings
/// "Entitlement:Db". MENTITLEMENT* tables carry real FK constraints to MCLIENT/MUSER (per the
/// plan), which only works when both live in the same physical database — so, like DXP's
/// dedicated system database for MDXPPARTY, Entitlement's tables live in one shared platform
/// database, not a per-tenant one. ClientId is a row-filter column within it, not a DB selector.
///
public class EntitlementDbOptions
{
public const string SectionName = "Entitlement:Db";
/// Matches MServerConfig's connection name — same value LoginDTO.DatabaseName
/// resolves through ApplicationConnection.FormConnectionString.
public string DatabaseName { get; set; } = "GB_Central_Entitlement";
public int ServerId { get; set; } = -1;
public int ServerConfigId { get; set; } = -1;
}