Files
Aberwyn/Aberwyn/Models/ReportModel.cs
Elias Jansson eed1ce166f
All checks were successful
continuous-integration/drone/push Build is passing
Budget complete!
2025-05-28 10:29:56 +02:00

26 lines
711 B
C#

namespace Aberwyn.Models
{
public class BudgetReportRequestDto
{
public List<int> DefinitionIds { get; set; } = new();
public int StartYear { get; set; }
public int StartMonth { get; set; }
public int EndYear { get; set; }
public int EndMonth { get; set; }
}
public class BudgetReportResultDto
{
public int Year { get; set; }
public int Month { get; set; }
public List<DefinitionSumDto> Definitions { get; set; } = new();
}
public class DefinitionSumDto
{
public int DefinitionId { get; set; }
public string DefinitionName { get; set; }
public decimal TotalAmount { get; set; }
}
}