fix(finance): make Form990 row DTO use properties (System.Text.Json skips fields)

This commit is contained in:
Chris Chen
2026-06-24 19:23:54 -07:00
parent 1353b5571f
commit 1fa36ae62f
@@ -3,13 +3,13 @@ namespace ROLAC.API.DTOs.Finance;
/// <summary>One Part IX row: a 990 line split across the three functional columns.</summary> /// <summary>One Part IX row: a 990 line split across the three functional columns.</summary>
public class FunctionalExpenseRowDto public class FunctionalExpenseRowDto
{ {
public string LineCode = ""; public string LineCode { get; set; } = "";
public string Name_en = ""; public string Name_en { get; set; } = "";
public string? Name_zh; public string? Name_zh { get; set; }
public decimal Program; public decimal Program { get; set; }
public decimal ManagementGeneral; public decimal ManagementGeneral { get; set; }
public decimal Fundraising; public decimal Fundraising { get; set; }
public decimal Total; public decimal Total { get; set; }
} }
/// <summary>The full Part IX Statement of Functional Expenses for a date range.</summary> /// <summary>The full Part IX Statement of Functional Expenses for a date range.</summary>