danylokhodus's picture
fix: refactor Edge.Condition to string for precise handle-based connection persistence
452ab3c
Raw
History Blame Contribute Delete
489 Bytes
namespace FlowAPI.Domain.Entities
{
public class Edge
{
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";
// Navigation properties
public Graph Graph { get; set; } = null!;
public TaskNode FromNode { get; set; } = null!;
public TaskNode ToNode { get; set; } = null!;
}
}