namespace BudgetApp.PublicModels { public class YearSummaryDto { public int Year { get; set; } public decimal Balance { get; set; } public List Months { get; set; } = []; } public class MonthSummaryDto { public int Month { get; set; } public decimal Balance { get; set; } public List Days { get; set; } = []; } public class DaySummaryDto { public DateOnly Date { get; set; } public decimal Balance { get; set; } public List Transactions { get; set; } = []; } public class TransactionDto { public int Id { get; set; } public DateOnly Date { get; set; } public decimal Amount { get; set; } public decimal Balance { get; set; } public string OperationDescription { get; set; } = string.Empty; public string Note { get; set; } = string.Empty; public string Category { get; set; } = string.Empty; public string TransactionId { get; set; } = string.Empty; public DateTime Created { get; set; } public DateTime Updated { get; set; } public DateTime? Deleted { get; set; } } }