using FlowAPI.Domain.Enums; namespace FlowAPI.Application.DTOs.TaskNode { public class CreateTaskNodeDto { public Guid GraphId { get; set; } public string Label { get; set; } = string.Empty; public double PosX { get; set; } public double PosY { get; set; } public NodeState State { get; set; } = NodeState.Pending; } public class UpdateTaskNodeDto { public string? Label { get; set; } public double? PosX { get; set; } public double? PosY { get; set; } public NodeState? State { get; set; } } public class TaskNodeResponseDto { public Guid Id { get; set; } public Guid GraphId { get; set; } public string Label { get; set; } = string.Empty; public double PosX { get; set; } public double PosY { get; set; } public NodeState State { get; set; } public DateTime CreatedAt { get; set; } } }