From 1fa36ae62f2913f44dfe0b239799c46c2fc661e7 Mon Sep 17 00:00:00 2001 From: Chris Chen Date: Wed, 24 Jun 2026 19:23:54 -0700 Subject: [PATCH] fix(finance): make Form990 row DTO use properties (System.Text.Json skips fields) --- API/ROLAC.API/DTOs/Finance/Form990ReportDtos.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/API/ROLAC.API/DTOs/Finance/Form990ReportDtos.cs b/API/ROLAC.API/DTOs/Finance/Form990ReportDtos.cs index 9a97769..1d0d33c 100644 --- a/API/ROLAC.API/DTOs/Finance/Form990ReportDtos.cs +++ b/API/ROLAC.API/DTOs/Finance/Form990ReportDtos.cs @@ -3,13 +3,13 @@ namespace ROLAC.API.DTOs.Finance; /// One Part IX row: a 990 line split across the three functional columns. public class FunctionalExpenseRowDto { - public string LineCode = ""; - public string Name_en = ""; - public string? Name_zh; - public decimal Program; - public decimal ManagementGeneral; - public decimal Fundraising; - public decimal Total; + public string LineCode { get; set; } = ""; + public string Name_en { get; set; } = ""; + public string? Name_zh { get; set; } + public decimal Program { get; set; } + public decimal ManagementGeneral { get; set; } + public decimal Fundraising { get; set; } + public decimal Total { get; set; } } /// The full Part IX Statement of Functional Expenses for a date range.