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

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

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