26 lines
711 B
C#
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; }
|
|
}
|
|
}
|