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

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

/// <summary>
/// Command to create a new Task
/// </summary>
public sealed record CreateTaskCommand : IRequest<TaskDto>
{
    public Guid StoryId { get; init; }
    public string Title { get; init; } = string.Empty;
    public string Description { get; init; } = string.Empty;
    public string Priority { get; init; } = "Medium";
    public decimal? EstimatedHours { get; init; }
    public Guid? AssigneeId { get; init; }
    public Guid CreatedBy { get; init; }
}
