using System; namespace AccountsDAL.DTO.AccountsReports { // One row per (Ratio, Element) pair — matches the live MREPORTVSFIELDS field catalog already // cataloged for REPORTID -1399896764 ("Ratio Analysis Dashboard") exactly, so the existing // MREPORTVIEW/MMENU rows for this report can be wired to real data with only MREPORTVIEWFIELDS // additions, no report-framework schema changes. A ratio that can't be calculated (e.g. a // zero denominator) still emits its element rows with their real values, but Result is null on // every row for that RatioId — the reader can see exactly which operand was zero. public class RatioAnalysisDashBoardDTO { public int RatioId { get; set; } public string Category { get; set; } = string.Empty; public string Ratio { get; set; } = string.Empty; public string Formula { get; set; } = string.Empty; public string Explanation { get; set; } = string.Empty; public string PeriodType { get; set; } = string.Empty; public int SlNo { get; set; } public DateTime FromDate { get; set; } public DateTime ToDate { get; set; } public decimal? Result { get; set; } public string Label { get; set; } = string.Empty; public int ElementSlno { get; set; } public string ElementName { get; set; } = string.Empty; public decimal ElementValue { get; set; } } }