namespace ColaFlow.Modules.ProjectManagement.Application.Queries.GetSprintBurndown;

/// <summary>
/// Burndown Chart Data Transfer Object
/// </summary>
public record BurndownChartDto(
    Guid SprintId,
    string SprintName,
    DateTime StartDate,
    DateTime EndDate,
    int TotalStoryPoints,
    int RemainingStoryPoints,
    double CompletionPercentage,
    List<BurndownDataPoint> IdealBurndown,
    List<BurndownDataPoint> ActualBurndown
);

/// <summary>
/// Single data point in the burndown chart
/// </summary>
public record BurndownDataPoint(
    DateTime Date,
    int StoryPoints
);
