Files
tiku-backend.net/Tiku.Application/Tenancy/PublicTenantConfiguration.cs
xiong c497a3ca8d
Some checks failed
ci / release-gate (push) Has been cancelled
清理代码
2026-08-03 12:31:39 +08:00

24 lines
607 B
C#

using System.Text.Json;
namespace Tiku.Application.Tenancy;
public sealed record PublicTenantConfiguration(
string? BrandName,
string? ShortName,
string? Slogan,
string? LogoUrl,
string? FaviconUrl,
string? ServiceWechat,
string? ServiceAccountName,
JsonElement Theme,
JsonElement PublicAssets,
JsonElement FeatureFlags,
JsonElement AdminFeatureFlags,
JsonElement PublicConfig);
public interface IPublicTenantConfigurationQuery
{
Task<PublicTenantConfiguration> GetAsync(
Guid tenantId,
CancellationToken cancellationToken = default);
}