namespace AnalyticsDAL.DTO.Wizard
{
/// Read-only schema-browsing request for the Analytics Catalog Wizard's discovery
/// step. Carries no table selection — that happens later, in
/// AnalyticsWizardBuildRequestDTO.SelectedTables.
public class WizardDiscoverRequestDTO
{
/// 0 = Own tenant DB, 1 = External client DB (matches
/// DBObjectDTO.SourceDbObjectKind's own convention).
public byte SourceKind { get; set; }
/// Required when SourceKind == 1 (ExternalClientDb). Ignored otherwise.
public int? SourceClientDbId { get; set; }
/// Optional case-insensitive substring filter applied to TableName — keeps the
/// discovery payload small for databases with hundreds of tables.
public string? TableNameFilter { get; set; }
}
}