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

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

/// <summary>
/// Command to update an existing Task
/// </summary>
public sealed record UpdateTaskCommand : IRequest<TaskDto>
{
    public Guid TaskId { get; init; }
    public string Title { get; init; } = string.Empty;
    public string Description { get; init; } = string.Empty;
    public string? Priority { get; init; }
    public string? Status { get; init; }
    public decimal? EstimatedHours { get; init; }
    public Guid? AssigneeId { get; init; }
}
