namespace AnalyticsDAL.DTO.BICatalog { /// Lean projection for BICatalogBLL.CreateFromReportView — see /// BICatalogQB.GET_REPORTVIEW_FOR_CATALOG_CREATION. public class ReportViewForCatalogCreationDTO { public int ReportViewId { get; set; } public byte IsDataPivot { get; set; } public string ReportViewName { get; set; } = string.Empty; public int ReportId { get; set; } public string ReportName { get; set; } = string.Empty; public string? ReportUri { get; set; } // Fallback source when ReportUri is empty/'NONE' — see BICatalogBLL.CreateFromReportView. public int? WebServiceId { get; set; } public string? WebServiceName { get; set; } public string? WebServiceUriTemplate { get; set; } // Modern (GB5, non-templated) URI — same column MenuDAL.cs's own WebServiceUriTemplateFrom // precedence already treats as authoritative over WebServiceUriTemplate when populated // (MenuDAL.cs:471-475). Finance Analytics Dashboards, Phase 1 — without this, every // GB5-routed report (AccountRatioAnalysisReport et al.) was read from the legacy // .svc/{BaseURI}-templated column instead and rejected as "legacy/templated", even though // a clean, callable modern route already existed right next to it. public string? WebServiceSecondUriTemplate { get; set; } } }