namespace GB5Shared.DTO.Report { public sealed class PivotFieldConfigDTO { public int ReportVsFieldsId { get; set; } public string FieldName { get; set; } = ""; // DB column name (key in row dict) public string FieldTitle { get; set; } = ""; // Display label public int FieldType { get; set; } // 0=INT,1=STRING,2=LONG,3=DATE,6=DOUBLE public int DisplayType { get; set; } // 0=Row,1=Column,2=Info,3=Summary public int AggregationType { get; set; } // 0=None,1=SUM,3=AVG,5=COUNT,7=MAX,8=MIN public int PivotLevel { get; set; } public int IsGrandTotal { get; set; } // 0=Yes,1=No public int IsColumnTotal { get; set; } public int IsRowTotal { get; set; } public int SuppressIfEmpty { get; set; } public int DisplaySlNo { get; set; } } }