danylokhodus's picture
fix: refactor Edge.Condition to string for precise handle-based connection persistence
452ab3c
Raw
History Blame Contribute Delete
633 Bytes
namespace FlowAPI.Application.DTOs.Edge
{
public class CreateEdgeDto
{
public Guid GraphId { get; set; }
public Guid FromNodeId { get; set; }
public Guid ToNodeId { get; set; }
public string Condition { get; set; } = "True";
}
public class UpdateEdgeDto
{
public string? Condition { get; set; }
}
public class EdgeResponseDto
{
public Guid Id { get; set; }
public Guid GraphId { get; set; }
public Guid FromNodeId { get; set; }
public Guid ToNodeId { get; set; }
public string Condition { get; set; } = "True";
}
}