namespace FoodLabeling.Th.Application.Contracts.Options; /// /// 泰额版:新租户独立库连接串生成配置(appsettings FoodLabeling:TenantDatabase) /// public class FoodLabelingThTenantDatabaseOptions { public const string SectionName = "FoodLabeling:TenantDatabase"; /// /// 库名模板,{tenant} 替换为规范化租户名,如 antis-foodlabeling-{tenant} /// public string DatabaseNameTemplate { get; set; } = "antis-foodlabeling-{tenant}"; public string Server { get; set; } = "127.0.0.1"; public int Port { get; set; } = 3306; public string UserId { get; set; } = string.Empty; public string Password { get; set; } = string.Empty; public string CharSet { get; set; } = "utf8mb4"; }