namespace AnalyticsDAL.DTO.BICatalog { /// Maps one row of MBICATALOG — the single opaque "datasetId" lookup /// DatasetResolver uses regardless of which kind of dataset is behind it. public class BICatalogDTO { public int BICatalogId { get; set; } public string CatalogCode { get; set; } = string.Empty; public string CatalogName { get; set; } = string.Empty; public DatasetKind DatasetKind { get; set; } public int SourceRefId { get; set; } public int? ReportViewId { get; set; } public string? ApiResourcePath { get; set; } public int WorkspaceId { get; set; } public int TenantId { get; set; } public string? BusinessDescription { get; set; } public string? Synonyms { get; set; } public byte Status { get; set; } // Not read by GET_CATALOG_ENTRY_BY_ID/GET_CATALOG_LIST (both read-only pickers built // before any Save path existed) — needed now that BICatalogBLL.CreateFromReportView // (Phase 2) is the first code path to actually INSERT a row. public byte SourceType { get; set; } public int CreatedById { get; set; } public int ModifiedById { get; set; } } }