namespace AccountsDAL.DTO.AccountsReports { public class ProfitLossResultDTO { public IEnumerable Items { get; set; } = Enumerable.Empty(); public int TotalCount { get; set; } // Trading Account section: TradingCredit - TradingDebit = Gross Profit (positive) or Gross Loss. public decimal TradingDebit { get; set; } public decimal TradingCredit { get; set; } // P&L Account section (Indirect Income/Expense only — Gross Profit/Loss feeds in as the // opening balance of this section in the classic vertical presentation, computed by the BLL, // not duplicated into this DTO's own Debit/Credit). public decimal PandLDebit { get; set; } public decimal PandLCredit { get; set; } // Whole-statement net profit: (TradingCredit - TradingDebit) + (PandLCredit - PandLDebit). // Positive = Net Profit, negative = Net Loss. public decimal NetProfit { get; set; } } }