namespace ROLAC.API.DTOs.Finance; /// One Part IX row: a 990 line split across the three functional columns. public class FunctionalExpenseRowDto { 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. public class FunctionalExpenseStatementDto { public List Rows { get; set; } = []; public decimal ProgramTotal { get; set; } public decimal ManagementGeneralTotal { get; set; } public decimal FundraisingTotal { get; set; } public decimal GrandTotal { get; set; } /// Expenses with no explicit 990 mapping (counted under line 24). Prompts mapping cleanup. public int UnmappedExpenseCount { get; set; } }