using MediatR;
using ColaFlow.Modules.ProjectManagement.Application.DTOs;

namespace ColaFlow.Modules.ProjectManagement.Application.Commands.CreateSprint;

/// <summary>
/// Command to create a new Sprint
/// </summary>
public sealed record CreateSprintCommand : IRequest<SprintDto>
{
    public Guid ProjectId { get; init; }
    public string Name { get; init; } = string.Empty;
    public string? Goal { get; init; }
    public DateTime StartDate { get; init; }
    public DateTime EndDate { get; init; }
    public Guid CreatedBy { get; init; }
}
