namespace GB5Shared.DTO.Report { // One MREPORTVSFIELDS row with a non-empty COMPUTEEXPRESSION, scoped to a specific // MREPORTVIEWFIELDS-configured view. See GB5Shared/Export/ComputedFieldCatalog.cs (loads these) // and GB5Shared/Export/ComputedFieldEvaluator.cs (evaluates them per row). public sealed class ComputedFieldDTO { public string FieldName { get; set; } = ""; // MREPORTVSFIELDS.FIELDNAME -- the JSON/dict key public byte FieldType { get; set; } // MREPORTVSFIELDS.FIELDTYPE -- result CLR type public string Expression { get; set; } = ""; // MREPORTVSFIELDS.COMPUTEEXPRESSION public int DisplaySlNo { get; set; } // add order -- lets one computed field reference another } }