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

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

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